Template:KV WeaponSpawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (nvm)
m (test)
Line 1: Line 1:
{{ScrollBox|title=WeaponSpawn|
{{ScrollBox|title=WeaponSpawn|
{{KV|Count|integer|intn=count|Max number of weapons given before disappearing.}}
{{KV|Count|integer|intn=count|Max number of weapons given before disappearing.}}
{{#if:{{{show_modelKV|}}}|{{KV WeaponSpawnSingle|show_modelKV=1}}|{{KV WeaponSpawnSingle}}}}
{{#if:{{{show_modelKV|}}}|{{KV WeaponSpawnSingle|show_modelKV=1}}|{{KV WeaponSpawnSingle|show_modelKV=1}}}}
}}
}}
<noinclude>
<noinclude>
[[Category:Keyvalue Templates|WeaponSpawn]]
[[Category:Keyvalue Templates|WeaponSpawn]]
</noinclude>
</noinclude>

Revision as of 04:11, 28 July 2021

WeaponSpawn:
Count (count) <integer>
Max number of weapons given before disappearing.
Weapon Skin (weaponskin) <integer>
Some weapons have multiple versions of their textures, called skins. Set this to a number other than -1 to make the given weapon use that skin instead of the default.
Glow Range (glowrange) <float>
Set a custom glow range for this spawner. 0 means use the default range.
Glow Backface Multiple (glowbackfacemult) <float> (only in Left 4 Dead 2) !FGD
If this object has a glow effect, multiply the effect by this much on the sides of the object that are facing away from the viewer.