Upgrade ammo incendiary: Difference between revisions
Jump to navigation
Jump to search
(created page) |
(added FGD instructions.) |
||
Line 1: | Line 1: | ||
{{ent not in fgd}} | |||
{{l4d2 point|Upgrade_ammo_incendiary}}<br> | {{l4d2 point|Upgrade_ammo_incendiary}}<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> | ||
==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). | |||
<pre>@PointClass base(WeaponSpawnSingle) studioprop("models/props/terror/incendiary_ammo.mdl") = upgrade_ammo_incendiary : "Deployed Upgrade Pack - Incendiary" [] | |||
</pre> |
Revision as of 00:29, 25 March 2021
Template:L4d2 point
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" []