InfWeaponData.Primary Ammo

From Empires Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Empires Scripting Documentation
Scripting Overview | Vehicle Script Overview | Vehicle Handling Script Overview | Weapon Script Overview | Armor Script Overview | Building Script Overview | Infantry Script Overview | Hint Messages | Loading Screen Script Overview | Tutorials



Weapon Data Documentation
Printname | Viewmodel | Playermodel | Anim Prefix | Bucket | Bucket Position | Clip Size | Clip2 Size | Primary Ammo | Secondary Ammo | Weight | Item Flags | Built Right-Handed | Allow Flipping | Melee Weapon



Primary_Ammo

primary_ammo is the type of ammo the weapon uses for its primary magazine. It can have any value that is defined in the "max_ammo.txt" file.

Valid values:

  • AMMO_MELEE
  • AMMO_GRENADE
  • AMMO_ROCKETS
  • AMMO_PISTOL
  • AMMO_SMG
  • AMMO_RIFLE
  • AMMO_50CAL
  • AMMO_HMG
  • AMMO_MORTAR
  • AMMO_MISSILE
  • AMMO_ENGINEER_RESOURCES
  • AMMO_SMOKE_GRENADE
  • AMMO_INCED_GRENADE
  • AMMO_SEISMIC_GRENADE
  • AMMO_MINE_GRENADE
  • AMMO_STICKY_GRENADE
  • AMMO_BUCKSHOT