$staticprop

From Valve Developer Community
Revision as of 09:45, 13 October 2007 by Wolf (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Causes all bones to be collapsed.

Description

$staticprop

This should be used for every non animating non physics model/prop as it increases the render speed for the model. This will also cause the models shadow to be generated from it's collision model when the map is compiled.

Example

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