StudioMDL (Source)

From Valve Developer Community
Revision as of 00:41, 26 April 2008 by TomEdwards (talk | contribs)
Jump to navigation Jump to search

Studiomdl is the command-line tool used to compile models from the intermediate Studio Model Data format exported from modeling packages to the binary .mdl format that is read by the Source engine.

It can be found at steam/steamapps/<account>/sourcesdk/bin/[orangebox|ep1]/bin/studiomdl.exe.

Studiomdl is executed with a QC file as a parameter. For more information about compiling, see Compiling a model.

Output files

mymodel.mdl
Index file for the entire model
mymodel.phy
Collision model data
mymodel.vvd
"Vertices" and "tangents"
mymodel.sw.vtx
mymodel.dx80.vtx
mymodel.dx90.vtx
Vertex data optimised for DirectX 7, 8 and 9

See also