Test: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
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>


{| cellpadding="0" cellspacing="0" border="0" width="100%"
<div style="column-count:3;-moz-column-count:3;">
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |
=== 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 ===
| width="33%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
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]]


| width="33%" valign="top" style="border-left: none; padding: 0.6em;" |
=== 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]]
|}
== Reference table ==


{{Gamevars}}
=== 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 12: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

Multiplayer

Current actor or player

Screen drawing

Renderer

Misc

Camera

Player position

Player properties

Player weapons