$staticprop

From Valve Developer Community
Revision as of 19:40, 14 October 2007 by Wolf (talk | contribs) (there is confirmation in this article Prop_Types_Overview (prop_static))
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