Template:KV CBaseAnimating: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) No edit summary |
(New KV for scaling.) |
||
Line 4: | Line 4: | ||
; Skin <code><[[int]]></code> | ; Skin <code><[[int]]></code> | ||
: 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.}} | : 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|modelscale|since=TF2|float|The scaling factor for the model}} | |||
{{KV Shadow}} | {{KV Shadow}} | ||
}} | }} |
Revision as of 14:55, 23 September 2013
Studiomodel:
- World Model
<string>
- The model this entity should appear as. 128-character limit.
- Skin
<int>
- 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.
- modelscale ([todo internal name (i)]) <float> (in all games since
)
- The scaling factor for the model
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