Ammunition: Difference between revisions
Jump to navigation
Jump to search
m (missed ar2 secondary) |
m (decorations) |
||
Line 3: | Line 3: | ||
==Ammunition entities== | ==Ammunition entities== | ||
===[[Half-Life 2]]=== | ===[[Half-Life 2]]=== | ||
[[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]] | ||
* [[item_ammo_357_large]] | * [[item_ammo_357_large]] | ||
Line 8: | Line 9: | ||
* [[item_ammo_ar2_large]] | * [[item_ammo_ar2_large]] | ||
* [[item_ammo_ar2_altfire]] - Energy balls for the AR2's secondary fire | * [[item_ammo_ar2_altfire]] - Energy balls for the AR2's secondary fire | ||
[[Image:item_ammo_crate.jpg|100px|right|An item_ammo_crate, containing SMG1 ammo.]] | |||
* [[item_ammo_crate]] - Crate containing an unlimited supply of the specified ammunition | * [[item_ammo_crate]] - Crate containing an unlimited supply of the specified ammunition | ||
* [[item_ammo_crossbow]] - Rebar for the [[weapon_crossbow|Crossbow]] | * [[item_ammo_crossbow]] - Rebar for the [[weapon_crossbow|Crossbow]] | ||
* [[item_ammo_pistol]] - Bullets for the [[weapon_pistol|pistol]] | * [[item_ammo_pistol]] - Bullets for the [[weapon_pistol|pistol]] | ||
* [[item_ammo_pistol_large]] | * [[item_ammo_pistol_large]] | ||
* [[Image:item_ammo_smg1.jpg|100px|right]] | |||
* [[item_ammo_smg1]] - Bullets for the [[weapon_smg1|SMG]] | * [[item_ammo_smg1]] - Bullets for the [[weapon_smg1|SMG]] | ||
* [[item_ammo_smg1_large]] | * [[item_ammo_smg1_large]] | ||
Line 19: | Line 22: | ||
===[[Team Fortress 2]]=== | ===[[Team Fortress 2]]=== | ||
[[Image:Item ammopack full tf.JPG|right|100px|A full ammo box.]] | |||
* [[item_ammopack_full]] - Fully replenishes ammo to current class | * [[item_ammopack_full]] - Fully replenishes ammo to current class | ||
* [[item_ammopack_medium]] - Replenishes 50% of ammo | * [[item_ammopack_medium]] - Replenishes 50% of ammo |
Revision as of 03:09, 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
- item_ammo_357 - Bullets for the .357 Revolver
- item_ammo_357_large
- item_ammo_ar2 - Bullets for the Combine AR2
- item_ammo_ar2_large
- item_ammo_ar2_altfire - Energy balls for the AR2's secondary fire
- item_ammo_crate - Crate containing an unlimited supply of the specified ammunition
- item_ammo_crossbow - Rebar for the Crossbow
- item_ammo_pistol - Bullets for the pistol
- item_ammo_pistol_large
- item_ammo_smg1 - Bullets for the SMG
- item_ammo_smg1_large
- item_ammo_smg1_grenade - Grenades for the SMG's secondary fire mode
- item_box_buckshot - Shells for the shotgun
- item_rpg_round - Rocket for the 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
- 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