Template:KV CBaseAnimating: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) mNo edit summary |
SirYodaJedi (talk | contribs) (make body KV opt-out-able, for entities that override it at runtime) |
||
Line 4: | Line 4: | ||
{{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}}).}} }}|}} | ||
{{#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|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.}}|}} }} | ||
}} | |||
{{#if: | {{#if: |
Revision as of 08:31, 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.