Pre-defined gamevars - EDukeWiki

# Pre-defined gamevars

From EDukeWiki

Each gamevar below is listed along with its default value and flag. These pre-defined gamevars may be altered without giving them the standard gamevar definition shown below. Giving them a gamevar definition, however, alters their default values. See also constantly updated gamevars.

- gamevar GRENADE_LIFETIME 120 1
- gamevar GRENADE_LIFETIME_VAR 30 1
- gamevar STICKYBOMB_LIFETIME 120 1
- gamevar STICKYBOMB_LIFETIME_VAR 30 1
- gamevar TRIPBOMB_CONTROL 1 1
- gamevar PIPEBOMB_CONTROL 1 1
- gamevar LOGO_FLAGS 255 0
- gamevar PLR_MORALE -1 1
- gamevar MENU_TILE 2456 0 // 3281 in Polymost
- gamevar CLIPMASK0 [1*65536+1] 0 (read only)
- gamevar CLIPMASK1 [256*65536+64] 0 (read only)

- gamevar WEAPON 0 0 // (read only)
- gamevar WORKSLIKE 0 0 // (read only)
- gamevar RETURN 0 0
- gamevar ZRANGE 4 0
- gamevar ANGRANGE 18 0
- gamevar AUTOAIMANGLE 0 0
- gamevar LOTAG 0 0 // (read only)
- gamevar HITAG 0 0 // (read only)
- gamevar TEXTURE 0 0 // (read only)
- gamevar THISACTOR 0 0 // (read only)

## Weapon Properties

The weapon properties come in the format WEAPONx_FIELD, where x is the weapon ID number and FIELD is the property of the weapon that the gamevar refers to.

WEAPONx_ | Mighty Foot | Pistol | Shotgun | Chaingun | RPG | Pipebomb | Shrinker | Devastator | Tripbomb | Freezer | Detonator | Expander
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
WORKSLIKE | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11
CLIP | 0 | 12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
RELOAD | 0 | 27 | 13 | 0 | 0 | 30 | 0 | 0 | 16 | 0 | 10 | 0
FIREDELAY | 7 | 2 | 4 | 3 | 4 | 6 | 10 | 3 | 3 | 3 | 2 | 3
TOTALTIME | 14 | 5 | 30 | 12 | 20 | 19 | 12 | 6 | 16 | 5 | 10 | 5
HOLDDELAY | 0 | 0 | 0 | 3 | 0 | 12 | 0 | 5 | 7 | 0 | 0 | 0
FLAGS | 292 | 32768 | 1024 | 73812 | 0 | 512 | 2 | 72 | 3072 | 65536 | 384 | 2
No visible Random restart Automatic | Reload timing | Check at reload | Automatic Fire every third Ammo per shot Spawn type 3 Reset | None | Throw it | Glows | Fire every other Ammo per shot | Stand still Check at reload | Reset | Bomb trigger No visible | Glows
SHOOTS | KNEE | SHOTSPARK1 | SHOTGUN | CHAINGUN | RPG | HEAVYHBOMB | SHRINKER | RPG | HANDHOLDINGLASER | FREEZEBLAST | 0 | GROWSPARK
SPAWNTIME | 0 | 2 | 24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
SPAWN | 0 | SHELL | SHOTGUNSHELL | SHELL | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
SHOTSPERBURST | 0 | 0 | 7 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0
INITIALSOUND | 0 | 0 | 0 | 0 | 0 | 0 | SHRINKER_FIRE | CAT_FIRE | 0 | CAT_FIRE | 0 | 0
FIRESOUND | 0 | PISTOL_FIRE | SHOTGUN_FIRE | CHAINGUN_FIRE | 0 | 0 | 0 | 0 | 0 | CAT_FIRE | 0 | EXPANDERSHOOT
SOUND2TIME | 0 | 0 | 15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
SOUND2SOUND | 0 | 0 | SHOTGUN_COCK | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
RELOADSOUND1 | EJECT_CLIP
RELOADSOUND2 | INSERT_CLIP
SELECTSOUND | 0 | INSERT_CLIP | SHOTGUN_COCK | SELECT_WEAPON | SELECT_WEAPON | 0 | SELECT_WEAPON | SELECT_WEAPON | 0 | SELECT_WEAPON | 0 | SELECT_WEAPON
FLASHCOLOR | 0 | 24575 | 24575 | 24575 | 24575 | 0 | 8454016 | 24575 | 0 | 16744576 | 0 | 24575

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Pre-defined_gamevars&oldid=12360"
Categories:

- Gamevar manipulation
- Scripting documentation