Page 1 of 1

Skin color not changing [Solved]

Posted: Wed Dec 31, 2008 6:55 pm
by fiddler_on_the_roof
So I recently skinned the ep2-pilot to be pruple, and when it is put in game, it is still yellow. I know it is saved correctly, because I replaced the unit, and tried again, and still it is yellow. Any ideas? Also, it apears purple in the SWBF viewer, by Tipam.

Re: Skin Colors

Posted: Wed Dec 31, 2008 6:59 pm
by RogueKnight
Post your BF2log.

Re: Skin Colors

Posted: Wed Dec 31, 2008 7:11 pm
by RepSharpshooter
Try a clean and munge. You may also want to rename your custom unit's msh to something else, as it may be overwritten by the shipped clone when you read it in the lua.

Re: Skin Colors

Posted: Wed Dec 31, 2008 9:21 pm
by Commander_Fett
Also, there are multiple tgas of that skin (three, I think) in the rep folder with different names, so try changing all of them.

Re: Skin Colors

Posted: Wed Dec 31, 2008 9:42 pm
by fiddler_on_the_roof
Ok, thanks.

@repsharpshooter-- I tried a clean and munge, and it still was the same.

Re: Skin Colors

Posted: Wed Dec 31, 2008 9:51 pm
by Delta 47
Did you put "dc:" in front of your custom side in your lua?

EDIT: Oops just noticed your custom unit did show up in game.

EDIT 2: You could try doing a manual clean here.

Re: Skin Colors

Posted: Wed Dec 31, 2008 11:09 pm
by obiboba3po
ooh ive had this before, it looks like you copied an odf, renamed it and kept the same msh. if bf2 has 2 odf's with the same msh, only one will show up. (duplicating the msh and renaming it shold fix)

Re: Skin Colors

Posted: Thu Jan 01, 2009 9:20 pm
by fiddler_on_the_roof
Ok, thanks.

edit-- I fixed it. It turns out I forgot that there was a pilot.tga in the PC folder, and I hadn't changed that, so the game was reading that tga, not the other one. :oops:

thanks for the help

-- SOLVED--