• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How to Convert an Image to a Model File?

Level 4
Joined
Apr 16, 2025
Messages
39
I tried to find an answer to this question, but it's very difficult!The point is that I want to convert an image of an object, for example a circlet, and place it on the floor. Like visualize the way to assemble the item. But I don't know how to convert the image into a model file... Help, please!

Or simply place the image on the floor.
 
Last edited:
+1 to what Chaosium's recommendation.

For reference, images can be created via triggers fairly easily, e.g.:
  • Actions
    • Image - Create an image using ReplaceableTextures\Splats\AuraRune9b.blp of size 256.00 at TempLoc with Z offset 0.00 using image type Indicator
    • Image - Change (Last created image): Enable render always state
But if you try to display an icon, e.g. ReplaceableTextures\CommandButtons\BTNCirclet.blp, then it'll appear stretched.
1748838292223.png

This is because images expect an alpha channel and will stretch the edge pixels of the texture to fit the canvas. So typically, the workaround is to add a 1-pixel transparent border around the image (e.g. via a tool like Photopea: Photopea | Online Photo Editor).
1748838840131.png

Then when you import that texture and render it, it'll appear correctly:
1748838876519.png

(Note that for large images, you may also want to adjust the origin so it renders correctly once it is within view: Showing the pictures)

This works fine, but it can be tedious to apply that border to every icon you want to use. And each modified icon you import will add roughly 3-4 kb to your map.

To avoid that, mapmakers have used a special trick with a model like the one Chaosium provided. If you set the ReplaceableId of the texture to 31, then you can use the "War Club" ability to dynamically change the texture of that icon in-game. This way, you can use any icon in-game without having to import additional files :)

For reference:
 
Level 4
Joined
Apr 16, 2025
Messages
39
For the old graphics you can use Magos Model Editor (aka Warcraft 3 Model Editor), with it you can swap the texture I used, and MdlVis to make the mesh itself
How exactly do I replace the image? I've been digging around for a long time and can't find it...




WOW, it worked! You are my hero)))
 
Last edited:
Top