Pre-defined gamevars: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
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|constantly updated gamevars]].
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|constantly updated gamevars]].


{| cellpadding="0" cellspacing="0" border="0" width="100%"
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |
*gamevar [[WEAPONx_WORKSLIKE|WEAPON0_WORKSLIKE]] 0 1  
*gamevar [[WEAPONx_WORKSLIKE|WEAPON0_WORKSLIKE]] 0 1  
*gamevar [[WEAPONx_CLIP|WEAPON0_CLIP]] 0 1  
*gamevar [[WEAPONx_CLIP|WEAPON0_CLIP]] 0 1  
Line 205: Line 207:
*gamevar WEAPON11_RELOADSOUND1 4 1
*gamevar WEAPON11_RELOADSOUND1 4 1
*gamevar WEAPON11_RELOADSOUND2 5 1
*gamevar WEAPON11_RELOADSOUND2 5 1
The WEAPONx_ [[gamevar|gamevars]] are weapon flags. Here is the default list of what the "x" stands for:
<ins>'''0:'''</ins> Mighty Foot<br/>
<ins>'''1:'''</ins> Pistol<br/>
<ins>'''2:'''</ins> Shotgun<br/>
<ins>'''3:'''</ins> Chaingun Cannon - Ripper<br/>
<ins>'''4:'''</ins> RPG<br/>
<ins>'''5:'''</ins> Pipebomb<br/>
<ins>'''6:'''</ins> Shrinker<br/>
<ins>'''7:'''</ins> Devastator<br/>
<ins>'''8:'''</ins> Laser Tripbomb<br/>
<ins>'''9:'''</ins> Freezethrower - Freezer<br/>
<ins>'''10:'''</ins> Pipebomb Detonator '''(NOTE: It is advised that you do not alter the values for this.)'''<br/>
<ins>'''11:'''</ins> Expander
| width="33%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
*gamevar [[GRENADE_LIFETIME]] 120 1  
*gamevar [[GRENADE_LIFETIME]] 120 1  
*gamevar [[GRENADE_LIFETIME_VAR]] 30 1  
*gamevar [[GRENADE_LIFETIME_VAR]] 30 1  
Line 211: Line 229:
*gamevar [[TRIPBOMB_CONTROL]] 1 1  
*gamevar [[TRIPBOMB_CONTROL]] 1 1  
*gamevar [[PIPEBOMB_CONTROL]] 1 1  
*gamevar [[PIPEBOMB_CONTROL]] 1 1  
*gamevar [[RESPAWN_MONSTERS]] 0 0
*gamevar [[LOGO_FLAGS]] 255 0
*gamevar [[RESPAWN_ITEMS]]  0 0
*gamevar [[PLR_MORALE]] -1 1
*gamevar [[RESPAWN_INVENTORY]]  0 0
*gamevar [[MENU_TILE]] 0 0
*gamevar [[MONSTERS_OFF]]  0 0
 
*gamevar [[MARKER]]  0 0
 
*gamevar [[FFIRE]]  0 0  
*gamevar [[LEVEL]] 0 0 // (read only)
*gamevar [[VOLUME]] 0 0 // (read only)
*gamevar [[COOP]]  0 0
*gamevar [[MULTIMODE]]  0 0
*gamevar [[WEAPON]] 0 0 // (read only)
*gamevar [[WEAPON]] 0 0 // (read only)
*gamevar [[WORKSLIKE]] 0 0 // (read only)
*gamevar [[WORKSLIKE]] 0 0 // (read only)
Line 230: Line 243:
*gamevar [[HITAG]] 0 0 // (read only)
*gamevar [[HITAG]] 0 0 // (read only)
*gamevar [[TEXTURE]] 0 0 // (read only)
*gamevar [[TEXTURE]] 0 0 // (read only)
*gamevar [[LOGO_FLAGS]] 0 0 //
*gamevar [[THISACTOR]] 0 0 // (read only)


The WEAPONx_ [[gamevar|gamevars]] are weapon flags. Here is the default list of what the "x" stands for:


<ins>'''0:'''</ins> Mighty Foot<br/>
Those are defined as direct pointers to internal variables in the game. They should be at [[constantly updated gamevars]]. It will stay here too because it have been here for long time.
<ins>'''1:'''</ins> Pistol<br/>
*gamevar [[RESPAWN_MONSTERS]]  0 0  
<ins>'''2:'''</ins> Shotgun<br/>
*gamevar [[RESPAWN_ITEMS]]  0 0
<ins>'''3:'''</ins> Chaingun Cannon - Ripper<br/>
*gamevar [[RESPAWN_INVENTORY]]  0 0
<ins>'''4:'''</ins> RPG<br/>
*gamevar [[MONSTERS_OFF]]  0 0
<ins>'''5:'''</ins> Pipebomb<br/>
*gamevar [[MARKER]]  0 0
<ins>'''6:'''</ins> Shrinker<br/>
*gamevar [[FFIRE]]  0 0
<ins>'''7:'''</ins> Devastator<br/>
*gamevar [[LEVEL]]  0 0 // (read only)
<ins>'''8:'''</ins> Laser Tripbomb<br/>
*gamevar [[VOLUME]]  0 0 // (read only)
<ins>'''9:'''</ins> Freezethrower - Freezer<br/>
*gamevar [[COOP]]  0 0
<ins>'''10:'''</ins> Pipebomb Detonator '''(NOTE: It is advised that you do not alter the values for this.)'''<br/>
*gamevar [[MULTIMODE]]  0 0
<ins>'''11:'''</ins> Expander


[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Revision as of 04:47, 9 December 2007

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 WEAPON0_WORKSLIKE 0 1
  • gamevar WEAPON0_CLIP 0 1
  • gamevar WEAPON0_RELOAD 30 1
  • gamevar WEAPON0_FIREDELAY 7 1
  • gamevar WEAPON0_TOTALTIME 14 1
  • gamevar WEAPON0_HOLDDELAY 14 1
  • gamevar WEAPON0_FLAGS 292 1
  • gamevar WEAPON0_SHOOTS 2521 1
  • gamevar WEAPON0_SPAWNTIME 0 1
  • gamevar WEAPON0_SPAWN 0 1
  • gamevar WEAPON0_SHOTSPERBURST 0 1
  • gamevar WEAPON0_INITIALSOUND 0 1
  • gamevar WEAPON0_FIRESOUND 0 1
  • gamevar WEAPON0_SOUND2TIME 0 1
  • gamevar WEAPON0_SOUND2SOUND 0 1
  • gamevar WEAPON0_RELOADSOUND1 4 1
  • gamevar WEAPON0_RELOADSOUND2 5 1
  • gamevar WEAPON1_WORKSLIKE 1 1
  • gamevar WEAPON1_CLIP 12 1
  • gamevar WEAPON1_RELOAD 27 1
  • gamevar WEAPON1_FIREDELAY 2 1
  • gamevar WEAPON1_TOTALTIME 6 1
  • gamevar WEAPON1_HOLDDELAY 0 1
  • gamevar WEAPON1_FLAGS 4 1
  • gamevar WEAPON1_SHOOTS 2595 1
  • gamevar WEAPON1_SPAWNTIME 2 1
  • gamevar WEAPON1_SPAWN 2533 1
  • gamevar WEAPON1_SHOTSPERBURST 0 1
  • gamevar WEAPON1_INITIALSOUND 0 1
  • gamevar WEAPON1_FIRESOUND 3 1
  • gamevar WEAPON1_SOUND2TIME 0 1
  • gamevar WEAPON1_SOUND2SOUND 0 1
  • gamevar WEAPON1_RELOADSOUND1 4 1
  • gamevar WEAPON1_RELOADSOUND2 5 1
  • gamevar WEAPON2_WORKSLIKE 2 1
  • gamevar WEAPON2_CLIP 0 1
  • gamevar WEAPON2_RELOAD 13 1
  • gamevar WEAPON2_FIREDELAY 4 1
  • gamevar WEAPON2_TOTALTIME 31 1
  • gamevar WEAPON2_HOLDDELAY 0 1
  • gamevar WEAPON2_FLAGS 1024 1
  • gamevar WEAPON2_SHOOTS 2613 1
  • gamevar WEAPON2_SPAWNTIME 24 1
  • gamevar WEAPON2_SPAWN 2535 1
  • gamevar WEAPON2_SHOTSPERBURST 7 1
  • gamevar WEAPON2_INITIALSOUND 0 1
  • gamevar WEAPON2_FIRESOUND 109 1
  • gamevar WEAPON2_SOUND2TIME 15 1
  • gamevar WEAPON2_SOUND2SOUND 169 1
  • gamevar WEAPON2_RELOADSOUND1 4 1
  • gamevar WEAPON2_RELOADSOUND2 5 1
  • gamevar WEAPON3_WORKSLIKE 3 1
  • gamevar WEAPON3_CLIP 0 1
  • gamevar WEAPON3_RELOAD 0 1
  • gamevar WEAPON3_FIREDELAY 1 1
  • gamevar WEAPON3_TOTALTIME 12 1
  • gamevar WEAPON3_HOLDDELAY 0 1
  • gamevar WEAPON3_FLAGS 84 1
  • gamevar WEAPON3_SHOOTS 2536 1
  • gamevar WEAPON3_SPAWNTIME 0 1
  • gamevar WEAPON3_SPAWN 2533 1
  • gamevar WEAPON3_SHOTSPERBURST 0 1
  • gamevar WEAPON3_INITIALSOUND 0 1
  • gamevar WEAPON3_FIRESOUND 6 1
  • gamevar WEAPON3_SOUND2TIME 0 1
  • gamevar WEAPON3_SOUND2SOUND 0 1
  • gamevar WEAPON3_RELOADSOUND1 4 1
  • gamevar WEAPON3_RELOADSOUND2 5 1
  • gamevar WEAPON4_WORKSLIKE 4 1
  • gamevar WEAPON4_CLIP 0 1
  • gamevar WEAPON4_RELOAD 30 1
  • gamevar WEAPON4_FIREDELAY 4 1
  • gamevar WEAPON4_TOTALTIME 20 1
  • gamevar WEAPON4_HOLDDELAY 0 1
  • gamevar WEAPON4_FLAGS 0 1
  • gamevar WEAPON4_SHOOTS 2605 1
  • gamevar WEAPON4_SPAWNTIME 0 1
  • gamevar WEAPON4_SPAWN 0 1
  • gamevar WEAPON4_SHOTSPERBURST 0 1
  • gamevar WEAPON4_INITIALSOUND 0 1
  • gamevar WEAPON4_FIRESOUND 0 1
  • gamevar WEAPON4_SOUND2TIME 0 1
  • gamevar WEAPON4_SOUND2SOUND 0 1
  • gamevar WEAPON4_RELOADSOUND1 4 1
  • gamevar WEAPON4_RELOADSOUND2 5 1
  • gamevar WEAPON5_WORKSLIKE 5 1
  • gamevar WEAPON5_CLIP 0 1
  • gamevar WEAPON5_RELOAD 30 1
  • gamevar WEAPON5_FIREDELAY 6 1
  • gamevar WEAPON5_TOTALTIME 19 1
  • gamevar WEAPON5_HOLDDELAY 12 1
  • gamevar WEAPON5_FLAGS 512 1
  • gamevar WEAPON5_SHOOTS 26 1
  • gamevar WEAPON5_SPAWNTIME 0 1
  • gamevar WEAPON5_SPAWN 0 1
  • gamevar WEAPON5_SHOTSPERBURST 0 1
  • gamevar WEAPON5_INITIALSOUND 0 1
  • gamevar WEAPON5_FIRESOUND 0 1
  • gamevar WEAPON5_SOUND2TIME 0 1
  • gamevar WEAPON5_SOUND2SOUND 0 1
  • gamevar WEAPON5_RELOADSOUND1 4 1
  • gamevar WEAPON5_RELOADSOUND2 5 1
  • gamevar WEAPON6_WORKSLIKE 6 1
  • gamevar WEAPON6_CLIP 0 1
  • gamevar WEAPON6_RELOAD 0 1
  • gamevar WEAPON6_FIREDELAY 3 1
  • gamevar WEAPON6_TOTALTIME 12 1
  • gamevar WEAPON6_HOLDDELAY 0 1
  • gamevar WEAPON6_FLAGS 2 1
  • gamevar WEAPON6_SHOOTS 2556 1
  • gamevar WEAPON6_SPAWNTIME 0 1
  • gamevar WEAPON6_SPAWN 0 1
  • gamevar WEAPON6_SHOTSPERBURST 0 1
  • gamevar WEAPON6_INITIALSOUND 11 1
  • gamevar WEAPON6_FIRESOUND 0 1
  • gamevar WEAPON6_SOUND2TIME 0 1
  • gamevar WEAPON6_SOUND2SOUND 0 1
  • gamevar WEAPON6_RELOADSOUND1 4 1
  • gamevar WEAPON6_RELOADSOUND2 5 1
  • gamevar WEAPON7_WORKSLIKE 7 1
  • gamevar WEAPON7_CLIP 0 1
  • gamevar WEAPON7_RELOAD 30 1
  • gamevar WEAPON7_FIREDELAY 3 1
  • gamevar WEAPON7_TOTALTIME 5 1
  • gamevar WEAPON7_HOLDDELAY 5 1
  • gamevar WEAPON7_FLAGS 72 1
  • gamevar WEAPON7_SHOOTS 2605 1
  • gamevar WEAPON7_SPAWNTIME 0 1
  • gamevar WEAPON7_SPAWN 0 1
  • gamevar WEAPON7_SHOTSPERBURST 2 1
  • gamevar WEAPON7_INITIALSOUND 10 1
  • gamevar WEAPON7_FIRESOUND 0 1
  • gamevar WEAPON7_SOUND2TIME 0 1
  • gamevar WEAPON7_SOUND2SOUND 0 1
  • gamevar WEAPON7_RELOADSOUND1 4 1
  • gamevar WEAPON7_RELOADSOUND2 5 1
  • gamevar WEAPON8_WORKSLIKE 8 1
  • gamevar WEAPON8_CLIP 0 1
  • gamevar WEAPON8_RELOAD 30 1
  • gamevar WEAPON8_FIREDELAY 3 1
  • gamevar WEAPON8_TOTALTIME 40 1
  • gamevar WEAPON8_HOLDDELAY 7 1
  • gamevar WEAPON8_FLAGS 2048 1
  • gamevar WEAPON8_SHOOTS 2563 1
  • gamevar WEAPON8_SPAWNTIME 0 1
  • gamevar WEAPON8_SPAWN 0 1
  • gamevar WEAPON8_SHOTSPERBURST 0 1
  • gamevar WEAPON8_INITIALSOUND 0 1
  • gamevar WEAPON8_FIRESOUND 0 1
  • gamevar WEAPON8_SOUND2TIME 0 1
  • gamevar WEAPON8_SOUND2SOUND 0 1
  • gamevar WEAPON8_RELOADSOUND1 4 1
  • gamevar WEAPON8_RELOADSOUND2 5 1
  • gamevar WEAPON9_WORKSLIKE 9 1
  • gamevar WEAPON9_CLIP 0 1
  • gamevar WEAPON9_RELOAD 0 1
  • gamevar WEAPON9_FIREDELAY 3 1
  • gamevar WEAPON9_TOTALTIME 8 1
  • gamevar WEAPON9_HOLDDELAY 0 1
  • gamevar WEAPON9_FLAGS 20 1
  • gamevar WEAPON9_SHOOTS 1641 1
  • gamevar WEAPON9_SPAWNTIME 0 1
  • gamevar WEAPON9_SPAWN 0 1
  • gamevar WEAPON9_SHOTSPERBURST 0 1
  • gamevar WEAPON9_INITIALSOUND 10 1
  • gamevar WEAPON9_FIRESOUND 10 1
  • gamevar WEAPON9_SOUND2TIME 0 1
  • gamevar WEAPON9_SOUND2SOUND 0 1
  • gamevar WEAPON9_RELOADSOUND1 4 1
  • gamevar WEAPON9_RELOADSOUND2 5 1
  • gamevar WEAPON10_WORKSLIKE 10 1
  • gamevar WEAPON10_CLIP 0 1
  • gamevar WEAPON10_RELOAD 10 1
  • gamevar WEAPON10_FIREDELAY 2 1
  • gamevar WEAPON10_TOTALTIME 10 1
  • gamevar WEAPON10_HOLDDELAY 0 1
  • gamevar WEAPON10_FLAGS 384 1
  • gamevar WEAPON10_SHOOTS 0 1
  • gamevar WEAPON10_SPAWNTIME 0 1
  • gamevar WEAPON10_SPAWN 0 1
  • gamevar WEAPON10_SHOTSPERBURST 0 1
  • gamevar WEAPON10_INITIALSOUND 0 1
  • gamevar WEAPON10_FIRESOUND 0 1
  • gamevar WEAPON10_SOUND2TIME 0 1
  • gamevar WEAPON10_SOUND2SOUND 0 1
  • gamevar WEAPON10_RELOADSOUND1 4 1
  • gamevar WEAPON10_RELOADSOUND2 5 1
  • gamevar WEAPON11_WORKSLIKE 11 1
  • gamevar WEAPON11_CLIP 0 1
  • gamevar WEAPON11_RELOAD 0 1
  • gamevar WEAPON11_FIREDELAY 2 1
  • gamevar WEAPON11_TOTALTIME 5 1
  • gamevar WEAPON11_HOLDDELAY 0 1
  • gamevar WEAPON11_FLAGS 2 1
  • gamevar WEAPON11_SHOOTS 2448 1
  • gamevar WEAPON11_SPAWNTIME 0 1
  • gamevar WEAPON11_SPAWN 0 1
  • gamevar WEAPON11_SHOTSPERBURST 0 1
  • gamevar WEAPON11_INITIALSOUND 388 1
  • gamevar WEAPON11_FIRESOUND 388 1
  • gamevar WEAPON11_SOUND2TIME 0 1
  • gamevar WEAPON11_SOUND2SOUND 0 1
  • gamevar WEAPON11_RELOADSOUND1 4 1
  • gamevar WEAPON11_RELOADSOUND2 5 1

The WEAPONx_ gamevars are weapon flags. Here is the default list of what the "x" stands for:

0: Mighty Foot
1: Pistol
2: Shotgun
3: Chaingun Cannon - Ripper
4: RPG
5: Pipebomb
6: Shrinker
7: Devastator
8: Laser Tripbomb
9: Freezethrower - Freezer
10: Pipebomb Detonator (NOTE: It is advised that you do not alter the values for this.)
11: Expander



Those are defined as direct pointers to internal variables in the game. They should be at constantly updated gamevars. It will stay here too because it have been here for long time.