gametechmods

Robot Arena => General Support => Topic started by: Stagfish on December 11, 2010, 07:38:41 AM

Title: Component wont appear in game.
Post by: Stagfish on December 11, 2010, 07:38:41 AM
I recentley tried skinning a angle connector white, but its not appearing the the drop down bar!
name = Angle Connector
preview = angler_preview.bmp
dir = angler
model = angler1.gmf
type = extenders
base = Component
passthru = angler
styles = 90 degree, angler2.txt, 67.5 degree, angler3.txt, 45 degree, angler4.txt, 22.5 degree, Psycho.txt, Psycho Tail
description = The angle connector lets you connect two objects at an angle in between 0 and 90 degrees. It has standard extender hitpoints - 200, so it's pretty much only 40 toughness... Excepted for the size, flippermakers are better for the job.
standard = 1
Sort = 2
hitpoints = 1000
material = metal(.05)
 
name = Angle Connector
preview = angler_preview.bmp
dir = angler
model = Psycho.gmf
type = extenders
base = Component
passthru = angler
description = Psycho Chicken tail peice
standard = 1
 
Anything wrong with these?
Title: Re: Component wont appear in game.
Post by: JoeBlo on December 11, 2010, 07:40:53 AM
is the custom one called Psycho.txt?
Title: Re: Component wont appear in game.
Post by: Stagfish on December 11, 2010, 07:41:34 AM
Yes
Title: Re: Component wont appear in game.
Post by: Zog on December 11, 2010, 07:42:28 AM
Try renaming the Psycho angler from "Angle Connecter" to "Psycho Connecter"
Title: Re: Component wont appear in game.
Post by: Stagfish on December 11, 2010, 07:45:37 AM
Still doesnt work.
Title: Re: Component wont appear in game.
Post by: JoeBlo on December 11, 2010, 07:46:24 AM
that wont change anything except the name

to isolate the problem replace the style line with this

styles = 90 degree, Psycho.txt, Psycho Tail

and put

styles = default

in the custom one
Title: Re: Component wont appear in game.
Post by: Zog on December 11, 2010, 07:47:15 AM
Ah. Change them both to the same name: "Psycho Tail". Then it should work.


EDIT: Try Joe's method as well.
Title: Re: Component wont appear in game.
Post by: Stagfish on December 11, 2010, 07:51:04 AM
Thats strange, even with Joes changes all the other angle connectors are still there.
Title: Re: Component wont appear in game.
Post by: G.K. on December 11, 2010, 07:52:05 AM
try

styles = Psycho Tail, Psycho.txt
Title: Re: Component wont appear in game.
Post by: Stagfish on December 11, 2010, 07:55:55 AM
Nope, still it stays the same. As if I never changed the txt file at all. I must be editing an angle connector hidden in cheatbot2 somewhere.
Title: Re: Component wont appear in game.
Post by: Zog on December 11, 2010, 08:32:35 AM
Is the custom angler in the "styles" folder?
Title: Re: Component wont appear in game.
Post by: Stagfish on December 11, 2010, 08:32:48 AM
yes
Title: Re: Component wont appear in game.
Post by: JoeBlo on December 11, 2010, 08:54:05 AM
  try
 
  styles = Psycho Tail, Psycho.txt
 

that will cause more problems as it isnt a correct styles line format..

Nope, still it stays the same. As if I never changed the txt file at all. I must be editing an angle connector hidden in cheatbot2 somewhere.

there is a duplicate text file overwriting this one (likely in the CFZ)

I am 99% sure its your problem...

you need to edit that one in the CFZ the same way
Title: Re: Component wont appear in game.
Post by: G.K. on December 11, 2010, 08:55:13 AM
  try
 
  styles = Psycho Tail, Psycho.txt
 

that will cause more problems as it isnt a correct styles line format..

*realises his mistake*

B'oh!
Title: Re: Component wont appear in game.
Post by: Stagfish on December 11, 2010, 09:30:49 AM
I Uncfl'ed the CFZ and couldnt find what you said Joe.
Title: Re: Component wont appear in game.
Post by: JoeBlo on December 11, 2010, 09:33:26 AM
there is bound to be a text file with the same file name

or easy solution, rename the one you were editing

or is being in the drop down really necessary? just make it another component text file and give it a new preview image
Title: Re: Component wont appear in game.
Post by: Gazea2 on December 11, 2010, 09:34:14 AM
Make a copy of the file that isn't in the styles folder and your edited one. Once you have done that, delete them both from the components folder. Try your game. If the angler is still there, there's another copy somewhere. If not, then there's something wrong with that file.
Title: Re: Component wont appear in game.
Post by: Stagfish on December 11, 2010, 09:36:08 AM
How do I make it a whole new component?
Title: Re: Component wont appear in game.
Post by: JoeBlo on December 11, 2010, 09:39:21 AM
take the Psycho Connector text file you made out of styles and put it into the main components folder and your done

then you can make new directory's and preview images but its really not necessary if your just changing text values 
Title: Re: Component wont appear in game.
Post by: Stagfish on December 11, 2010, 09:53:40 AM
Yay, thanks Joe.
 
This is what it was for:
(https://gametechmods.com/uploads/images/63469Psycho Chicken.png)
Title: Re: Component wont appear in game.
Post by: Naryar on December 11, 2010, 10:00:25 AM
IIRC it's

styles = Default, Psycho.txt, Psycho Tail
Title: Re: Component wont appear in game.
Post by: JoeBlo on December 11, 2010, 10:03:38 AM
nope :P

that would make the first component (the one not in the styles and belonging to the text file that line is in) called Default in the drop down menu