Stormtrooper reskinning issue [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
danman9
Recruit Womprat Killer
Posts: 12
Joined: Thu Jan 31, 2013 12:05 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Stormtrooper reskinning issue [Solved]

Post by danman9 »

I have reskined units many times with out any issue but when I reskin the imp_inf_trooper nothing seems to happen. When I open it with the Msh veiwer it looks great but after I munged it and put it in game nothing happens. I don't understand why, any help is apricated.
Thanks
Last edited by danman9 on Mon Aug 26, 2013 4:02 pm, edited 1 time in total.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: stormtrooper reskining issue

Post by razac920 »

Did you rename the .msh and the .tga? The .msh needs to reference the .tga file (you can use a hex editor for this). If you didn't rename either file, then make sure you're not loading another copy of it (i.e. don't load your custom unit AND the stock stormtroopers, whose .tga files would overwrite yours)
danman9
Recruit Womprat Killer
Posts: 12
Joined: Thu Jan 31, 2013 12:05 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: stormtrooper reskining issue

Post by danman9 »

I did not change the name of it. I am using it on a stock stormtrooper for test purpuses for now. All I did was use gimp to edit the imp_inf_trooper.tga. I don't get any errors when I munge it or anything just acts like it is still using the stock skin. Is there a second tga that the stormtrooper pulls?
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: stormtrooper reskining issue

Post by CressAlbane »

Check your LUA script - maybe you're forgetting to load the newly-skinned unit.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: stormtrooper reskining issue

Post by razac920 »

Or maybe in the LUA you also load the stock stormtrooper and overwrite your custom skin
danman9
Recruit Womprat Killer
Posts: 12
Joined: Thu Jan 31, 2013 12:05 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: stormtrooper reskining issue

Post by danman9 »

It seems to be the only logical reason. I have been looking and looking where I might be loading this and I have found nothing. I evean made a new map with the munge tools and tried reskining but it acts like nothing happened as before.
User avatar
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Re: stormtrooper reskining issue

Post by Nedarb7 »

Could you post your LUA?
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: stormtrooper reskining issue

Post by CressAlbane »

In case you don't know, here are the steps you will need to reskin a stormtrooper for your custom map:
- Create map
- Make skin
- Copy the imp side folder from the assets into your map's side directory
- replace the skin
- change your map's LUA script to load the skin from the map directory, not the default directory
- munge the imperial side and common
- Then, if it looks fine, you remove most of the units you don't want to edit from your map's imp side and load them from the default in the LUA script (of course if you plan to edit/reskin the other units, don't do this)

Here are the steps you need to reskin the stormtrooper in all maps:
- Create map
- Make skin
- Copy the imp side folder from the assets into your map's side directory
- replace the skin
- munge the imperial side
- go to the game's data files (likely in Program Files) and back up the default imperial side file
- replace that file with the one created by your munge

Hope this helps. If you would like more detail for any one of these steps or just want a more detailed explanation for it all, just ask.




EDIT: Assuming you already have done all that, could you check to see if the msh is using an override texture? Have you done a manual clean and re-munge? Post your LUA script, as you might also be loading a unit later that loads the default imp_inf_trooper file.
danman9
Recruit Womprat Killer
Posts: 12
Joined: Thu Jan 31, 2013 12:05 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: stormtrooper reskining issue

Post by danman9 »

I appricate all the help and this has been resolved. For some reason anytime I want to mod the skin to the trooper I must first do a manual clean.
Post Reply