Template:I Studiomodel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(new input for scaling)
(AlternativeSorting was NOT added in ep1)
Line 7: Line 7:
; <code>DisableShadow</code>
; <code>DisableShadow</code>
: Control the model's cheap render-to-texture shadow.
: Control the model's cheap render-to-texture shadow.
; {{EP1 add|<code>AlternativeSorting <[[bool]]></code>}}
; <code>AlternativeSorting <[[bool]]></code>
: Used to attempt to fix sorting problems when rendering. {{todo|What is the effect?}}
: Used to attempt to fix sorting problems when rendering. {{todo|What is the effect?}}
{{IO|SetModelScale|Sets the model scaling factor|param=float|since=TF2}}
{{IO|SetModelScale|Sets the model scaling factor|param=float|since=TF2}}
}}
}}

Revision as of 22:50, 11 September 2018

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>
Used to attempt to fix sorting problems when rendering.
Todo: What is the effect?
SetModelScale <float> (in all games since Team Fortress 2)
Sets the model scaling factor