$staticprop: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
$staticprop | $staticprop | ||
* Models where $staticprop has been used must be placed with the [[prop_static]] entity. | |||
This should be used for every non-animating, non-physics prop, as it increases the render speed for the model. | * Causes all bones to be collapsed in the object; this can only be used when there’s no animation associated with the object. | ||
* This should be used for every non-animating, non-physics 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. | * 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" | $modelname "props/rock.mdl" | ||
$cdmaterials "models/props/" | $cdmaterials "models/props/" |
Revision as of 19:56, 7 November 2007
$staticprop
- Models where $staticprop has been used must be placed with the prop_static entity.
- Causes all bones to be collapsed in the object; this can only be used when there’s no animation associated with the object.
- This should be used for every non-animating, non-physics 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