HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can someone help a n00b troubleshoot a skin problem?

06-19-2003, 12:40 AM#1
Guest
Ok, before I describe my problem let me tell you what I'm doing and exactly what I've done up to this point.


*** What I'm doing ***

I'm simply giving the sorceress model a new skin, BUT I want it so that I can use this new skin model and the old sorceress model in the same game; therefore, I have to create a copy of the old sorceress model and give it the new skin.


*** What I've done ***

1. Using TechMPQ I added the new sorceress skin .blp file to my map. I added the file called sorceress2.blp and for packed filename I put "units\human\sorceress\sorceress2.blp"

2. I extracted the files "units\human\sorceress\sorceress.mdx" and "units\human\sorceress\sorceress_portrait.mdx" from war3.mpq and used a file converter to convert them to .mdl format.

3. I opened up sorceress.mdl and altered it to say this

Textures 3 {
Bitmap {
Image "units\Human\Sorceress\Sorceress2.blp",
}


4. I opened up sorceress_portrait.mdl and altered it to say this

Textures 3 {
Bitmap {
Image "units\Human\Sorceress\Sorceress2.blp",
}


5. I saved both files and converted them back to .mdx files and named them "sorceress2.mdx" and "sorceress_portrait2.mdx" respectively.

6. Using Tech MPQ I added sorceress2.mdx to my map and in the packed filename field I put "units\human\sorceress2\sorceress2.mdx".

7. I added sorceress_portrait2.mdx to my map and for packed filename I put "units\human\sorceress2\sorceress_portrait2.mdx".

8. I opened up the world editor and created a custom unit. For the model to use I manually typed in "units\human\sorceress2\sorceress2". This worked. The unit, with the new skin, appeared and I was able to place it in the editor.


**** Here's the problem ****

At first my new unit didn't appear when I tried to play the actual game, but I realized that I had to re-add the files after placing the new model in the editor. After I did that the new model showed up in the game - with the new skin. HOWEVER, her portrait is blank. It kind of flashes this dull red color. So I re-added the files. Well now her portrait appeared. She's lovely ... except that half the model was cut off in the game (whereas it worked previously). How come I can't get both the model and the portrait to work at the same time. It's like one works but the other doesn't, no matter how many times I re-add the files and re-launch the game.


What am I doing wrong?

Sorry the long drawn out explanation but I'm a n00b and I don't want you guys to assume that I've done anything. If I didn't write it in this post, then I didn't do it - no matter how n00bish it probably is. That's why I'm a n00b at this. HELP
emote_sweat
06-19-2003, 12:58 AM#2
piRo-piOn
i believ you have to do sorceress2_portrait.mdx
06-19-2003, 02:26 AM#3
Guest
YES! That did the trick. Thank you very much for your help =)
06-19-2003, 02:40 AM#4
piRo-piOn
no problem, glad to help.