Template:I Studiomodel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
No edit summary
Line 1: Line 1:
'''Skin <integer>'''
{{ScrollBox|title=Studiomodel|
: Changes the model skin to the specified number.
; <code>Skin <[[int]]></code>
* '''SetBodyGroup <integer>'''
: Changes the model's [[$texturegroup|skin]] to the specified number.
: Set this prop's body group (from 0 - n). Changes the model body to the specified number.
; <code>SetBodyGroup <int></code>
* '''DisableShadow'''
: Set the model's [[$bodygroup|body group]].
: Turn shadow off.
; <code>EnableShadow</code>
* '''EnableShadow'''
; <code>DisableShadow</code>
: Turn shadow on.
: Control the model's cheap render-to-texture shadow.
* '''{{EP1 add|AlternativeSorting <bool>}}'''
; {{EP1 add|<code>AlternativeSorting <[[bool]]></code>}}
: Used to attempt to fix sorting problems when rendering. True activates, false deactivates
: Used to attempt to fix sorting problems when rendering. {{todo|What is the effect?}}
}}

Revision as of 09:21, 20 July 2009

Studiomodel:
Skin <int>
Changes the model's skin to the specified number.
SetBodyGroup <int>
Set the model's body group.
EnableShadow
DisableShadow
Control the model's cheap render-to-texture shadow.
AlternativeSorting <bool> (in all games since Half-Life 2: Episode One)
Used to attempt to fix sorting problems when rendering.
Todo: What is the effect?