Pre-defined gamevars

From EDukeWiki
Revision as of 13:27, 10 December 2019 by Fox (talk | contribs) (Weapon Properties: Reference for copy pasting)
Jump to navigation Jump to search

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.

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
var WEAPON0_WORKSLIKE                   0                       GAMEVAR_PERPLAYER
var WEAPON0_CLIP                        0                       GAMEVAR_PERPLAYER
var WEAPON0_RELOAD                      0                       GAMEVAR_PERPLAYER
var WEAPON0_FIREDELAY                   7                       GAMEVAR_PERPLAYER
var WEAPON0_TOTALTIME                   14                      GAMEVAR_PERPLAYER
var WEAPON0_HOLDDELAY                   0                       GAMEVAR_PERPLAYER
var WEAPON0_FLAGS                       292                     GAMEVAR_PERPLAYER
var WEAPON0_SHOOTS                      KNEE                    GAMEVAR_PERPLAYER
var WEAPON0_SPAWNTIME                   0                       GAMEVAR_PERPLAYER
var WEAPON0_SPAWN                       0                       GAMEVAR_PERPLAYER
var WEAPON0_SHOTSPERBURST               0                       GAMEVAR_PERPLAYER
var WEAPON0_INITIALSOUND                0                       GAMEVAR_PERPLAYER
var WEAPON0_FIRESOUND                   0                       GAMEVAR_PERPLAYER
var WEAPON0_SOUND2TIME                  0                       GAMEVAR_PERPLAYER
var WEAPON0_SOUND2SOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON0_RELOADSOUND1                EJECT_CLIP              GAMEVAR_PERPLAYER
var WEAPON0_RELOADSOUND2                INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON0_SELECTSOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON0_FLASHCOLOR                  0                       GAMEVAR_PERPLAYER
var WEAPON1_WORKSLIKE                   1                       GAMEVAR_PERPLAYER
var WEAPON1_CLIP                        12                      GAMEVAR_PERPLAYER
var WEAPON1_RELOAD                      27                      GAMEVAR_PERPLAYER
var WEAPON1_FIREDELAY                   2                       GAMEVAR_PERPLAYER
var WEAPON1_TOTALTIME                   5                       GAMEVAR_PERPLAYER
var WEAPON1_HOLDDELAY                   0                       GAMEVAR_PERPLAYER
var WEAPON1_FLAGS                       32768                   GAMEVAR_PERPLAYER
var WEAPON1_SHOOTS                      SHOTSPARK1              GAMEVAR_PERPLAYER
var WEAPON1_SPAWNTIME                   2                       GAMEVAR_PERPLAYER
var WEAPON1_SPAWN                       SHELL                   GAMEVAR_PERPLAYER
var WEAPON1_SHOTSPERBURST               0                       GAMEVAR_PERPLAYER
var WEAPON1_INITIALSOUND                0                       GAMEVAR_PERPLAYER
var WEAPON1_FIRESOUND                   PISTOL_FIRE             GAMEVAR_PERPLAYER
var WEAPON1_SOUND2TIME                  0                       GAMEVAR_PERPLAYER
var WEAPON1_SOUND2SOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON1_RELOADSOUND1                EJECT_CLIP              GAMEVAR_PERPLAYER
var WEAPON1_RELOADSOUND2                INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON1_SELECTSOUND                 INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON1_FLASHCOLOR                  24575                   GAMEVAR_PERPLAYER
var WEAPON2_WORKSLIKE                   2                       GAMEVAR_PERPLAYER
var WEAPON2_CLIP                        0                       GAMEVAR_PERPLAYER
var WEAPON2_RELOAD                      13                      GAMEVAR_PERPLAYER
var WEAPON2_FIREDELAY                   4                       GAMEVAR_PERPLAYER
var WEAPON2_TOTALTIME                   30                      GAMEVAR_PERPLAYER
var WEAPON2_HOLDDELAY                   0                       GAMEVAR_PERPLAYER
var WEAPON2_FLAGS                       1024                    GAMEVAR_PERPLAYER
var WEAPON2_SHOOTS                      SHOTGUN                 GAMEVAR_PERPLAYER
var WEAPON2_SPAWNTIME                   24                      GAMEVAR_PERPLAYER
var WEAPON2_SPAWN                       SHOTGUNSHELL            GAMEVAR_PERPLAYER
var WEAPON2_SHOTSPERBURST               7                       GAMEVAR_PERPLAYER
var WEAPON2_INITIALSOUND                0                       GAMEVAR_PERPLAYER
var WEAPON2_FIRESOUND                   SHOTGUN_FIRE            GAMEVAR_PERPLAYER
var WEAPON2_SOUND2TIME                  15                      GAMEVAR_PERPLAYER
var WEAPON2_SOUND2SOUND                 SHOTGUN_COCK            GAMEVAR_PERPLAYER
var WEAPON2_RELOADSOUND1                EJECT_CLIP              GAMEVAR_PERPLAYER
var WEAPON2_RELOADSOUND2                INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON2_SELECTSOUND                 SHOTGUN_COCK            GAMEVAR_PERPLAYER
var WEAPON2_FLASHCOLOR                  24575                   GAMEVAR_PERPLAYER
var WEAPON3_WORKSLIKE                   3                       GAMEVAR_PERPLAYER
var WEAPON3_CLIP                        0                       GAMEVAR_PERPLAYER
var WEAPON3_RELOAD                      0                       GAMEVAR_PERPLAYER
var WEAPON3_FIREDELAY                   3                       GAMEVAR_PERPLAYER
var WEAPON3_TOTALTIME                   12                      GAMEVAR_PERPLAYER
var WEAPON3_HOLDDELAY                   3                       GAMEVAR_PERPLAYER
var WEAPON3_FLAGS                       73812                   GAMEVAR_PERPLAYER
var WEAPON3_SHOOTS                      CHAINGUN                GAMEVAR_PERPLAYER
var WEAPON3_SPAWNTIME                   1                       GAMEVAR_PERPLAYER
var WEAPON3_SPAWN                       SHELL                   GAMEVAR_PERPLAYER
var WEAPON3_SHOTSPERBURST               0                       GAMEVAR_PERPLAYER
var WEAPON3_INITIALSOUND                0                       GAMEVAR_PERPLAYER
var WEAPON3_FIRESOUND                   CHAINGUN_FIRE           GAMEVAR_PERPLAYER
var WEAPON3_SOUND2TIME                  0                       GAMEVAR_PERPLAYER
var WEAPON3_SOUND2SOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON3_RELOADSOUND1                EJECT_CLIP              GAMEVAR_PERPLAYER
var WEAPON3_RELOADSOUND2                INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON3_SELECTSOUND                 SELECT_WEAPON           GAMEVAR_PERPLAYER
var WEAPON3_FLASHCOLOR                  24575                   GAMEVAR_PERPLAYER
var WEAPON4_WORKSLIKE                   4                       GAMEVAR_PERPLAYER
var WEAPON4_CLIP                        0                       GAMEVAR_PERPLAYER
var WEAPON4_RELOAD                      0                       GAMEVAR_PERPLAYER
var WEAPON4_FIREDELAY                   4                       GAMEVAR_PERPLAYER
var WEAPON4_TOTALTIME                   20                      GAMEVAR_PERPLAYER
var WEAPON4_HOLDDELAY                   0                       GAMEVAR_PERPLAYER
var WEAPON4_FLAGS                       0                       GAMEVAR_PERPLAYER
var WEAPON4_SHOOTS                      RPG                     GAMEVAR_PERPLAYER
var WEAPON4_SPAWNTIME                   0                       GAMEVAR_PERPLAYER
var WEAPON4_SPAWN                       0                       GAMEVAR_PERPLAYER
var WEAPON4_SHOTSPERBURST               0                       GAMEVAR_PERPLAYER
var WEAPON4_INITIALSOUND                0                       GAMEVAR_PERPLAYER
var WEAPON4_FIRESOUND                   0                       GAMEVAR_PERPLAYER
var WEAPON4_SOUND2TIME                  0                       GAMEVAR_PERPLAYER
var WEAPON4_SOUND2SOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON4_RELOADSOUND1                EJECT_CLIP              GAMEVAR_PERPLAYER
var WEAPON4_RELOADSOUND2                INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON4_SELECTSOUND                 SELECT_WEAPON           GAMEVAR_PERPLAYER
var WEAPON4_FLASHCOLOR                  24575                   GAMEVAR_PERPLAYER
var WEAPON5_WORKSLIKE                   5                       GAMEVAR_PERPLAYER
var WEAPON5_CLIP                        0                       GAMEVAR_PERPLAYER
var WEAPON5_RELOAD                      30                      GAMEVAR_PERPLAYER
var WEAPON5_FIREDELAY                   6                       GAMEVAR_PERPLAYER
var WEAPON5_TOTALTIME                   19                      GAMEVAR_PERPLAYER
var WEAPON5_HOLDDELAY                   12                      GAMEVAR_PERPLAYER
var WEAPON5_FLAGS                       512                     GAMEVAR_PERPLAYER
var WEAPON5_SHOOTS                      HEAVYHBOMB              GAMEVAR_PERPLAYER
var WEAPON5_SPAWNTIME                   0                       GAMEVAR_PERPLAYER
var WEAPON5_SPAWN                       0                       GAMEVAR_PERPLAYER
var WEAPON5_SHOTSPERBURST               0                       GAMEVAR_PERPLAYER
var WEAPON5_INITIALSOUND                0                       GAMEVAR_PERPLAYER
var WEAPON5_FIRESOUND                   0                       GAMEVAR_PERPLAYER
var WEAPON5_SOUND2TIME                  0                       GAMEVAR_PERPLAYER
var WEAPON5_SOUND2SOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON5_RELOADSOUND1                EJECT_CLIP              GAMEVAR_PERPLAYER
var WEAPON5_RELOADSOUND2                INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON5_SELECTSOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON5_FLASHCOLOR                  0                       GAMEVAR_PERPLAYER
var WEAPON6_WORKSLIKE                   6                       GAMEVAR_PERPLAYER
var WEAPON6_CLIP                        0                       GAMEVAR_PERPLAYER
var WEAPON6_RELOAD                      0                       GAMEVAR_PERPLAYER
var WEAPON6_FIREDELAY                   10                      GAMEVAR_PERPLAYER
var WEAPON6_TOTALTIME                   12                      GAMEVAR_PERPLAYER
var WEAPON6_HOLDDELAY                   0                       GAMEVAR_PERPLAYER
var WEAPON6_FLAGS                       2                       GAMEVAR_PERPLAYER
var WEAPON6_SHOOTS                      SHRINKER                GAMEVAR_PERPLAYER
var WEAPON6_SPAWNTIME                   0                       GAMEVAR_PERPLAYER
var WEAPON6_SPAWN                       0                       GAMEVAR_PERPLAYER
var WEAPON6_SHOTSPERBURST               0                       GAMEVAR_PERPLAYER
var WEAPON6_INITIALSOUND                SHRINKER_FIRE           GAMEVAR_PERPLAYER
var WEAPON6_FIRESOUND                   0                       GAMEVAR_PERPLAYER
var WEAPON6_SOUND2TIME                  0                       GAMEVAR_PERPLAYER
var WEAPON6_SOUND2SOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON6_RELOADSOUND1                EJECT_CLIP              GAMEVAR_PERPLAYER
var WEAPON6_RELOADSOUND2                INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON6_SELECTSOUND                 SELECT_WEAPON           GAMEVAR_PERPLAYER
var WEAPON6_FLASHCOLOR                  8454016                 GAMEVAR_PERPLAYER
var WEAPON7_WORKSLIKE                   7                       GAMEVAR_PERPLAYER
var WEAPON7_CLIP                        0                       GAMEVAR_PERPLAYER
var WEAPON7_RELOAD                      0                       GAMEVAR_PERPLAYER
var WEAPON7_FIREDELAY                   3                       GAMEVAR_PERPLAYER
var WEAPON7_TOTALTIME                   6                       GAMEVAR_PERPLAYER
var WEAPON7_HOLDDELAY                   5                       GAMEVAR_PERPLAYER
var WEAPON7_FLAGS                       72                      GAMEVAR_PERPLAYER
var WEAPON7_SHOOTS                      RPG                     GAMEVAR_PERPLAYER
var WEAPON7_SPAWNTIME                   0                       GAMEVAR_PERPLAYER
var WEAPON7_SPAWN                       0                       GAMEVAR_PERPLAYER
var WEAPON7_SHOTSPERBURST               2                       GAMEVAR_PERPLAYER
var WEAPON7_INITIALSOUND                CAT_FIRE                GAMEVAR_PERPLAYER
var WEAPON7_FIRESOUND                   0                       GAMEVAR_PERPLAYER
var WEAPON7_SOUND2TIME                  0                       GAMEVAR_PERPLAYER
var WEAPON7_SOUND2SOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON7_RELOADSOUND1                EJECT_CLIP              GAMEVAR_PERPLAYER
var WEAPON7_RELOADSOUND2                INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON7_SELECTSOUND                 SELECT_WEAPON           GAMEVAR_PERPLAYER
var WEAPON7_FLASHCOLOR                  24575                   GAMEVAR_PERPLAYER
var WEAPON8_WORKSLIKE                   8                       GAMEVAR_PERPLAYER
var WEAPON8_CLIP                        0                       GAMEVAR_PERPLAYER
var WEAPON8_RELOAD                      16                      GAMEVAR_PERPLAYER
var WEAPON8_FIREDELAY                   3                       GAMEVAR_PERPLAYER
var WEAPON8_TOTALTIME                   16                      GAMEVAR_PERPLAYER
var WEAPON8_HOLDDELAY                   7                       GAMEVAR_PERPLAYER
var WEAPON8_FLAGS                       3072                    GAMEVAR_PERPLAYER
var WEAPON8_SHOOTS                      HANDHOLDINGLASER        GAMEVAR_PERPLAYER
var WEAPON8_SPAWNTIME                   0                       GAMEVAR_PERPLAYER
var WEAPON8_SPAWN                       0                       GAMEVAR_PERPLAYER
var WEAPON8_SHOTSPERBURST               0                       GAMEVAR_PERPLAYER
var WEAPON8_INITIALSOUND                0                       GAMEVAR_PERPLAYER
var WEAPON8_FIRESOUND                   0                       GAMEVAR_PERPLAYER
var WEAPON8_SOUND2TIME                  0                       GAMEVAR_PERPLAYER
var WEAPON8_SOUND2SOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON8_RELOADSOUND1                EJECT_CLIP              GAMEVAR_PERPLAYER
var WEAPON8_RELOADSOUND2                INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON8_SELECTSOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON8_FLASHCOLOR                  0                       GAMEVAR_PERPLAYER
var WEAPON9_WORKSLIKE                   9                       GAMEVAR_PERPLAYER
var WEAPON9_CLIP                        0                       GAMEVAR_PERPLAYER
var WEAPON9_RELOAD                      0                       GAMEVAR_PERPLAYER
var WEAPON9_FIREDELAY                   3                       GAMEVAR_PERPLAYER
var WEAPON9_TOTALTIME                   5                       GAMEVAR_PERPLAYER
var WEAPON9_HOLDDELAY                   0                       GAMEVAR_PERPLAYER
var WEAPON9_FLAGS                       65536                   GAMEVAR_PERPLAYER
var WEAPON9_SHOOTS                      FREEZEBLAST             GAMEVAR_PERPLAYER
var WEAPON9_SPAWNTIME                   0                       GAMEVAR_PERPLAYER
var WEAPON9_SPAWN                       0                       GAMEVAR_PERPLAYER
var WEAPON9_SHOTSPERBURST               0                       GAMEVAR_PERPLAYER
var WEAPON9_INITIALSOUND                CAT_FIRE                GAMEVAR_PERPLAYER
var WEAPON9_FIRESOUND                   CAT_FIRE                GAMEVAR_PERPLAYER
var WEAPON9_SOUND2TIME                  0                       GAMEVAR_PERPLAYER
var WEAPON9_SOUND2SOUND                 0                       GAMEVAR_PERPLAYER
var WEAPON9_RELOADSOUND1                EJECT_CLIP              GAMEVAR_PERPLAYER
var WEAPON9_RELOADSOUND2                INSERT_CLIP             GAMEVAR_PERPLAYER
var WEAPON9_SELECTSOUND                 SELECT_WEAPON           GAMEVAR_PERPLAYER
var WEAPON9_FLASHCOLOR                  16744576                GAMEVAR_PERPLAYER
var WEAPON10_WORKSLIKE                   10                     GAMEVAR_PERPLAYER
var WEAPON10_CLIP                        0                      GAMEVAR_PERPLAYER
var WEAPON10_RELOAD                      10                     GAMEVAR_PERPLAYER
var WEAPON10_FIREDELAY                   2                      GAMEVAR_PERPLAYER
var WEAPON10_TOTALTIME                   10                     GAMEVAR_PERPLAYER
var WEAPON10_HOLDDELAY                   0                      GAMEVAR_PERPLAYER
var WEAPON10_FLAGS                       384                    GAMEVAR_PERPLAYER
var WEAPON10_SHOOTS                      0                      GAMEVAR_PERPLAYER
var WEAPON10_SPAWNTIME                   0                      GAMEVAR_PERPLAYER
var WEAPON10_SPAWN                       0                      GAMEVAR_PERPLAYER
var WEAPON10_SHOTSPERBURST               0                      GAMEVAR_PERPLAYER
var WEAPON10_INITIALSOUND                0                      GAMEVAR_PERPLAYER
var WEAPON10_FIRESOUND                   0                      GAMEVAR_PERPLAYER
var WEAPON10_SOUND2TIME                  0                      GAMEVAR_PERPLAYER
var WEAPON10_SOUND2SOUND                 0                      GAMEVAR_PERPLAYER
var WEAPON10_RELOADSOUND1                EJECT_CLIP             GAMEVAR_PERPLAYER
var WEAPON10_RELOADSOUND2                INSERT_CLIP            GAMEVAR_PERPLAYER
var WEAPON10_SELECTSOUND                 0                      GAMEVAR_PERPLAYER
var WEAPON10_FLASHCOLOR                  0                      GAMEVAR_PERPLAYER
var WEAPON11_WORKSLIKE                   11                     GAMEVAR_PERPLAYER
var WEAPON11_CLIP                        0                      GAMEVAR_PERPLAYER
var WEAPON11_RELOAD                      0                      GAMEVAR_PERPLAYER
var WEAPON11_FIREDELAY                   3                      GAMEVAR_PERPLAYER
var WEAPON11_TOTALTIME                   5                      GAMEVAR_PERPLAYER
var WEAPON11_HOLDDELAY                   0                      GAMEVAR_PERPLAYER
var WEAPON11_FLAGS                       2                      GAMEVAR_PERPLAYER
var WEAPON11_SHOOTS                      GROWSPARK              GAMEVAR_PERPLAYER
var WEAPON11_SPAWNTIME                   0                      GAMEVAR_PERPLAYER
var WEAPON11_SPAWN                       0                      GAMEVAR_PERPLAYER
var WEAPON11_SHOTSPERBURST               0                      GAMEVAR_PERPLAYER
var WEAPON11_INITIALSOUND                0                      GAMEVAR_PERPLAYER
var WEAPON11_FIRESOUND                   EXPANDERSHOOT          GAMEVAR_PERPLAYER
var WEAPON11_SOUND2TIME                  0                      GAMEVAR_PERPLAYER
var WEAPON11_SOUND2SOUND                 0                      GAMEVAR_PERPLAYER
var WEAPON11_RELOADSOUND1                EJECT_CLIP             GAMEVAR_PERPLAYER
var WEAPON11_RELOADSOUND2                INSERT_CLIP            GAMEVAR_PERPLAYER
var WEAPON11_SELECTSOUND                 SELECT_WEAPON          GAMEVAR_PERPLAYER
var WEAPON11_FLASHCOLOR                  24575                  GAMEVAR_PERPLAYER