Weapon ammo spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added Outputs)
No edit summary
Line 15: Line 15:


== Keyvalues ==
== Keyvalues ==
{{kv weapon l4d}}
{{kv weapon l4d}}  
{{note|Ammo and count is usually unspecified for ammo spawnpoints.}}
{{note|Ammo and count is usually unspecified for ammo spawnpoints.}}
* '''model'''
:<studio> World Model (Maximum string length: 128)
{{note|If a model is not used there will be an error model but it is still usable in game.}}
== Flags ==
== Flags ==
{{fl weapon l4d}}
{{fl weapon l4d}}


[[Category:Left 4 Dead Entities]]
[[Category:Left 4 Dead Entities]]

Revision as of 23:10, 29 November 2008

Note.pngNote:The current description of this entity is based on unofficial data based on data mining. Anything that may be read here is largely incomplete or, in some cases, incorrect.

Entity description

A possible spawnpoint for ammo restock in Left 4 Dead.

Outputs

  • OnPlayerTouch
Fires an Output when Player touches the ammo stock.
  • OnCacheInteraction
Fires an Output when the Player uses the ammo stock.
  • OnIgnite
Fires an Output when the ammo stock is on fire.
  • OnKilled
Fires an Output when it gets removed.

Keyvalues

Template:Kv weapon l4d

Note.pngNote:Ammo and count is usually unspecified for ammo spawnpoints.
  • model
<studio> World Model (Maximum string length: 128)
Note.pngNote:If a model is not used there will be an error model but it is still usable in game.

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)