Pre-defined gamevars: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
I have prevailed! Now the table fits completely in the width of a 1280x1024 screen.
Weapon Properties: prettify table
Line 32: Line 32:
The weapon properties come in the format WEAPON'''x'''_FIELD, where '''x''' is the [[WEAPON|weapon ID number]] and FIELD is the property of the weapon that the gamevar refers to.
The weapon properties come in the format WEAPON'''x'''_FIELD, where '''x''' is the [[WEAPON|weapon ID number]] and FIELD is the property of the weapon that the gamevar refers to.


{|border="1" style="font-size:75%;"
{|border="1" style="font-size:75%;" class="wikitable"
! WEAPONx_ !! Mighty Foot !! Pistol !! Shotgun !! Chaingun !! RPG !! Pipebomb !! Shrinker !! Devastator !! Tripbomb !! Freezer !! Detonator !! Expander
! WEAPONx_ !! Mighty Foot !! Pistol !! Shotgun !! Chaingun !! RPG !! Pipebomb !! Shrinker !! Devastator !! Tripbomb !! Freezer !! Detonator !! Expander
|- align="right"
|- align="right"
|align="left"|[[WEAPONx_WORKSLIKE|WORKSLIKE]]
!align="left"|[[WEAPONx_WORKSLIKE|WORKSLIKE]]
|0
|0
|1
|1
Line 49: Line 49:
|11
|11
|- align="right"
|- align="right"
|align="left"|[[WEAPONx_CLIP|CLIP]]
!align="left"|[[WEAPONx_CLIP|CLIP]]
|0
|0
|12
|12
Line 63: Line 63:
|0
|0
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_RELOAD|RELOAD]]
!align="left"|[[WEAPONx_RELOAD|RELOAD]]
|0
|0
|27
|27
Line 77: Line 77:
|0
|0
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_FIREDELAY|FIREDELAY]]
!align="left"|[[WEAPONx_FIREDELAY|FIREDELAY]]
|7
|7
|2
|2
Line 91: Line 91:
|3
|3
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_TOTALTIME|TOTALTIME]]
!align="left"|[[WEAPONx_TOTALTIME|TOTALTIME]]
|14
|14
|5
|5
Line 105: Line 105:
|5
|5
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_HOLDDELAY|HOLDDELAY]]
!align="left"|[[WEAPONx_HOLDDELAY|HOLDDELAY]]
|0
|0
|0
|0
Line 119: Line 119:
|0
|0
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
| align="left" rowspan="2" | [[WEAPONx_FLAGS|FLAGS]]
! align="left" rowspan="2" | [[WEAPONx_FLAGS|FLAGS]]
| 292
| 292
| 32768
| 32768
Line 146: Line 146:
| valign="top" | <p style="line-height: 90%;">Glows</p>
| valign="top" | <p style="line-height: 90%;">Glows</p>
|-
|-
|[[WEAPONx_SHOOTS|SHOOTS]]
![[WEAPONx_SHOOTS|SHOOTS]]
|KNEE
|KNEE
|SHOTSPARK1
|SHOTSPARK1
Line 160: Line 160:
|GROWSPARK
|GROWSPARK
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_SPAWNTIME|SPAWNTIME]]
!align="left"|[[WEAPONx_SPAWNTIME|SPAWNTIME]]
|0
|0
|2
|2
Line 174: Line 174:
|0
|0
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_SPAWN|SPAWN]]
!align="left"|[[WEAPONx_SPAWN|SPAWN]]
|0
|0
|align="left"|SHELL
|align="left"|SHELL
Line 188: Line 188:
|0
|0
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_SHOTSPERBURST|SHOTSPERBURST]]
!align="left"|[[WEAPONx_SHOTSPERBURST|SHOTSPERBURST]]
|0
|0
|0
|0
Line 202: Line 202:
|0
|0
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_INITIALSOUND|INITIALSOUND]]
!align="left"|[[WEAPONx_INITIALSOUND|INITIALSOUND]]
|0
|0
|0
|0
Line 216: Line 216:
|0
|0
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_FIRESOUND|FIRESOUND]]
!align="left"|[[WEAPONx_FIRESOUND|FIRESOUND]]
|0
|0
|align="left"|PISTOL_FIRE
|align="left"|PISTOL_FIRE
Line 230: Line 230:
|align="left"|EXPANDERSHOOT
|align="left"|EXPANDERSHOOT
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_SOUND2TIME|SOUND2TIME]]
!align="left"|[[WEAPONx_SOUND2TIME|SOUND2TIME]]
|0
|0
|0
|0
Line 244: Line 244:
|0
|0
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_SOUND2SOUND|SOUND2SOUND]]
!align="left"|[[WEAPONx_SOUND2SOUND|SOUND2SOUND]]
|0
|0
|0
|0
Line 258: Line 258:
|0
|0
|- align="center"
|- align="center"
|align="left"|[[WEAPONx_RELOADSOUND1|RELOADSOUND1]]
!align="left"|[[WEAPONx_RELOADSOUND1|RELOADSOUND1]]
|EJECT_CLIP
|EJECT_CLIP
|==
|==
Line 272: Line 272:
|EJECT_CLIP
|EJECT_CLIP
|- align="center"
|- align="center"
|align="left"|[[WEAPONx_RELOADSOUND2|RELOADSOUND2]]
!align="left"|[[WEAPONx_RELOADSOUND2|RELOADSOUND2]]
|INSERT_CLIP
|INSERT_CLIP
|==
|==
Line 286: Line 286:
|INSERT_CLIP
|INSERT_CLIP
|- ALIGN="RIGHT"
|- ALIGN="RIGHT"
|align="left"|[[WEAPONx_FLASHCOLOR|FLASHCOLOR]]
!align="left"|[[WEAPONx_FLASHCOLOR|FLASHCOLOR]]
|0
|0
|24575
|24575

Revision as of 14:17, 31 March 2013

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 == == == == == == == == == == EJECT_CLIP
RELOADSOUND2 INSERT_CLIP == == == == == == == == == == INSERT_CLIP
FLASHCOLOR 0 24575 24575 24575 24575 0 8454016 24575 0 16744576 0 24575