Page 1 of 1

Unit Odfs [Solved]

Posted: Wed Jun 29, 2011 8:08 pm
by Noobasaurus
So I want to make a nice, new unit. I copy the clone sniper's req's and all as refrences, and then change them to fit my new unit. The two problems I have are 1) how do you change the sniper skin to my custom skin? I went to the unit's odf:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default_spec"
GeometryName = "rep_inf_spec"


[Properties]
ClothODF = "rep_inf_arctrooper_cape"

GeometryName = "rep_inf_spec"
GeometryLowRes = "rep_inf_spec"
FirstPerson = "REP\reptroop;rep_1st_trooper"
I want it to have the texture as rep_inf_spec, but I don't know where that is. (As in the part where it says what it needs to build the clone)

And 2) How do you recolor the beams on the chaingun? I recolored the flash to be pink but I want to do the same to the beams.
Hidden/Spoiler:
And yes, this unit works in-game.

Re: Unit Odfs

Posted: Wed Jun 29, 2011 8:17 pm
by Firefang
for the skin, you either have to hexedit the model so it uses the new texture instead, or rename the new texture to be the one that the model uses.

Re: Unit Odfs

Posted: Wed Jun 29, 2011 8:33 pm
by Noobasaurus
Firefang wrote:for the skin, you either have to hexedit the model so it uses the new texture instead, or rename the new texture to be the one that the model uses.
Well, thanks, I am now using a different model that is not used my any of the other units, so it shall be all good! :thumbs:

Except for the chaingun beams, of course. :?

So does anyone know how to recolor the beams from the chaingun?

Re: Unit Odfs

Posted: Thu Jun 30, 2011 2:34 am
by AQT
Noobasaurus wrote:So does anyone know how to recolor the beams from the chaingun?
In the Common side, there should be an ODF called com_weap_inf_chaingun_tracer. You can edit the color values in this very file or make a renamed copy of it and paste it into your side's ODF folder. Make sure your main chaingun ODF references this new secondary ordnance ODF if you choose to go the second route.

Re: Unit Odfs [Solved]

Posted: Thu Jun 30, 2011 10:55 am
by Noobasaurus
AQT wrote:
Noobasaurus wrote:So does anyone know how to recolor the beams from the chaingun?
In the Common side, there should be an ODF called com_weap_inf_chaingun_tracer. You can edit the color values in this very file or make a renamed copy of it and paste it into your side's ODF folder. Make sure your main chaingun ODF references this new secondary ordnance ODF if you choose to go the second route.
Ahhhh, I see! I just forgot to refrence it! :lol:

Thanks for helping me out! :yes: