Template:KV WeaponSpawnSingle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Updated KVs from WeaponSpawnL4D/en)
m ('Cleaner' include tag)
 
Line 1: Line 1:
<onlyinclude>{{KV|Weapon Skin|intn=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.|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}
{{KV|Weapon Skin|intn=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.|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}
{{KV|Glow Range|intn=glowrange|float|Set a custom glow range for this spawner. 0 means use the default range.|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}
{{KV|Glow Range|intn=glowrange|float|Set a custom glow range for this spawner. 0 means use the default range.|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}
{{KV|Collisions|intn=solid|choices|
{{KV|Collisions|intn=solid|choices|
:* 0: Not Solid
:* 0: Not Solid
:* 2: Use Bounding Box
:* 2: Use Bounding Box
:* 6: Use [[VPhysics]] (default)}}</onlyinclude>
:* 6: Use [[VPhysics]] (default)}}<noinclude>


[[Category:Keyvalue Templates|WeaponSpawnSingle]]
[[Category:Keyvalue Templates|WeaponSpawnSingle]]</noinclude>

Latest revision as of 09:10, 7 November 2025

Weapon Skin (weaponskin) <integer> (only in Left 4 Dead 2)
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> (only in Left 4 Dead 2)
Set a custom glow range for this spawner. 0 means use the default range.
Collisions (solid) <choices>
  • 0: Not Solid
  • 2: Use Bounding Box
  • 6: Use VPhysics (default)