Upgrade ammo incendiary: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(-added class hierarchy, see also) |
||
Line 1: | Line 1: | ||
{{ent not in fgd}} | {{ent not in fgd}} | ||
{{CD|CUpgradeAmmoIncendiary}} | |||
{{this is a|point entity|name=upgrade_ammo_incendiary|game=Left 4 Dead 2}}<br> | {{this is a|point entity|name=upgrade_ammo_incendiary|game=Left 4 Dead 2}}<br> | ||
This entity will spawn an already deployed box of incendiary ammunition, which will still only allow four uses.<br> | This entity will spawn an already deployed box of incendiary ammunition, which will still only allow four uses.<br> | ||
Line 8: | Line 8: | ||
<pre>@PointClass base(WeaponSpawnSingle) studioprop("models/props/terror/incendiary_ammo.mdl") = upgrade_ammo_incendiary : "Deployed Upgrade Pack - Incendiary" [] | <pre>@PointClass base(WeaponSpawnSingle) studioprop("models/props/terror/incendiary_ammo.mdl") = upgrade_ammo_incendiary : "Deployed Upgrade Pack - Incendiary" [] | ||
</pre> | </pre> | ||
== See Also == | |||
* {{ent|upgrade_ammo_explosive}} | |||
* {{ent|upgrade_laser_sight}} | |||
* {{ent|upgrade_spawn}} |
Revision as of 16:18, 21 June 2024
![]() |
---|
CUpgradeAmmoIncendiary |
upgrade_ammo_incendiary
is a point entity available in Left 4 Dead 2.
This entity will spawn an already deployed box of incendiary 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/incendiary_ammo.mdl") = upgrade_ammo_incendiary : "Deployed Upgrade Pack - Incendiary" []