Template:KV CBaseAnimating: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) (Ditto for model and skin) |
SirYodaJedi (talk | contribs) (Hide body KV if static) |
||
Line 5: | Line 5: | ||
}}{{#if:{{{no skin|}}}||<!--Hide skin KV if overridden by game code --> | }}{{#if:{{{no skin|}}}||<!--Hide skin KV if overridden by game code --> | ||
{{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.}}{{#if:{{{static|}}}|{{bug|Static props with multiple [[skin]]s will always calculate [[texture shadows]] based upon the alpha channel(s) from the default skin's texture(s), even though the alternative skins' alpha textures are loaded by VRAD. (tested in {{dods}}).}} }}|}} | {{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.}}{{#if:{{{static|}}}|{{bug|Static props with multiple [[skin]]s will always calculate [[texture shadows]] based upon the alpha channel(s) from the default skin's texture(s), even though the alternative skins' alpha textures are loaded by VRAD. (tested in {{dods}}).}} }}|}} | ||
}} | }} | ||
Line 13: | Line 11: | ||
{{{static|}}} | {{{static|}}} | ||
| {{KV|Uniform Scale Override|intn=uniformscale|float|A multiplier for the size of the static prop model.|since={{csgo}}|}} | | {{KV|Uniform Scale Override|intn=uniformscale|float|A multiplier for the size of the static prop model.|since={{csgo}}|}} | ||
| {{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model.|since={{Src13}}|}} | | {{#if:{{{no body|}}}||<!--Hide body KV if overridden by game code --> | ||
{{KV|Bodygroup|intn=body|int|Some models have multiple [[$bodygroup|submodels]]. This value selects from the index, starting with 0. May be overridden by animations and/or game code. {{note|If both {{code|body}} and {{code|SetBodyGroup}} are present, {{code|body}} will be prioritized.}}|}} }} | |||
}} | |||
{{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model.|since={{Src13}}|}} | |||
}} | }} | ||
Revision as of 09:29, 7 August 2024
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.