Ammunition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(finished)
(added tf2)
Line 2: Line 2:


==Ammunition entities==
==Ammunition entities==
===[[Half-Life 2]]===
* [[item_ammo_357]] - Bullets for the [[weapon_357|.357 Revolver]]
* [[item_ammo_357]] - Bullets for the [[weapon_357|.357 Revolver]]
* [[item_ammo_357_large]]
* [[item_ammo_357_large]]
Line 15: Line 16:
* [[item_box_buckshot]] - Shells for the [[weapon_shotgun|shotgun]]
* [[item_box_buckshot]] - Shells for the [[weapon_shotgun|shotgun]]
* [[item_rpg_round]] - Rocket for the [[weapon_rpg|RPG]]
* [[item_rpg_round]] - Rocket for the [[weapon_rpg|RPG]]
===[[Team Fortress 2]]===
* [[item_ammopack_full]] - Fully replenishes ammo to current class
* [[item_ammopack_medium]] - Replenishes 50% of ammo
* [[item_ammopack_small]] - Replenishes 25% of ammo
* [[func_regenerate]] - Instantly replenishes all ammo


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

Revision as of 02:58, 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

Team Fortress 2


Ammunition coding