Template:I Studiomodel: Difference between revisions
Jump to navigation
Jump to search
Deprecated (talk | contribs) (Reformatted, added Shadow and Reflection inputs, corrected SetModelScale input, added the template to the Input Templates category) |
Deprecated (talk | contribs) (Added ToggleDraw class) |
||
Line 6: | Line 6: | ||
{{I Shadow}} | {{I Shadow}} | ||
{{I Reflection}} | {{I Reflection}} | ||
{{I ToggleDraw}} | |||
}}<noinclude> | }}<noinclude> | ||
[[Category:Input Templates|Studiomodel]] | [[Category:Input Templates|Studiomodel]] | ||
</noinclude> | </noinclude> |
Revision as of 18:23, 13 January 2020
Studiomodel:
- SetBodyGroup <integer>
- Set the model's body group.
- AlternativeSorting <boolean>
- Uses an alternative method for telling which objects are in front of others. Use if this object draws incorrectly when seen through transparent things.
- SetModelScale <string> (only in
)
- Takes two values separated by a space. The first is the target model scale. The second value is the number of seconds the change in scale will be spread over.
Shadow:
- DisableShadow
- Turn dynamic shadows off for this entity. Identical to applying EF_NOSHADOW.
- EnableShadow
- Turn dynamic shadows on for this entity.
- DisableReceivingFlashlight (in all games since
)
- This object will not receive light or shadows from projected textures.
- EnableReceivingFlashlight (in all games since
)
- This object may receive light or shadows from projected textures.
Reflection:
- DisableDrawInFastReflection (in all games since
)
- Turns off rendering of this entity in reflections when using
$reflectonlymarkedentities
in water material.
- EnableDrawInFastReflection (in all games since
)
- Turn on rendering of this entity in reflections when using
$reflectonlymarkedentities
in water material.
ToggleDraw:
- DisableDraw (in all games since
)
- Add the EF_NODRAW flag to this entity. Some entities manage this on their own so be aware you can override that value.
- EnableDraw (in all games since
)
- Remove the EF_NODRAW flag from this entity. Some entities manage this on their own so be aware you can override that value.