Template:KV WeaponSpawnSingle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-internal name fix)
m (Suppressed unused template that was creating an extra newline)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>{{lang|Template:KV WeaponSpawnSingle}}</noinclude>{{ScrollBox|title=WeaponSpawnSingle|noscroll=1|
<onlyinclude>{{KV|Weapon Skin|integer|intn=weaponskin|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.}}
{{KV|Weapon Skin|integer|intn=weaponskin|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.}}
{{KV|Glow Range|float|intn=glowrange|Set a custom glow range for this spawner. 0 means use the default range.}}<!-- Isn't this unused?
{{KV|Glow Range|float|intn=glowrange|Set a custom glow range for this spawner. 0 means use the default range.}}
{{#if:{{{optionalscavenge|}}}|{{Fl WeaponSpawnOptionalScavenge}}}}-->
{{KV|Collisions|choices|intn=solid|Collision type.}}
{{KV|Glow Backface Multiple|intn=glowbackfacemult|float|nofgd=1|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.|only={{l4d2}}}}</onlyinclude>
:* 0 : Not Solid
 
:* 2 : Use Bounding Box
:* 6 : Use VPhysics
{{#if:{{{optionalscavenge|}}}|{{Fl WeaponSpawnOptionalScavenge}}}}
{{minititle|Model}}
{{KV|Glow Backface Multiple|intn=glowbackfacemult|float|nofgd=1|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.|only={{l4d2}}}}
}}
<noinclude>
[[Category:Keyvalue Templates|WeaponSpawnSingle]]
[[Category:Keyvalue Templates|WeaponSpawnSingle]]
</noinclude>

Latest revision as of 18:23, 19 August 2025

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.