Ammunition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(started article)
 
(finished)
Line 1: Line 1:
Ammunition, or ammo, is what supplies most weapons.
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==
==Ammunition entities==
Line 15: Line 15:
* [[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]]
==Ammunition coding==
* [[AmmoDef]] - defines types of [[hitscan]] ammunition
* [[Changing clip sizes]] - How to change the amount of ammo per magazine
* [[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

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

Ammunition coding