$staticprop

From Valve Developer Community
Revision as of 18:21, 7 November 2007 by Beeswax (talk | contribs)
Jump to navigation Jump to search

Causes all bones to be collapsed.

Description

$staticprop

This should be used for every non-animating, non-physics prop, as it increases the render speed for the model. Models where $staticprop has been used must be placed with the prop_static entity. This will also cause the model's shadow to be generated from its collision model when the map is compiled.

Example

$modelname "props/rock.mdl"
$cdmaterials "models/props/"
$model "Rock" "rock.smd"
$sequence "idle" "rock.smd"
$staticprop