From Valve Developer Community
Revision as of 20:42, 9 November 2007 by Rof (usage - more accurate info)
- Models where $staticprop has been used may be placed as prop_static entities, or as prop_physics (if they also have physics data and a collision mesh). Note, despite the name, models compiled with $staticprop do not always need to be used as prop_statics.
- Causes all bones to be collapsed in the object; this can only be used when there’s no animation associated with the object, and no ragdoll behavior.
- This should be used for every non-animating, non-ragdoll 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" $staticprop