Weapon pistol spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Removed {{WeaponSpawn}} and new categories (weapons)), usual stuff)
Line 1: Line 1:
{{l4d series point|weapon_pistol_spawn}} It is a possible spawn point for pistols.
{{l4d series point|weapon_pistol_spawn}} It is a possible spawn point for pistols.


{{WeaponSpawn}}
== Keyvalues ==
{{KV WeaponSpawn}}
{{KV BaseEntity|l4d2=1}}
 
== Flags ==
{{Fl WeaponSpawn}}
 
== Inputs ==
{{I WeaponSpawn}}
 
== Outputs ==
{{O WeaponSpawn}}
 
== See Also ==
* {{ent|weapon_pistol_magnum_spawn}}
* {{ent|weapon_melee_spawn}}
 
[[Category:Weapons]]
[[Category:Left 4 Dead Weapons]]
[[Category:Left 4 Dead 2 Weapons]]

Revision as of 15:17, 8 August 2022

Template:L4d series point It is a possible spawn point for pistols.

Keyvalues

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.


Flags

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


Inputs

Outputs

OnItemSpawn  (removed since Left 4 Dead 2)
Fired if this object is spawned on the map. If the weapon is removed during the weapon spawn pass, this will not fire.


See Also