Closed DerekX closed 11 years ago
Can you be more specific which models have that issue? With the information you provided I can't reproduce the bug.
once again, it's with Warcraft 3 models. Not to confuse with the previous issue. (You just closed it) But when I import the .m3 file into a Starcraft 2 map, the whole scene is blank. No textures, no silhouette, no nothing...
Sorry, but I still don't know how to reproduce the bug. Maybe you could simplify a model that is broken so far, that it's not longer copyrighted (e.g. down to a single triangle) and post a link to it?
If you have Warcraft 3, maybe you could try it yourself. I converted .mdx to .mdl, (Tool found at Hive Workshop) imported .mdl model(s) to Blender, followed some of your previous tutorials, exported as .m3, imported model(s) into SC2 map editor, but the previewer is still blank. And I otherwise know how to import texture first then model.
PS: I was also trying with some user made models from Hive Workshop and there's no error when exporting from Blender to .m3.
I just retried with the latest version. Came closer; the 3D mesh appears but still no textures, even as I imported textures first. Also, the model faces "east" instead of "south". I may still be doing something wrong...
The image path which you specify in the Diffuse material layer of the "M3 Material Layers" panel needs to be the path the image has in the game (-> the import location). A path that starts with "c:..." won't work since it references your disk and has nothing to do with the location of the image in the map.
For example? (Sample path please)
If you import it as "Hello.tga" then the path you need to specify is "Hello.tga". It's also possible to use existing SC2 textures. e.g. "Assets/Textures/HPoly_Ghost_diffusemap.dds"
That's what I've been trying... FYI: It's an exported Warcraft 3 texture, and I already converted 'em to .tga.
e.g. "Assets/Textures/War3Texture.tga." Or am I doing something else wrong importing into SC2 Editor?
Here's how I've been getting the War3 models into Blender: https://github.com/CruzR/Blender-MDL
I could otherwise imagine doing something wrong importing there...
Most likely you imported the file as "War3Texture.tga" and not as "Assets/Textures/War3Texture.tga". Thus you would have to specify the path "War3Texture.tga" and not "Assets/Textures/War3Texture.tga" in Blender
I was thinking that too. And it worked! Thanks much Florian! :)
Some models seem to export fine in .m3 format, but after importing first importing textures and then restarting SC2 editor, the .m3 models don't show up in the cutscene previewer. It's just blank...