$staticprop: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (increased quality)
Line 5: Line 5:
$staticprop
$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.
This should be used for every non-animating, non-physics prop, as it increases the render speed for the model.<!-- Verify this: This will also cause the model's shadow to be generated from its collision model when the map is compiled. -->


==Example==
==Example==
$modelname "props/rock.mdl"<br />
$modelname "props/rock.mdl"
$cdmaterials "models/props/"<br />
$cdmaterials "models/props/"
$model "Rock" "rock.smd"<br />
$model "Rock" "rock.smd"
$sequence "idle" "rock.smd"<br />
$sequence "idle" "rock.smd"
'''$staticprop'''
'''$staticprop'''

Revision as of 20:49, 13 October 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.

Example

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