.obj to Source Engine 2 .vmdl

Post questions about game models here, or help out others!
Post Reply
Ahri
beginner
Posts: 25
Joined: Wed Apr 11, 2012 4:23 pm
Has thanked: 1 time

.obj to Source Engine 2 .vmdl

Post by Ahri » Wed Aug 13, 2014 3:58 pm

Can anyone figure out how to convert .obj models and their texture files to the Source Engine 2 Format .vmdl?

Tutorial to download the Source Engine:
https://developer.valvesoftware.com/wik ... hing_Tools

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3461
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 955 times
Been thanked: 1876 times

Re: .obj to Source Engine 2 .vmdl

Post by shakotay2 » Wed Aug 13, 2014 6:57 pm

iirc Source SDK can import SMD files. There's also an obj2smd converter available (for static models only).
Did you take into consideration to try it this way for SE2?
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Ahri
beginner
Posts: 25
Joined: Wed Apr 11, 2012 4:23 pm
Has thanked: 1 time

Re: .obj to Source Engine 2 .vmdl

Post by Ahri » Wed Aug 13, 2014 8:10 pm

shakotay2 wrote:iirc Source SDK can import SMD files. There's also an obj2smd converter available (for static models only).
Did you take into consideration to try it this way for SE2?
SE2 Files are different, it doesnt work. You cant use SMD Files in SE2. You can import .obj Files, also TGA, but you can't apply the Textures on the Models correctly so you have to convert the .obj model and .tga texture into a .vmdl file to have the model + working textures on the right position.

User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 435
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 185 times
Contact:

Re: .obj to Source Engine 2 .vmdl

Post by cra0 » Thu Aug 14, 2014 1:13 am

VMDL is just a link container it doesn't store anything but metadata which links

-vmesh_c
-vphys_c

etc

I'm currently reversing the vmesh_c format which actually stores the mesh data in a VBO/IBO and material parameters.

Ahri
beginner
Posts: 25
Joined: Wed Apr 11, 2012 4:23 pm
Has thanked: 1 time

Re: .obj to Source Engine 2 .vmdl

Post by Ahri » Thu Aug 14, 2014 3:43 am

So you basically still need another file for the textures?(.vmat files)
Maybe someone could write a script for Noesis that exports model files into vmdl and vmat files which can be used in Hammer.

User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 435
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 185 times
Contact:

Re: .obj to Source Engine 2 .vmdl

Post by cra0 » Thu Aug 14, 2014 3:51 am

Ahri wrote:So you basically still need another file for the textures?(.vmat files)
Maybe someone could write a script for Noesis that exports model files into vmdl and vmat files which can be used in Hammer.
Why you can make vmdls using the model editor and it accepts fbx, smd, dmx I don't see any reason why there should be a script just convert your obj into an fbx then import it :roll:

Ahri
beginner
Posts: 25
Joined: Wed Apr 11, 2012 4:23 pm
Has thanked: 1 time

Re: .obj to Source Engine 2 .vmdl

Post by Ahri » Thu Aug 14, 2014 4:14 am

cra0 wrote:
Ahri wrote:So you basically still need another file for the textures?(.vmat files)
Maybe someone could write a script for Noesis that exports model files into vmdl and vmat files which can be used in Hammer.
Why you can make vmdls using the model editor and it accepts fbx, smd, dmx I don't see any reason why there should be a script just convert your obj into an fbx then import it :roll:
My problem is that i cant import the textures and bring them in the right position. Or dies the fbx file includes textures? Will give it a try.

Post Reply