WEAPONx FLAGS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
WEAPONx_FLAGS is a [[gamevar]] that has the power to change several different things about weapons (not projectiles). | |||
:'''1''' - Holstering | The flag values for WEAPONx_FLAGS are: | ||
:'''1''' - Holstering clears clip | |||
:'''2''' - Glows | :'''2''' - Glows | ||
:'''4''' - Automatic | :'''4''' - Automatic | ||
:'''8''' - Fire | :'''8''' - Fire every other frame | ||
:'''16''' - Fire | :'''16''' - Fire every third frame | ||
:'''32''' - Random restart on automatic | :'''32''' - Random restart on automatic | ||
:'''64''' - Use | :'''64''' - Use ammo per burst (like the Devastator) | ||
:'''128''' - Is a | :'''128''' - Is a bomb trigger (Pipebomb Detonator) | ||
:'''256''' - Using does NOT cause player to become 'visible' | :'''256''' - Using does NOT cause player to become 'visible' | ||
:'''512''' - Use 'throws' the 'shoots' item | :'''512''' - Use 'throws' the 'shoots' item | ||
:'''1024''' - Check weapon availability at 'reload' time | :'''1024''' - Check weapon availability at 'reload' time | ||
:'''2048''' - player should stop jumping | :'''2048''' - player should stop jumping | ||
:'''0''' - Spawn Type 1 ( | :'''0''' - Spawn Type 1 (Pistol shells) | ||
:'''4096''' - Spawn Type 2 (Shotgun shells) | :'''4096''' - Spawn Type 2 (Shotgun shells) | ||
:'''8192''' - Spawn Type 3 ( | :'''8192''' - Spawn Type 3 (Chaingun shells) | ||
WEAPONx_FLAGS is a bitfield, so you can add the individual flags together in the manner of [[cstat]] and [[orientation]]. |
Revision as of 14:24, 24 November 2006
WEAPONx_FLAGS is a gamevar that has the power to change several different things about weapons (not projectiles).
The flag values for WEAPONx_FLAGS are:
- 1 - Holstering clears clip
- 2 - Glows
- 4 - Automatic
- 8 - Fire every other frame
- 16 - Fire every third frame
- 32 - Random restart on automatic
- 64 - Use ammo per burst (like the Devastator)
- 128 - Is a bomb trigger (Pipebomb Detonator)
- 256 - Using does NOT cause player to become 'visible'
- 512 - Use 'throws' the 'shoots' item
- 1024 - Check weapon availability at 'reload' time
- 2048 - player should stop jumping
- 0 - Spawn Type 1 (Pistol shells)
- 4096 - Spawn Type 2 (Shotgun shells)
- 8192 - Spawn Type 3 (Chaingun shells)
WEAPONx_FLAGS is a bitfield, so you can add the individual flags together in the manner of cstat and orientation.