Template:KV CBaseAnimating: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) (make body KV opt-out-able, for entities that override it at runtime) |
SirYodaJedi (talk | contribs) (Ditto for model and skin) |
||
Line 1: | Line 1: | ||
{{lang|{{FULLPAGENAME}}}} | {{lang|{{FULLPAGENAME}}}} | ||
<includeonly><onlyinclude>{{ScrollBox|title=Studiomodel|noscroll={{{noscroll|1}}}| | <includeonly><onlyinclude>{{ScrollBox|title=Studiomodel|noscroll={{{noscroll|1}}}| | ||
{{#if:{{{no model|}}}||<!--Hide model KV if overridden by game code --> | |||
{{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.}} | ||
}}{{#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}}).}} }}|}} | ||
{{#if:{{{no body|}}}||<!--Hide body KV if overridden by game code --> | }}{{#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.}}|}} }} | ||
}} | }} |
Revision as of 08:34, 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.