TUTORIAL - Compile 3D Models For Source Engine Games (3DS Max to CS:GO)
In this tutorial I demonstrate how to take a finalized 3D model (unwrapped, textured, optimized, etc) through the steps necessary to use it in a Source Engine game such as Counter-Strike: Global Offensive.
Resources/Links:
Valve Developer Community - https://developer.valvesoftware.com/wiki/Main_Page
3DS Max .smd Importer and Exporter - http://www.wunderboy.org/sourceapps.php#max_smd
VTF Edit - http://nemesis.thewavelength.net/index.php?c=178
VTF Photoshop Plugin - https://developer.valvesoftware.com/wiki/Photoshop_VTF_Plugin
Collision Model Overview - https://developer.valvesoftware.com/wiki/Collision_model
.VMT Parameters - https://developer.valvesoftware.com/wiki/VMT_Parameters
.QC Commands - https://developer.valvesoftware.com/wiki/Category:QC_Commands
----------------------------------------------------------------------------------------------
.QC file used in tutorial:
$cd "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\bin" //directory where studiomdl is located
$scale .6 //optional parameter that uniformally scales the entire model
$modelname "tutorial/tissue_box.mdl" //what name the model will have once compiled and where it's compiled to
$model "body" "tissue_box.smd" //the exported mesh of the model
$SurfaceProp "Cardboard" //this will define the decals, sounds, etc for the kind of material the model is made out of
$CDMaterials "models/tutorial/" //directory where your .vmt(s) will be stored
$texturegroup skinfamilies //only necessary if the model uses multiple skins
{
{ "tissue_box.vmt" }
{ "tissue_box_plain.vmt" }
}
$HBoxSet "default" //generates a default hitbox and bone
$sequence idle "tissue_box" loop fps 1.00 //defines animations. If there are no animations, just use the name of the mesh referenced for the "body" (except without.smd at the end)
$keyvalues { prop_data { "base" "Cardboard.Small" } } //makes the model a prop_physics. Static models cannot use prop_data
$collisionmodel "tissue_box_phys.smd" { //the collision model .smd
$maxconvexpieces 100 //this parameter and number can increase the amount of objects used in the collision model
$concave
$mass 3.0 //weight and density of the model
$inertia 1.00
$damping 3.00
$rotdamping 0.00
}
-----------------------------------------------------------------------------------
Intro/Outro music by http://www.richdouglas.net/
0:00 - Programs & Software Required
3:30 - Collision Creation and SMD Exporting
14:30 - VTF and VMT Creation
20:50 - QC Creation and Studiomdl Compiling
Other Videos By EvilGoodGuy
Other Statistics
Counter-Strike 2 Statistics For EvilGoodGuy
There are 7,885 views in 9 videos for Counter-Strike 2. The game makes up 1 hour of published video on his channel, less than 0.07% of Counter-Strike 2 video content that EvilGoodGuy has uploaded to YouTube.