• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How to change the texture path?

Status
Not open for further replies.

Archian

Site Director
Level 61
Joined
Jan 1, 2006
Messages
3,050
Hello community,

So, as the title says, how do I change the required path of a texture to something else?

The reason for this is that I'm using two diffrent models, which uses diffrent textures. However, the path for both these textures are the same! UrukHai.blp

So one model will, wrongfully, use the texture of the other one, like shown below (selected):

Any help is much appreciated!

texturepath.jpg
 
Level 14
Joined
Jul 1, 2008
Messages
1,314
I would suggest to change the name of one of the textures to something else, like "UrukHai2.blp", then download the tool "Warcraft III mdlx converter", and convert the corresponding model into .mdl format.
Open the file using a text-editor.
Scroll down to the section where it says "Textures {". There you will find the old name "UrukHai.blp".
Change this to "UrukHai2.blp" and save the file. Convert it back to .mdx using the above mentionned tool and it should work now.
 
Status
Not open for further replies.
Top