Solstice245 / m3studio

WIP Blender python scripts for importing/exporting .m3 model files
GNU General Public License v2.0
11 stars 1 forks source link

Textures not on StarCraft 2 models #4

Open MetalMan1245 opened 2 weeks ago

MetalMan1245 commented 2 weeks ago

I've tried importing two different StarCraft 2 models, and both have had the same problem of not having any textures. I've found the M3 Materials section of the object properties on the Armature, but I don't know how to apply those textures, and other users seem to have textures simply included directly on the model. Attached are both the models I'm trying to import. In addition, the Raynor Marine model also just places all of the pieces of him on the floor, though that issue is secondary to the texture problem.

https://drive.google.com/file/d/12xl_ZxTIH0kfVUI_zZKS6gi4FIuC5x_1/view?usp=sharing https://drive.google.com/file/d/1etlHYYReXNW-73G-q9DshwnznRur8UGU/view?usp=sharing

Solstice245 commented 2 weeks ago

You're expecting to see the feature from m3addon "Generate Blender Material At Import" which does not exist in m3studio. I haven't included it yet, and might not at all, at least not in the same way for a couple reasons. For now, I would encourage you to configure your own Blender shaders/materials using the texture files.

As for the SM_RaynorMarine.m3, what you're observing is its natural rest pose. If you import SM_RaynorMarine_RequiredAnims.m3a onto the model, you can see the animations work perfectly fine. When I finally get around to making a README or user manual of sorts, hopefully people will be less inclined to encounter these sorts of confusion.

MetalMan1245 commented 2 weeks ago

Okay, in that case I may try to use the m3addon instead, thank you for the assistance.