Skip to main content

Module weapons

Module weapons 

Source
Expand description

Player weapons, ammunition and the weapon animation state machine (driven by QAVs).

Modules§

ammo

Structs§

Arsenal
FireMode
WeaponDef

Enums§

Fire
WeaponState

Constants§

AMMO_MAX
AMMO_TYPES
MELEE 🔒
SHOT_FIRE1
SHOT_FIRE2
SHOT_IDLE
Sawed-off QAVs: idle with 0 / 1 / 2 loaded barrels, first and second barrel, both, reload.
SHOT_RELOAD
VOODOO_STABS
Voodoo stab animations (picked at random).
WEAPONS
Weapon slots 1..=10 (index 0 unused).

Functions§

mode 🔒