HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Portrait problem

05-31-2004, 07:47 PM#1
xxxSpikexxx
I need my map to have 2 different shadowhunter skins ... :8

so I make my skin and create a shadowhunter-model using it...

import both in the map and set the skinpath to what the model uses ...
doesn't have the right portrait - sure thing ;)

i get the sh portrait and also change the texture-path like in the model itself...

import to the editor - still no portrait...

so what do I have to do to get a portrait for my reskinned model?! o_O
where is the portrait path in the model?
05-31-2004, 08:23 PM#2
Armel
I'm not sure of what you did, but here is what you've got to do :
create a model and his portrait for the new skin and name them with a different name from the one of the ShadowHunter. We'll name them SH.mdx and SH_portrait.mdx.
Then import them in the map with the same path for each model :
path\SH.mdx
path\SH_portrait.mdx

If it's exactly what you have done and there is still no portrait, check that the editor is able to load the portrait by assigning to a unit the model of the portrait. Sometimes a model works in wc3viewer and not in the Editor, and it's possible that you've done some error while editing the skin that still enables the model to load it but not the portrait.
06-01-2004, 04:45 PM#3
xxxSpikexxx
Now i did what you told me... and its getting even funnier:

when i selected the custom skinned sh first there was no portrait ...

after selecting a unit using the portrait as model the custom skinned one suddenly had a portrait but its using the model itself as protrait ...
much lower camera, no speech animation ... o_O

I don't got a clue what may be causing this but it would be realy useful if you could post what i had to do step by step or give me a link to a tut ... i don't seem to find one thats about that problem... :(

skinning stuff realy confuses me :\
06-01-2004, 05:19 PM#4
Armel
This "funny thing" you had proves that the game was not able to find the portrait and tries to use the model itself as portrait. But it doesn't work cause the model has no camera. So, each time you select another unit, the camera is not reset when you reselect the unit without protrait and you get those funny "pseudo-portraits".
Did you try what I suggested: make a unit use the portrait model as her own model (not as her portrait, but as her model itself) to check in the editor and then in game that the portrait is actually a valid .mdx for the game ?
06-01-2004, 08:23 PM#5
xxxSpikexxx
yes.
the portrait is visible in editor and works as it should in the game if used as normal model ...
06-01-2004, 08:39 PM#6
Armel
Then the only explaination I'd see is that you have not been using the same path for the portrait and the model (path\SH.mdx and path\SH_portrait.mdx). But as you say you've done so I must say I really don't know what might be the problem, I can't even figure how it's possible that there is a problem.
Try changing the path of both models to something else, like SecondPath\SH.mdx and SecondPath\SH_portrait.mdx, to see if it changes something.
06-02-2004, 12:23 PM#7
xxxSpikexxx
OMG! I made one single Dot to much in one path ... dumb misstake ... :(
it works now! merci beaucoup! ^_^
06-02-2004, 02:23 PM#8
Armel
Bitte schön. Ich hatte auch gedacht, das Problem würde so etwas sein. Es ist einfach, so kleine Fehler nicht zu bemerken.