InfWeaponData.Secondary Ammo

From Empires Wiki
Jump to navigation Jump to search
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



Secondary_Ammo

secondary_ammo is the type of ammo the weapon uses for its secondary magazine. It can have any value that is defined in the "max_ammo.txt" file. Usually used for melee in Empires.

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