Pre-defined gamevars: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jwaffe (talk | contribs)
m Added "scripting documentation" category
Fox (talk | contribs)
 
(9 intermediate revisions by the same user not shown)
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 belowGiving them a gamevar definition, however, alters their default values.  See also [[Constantly_updated_gamevars|constantly updated gamevars]].
These are [[gamevar]]s which are defined as direct pointers to internal variables in the gameWhile some will change frequently, others will remain static for the whole game.


{| cellpadding="0" cellspacing="0" border="0" width="100%"
Please note that the values of most of these variables will be different on each peer, so you must be careful for anything that could possibly have an effect on sync.
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |
*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 [[clipmask|CLIPMASK0]] [1*65536+1] 0 (read only)
*gamevar [[clipmask|CLIPMASK1]] [256*65536+64] 0 (read only)


| width="33%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
The "Current actor or player" group of variables point to the current actor/player. The other ones point to internal and usually global variables.
*gamevar [[WEAPON]] 0 0 // (read only)
 
*gamevar [[WORKSLIKE]] 0 0 // (read only)
'''Do not attempt to redefine these unless you know what you are doing or you will have problems.'''
*gamevar [[RETURN]] 0 0
 
*gamevar [[ZRANGE]] 4 0
== List ==
*gamevar [[ANGRANGE]] 18 0
 
*gamevar [[AUTOAIMANGLE]] 0 0
<div style="column-count:3;-moz-column-count:3;">
*gamevar [[LOTAG]] 0 0 // (read only)
'''Map'''
*gamevar [[HITAG]] 0 0 // (read only)
 
*gamevar [[TEXTURE]] 0 0 // (read only)
*[[FFIRE]]
*gamevar [[THISACTOR]] 0 0 // (read only)
*[[LEVEL]]
|}
*[[MARKER]]
*[[MONSTERS_OFF]]
*[[numsectors]]
*[[NUMSECTORS]]
*[[NUMWALLS]]
*[[Numsprites]]
*[[RESPAWN_INVENTORY]]
*[[RESPAWN_ITEMS]]
*[[RESPAWN_MONSTERS]]
*[[VOLUME]]
 
'''Multiplayer'''
 
*[[COOP]]
*[[MULTIMODE]]
*[[gametype_flags]]
*[[lastsavepos]]
*[[myconnectindex]]
*[[numplayers]]
*[[randomseed]]
*[[screenpeek]]
 
'''Current actor or player'''
 
*[[ANGRANGE]]
*[[AUTOAIMANGLE]]
*[[GRENADE_LIFETIME]]
*[[GRENADE_LIFETIME_VAR]]
*[[PIPEBOMB_CONTROL]]
*[[RETURN]]
*[[STICKYBOMB_LIFETIME]]
*[[STICKYBOMB_LIFETIME_VAR]]
*[[THISACTOR]]
*[[TRIPBOMB_CONTROL]]
*[[WORKSLIKE]]
*[[ZRANGE]]
 
'''Screen drawing'''
 
*[[MENU_TILE]]
*[[gs]]
*[[gun_pos]]
*[[looking_angSR1]]
*[[looking_arc]]
*[[totalclock]]
*[[weapon_xoffset]]
*[[weaponcount]]
*[[windowx1]]
*[[windowx2]]
*[[windowy1]]
*[[windowy2]]
*[[xdim]]
*[[ydim]]
 
'''Renderer'''
 
*[[framerate]]
*[[rendmode]]
*[[yxaspect]]
*[[viewingrange]]
 
'''Misc'''
 
*[[CLIPMASK0]]
*[[CLIPMASK1]]
*[[LOGO_FLAGS]]
*[[current_menu]]
*[[currentweapon]]
*[[display_mirror]]
*[[gravitationalconstant]]
 
'''Camera'''
 
*[[cameraang]]
*[[cameraclock]]
*[[cameradist]]
*[[camerahoriz]]
*[[camerasect]]
*[[camerax]]
*[[cameray]]
*[[cameraz]]
 
'''Player weapons'''
 
*[[WEAPONx_WORKSLIKE]]
*[[WEAPONx_CLIP]]
*[[WEAPONx_RELOAD]]
*[[WEAPONx_FIREDELAY]]
*[[WEAPONx_TOTALTIME]]
*[[WEAPONx_HOLDDELAY]]
*[[WEAPONx_FLAGS]]
*[[WEAPONx_SPAWNTIME]]
*[[WEAPONx_SPAWN]]
*[[WEAPONx_SHOTSPERBURST]]
*[[WEAPONx_INITIALSOUND]]
*[[WEAPONx_FIRESOUND]]
*[[WEAPONx_SOUND2TIME]]
*[[WEAPONx_SOUND2SOUND]]
*[[WEAPONx_RELOADSOUND1]]
*[[WEAPONx_RELOADSOUND2]]
*[[WEAPONx_SELECTSOUND]]
*[[WEAPONx_FLASHCOLOR]]
 
'''Deprecated'''
 
*[[HITAG]]
*[[LOTAG]]
*[[PLR_MORALE]]
*[[TEXTURE]]
*[[WEAPON]]
*[[lastvisinc]]
*[[myang]]
*[[mycursectnum]]
*[[myhardlanding]]
*[[myhoriz]]
*[[myhorizoff]]
*[[myjumpingcounter]]
*[[myjumpingtoggle]]
*[[myonground]]
*[[myreturntocenter]]
*[[myx]]
*[[myxvel]]
*[[myy]]
*[[myyvel]]
*[[myz]]
*[[myzvel]]
*[[omyang]]
*[[omyhoriz]]
*[[omyhorizoff]]
*[[omyx]]
*[[omyy]]
*[[omyz]]
</div>


==Weapon Properties==
== Aliases ==


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.
Some gamevars point to values that are also exposed as [[Full_list_of_structure_members|structure members]].


{|border="1" style="font-size:75%;" class="wikitable"
{| {{prettytable}}
! WEAPONx_ !! Mighty Foot !! Pistol !! Shotgun !! Chaingun !! RPG !! Pipebomb !! Shrinker !! Devastator !! Tripbomb !! Freezer !! Detonator !! Expander
! Gamevar !! Same as
|- align="right"
|-
!align="left"|[[WEAPONx_WORKSLIKE|WORKSLIKE]]
| COOP || [[coop]]
|0
|-
|1
| FFIRE || [[ffire]]
|2
|-
|3
| LEVEL || [[level_number]]
|4
|-
|5
| MARKER || [[marker]]
|6
|-
|7
| MONSTERS_OFF || [[monsters_off]]
|8
|-
|9
| MULTIMODE || [[multimode]]
|10
|-
|11
| RESPAWN_INVENTORY || [[respawn_inventory]]
|- align="right"
!align="left"|[[WEAPONx_CLIP|CLIP]]
|0
|12
|0
|0
|0
|0
|0
|0
|0
|0
|0
|0
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_RELOAD|RELOAD]]
|0
|27
|13
|0
|0
|30
|0
|0
|16
|0
|10
|0
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_FIREDELAY|FIREDELAY]]
|7
|2
|4
|3
|4
|6
|10
|3
|3
|3
|2
|3
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_TOTALTIME|TOTALTIME]]
|14
|5
|30
|12
|20
|19
|12
|6
|16
|5
|10
|5
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_HOLDDELAY|HOLDDELAY]]
|0
|0
|0
|3
|0
|12
|0
|5
|7
|0
|0
|0
|- ALIGN="RIGHT"
! align="left" rowspan="2" | [[WEAPONx_FLAGS|FLAGS]]
| 292
| 32768
| 1024
| 73812
| 0
| 512
| 2
| 72
| 3072
| 65536
| 384
| 2
|-
|-
| valign="top" | <p style="line-height: 90%;">No visible</p><p style="line-height: 90%;">Random restart</p><p style="line-height: 90%;">Automatic</p>
| RESPAWN_ITEMS || [[respawn_items]]
| valign="top" | <p style="line-height: 90%;">Reload timing</p>
| valign="top" | <p style="line-height: 90%;">Check at reload</p>
| valign="top" | <p style="line-height: 90%;">Automatic</p><p style="line-height: 90%;">Fire every third</p><p style="line-height: 90%;">Ammo per shot</p><p style="line-height: 90%;">Spawn type 3</p><p style="line-height: 90%;">Reset</p>
| valign="top" | <p style="line-height: 90%;">None</p>
| valign="top" | <p style="line-height: 90%;">Throw it</p>
| valign="top" | <p style="line-height: 90%;">Glows</p>
| valign="top" | <p style="line-height: 90%;">Fire every other</p><p style="line-height: 90%;">Ammo per shot</p>
| valign="top" | <p style="line-height: 90%;">Stand still</p><p style="line-height: 90%;">Check at reload</p>
| valign="top" | <p style="line-height: 90%;">Reset</p>
| valign="top" | <p style="line-height: 90%;">Bomb trigger</p><p style="line-height: 90%;">No visible</p>
| valign="top" | <p style="line-height: 90%;">Glows</p>
|-
|-
![[WEAPONx_SHOOTS|SHOOTS]]
| RESPAWN_MONSTERS || [[respawn_monsters]]
|KNEE
|-
|SHOTSPARK1
| RETURN || [[return]]
|SHOTGUN
|-
|CHAINGUN
| VOLUME || [[volume_number]]
|RPG
|-
|HEAVYHBOMB
| gametype_flags || [[gametypeflags]]
|SHRINKER
|RPG
|HANDHOLDINGLASER
|FREEZEBLAST
|align="right"|0
|GROWSPARK
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_SPAWNTIME|SPAWNTIME]]
|0
|2
|24
|1
|0
|0
|0
|0
|0
|0
|0
|0
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_SPAWN|SPAWN]]
|0
|align="left"|SHELL
|align="left"|SHOTGUNSHELL
|align="left"|SHELL
|0
|0
|0
|0
|0
|0
|0
|0
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_SHOTSPERBURST|SHOTSPERBURST]]
|0
|0
|7
|0
|0
|0
|0
|2
|0
|0
|0
|0
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_INITIALSOUND|INITIALSOUND]]
|0
|0
|0
|0
|0
|0
|align="left"|SHRINKER_FIRE
|align="left"|CAT_FIRE
|0
|align="left"|CAT_FIRE
|0
|0
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_FIRESOUND|FIRESOUND]]
|0
|align="left"|PISTOL_FIRE
|align="left"|SHOTGUN_FIRE
|align="left"|CHAINGUN_FIRE
|0
|0
|0
|0
|0
|align="left"|CAT_FIRE
|0
|align="left"|EXPANDERSHOOT
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_SOUND2TIME|SOUND2TIME]]
|0
|0
|15
|0
|0
|0
|0
|0
|0
|0
|0
|0
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_SOUND2SOUND|SOUND2SOUND]]
|0
|0
|SHOTGUN_COCK
|0
|0
|0
|0
|0
|0
|0
|0
|0
|- align="center"
!align="left"|[[WEAPONx_RELOADSOUND1|RELOADSOUND1]]
|colspan="12"|EJECT_CLIP
|- align="center"
!align="left"|[[WEAPONx_RELOADSOUND2|RELOADSOUND2]]
|colspan="12"|INSERT_CLIP
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_SELECTSOUND|SELECTSOUND]]
|0
|INSERT_CLIP
|SHOTGUN_COCK
|SELECT_WEAPON
|SELECT_WEAPON
|0
|SELECT_WEAPON
|SELECT_WEAPON
|0
|SELECT_WEAPON
|0
|SELECT_WEAPON
|- ALIGN="RIGHT"
!align="left"|[[WEAPONx_FLASHCOLOR|FLASHCOLOR]]
|0
|24575
|24575
|24575
|24575
|0
|8454016
|24575
|0
|16744576
|0
|24575
|}
|}
== Initial values ==
Some functions require changing the initial values of gamevars.
var GRENADE_LIFETIME                    120
var GRENADE_LIFETIME_VAR                30
var PIPEBOMB_CONTROL                    1
var STICKYBOMB_LIFETIME                  120
var STICKYBOMB_LIFETIME_VAR              30
var TRIPBOMB_CONTROL                    1
var LOGO_FLAGS                          255
=== Weapon properties ===
{{Weapon gamevars}}


[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]
[[Category:Scripting documentation]]
[[Category:Scripting documentation]]

Latest revision as of 00:39, 23 February 2020

These are gamevars which are defined as direct pointers to internal variables in the game. While some will change frequently, others will remain static for the whole game.

Please note that the values of most of these variables will be different on each peer, so you must be careful for anything that could possibly have an effect on sync.

The "Current actor or player" group of variables point to the current actor/player. The other ones point to internal and usually global variables.

Do not attempt to redefine these unless you know what you are doing or you will have problems.

List

Map

Multiplayer

Current actor or player

Screen drawing

Renderer

Misc

Camera

Player weapons

Deprecated

Aliases

Some gamevars point to values that are also exposed as structure members.

Gamevar Same as
COOP coop
FFIRE ffire
LEVEL level_number
MARKER marker
MONSTERS_OFF monsters_off
MULTIMODE multimode
RESPAWN_INVENTORY respawn_inventory
RESPAWN_ITEMS respawn_items
RESPAWN_MONSTERS respawn_monsters
RETURN return
VOLUME volume_number
gametype_flags gametypeflags

Initial values

Some functions require changing the initial values of gamevars.

var GRENADE_LIFETIME                     120
var GRENADE_LIFETIME_VAR                 30
var PIPEBOMB_CONTROL                     1
var STICKYBOMB_LIFETIME                  120
var STICKYBOMB_LIFETIME_VAR              30
var TRIPBOMB_CONTROL                     1
var LOGO_FLAGS                           255

Weapon properties

The following table lists the values of WEAPONS pre-defined gamevars.

KNEE PISTOL SHOTGUN CHAINGUN RPG HANDBOMB SHRINKER DEVISTATOR TRIPBOMB FREEZE HANDREMOTE GROW
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
NOVISIBLE
RANDOMRESTART
AUTOMATIC
RELOAD_TIMING CHECKATRELOAD AUTOMATIC
FIREEVERYTHIRD
AMMOPERSHOT
SPAWNTYPE3
RESET
THROWIT GLOWS FIREEVERYOTHER
AMMOPERSHOT
STANDSTILL
CHECKATRELOAD
RESET BOMB_TRIGGER
NOVISIBLE
GLOWS
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
Defines
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