Template:Hl1 kv model: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{lang|Template:Hl1 kv model}}
{{lang|Template:Hl1 kv model}}
<onlyinclude>{{KV|Model|intn=model|studio|Model to display ([[MDL (GoldSrc)|MDL]], [[BSP (GoldSrc)|BSP]], or [[SPR]]). Relative to mod folder.}}</onlyinclude>
<onlyinclude>{{KV|Model|intn=model|studio|Model to display ([[MDL (GoldSrc)|MDL]], [[BSP (GoldSrc)|BSP]], or [[SPR]]). Relative to mod folder.}}
{{KV|Colormap|intn=colormap|int|Works like the deathmatch recolor system, wherein this KV equals {{code|(bottomcolor * 256) + topcolor}}, plugging in the appropriate values from {{hlam}}.{{#if:{{{no sven|}}}||{{tip|In {{sven|2}}, the {{mono|topcolor}} and {{mono|bottomcolor}} KVs are available to be used instead, for clarity.}}}} }}</onlyinclude>

Revision as of 08:49, 10 October 2025


Model (model) <model path>
Model to display (MDL, BSP, or SPR). Relative to mod folder.
Colormap (colormap) <integer>
Works like the deathmatch recolor system, wherein this KV equals (bottomcolor * 256) + topcolor, plugging in the appropriate values from Half-Life Asset Manager.
Tip.pngTip:In Sven Co-op Sven Co-op, the topcolor and bottomcolor KVs are available to be used instead, for clarity.