Template:KV CBaseAnimating: Difference between revisions
Jump to navigation
Jump to search
m (Fix internal names) |
Kestrelguy (talk | contribs) m (added choice between pre- and post-Portal 2 versions, as well as the ability to not scroll. the default is unchanged.) |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=Studiomodel| | {{lang|{{FULLPAGENAME}}}} | ||
<onlyinclude>{{ScrollBox|title=Studiomodel|noscroll={{{noscroll|}}}| | |||
{{KV|World Model|intn=model|string|The [[model]] this entity should appear as. 128-character limit.}} | {{KV|World Model|intn=model|string|The [[model]] this entity should appear as. 128-character limit.}} | ||
{{KV|Skin|intn=skin|int|Some models have multiple [[$texturegroup|skins]]. This value selects from the index, starting with 0. {{tip|Hammer's model browser automatically updates this value if you use it to view different skins.}}}} | {{KV|Skin|intn=skin|int|Some models have multiple [[$texturegroup|skins]]. This value selects from the index, starting with 0. {{tip|Hammer's model browser automatically updates this value if you use it to view different skins.}}}} | ||
{{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model.|since={{Src13}}}} | {{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model.|since={{Src13}}}} | ||
{{KV Shadow}} | {{KV Shadow|prep2={{{prep2|}}}}} | ||
{{KV Reflection}} | {{#if: {{{prep2|}}} || {{KV Reflection}}}} | ||
}} | }}</onlyinclude>{{documentation}} | ||
</ |
Revision as of 07:24, 9 May 2022
Studiomodel:
- Skin (skin) <integer>
- Some models have multiple skins. This value selects from the index, starting with 0.
Tip:Hammer's model browser automatically updates this value if you use it to view different skins.
Shadow:
- Disable Shadows (disableshadows) <boolean>
- Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a prop_static. Does not affect shadow mapping.
- Disable Receiving Shadows (disablereceiveshadows) <boolean>
- Prevent the entity from receiving dynamic shadows on itself.
- Shadow Cast Distance (shadowcastdist) <integer> !FGD
- Sets how far the entity casts dynamic shadows. 0 means default distance from the shadow_control entity.
- Disable Shadow Depth (disableshadowdepth) <boolean> (in all games since
)
- Used to disable rendering into shadow depth (for projected textures) for this entity.
- Disable flashlight (disableflashlight) <boolean> (in all games since
)
- Used to disable projected texture lighting and shadows on this entity.
- Projected Texture Cache (shadowdepthnocache) <integer choices> (in all games since
)
- Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.
Choices - 0 : Default
- 1 : No cache - render every frame
- 2 : Cache it - render only once
The above documentation is transcluded from Template:KV CBaseAnimating/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.