Miscellaneous Functions

gi.Pmove(pmove)

Moves the player according to information given in variable pmove

gi.configstring(index, string)

General means of communication from server to all clients

index has values:

CS_NAME

level name

CS_CDTRACK

cd sound track

CS_SKY

sky picture

CS_SKYAXIS

line around which sky wraps?

CS_SKYROTATE

where to start sky picture?

CS_STATUSBAR

either 'dm_statusbar' or 'single_statusbar'

CS_MAPCHECKSUM

appears to be unused (for detecting 'cheater' maps, apparently)

CS_MODELS

info on models in level? (unused)

CS_SOUNDS

info on level sounds? (unused)

CS_IMAGES

info on level images? (unused)

CS_LIGHTS

send message giving change in light level of a light

CS_ITEMS

used when sending a list of items on the level

CS_PLAYERSKINS

used to send name and skin of player to all

MAX_CONFIGSTRINGS

maximum configsting number ?! (unused)

gi.DebugGraph(value, colour)

gi.error(text, variables)

Shuts down the game and displays the error message