Template:KV CBaseAnimating: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) m (Mention bug) |
SirYodaJedi (talk | contribs) m (Fix modelscale only showing up when it shouldn't, and add uniformscale) |
||
Line 2: | Line 2: | ||
<includeonly><onlyinclude>{{ScrollBox|title=Studiomodel|noscroll={{{noscroll|1}}}| | <includeonly><onlyinclude>{{ScrollBox|title=Studiomodel|noscroll={{{noscroll|1}}}| | ||
{{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.}}{{#if:{{{static|}}}|{{bug| | {{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 use 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}}){{tip|This bug can be exploited give the appearance of casting lightmap shadows from the alpha channel of brushes or displacements on vanilla compilers, by creating a static prop with two skins: one with the same texture as the brush, and the other with {{cmd|$no_draw|1}}, and setting the prop's skin to the latter.}} }}|}}}}}} | ||
{{#if:{{{static|}}} | {{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model.|since={{Src13}}|}}}} | {{#if:{{{static|}}} | ||
| {{KV|Uniform Scale Override|intn=uniformscale|float|A multiplier for the size of the model.|since={{csgo}}|}} | |||
| {{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model.|since={{Src13}}|}} | |||
}} | |||
{{KV Shadow|prep2={{{prep2|}}}}} | {{KV Shadow|prep2={{{prep2|}}}}} | ||
{{#if: {{{prep2|}}} || {{KV Reflection}}}} | {{#if: {{{prep2|}}} || {{KV Reflection}}}} | ||
}}</onlyinclude></includeonly>{{doc}} | }}</onlyinclude></includeonly>{{doc}} |
Revision as of 12:16, 14 February 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.