$staticprop
Jump to navigation
Jump to search
The QC command $staticprop
specifies that the model being compiled does not have any moving parts. This allows several useful optimisations to take place, so should be used whenever possible.

Effects
- Collapses all bones
- Allows VRAD to cast shadows using the collision model
- Todo: Other?
QC syntax example
$modelname "weapons/shell.mdl" $staticprop $cdmaterials "models/weapons/" $body shell "shell-ref.smd" $sequence idle "shell-idle.smd" // A default animation is still required
Note how the command does not accept any parameters.