Template:WeaponL4D

From Valve Developer Community
Revision as of 02:54, 13 August 2023 by Nescius (talk | contribs) (-)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
[[{{{class}}} ]]

{{:Category:CD no superclass found in Template:CD/superclassfor {{{class}}} |:}}

Template:Entity Held {{{weapon}}}. For placing {{{weapon}}} spawns in a map use [[weapon_{{{weapon}}}_spawn]]

Keyvalues

Reserve ammo (Ammo) <integer>
Reserve ammo of the weapon.
Note.pngNote:Reserve ammo will be double of this value for some reason and cannot exceed the value of cvar {{{ammo_cvar}}}.

Weapon Scipt

scripts/weapon_{{{weapon}}}.txt

{{WeaponL4D/{{{weapon}}}_script}}

See Also