HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can't replace unit model.

08-04-2006, 11:35 PM#1
Moss
If you import a model into your map and give it a custom path equal to some existing model in the game then it should replace that model on units that use it correct? Well I took a MalfurionNoStag removed the hero glow using Magos' War3 Model Editor and saved it as a new mdx/mdl. I imported it into my map and set my Archdruid unit to use the model and it worked sort of OK except it had no portrait and also some of the units had weird flashing black textures but some looked fine. I figured the regular Malfurion portrait would work fine so I reasoned that if I simply set the custom path of the imported model to Units\NightElf\Malfurion\MalfurionNoStag.mdx that it would use the no glow version in the game view and still use Malfurion's portrait. But when I did that it got the glow back. What am I doing wrong?
08-05-2006, 07:02 AM#2
DD_Draco
try renaming the MalfurionNoStag.mdx part but keep the path and change the model on the unit, i dont know if it works but it is worth a try.
08-05-2006, 08:43 AM#3
Moss
What? Change the file name but leave the folders the same? Well I tried it just for kicks, but no luck. Actually now whatever I try I just get an invisible unit (just the shadow appears where they are). I don't know what I've done, maybe I will start over again tomorrow but I gotta sleep right now.
08-05-2006, 09:16 AM#4
Rao Dao Zao
If it's totally invisible, it probably means that the game can't load a texture. What did you do to remove the glow?
08-05-2006, 10:16 AM#5
DD_Draco
Just for kicks RDZ, would what i suggested work?
08-05-2006, 10:58 AM#6
Rao Dao Zao
Probably not, since it appears to be a model-based flaw.

In fact, perhaps Moss didn't refresh the editor in the first place?
08-05-2006, 11:03 AM#7
DD_Draco
You dont have to refresh the editor, it just helps sometimes...
08-05-2006, 11:04 AM#8
Rao Dao Zao
Yes you do, especially when replacing in-game models.
08-05-2006, 11:19 AM#9
DD_Draco
as long as the models havent been placed then its fine, because i upload models and change them all the time without closing WE...
08-05-2006, 02:02 PM#10
Rao Dao Zao
Considering the model didn't appear to load (the first time), then it's quite probable that this was the initial problem.
08-05-2006, 06:02 PM#11
Moss
Quote:
Originally Posted by Rao Dao Zao
If it's totally invisible, it probably means that the game can't load a texture. What did you do to remove the glow?

I simply deleted the geoset using Magos' War3 Model Editor. You need to restart the World Editor?? I think I tried that once, but I figured that the game and the editor were seperate and the fact that the game was loading afresh would be good enough.
08-05-2006, 06:10 PM#12
Rao Dao Zao
Hmm, sounds like you should be fine.

You're saying the glow is appearing in-game again? Sounds like it could just be you haven't pathed him quite right... Not sure about that.
08-05-2006, 06:22 PM#13
Moss
I'm pretty sure I pathed it right, cuz when I select the path from the Custom dropdown menu and hit OK it changes to Malfurion(No Stag) in the object editor.
08-05-2006, 06:33 PM#14
Rao Dao Zao
Very odd. You working on a map that's inside a campaign, by any chance?
08-05-2006, 07:14 PM#15
Moss
No, I was just trying it on a blank new map. I guess I will try doing it again, starting from exporting the model from the MPQ. Maybe I screwed something up along the way.

Alternatively I could try making my own portrait camera but I am not quite sure how to do that and the Malfurion portrait model is better.