$staticprop: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(there is confirmation in this article Prop_Types_Overview (prop_static))
mNo edit summary
Line 15: Line 15:
  $sequence "idle" "rock.smd"
  $sequence "idle" "rock.smd"
  '''$staticprop'''
  '''$staticprop'''
[[Category:QC Commands]]

Revision as of 18:21, 7 November 2007

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