Template:KV WeaponSpawnSingle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (add {{Lang}})
(-internal name fix)
Line 1: Line 1:
<noinclude>{{lang|Template:KV WeaponSpawnSingle}}</noinclude>{{ScrollBox|title=WeaponSpawnSingle|noscroll=1|
<noinclude>{{lang|Template:KV WeaponSpawnSingle}}</noinclude>{{ScrollBox|title=WeaponSpawnSingle|noscroll=1|
{{KV|Weapon Skin|integer|intn=weapon_skin|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.}}
{{KV|Glow Range|float|intn=glowrange|Set a custom glow range for this spawner. 0 means use the default range.}}
{{KV|Collisions|choices|intn=solid|Collision type.}}
{{KV|Collisions|choices|intn=solid|Collision type.}}

Revision as of 05:00, 29 August 2023

WeaponSpawnSingle:
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.
Collisions (solid) <choices>
Collision type.
  • 0 : Not Solid
  • 2 : Use Bounding Box
  • 6 : Use VPhysics

Model:

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.