//---------------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/" //---------------Static prop--------------- $staticprop //---------------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" //---------------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--------------- //$concave is made up of individual postive space chucks to create collision areas for negitive (indent) space $collisionmodel "Name_collision" { $concave }