Hello, I'm looking to rip models from DA Origins to Hammer.
For one specific "prop", I've obtained four files:
plc_barricade_01_0.mmh
plc_barricade_01_0.msh
plc_barricade_01_0.phy
prp_tree_d.dds (texture file)
I need to convert these into the files that go into the "materials and models" folders in games like CS:S or CS:GO. I believe for the materials, it would have to be turned into a .mdl and .vvd file, while for the materials, the .dds would need to be converted into a .vmt and .vtf. I think I can do the textures on my own, but how should I go about using the three model (.mmh, .msh, .phy) files into a .mdl and .vvd?
Okay, I've managed to make some progress on my own. I've converted the .mmh file into a .obj and .mtl file. So now, I'm working with a .obj, .mtl, and .dds (texture file). In the default Windows 10 3D viewer, I'm able to open all three of these files and view the correct model, but I can't export. This led me to use Blender.
With Blender, I've imported the OBJ, but my blender knowledge is very slim and I'm not sure what to do from here. I've installed a plugin that allows me to export to SMD, and I believe I can convert into MDL from there. How do I go about applying a texture to the model in blender? And do I need to do anything with the .mtl file once the .obj is textured?
Here's a picture of the untextured model:
[IMG]http://i.imgur.com/rLa4QO0.png[/IMG]
[editline]27th October 2015[/editline]
Alright, so I've progressed even further...
With the picture above, I grouped all of the objects into a single object, and exported it as an SMD. Then I created a QC file with the necessary settings. Then, I converted the DDS into a VMT and VTF, and placed that in the materials file accordingly. From here, I compiled the QC with Crowbar. There were a lot of "WARNINGS" produced in the compile log, but it (somewhat) compiled successfully.
I opened up hammer, and tried to place the model. Firstly, the model was really tiny. This shouldn't be much of an issue though, as I can fix that with $Scale in the QC. But secondly, the texture didn't apply. The model is simply black all over. What went wrong? I never ended up applying any textures in blender...Was I suppose to?
Why is it that when I render the model, it's textured? Does this mean I don't need to do any UV mapping?
[IMG]http://i.imgur.com/FePDaSZ.png[/IMG]
Sorry, you need to Log In to post a reply to this thread.