upgrade_ammo_explosive

From Valve Developer Community
Jump to: navigation, search
Info.png
This entity is not in the FGD by default .
See below for instructions on making it available.

upgrade_ammo_explosive is a point entity available in Left 4 Dead 2 Left 4 Dead 2.
This entity will spawn an already deployed box of explosive ammunition, which will still only allow four uses.

FGD Code

To add this entity to the FGD, and to use it in Hammer, add the following lines to the left4dead2.FGD (or any custom FGD, loaded by Hammer).

@PointClass base(WeaponSpawnSingle) studioprop("models/props/terror/exploding_ammo.mdl") = upgrade_ammo_explosive : "Deployed Upgrade Pack - Explosive" []