SearchWiki:

Main.SideBar (edit)

Nexuiz

Development

Warrior's handbook

In-depth Options

Map Making

Nexuiz Mods

pmwiki.org

Recent Changes Printable View Page History Edit Page

These are the available commands for DarkPlaces, the engine Nexuiz uses. This list was created with nexuiz-linux-686-sdl from Nexuiz version 2.2.3 on poker rooms review

 Debian GNU/Linux.  The other platforms and binaries should not differ but you where told just in case :).

A note about + and - commands (i.e. +attack/-attack or +forward/-forward): The +command is usually bound to a key, and the command is "active" as long as that key is held (you keep attacking or keep moving forward, etc). When you press the key, the +command is called which normaly starts an action. When you release the key, the matching -command is called (-attack, -forward, etc). This is useful to create powerful aliases. There is usually no need to bind a key to a - command.

You can use the command "cvarlist" to list all the commands available in your current version of Nexuiz.

+attack

begin firing
In the case of Nexuiz is activates the current weapons primary fire mode

+back

move backward

+button10

activate button10 (behavior depends on mod)

+button11

activate button11 (behavior depends on mod)

+button12

activate button12 (behavior depends on mod)

+button13

activate button13 (behavior depends on mod)

+button14

activate button14 (behavior depends on mod)

+button15

activate button15 (behavior depends on mod)

+button16

activate button16 (behavior depends on mod)

+button3

activate button3 (behavior depends on mod)
In the case of Nexuiz this activates the current weapons secondary fire mode (there is also the alias +attack2 which is used in Nexuiz to make it clear what it does)

+button4

activate button4 (behavior depends on mod)
In the case of Nexuiz this zooms your view (there is also the alias +zoom which is used in Nexuiz to make it clear what it does)

+button5

activate button5 (behavior depends on mod)
In the case of Nexuiz this makes the player crouch (there is also the alias +crouch which is used in Nexuiz to make it clear what it does)

+button6

activate button6 (behavior depends on mod)
In the case of Nexuiz this activates the grappling hook (there is also the alias +hook which is used in Nexuiz to make it clear what it does)

+button7

activate button7 (behavior depends on mod)
In the case of Nexuiz this shows the current game info (there is also the alias +show_info which is used in Nexuiz to make it clear what it does)

+button8

activate button8 (behavior depends on mod)

+button9

activate button9 (behavior depends on mod)

+forward

move forward

+jump

jump
Can also be used to swim upwards while submerged. Note that unlike with other +commands, the player will have to release the jump key and press it again to be allowed to jump again. This is a deliberate restriction by design and does not hold true for moving upwards in water

+klook

activate keyboard looking mode, do not recenter view
When active, causes +forward and +back to turn the view up/down instead of moving in that direction (pretty useless. Learn to use the mouse to look. But "keyboard-only" matches can be very funny)

+left

turn left

+lookdown

look downward

+lookup

look upward

+mlook

activate mouse looking mode, do not recenter view
This is on by default (see the variable freelook).

+movedown

swim downward

+moveleft

strafe left

+moveright

strafe right

+moveup

swim upward

+right

turn right

+showscores

show scoreboard

+speed

activate run mode (faster movement and turning)
Actually the movement speeds are modified by the variable cl_movespeedkey which is normaly set to 2. So this makes the player twice as fast. If you set it to 0.5 it slows down to half the normal speed.

+strafe

activate strafing mode (move instead of turn)
Causes +left and +right to strafe left/right instead of turning that way

+use

use something (may be used by some mods)

-attack

stop firing

-back

stop moving backward

-button10

deactivate button10

-button11

deactivate button11

-button12

deactivate button12

-button13

deactivate button13

-button14

deactivate button14

-button15

deactivate button15

-button16

deactivate button16

-button3

deactivate button3

-button4

deactivate button4

-button5

deactivate button5

-button6

deactivate button6

-button7

deactivate button7

-button8

deactivate button8

-button9

deactivate button9

-forward

stop moving forward

-jump

end jump (so you can jump again)

-klook

deactivate keyboard looking mode

-left

stop turning left

-lookdown

stop looking downward

-lookup

stop looking upward

-mlook

deactivate mouse looking mode

-movedown

stop swimming downward

-moveleft

stop strafing left

-moveright

stop strafing right

-moveup

stop swimming upward

-right

stop turning right

-showscores

hide scoreboard

-speed

deactivate run mode

-strafe

deactivate strafing mode

-use

stop using something

alias

create a script function (parameters are passed in as $1 through $9, and $* for all parameters)
Allows you to create an alias for an other command or a whole set of commands. For example, alias switch_laser "impulse 1" will create a new command that is the same as typing "impulse 1" to switch to the laser (but is easier to remember).
You can also create your own +/- commands:
alias +laser "impulse 1; wait; +attack"
alias -laser "-attack; wait; impulse 2"
This command should switch to the laser, start shooting, and when you release the button stop shooting and switch to the shotgun.
alias "+scores" "+showscores; ping"
alias "-scores" "-showscores"
This command shows the scoreboard and also the ping times of all players.
You can't save aliases in your config.cfg as it gets rewritten everytime Nexuiz is closed. So you have to store new aliases in a "autoexec.cfg" file in your Nexuiz/data directory (or ~/.nexuiz/data on linux/mac).

begin

signon 3 (client asks server to start sending entities, and will go to signon 4 (playing) when the first entity update is received)

bestweapon

send an impulse number to server to select the first usable weapon out of several (example: bind ALT "bestweapon 8 7 6 5 4 3 2 1")

bf

briefly flashes a bright color tint on view (used when items are picked up)

bind

binds a command to the specified key in bindmap 0
Can also bind an alias to a key. For example:
bind mouse1 "+attack"
mouse1 is the attack key
bind r "impulse 1"
r switches to the laser
Some keys that can not be typed need to be indentified by the name (tab, enter, escape, space, backspace, uparrow, downarrow, leftarrow, rightarrow, alt, ctrl, shift, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, ins, del, pgdn, pgup, home, end, pause, mwheelup, mwheeldown, mouse1, mouse2, mouse3, mouse4, mouse5, mouse6, mouse7, mouse8, mouse9, mouse10, mouse11, mouse12, mouse13, mouse14, mouse15, mouse16, numlock, capslock, scrollock, kp_home, kp_uparrow, kp_pgup, kp_leftarrow, kp_rightarrow, kp_end, kp_downarrow, kp_pgdn, kp_ins, kp_del, kp_slash, kp_0, kp_1, kp_2, kp_3, kp_4, kp_5, kp_6, kp_7, kp_8, kp_9, kp_period, kp_divide, kp_multiply, kp_minus, kp_plus, kp_enter, kp_equals, joy1, joy2, joy3, joy4, joy5, joy6, joy7, joy8, joy9, joy10, joy11, joy12, joy13, joy14, joy15, joy16, aux1, aux2, aux3, aux4, aux5, aux6, aux7, aux8, aux9, aux10, aux11, aux12, aux13, aux14, aux15, aux16, aux17, aux18, aux19, aux20, aux21, aux22, aux23, aux24, aux25, aux26, aux27, aux28, aux29, aux30, aux31, aux32, semicolon, tilde, backquote, quote, apostrophe).

bottomcolor

QW command to set bottom color without changing top color

cd

execute a CD drive command (cd on/off/reset/remap/close/play/loop/stop/pause/resume/eject/info)
cd play 5
[Plays track 5 of cd or fakecd directories]
The argument (in the previous example "5") should be between 1 and 255 (inclusively), otherwise it will be wrapped to stay between 0 (!) and 255 (inclusively). Track 0 is invalid.
cd play track666
[Plays track666.ogm or track666.wav from fakecd directories]
"loop" can be used instead of "play", to repeatedly play a track.
cd loop track006
[Plays track006.ogm or track006.wav from fakecd directories]

cddrive

select an SDL-detected CD drive by number

centerview

gradually recenter view (stop looking up/down)

changelevel

change to another level, bringing along all connected clients

changing

sent by qw servers to tell client to wait for level change

cl_particles_reloadeffects

reloads effectinfo.txt

clear

clear console history

cmd

send a console commandline to the server (used by some mods)

cmdlist

lists all console commands beginning with the specified prefix

color

change your player shirt and pants colors

condump

output console history to a file (see also log_file)

connect

connect to a server by IP address or hostname
Connects to the given server. Use "connect IP_OR_HOSTNAME" or "connect IP_OR_HOSTNAME:PORT". The default port is 26000 if not specified.

curl

download data from an URL and add to search path

cvar_lockdefaults

stores the current values of all cvars into their default values, only used once during startup after parsing default.cfg

cvar_resettodefaults_all

sets all cvars to their locked default values

cvar_resettodefaults_nosaveonly

sets all non-saved cvars to their locked default values (variables that will not be saved to config.cfg)

cvar_resettodefaults_saveonly

sets all saved cvars to their locked default values (variables that will be saved to config.cfg)

cvarlist

lists all console variables beginning with the specified prefix

cycleweapon

(only in newer versions!) will choose the first available weapon in the given list, or the next weapon if one in the list is currently selected. For example: bind ALT "cycleweapon 5 9 8" will select Electro, then Rocket Launcher, then Hagar.

demos

restart looping demos defined by the last startdemos command

dir

list files in searchpath matching an * filename pattern, one per line

disconnect

disconnect from server (or disconnect all clients if running a server)

echo

print a message to the console (useful in scripts)
alias crouch_on "+crouch; echo now crouching; alias crouch_toggle crouch_off"
alias crouch_off "-crouch; echo now standing; alias crouch_toggle crouch_on"
alias crouch_toggle "crouch_on"
bind x crouch_toggle.
pressing x will make the player crouch, pressing it again will make the player stand

entities

print information on network entities known to client

envmap

render a cubemap (skybox) of the current scene

exec

execute a script file

fly

fly mode (flight)
Free movement in all xyz axis. sv_cheats needs to be set to 1 for this to work. This is usefull for testing / debuging maps and for screenshots. Entering fly again will disable fly mode.

fog

set global fog parameters (density red green blue)
This command needs 4 arguments. The first one is the distance to the point when the fog is "solid", the next three is normalized rgb (red green blue) values (ie they range from 0 to 1, not 0 to 255) Example: "fog 0.5 0.4 0 0" this creates a rather thick darkish red fog.

force_centerview

recenters view (stops looking up/down)

fs_rescan

rescans filesystem for new pack archives and any other changes

fullinfo

allows client to modify their userinfo

fullserverinfo

internal use only, sent by server to client to update client's local copy of serverinfo string

gamedir

changes active gamedir list (can take multiple arguments), not including base directory (example usage: gamedir ctf)

give

alter inventory
Give an item to the player. I.E. give 3 will give you the machinegun. This needs sv_cheats to be set to 1.

gl_texturemode

set texture filtering mode (GL_NEAREST, GL_LINEAR, GL_LINEAR_MIPMAP_LINEAR, etc)
Returns/sets the OpenGL texture mode. The non-mipmapping modes have typical 'flickering', as large textures have to be reduced to a couple of pixels for faraway objects, whereas with mipmapping enabled there will already be a texture almost the right size, thus keeping consistency. The default mode is by far the best-looking.

god

god mode (invulnerability)
This needs sv_cheats to be set to 1

heartbeat

send a heartbeat to the master server (updates your server information)

impulse

send an impulse number to server (select weapon, use item, etc)
Example: impulse 1
The following numbers (and more) currently (2008-01-04) exist:
1 Laser
2 Shotgun
3 Machine Gun
4 Grenade Launcher
5 Electro
6 Crylink
7 Nex Gun
8 Hagar
9 Rocket Launcher
11 Last weapon (also available as alias "weaplast")

in_bind

binds a command to the specified key in the selected bindmap

in_bindmap

selects active foreground and background (used only if a key is not bound in the foreground) bindmaps for typing

in_unbind

removes command on the specified key in the selected bindmap

kick

kick a player off the server by number or name
Use the command status to find out the players #number. kick # NUMBER REASON will then kick him off the server. The reason is not needed but its good when given.

kill

die instantly
Not very useful in normal game play. Can be used when falling down a spacemap to be able to respawn faster because you do not have to wait till you fall to death.

load

load a saved game file

loadconfig

reset everything and reload configs

loadsky

load a skybox by basename (for example loadsky mtnsun_ loads mtnsun_ft.tga and so on)

ls

list files in searchpath matching an * filename pattern, multiple per line

map

kick everyone off the server and start a new level

maps

list information about available maps

maxplayers

sets limit on how many players (or bots) may be connected to the server at once
Can not be changed while the server is running.

memlist

prints memory pool information (or if used as memlist 5 lists individual allocations of 5K or larger, 0 lists all allocations)

memstats

prints memory system statistics

menu_restart

restart menu system (reloads menu.dat

messagemode

input a chat message to say to everyone

messagemode2

input a chat message to say to only your team

modellist

prints a list of loaded models

modelprecache

load a model

name

change your player name
Enter name alone and it will print your current name. Enter name YourNewName to change you players name to YourNewName. You can use ^NUMBER to add color to your name. ^0MyCool^3Name will change your name to MyCoolName with the first part black the second part yellow. The numbers are:
^0 black
^1 red
^2 green
^3 yellow
^4 blue
^5 cyan
^6 magenta
^7 white

net_banlist_test

tests if a given IP is banned

net_slist

query dp master servers and print all server information

net_slistqw

query qw master servers and print all server information

net_stats

print network statistics

nextul

sends next fragment of current upload buffer (screenshot for example)

noclip

noclip mode (flight without collisions, move through walls)

notarget

notarget mode (monsters do not see you)

packet

send a packet to the specified address:port containing a text string

path

print searchpath (game directories and archives)

pause

pause the game (if the server allows pausing)

pausedemo

pause demo playback (can also safely pause demo recording if using QUAKE, QUAKEDP or NEHAHRAMOVIE protocol, useful for making movies)

ping

print ping times of all players on the server
Ping it the time between "request and response" to/from the server. Lower values are better.

pingplreport

command sent by server containing client ping and packet loss values for scoreboard, triggered by pings command from client (not used by QW servers)

pings

command sent by clients to request updated ping and packetloss of players on scoreboard (originally from QW, but also used on NQ servers)

play

play a sound at your current location (not heard by anyone else)

play2

play a sound globally throughout the level (not heard by anyone else)

playdemo

watch a demo file

playermodel

change your player model

playerskin

change your player skin number

playvideo

play a .dpv video file

playvol

play a sound at the specified volume level at your current location (not heard by anyone else)

pointfile

display point file produced by qbsp when a leak was detected in the map (a line leading through the leak hole, to an entity inside the level)

prespawn

signon 1 (client acknowledges that server information has been received)

prvm_edict

print all data about an entity number in the selected VM (server, client, menu)

prvm_edictcount

prints number of active entities in the selected VM (server, client, menu)

prvm_edicts

set a property on an entity number in the selected VM (server, client, menu)

prvm_edictset

changes value of a specified property of a specified entity in the selected VM (server, client, menu)

prvm_fields

prints usage statistics on properties (how many entities have non-zero values) in the selected VM (server, client, menu)

prvm_global

prints value of a specified global variable in the selected VM (server, client, menu)

prvm_globals

prints all global variables in the selected VM (server, client, menu)

prvm_globalset

sets value of a specified global variable in the selected VM (server, client, menu)

prvm_printfunction

prints a disassembly (QuakeC instructions) of the specified function in the selected VM (server, client, menu)

prvm_profile

prints execution statistics about the most used QuakeC functions in the selected VM (server, client, menu)

quit

quit the game

r_editlights_clear

removes all world lights (let there be darkness!)

r_editlights_copyinfo

store a copy of all properties (except origin) of the selected light

r_editlights_edit

changes a property on the selected light

r_editlights_editall

changes a property on ALL lights at once (tip: use radiusscale and colorscale to alter these properties)

r_editlights_help

prints documentation on console commands and variables in rtlight editing system

r_editlights_importlightentitiesfrommap

load lights from .ent file or map entities (ignoring .rtlights or .lights file)

r_editlights_importlightsfile

load lights from .lights file (ignoring .rtlights or .ent files and map entities)

r_editlights_pasteinfo

apply the stored properties onto the selected light (making it exactly identical except for origin)

r_editlights_reload

reloads rtlights file (or imports from .lights file or .ent file or the map itself)

r_editlights_remove

remove selected light

r_editlights_save

save .rtlights file for current level

r_editlights_spawn

creates a light with default properties (let there be light!)

r_editlights_togglecorona

toggle on/off the corona option on the selected light

r_editlights_toggleshadow

toggle on/off the shadow option on the selected light

r_glsl_restart

unloads GLSL shaders, they will then be reloaded as needed

r_listmaptextures

list all textures used by the current map

r_replacemaptexture

override a map texture for testing purposes

r_restart

restarts renderer
Needs to be done after some changes to the graphic settings.

r_shadow_help

prints documentation on console commands and variables used by realtime lighting and shadowing system

r_texturestats

print information about all loaded textures and some statistics

rate

change your network connection speed

rcon

sends a command to the server console (if your rcon_password matches the server's rcon_password), or to the address specified by rcon_address when not connected (again rcon_password must match the server's)

reconnect

reset signon level in preparation for a new level (do not use)
It DOES NOT reconnect to the last server!

record

record a demo

restart

restart current level

save

save the game to a file

saveconfig

save settings to config.cfg immediately (also automatic when quitting)

say

send a chat message to everyone on the server
bind x "say Hi all. I am going to own you all!!"

say_team

send a chat message to your team on the server
bind x "say_team Strength powerup will reappear in 15 Seconds!! Go there now!!"

screenshot

takes a screenshot of the next rendered frame

sendcvar

sends the value of a cvar to the server as a sentcvar command, for use by QuakeC

set

create or change the value of a console variable
set variable value
set fov 110 (change your field of view to 110, see fov)

seta

create or change the value of a console variable that will be saved to config.cfg

setinfo

modifies your userinfo

sizedown

decrease view size (decreases viewsize cvar)

sizeup

increase view size (increases viewsize cvar)

skins

downloads missing qw skins from server

snd_reload

reload all sound files

snd_restart

restart sound system

soundinfo

print sound system information (such as channels and speed)

soundlist

list loaded sounds

spawn

signon 2 (client has sent player information, and is asking server to send scoreboard rankings)

startdemos

start playing back the selected demos sequentially (used at end of startup script)

status

print server status information

stop

stop recording or playing a demo

stopdemo

stop playing or recording demo (like stop command) and return to looping demos

stopsound

silence

stopul

aborts current upload (screenshot for example)

stopvideo

stop playing a .dpv video file

stuffcmds

execute commandline parameters (must be present in quake.rc script)

sv_areastats

prints information on culling grid system

sv_saveentfile

save map entities to .ent file (to allow external editing)

tell

send a chat message to only one person on the server

timedemo

play back a demo as fast as possible and save statistics to benchmark.log

timerefresh

turn quickly and print rendering statistcs

toggle

toggles a console variable's values (use for more info)

toggleconsole

opens or closes the console

togglemenu

opens or closes menu

topcolor

QW command to set top color without changing bottom color

unbind

removes a command on the specified key in bindmap 0

unbindall

removes all commands from all keys in all bindmaps (leaving only shift-escape and escape)

user

prints additional information about a player number or name on the scoreboard

users

prints additional information about all players on the scoreboard

v_cshift

sets tint color of view

version

print engine version

vid_restart

restarts video system (closes and reopens the window, restarts renderer)

viewframe

change animation frame of viewthing entity in current level

viewmodel

change model of viewthing entity in current level

viewnext

change to next animation frame of viewthing entity in current level

viewprev

change to previous animation frame of viewthing entity in current level

wait

make script execution wait for next rendered frame
Is necessary in some aliases to work correctly. I.E alias +laser "impulse 1;wait;+fire" alias -laser "-fire"
Edit Page - Page History - Printable View - Recent Changes - WikiHelp - SearchWiki
Page last modified on December 22, 2009, at 10:32 AM