Test: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
<strong>Do not attempt to redefine these unless you know what you are doing or you will have problems.</strong> | <strong>Do not attempt to redefine these unless you know what you are doing or you will have problems.</strong> | ||
<div style="column-count:3;-moz-column-count:3;"> | |||
=== Map === | |||
Map | |||
*[[FFIRE]] | *[[FFIRE]] | ||
*[[LEVEL]] | *[[LEVEL]] | ||
Line 22: | Line 21: | ||
*[[VOLUME]] | *[[VOLUME]] | ||
Multiplayer | === Multiplayer === | ||
*[[COOP]] | *[[COOP]] | ||
*[[MULTIMODE]] | *[[MULTIMODE]] | ||
Current actor or player | === Current actor or player === | ||
*[[ANGRANGE]] | *[[ANGRANGE]] | ||
*[[AUTOAIMANGLE]] | *[[AUTOAIMANGLE]] | ||
Line 45: | Line 44: | ||
*[[ZRANGE]] | *[[ZRANGE]] | ||
=== Screen drawing === | |||
Screen drawing | |||
*[[gs]] | *[[gs]] | ||
*[[gun_pos]] | *[[gun_pos]] | ||
Line 63: | Line 60: | ||
*[[yxaspect]] | *[[yxaspect]] | ||
Renderer | === Renderer === | ||
*[[framerate]] | *[[framerate]] | ||
*[[rendmode]] | *[[rendmode]] | ||
Misc | === Misc === | ||
*[[CLIPMASK0]] | *[[CLIPMASK0]] | ||
*[[CLIPMASK1]] | *[[CLIPMASK1]] | ||
Line 85: | Line 82: | ||
*[[totalclock]] | *[[totalclock]] | ||
=== Camera=== | |||
Camera | |||
*[[cameraang]] | *[[cameraang]] | ||
*[[cameraclock]] | *[[cameraclock]] | ||
Line 96: | Line 92: | ||
*[[cameraz]] | *[[cameraz]] | ||
Player position | === Player position === | ||
*[[myx]] | *[[myx]] | ||
*[[myxvel]] | *[[myxvel]] | ||
Line 107: | Line 103: | ||
*[[omyz]] | *[[omyz]] | ||
Player properties | === Player properties === | ||
*[[myang]] | *[[myang]] | ||
*[[mycursectnum]] | *[[mycursectnum]] | ||
Line 120: | Line 116: | ||
*[[omyhoriz]] | *[[omyhoriz]] | ||
*[[omyhorizoff]] | *[[omyhorizoff]] | ||
=== 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]] | |||
</div> | |||
[[Category:Gamevar manipulation]] | [[Category:Gamevar manipulation]] | ||
[[Category:Scripting documentation]] | [[Category:Scripting documentation]] | ||
__NOTOC__ |
Revision as of 11:46, 22 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.
Map
- FFIRE
- LEVEL
- MARKER
- MONSTERS_OFF
- NUMSECTORS
- NUMWALLS
- Numsprites
- RESPAWN_INVENTORY
- RESPAWN_ITEMS
- RESPAWN_MONSTERS
- VOLUME
Multiplayer
Current actor or player
- ANGRANGE
- AUTOAIMANGLE
- GRENADE_LIFETIME
- GRENADE_LIFETIME_VAR
- HITAG
- LOTAG
- PIPEBOMB_CONTROL
- PLR_MORALE
- RETURN
- STICKYBOMB_LIFETIME
- STICKYBOMB_LIFETIME_VAR
- TEXTURE
- THISACTOR
- TRIPBOMB_CONTROL
- WEAPON
- WORKSLIKE
- ZRANGE
Screen drawing
- gs
- gun_pos
- looking_angSR1
- looking_arc
- viewingrange
- weapon_xoffset
- weaponcount
- windowx1
- windowx2
- windowy1
- windowy2
- xdim
- ydim
- yxaspect
Renderer
Misc
- CLIPMASK0
- CLIPMASK1
- LOGO_FLAGS
- MENU_TILE
- current_menu
- currentweapon
- display_mirror
- gametype_flags
- gravitationalconstant
- lastsavepos
- lastvisinc
- myconnectindex
- numplayers
- randomseed
- screenpeek
- totalclock
Camera
Player position
Player properties
- myang
- mycursectnum
- myhardlanding
- myhoriz
- myhorizoff
- myjumpingcounter
- myjumpingtoggle
- myonground
- myreturntocenter
- omyang
- omyhoriz
- omyhorizoff
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