Weapon autoshotgun spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Cleanup)
m (Hm, strange base class...)
Line 2: Line 2:


== Keyvalues ==
== Keyvalues ==
{{KV WeaponSpawnOptionalScavenge}}
{{KV WeaponSpawn}}


== Flags ==
== Flags ==
{{Fl WeaponSpawnOptionalScavenge}}
{{Fl WeaponSpawn}}

Revision as of 17:52, 1 August 2011

Template:L4d series point It is a possible spawnpoint for automatic shotguns.

Keyvalues

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)
Count (count) <integer>
Max number of weapons given before disappearing.

Flags

Absorb any dropped weapon type : [4] (only in Left 4 Dead 2)
Don't Cluster With Similar Items : [131072] (only in Left 4 Dead)
Enable Physics : [1]
Must Exist : [2]
Infinite items (overrides count) : [8] (only in Left 4 Dead 2)