Ammunition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (decorations)
(l4d + minor tweaks)
Line 2: Line 2:


==Ammunition entities==
==Ammunition entities==
===[[Half-Life 2]]===
===[[Half-Life 2]] series===
[[Image:Item_ammo_357.jpg|right|100px|.357 ammo]]
[[Image:Item_ammo_357.jpg|right|100px|.357 ammo]]
* [[item_ammo_357]] - Bullets for the [[weapon_357|.357 Revolver]]
* [[item_ammo_357]] - Bullets for the [[weapon_357|.357 Revolver]]
Line 26: Line 26:
* [[item_ammopack_medium]] - Replenishes 50% of ammo
* [[item_ammopack_medium]] - Replenishes 50% of ammo
* [[item_ammopack_small]] - Replenishes 25% of ammo
* [[item_ammopack_small]] - Replenishes 25% of ammo
* [[func_regenerate]] - Instantly replenishes all ammo
* [[func_regenerate]] - Static object (usually used in spawn areas), replenishes all ammo


===[[Left 4 Dead]] series===
* [[weapon_ammo_spawn]] - Reusable ammo pile that fully replenishes ammo


==Ammunition coding==
==Ammunition coding==

Revision as of 14:01, 1 March 2011

Ammunition, or ammo, is what supplies most weapons. Ammo in most bullet-based weapons is stored in a magazine (widely referred to as a clip); "reloading" is swapping the current magazine for a full one.

Ammunition entities

Half-Life 2 series

.357 ammo
An item_ammo_crate, containing SMG1 ammo.

Team Fortress 2

A full ammo box.

Left 4 Dead series

Ammunition coding