Ammunition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 37: Line 37:
* [[Changing max ammo in HL2]] - How to change the maximum ammo the player can carry
* [[Changing max ammo in HL2]] - How to change the maximum ammo the player can carry
* [[Magazine style reloads]] - How to implement a tactical-shooter style reload system where the player loses any ammo left in the magazine when reloading
* [[Magazine style reloads]] - How to implement a tactical-shooter style reload system where the player loses any ammo left in the magazine when reloading
[[Category:Hubs]]

Revision as of 18:13, 14 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