$staticprop: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (increased quality)
mNo edit summary
Line 3: Line 3:
==Description==
==Description==


$staticprop
$staticprop


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. -->
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. -->

Revision as of 20:57, 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