Template:KV CBaseAnimating: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) m (Fix modelscale only showing up when it shouldn't, and add uniformscale) |
SirYodaJedi (talk | contribs) mNo edit summary |
||
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 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.}} }}|}}}}}} | {{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|}}} | {{#if:{{{static|}}} | ||
| {{KV|Uniform Scale Override|intn=uniformscale|float|A multiplier for the size of the 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}}|}} | | {{KV|Model Scale|intn=modelscale|float|A multiplier for the size of the model.|since={{Src13}}|}} | ||
}} | }} |
Revision as of 12:18, 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.