From Valve Developer Community
Revision as of 02:56, 8 November 2007 by Beeswax (talk | contribs)

Jump to: navigation, search
  • Models where $staticprop has been used must be placed with the prop_static entity.
  • Causes all bones to be collapsed in the object; this can only be used when there’s no animation associated with the object.
  • This should be used for every non-animating, non-physics prop, as it increases the render speed for the model. You want to use it wherever possible though, because it will make the models render more quickly.
  • This will also cause the model's shadow to be generated from its collision model when the map is compiled.
  • For example
$modelname "props/rock.mdl"
$cdmaterials "models/props/"
$model "Rock" "rock.smd"
$sequence "idle" "rock.smd"