Page 1 of 1
Stormtrooper reskinning issue [Solved]
Posted: Sun Aug 11, 2013 2:58 pm
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
Re: stormtrooper reskining issue
Posted: Sun Aug 11, 2013 5:42 pm
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)
Re: stormtrooper reskining issue
Posted: Sun Aug 11, 2013 7:20 pm
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?
Re: stormtrooper reskining issue
Posted: Wed Aug 14, 2013 5:08 pm
by CressAlbane
Check your LUA script - maybe you're forgetting to load the newly-skinned unit.
Re: stormtrooper reskining issue
Posted: Wed Aug 14, 2013 5:26 pm
by razac920
Or maybe in the LUA you also load the stock stormtrooper and overwrite your custom skin
Re: stormtrooper reskining issue
Posted: Sun Aug 18, 2013 3:02 pm
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.
Re: stormtrooper reskining issue
Posted: Sun Aug 18, 2013 4:40 pm
by Nedarb7
Could you post your LUA?
Re: stormtrooper reskining issue
Posted: Sun Aug 18, 2013 5:26 pm
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.
Re: stormtrooper reskining issue
Posted: Mon Aug 26, 2013 4:01 pm
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.