gametechmods

Robot Arena => General Support => Topic started by: Zog on December 24, 2009, 12:10:47 PM

Title: How do you decompile a component?
Post by: Zog on December 24, 2009, 12:10:47 PM
So, I'm following the tutorial on the BeetleBros page, but, whenever I decompile the GMF file, it reduces it to 0KB and when I open it in Notepad, there's nothing there, so I can't change it....


What am I doing wrong?


TeamZog
Title: Re: How do you decompile a component?
Post by: G.K. on December 24, 2009, 12:11:54 PM
Hmm.

Which compiler are you using, Serge's?
Title: Re: How do you decompile a component?
Post by: Zog on December 24, 2009, 12:18:19 PM
Hmm.

Which compiler are you using, Serge's?

I don't know if it's Serge's, found it on google. the shortcut name (if it's of any help) says GMFDec with the Robot Arena 2 logo as it's picture.

TeamZog
Title: Re: How do you decompile a component?
Post by: G.K. on December 24, 2009, 12:23:24 PM
I don't know about that one. Dummy's fixed by Megabyte from the downloads page here definitely works.
Title: Re: How do you decompile a component?
Post by: Zog on December 24, 2009, 12:27:22 PM
It's working now :)


Thanks G.K.


TeamZog
Title: Re: How do you decompile a component?
Post by: G.K. on December 24, 2009, 12:27:57 PM
No problem.
Title: Re: How do you decompile a component?
Post by: Zog on December 24, 2009, 12:40:29 PM
Oh god, it's not showing up in the workshop......


Even when I try cheatbot2...


TeamZog



Title: Re: How do you decompile a component?
Post by: G.K. on December 24, 2009, 12:53:41 PM
Have you made a .txt for it?
Title: Re: How do you decompile a component?
Post by: Zog on December 24, 2009, 01:15:29 PM
Have you made a .txt for it?

Yes, and it is:

name = plunderbirdclaw
preview = plunderbird_preview.bmp
dir = plunderbirdclaw
model = plunderbirdclaw.gmf
type = weapons
base = weapon
styles = Default
passthru = collision
hitpoints = 5000
decal = single_slash.tga 0 0 1 .5 .5 1
concussion = 10
fracture = 150
piercing = 19
damagesounds = sounds\dsl_03.wav
attachsound = sounds\cmp_generic.wav
description = Here is the claw of Plunderbird with 5000 hitpoints. GET IN THERE!
hidden= 1
Title: Re: How do you decompile a component?
Post by: G.K. on December 24, 2009, 01:23:18 PM
You need a space before the = sign from the 'hiddden'.
Title: Re: How do you decompile a component?
Post by: Zog on December 24, 2009, 01:30:27 PM
You need a space before the = sign from the 'hiddden'.

Sorry that was a typo I'm using my mac because pc's internet is down....

There IS a space there....

TeamZog
Title: Re: How do you decompile a component?
Post by: somestrangeguy on December 24, 2009, 08:37:06 PM
I dont remember wich is wich but there are 3 choices for hidden: 0 1 and 2, one makes it always visible, one is cheatbot2 and one is always hidden. try changing the nuber on hidden to see if that helps at all.

Oh, and you have remembered to recompile the component, right? Othervise the game wont recodnize it.
Title: Re: How do you decompile a component?
Post by: Zog on December 24, 2009, 11:42:16 PM
I'll see if that works.


Yes I have recompiled the component afterward and it came up with something like: 'Dude, you now have a new component.'


TeamZog
Title: Re: How do you decompile a component?
Post by: JoeBlo on December 25, 2009, 03:22:36 AM
I dont remember wich is wich but there are 3 choices for hidden: 0 1 and 2, one makes it always visible, one is cheatbot2 and one is always hidden. try changing the nuber on hidden to see if that helps at all.

or remove the line completly and it will appear by default

also Serges from this download section is the best way to go, Dummy's wont do wheels for some reason
Title: Re: How do you decompile a component?
Post by: Avalanche on December 26, 2009, 11:37:14 AM
So, I'm following the tutorial on the BeetleBros page, but, whenever I decompile the GMF file, it reduces it to 0KB and when I open it in Notepad, there's nothing there, so I can't change it....

It happens to me.
Im using the one from Beetlebros tutorial.
What am I doing wrong?


TeamZog
Title: Re: How do you decompile a component?
Post by: Zog on December 27, 2009, 02:07:29 AM
It shows now, but whenever I click on it, the game crashes....


TeamZog
Title: Re: How do you decompile a component?
Post by: JoeBlo on December 27, 2009, 02:19:16 AM
make sure the componant is compiled
 
make sure the directories in the text file are all right
 
 
Title: Re: How do you decompile a component?
Post by: Clickbeetle on December 29, 2009, 09:06:00 PM
For troubleshooting purposes, it would also help to know what component you are editing, and what you are trying to do to it.