//---------------Model Name--------------- //Model compiled directory, note remember .mdl $modelname "Myfolder/name_reference.mdl" //---------------Texture link--------------- //Texture compiled directory, note it should be put into the models texture folder $cdmaterials "Models/myfolder/" //---------------Scaling--------------- //Use this scale your models if its off scale $scale 1 //---------------Surface properties--------------- // Surface properties are the density, friction, dampening, elasticity and sounds the object makes or effects // Look in the surfaceproperties.txt found in hl2 GCF hl2\scripts folder $surfaceprop "metal" //---------------Prop data--------------- // Prop data is the object's health, default weight and breakable features // Look in the propdata.txt found in hl2 GCF hl2\scripts folder // Find tons of prop data commands to add at Developer.valvesoftware.com/wiki/Prop_Data $keyvalues { "prop_data" { "base" "Metal.Medium" } } //---------------Reference model--------------- $body "body" "Name_reference" //---------------Animation Sequence--------------- // There must be a idle sequence in order to compile, use the reference model $sequence "idle" "Name_reference" fps 30 ACT_IDLE 1 //---------------Level of detial--------------- // The number 15 the replace distance, copy and paste add more replacements $lod 15 { replacemodel "Name_reference" "Name_lod1" } //---------------Collision model--------------- //Mass in kilograms //Replace $mass with $automass if you want the compiler to base the weight of the object on its surfaceproperties and volume //$concave is made up of individual postive space chucks to create collision areas for negitive (indent) space $collisionmodel "Name_collision" { $mass 40 $concave }