Unit Odfs [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Unit Odfs [Solved]

Post 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.
Last edited by Noobasaurus on Thu Jun 30, 2011 7:10 pm, edited 1 time in total.
User avatar
Firefang
Major
Major
Posts: 518
Joined: Mon Nov 15, 2010 8:55 pm
Location: California

Re: Unit Odfs

Post 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.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Unit Odfs

Post 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?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Unit Odfs

Post 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.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Unit Odfs [Solved]

Post 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:
Post Reply