Make a different skin for gunship prop?

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
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Make a different skin for gunship prop?

Post by SkinnyODST »

I want to make another rep gunship prop as I have one already, but with a different skin. I`ve tried and tried but it doesn`t have my different skin. Is there something in the msh file I need to change?
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Make a different skin for gunship prop?

Post by AnthonyBF2 »

You find the .tga name referenced in the model and change it.

Let's say you have prop1 which looks for prop1.tga, and you want the same prop to be duplicated with a different texture. You'd copy the odf/msh file for prop1 and name it prop2, and inside the model, make it look for prop2.tga.
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Make a different skin for gunship prop?

Post by Oceans14 »

AnthonyBF2 wrote:You find the .tga name referenced in the model and change it.

Let's say you have prop1 which looks for prop1.tga, and you want the same prop to be duplicated with a different texture. You'd copy the odf/msh file for prop1 and name it prop2, and inside the model, make it look for prop2.tga.
I think the OverrideTexture odf line can also be used, but that would require the msh to have a component named override texture... Which without xsi would be changed via hex editing I guess. The upside to this method is you can apply different textures to the same single model.

My disclaimer is that I've only seen this done with unit models, not props or vehicles and I haven't personally tried it yet - this is kinda theoretical but should work...
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Make a different skin for gunship prop?

Post by AQT »

There's already a tutorial for this:
Oceans14 wrote:My disclaimer is that I've only seen this done with unit models, not props or vehicles and I haven't personally tried it yet - this is kinda theoretical but should work...
...
ODF
... ...
It seems that OverrideTexture is only a property of the Soldier class.
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Make a different skin for gunship prop?

Post by SkinnyODST »

I don`t get it at ALL. I copied the odf of myg_prop_gunship, renamed it and then placed it in my world. It doesn`t look the same. All the parts are all over the place unlike the normal one. I didn`t change anything apart from renaming it to "zunship". This makes 0 sense
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Make a different skin for gunship prop?

Post by AQT »

But of course, simply making a copy of an ODF file and renaming it will not change anything. Open up both myg_prop_gunship.odf and myg_prop_zunship.odf in a text editor. Do they use the same GeometryName? (i.e. Do they use the same MSH file?) If yes, then there is your problem. They are using the same model still

As AnthonyBF2 suggested, making a copy of an ODF file and renaming it to something else is only one step of the process. If you at any point you did not use a hex editor, as demonstrated in the linked tutorial, you have missed a very crucial step.

It will make sense if you take the time to carefully and actively read what you need to do, as opposed to hastily rushing through just to get things done. Most importantly, approach modding this game with a growth mindset.
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Make a different skin for gunship prop?

Post by SkinnyODST »

AQT wrote:But of course, simply making a copy of an ODF file and renaming it will not change anything. Open up both myg_prop_gunship.odf and myg_prop_zunship.odf in a text editor. Do they use the same GeometryName? (i.e. Do they use the same MSH file?) If yes, then there is your problem. They are using the same model still

As AnthonyBF2 suggested, making a copy of an ODF file and renaming it to something else is only one step of the process. If you at any point you did not use a hex editor, as demonstrated in the linked tutorial, you have missed a very crucial step.

It will make sense if you take the time to carefully and actively read what you need to do, as opposed to hastily rushing through just to get things done. Most importantly, approach modding this game with a growth mindset.
It says something in the msh file about "rep_fly_gunship_lowrez" but I cant seem to find it anywhere. Do you know where that is?
Post Reply