Commands CVARS Communications Scripting

Q3F Commands

Q3F commands may be entered in the console within Quake 3, bound to keys on your keyboard or used in your own scripts. They are roughly split in to three groups: those that are available to players, rhose which can only be used by certain classes and those restricted for RCON holders.

You'll find lots of examples of command use in the contrib directory under Q3F where we've included scripts supplied by Q3F fans and team members. This section details all the commands.

While entering commands in to the Quake 3 console, you should remember to proceed them all with the character \, otherwise they will not execute and instead be displayed to all players as a text message.

Command Description
USEFLAG Used in conjunction with maps that support usable func_goalitem entities - an example of this would be a map where you could pickup a remote detonator, and then use it to destroy an object.
CHASENEXT Q3F provides three modes for spectating other players. Free-float mode, 3rd person Chase-Cam and and through the eyes Follow-Cam. When spectating in Chase-Cam mode, CHASENEXT is used to jump to the next player. Note that issueing a CHASENEXT/PREF (or FOLLOWNEXT/PREV) command will also switch mode if required. You can also use +attack to cycle through players (without changing mode).
CHASEPREV When spectating in Chase-Cam mode, CHASEPREV is used to jump back to the previous player you were viewing.
FOLLOWNEXT When spectating in Follow-Cam mode, FOLLOWNEXT is used to jump to the next player.
FOLLOWPREV When spectating in Follow-Cam mode, FOLLOWPREV is used to jump back to the previous player you were viewing.
TELL_TEAMTARGET this command is used to broadcast a message directly to the team member currently in your crosshairs. for example: 'tell_teamtarget I have you covered!'.
LASTWEAPON Switches back to the last used weapon
DROPAMMO Displays a menu allowing you to select ammo to drop for use by other team mates
CHANGETEAM Allows you to change team without using a menu
PLAYSOUND Replacement play command, uses announcer channel (should prove a little more reliable for gren timers until Quake 3 sound bug is fixed by id Software)
PRIMEONE Prime a grenade of Type 1 as defined by selected class
PRIMETWO Prime a grenade of Type 2 as defined by selected class
THROWGREN Throw primed grenade
+GREN1/-GREN1 Prime a grenade of type one when the bound key is pressed, throw when released
+GREN2/-GREN2 Prime a grenade of type two when the bound key is pressed, throw when released.
TOGGLEONE Prime a grenade of type one, or throw if already primed (so you must press the key twice to throw)
TOGGLETWO Prime a grenade of type two, or throw if already primed (so you must press the key twice to throw)
SPECIAL

Performs specific functions dependant on class:

If Class: Performs Function:
Recon toggles the scanner
Sniper toggles autozoom
Soldier reloads rocket launcher
Grenadier detonates all placed pipebombs
Minigunner toggles between assault cannon and shotgun
Flametrooper toggles between flamethrower and napalm launcher
Agent displays the disguise menu
Engineer displays the build menu
INVENTORY Displays your current inventory of ammunition and grenades in text format
RELOAD Reload the ammunition clip for your currently selected weapon
DISCARD Discard any ammunition that you can't use with your class-assigned weapons
CHANGECLASS Brings up the Class Selection Menu
DUMPLOC Command reserved for Mapmakers to dump location co-ordinates to a file
SAVEME Used to shout for the attention of a Paramedic to heal you
ARMORME Used to shout for the attention of an Engineer to increase your armour
FLAGINFO Displays information on flag status
+ALIAS/-ALIAS Used in scripting to allow a key being held down, to perform a different function from it's release
USERMENU With the \usermenu command, you can bring up your own customised menus. This is mainly useful for communications, but can be used for any commands the server processed (rather than commands the client processes, so weapon switches or connections to different servers are not possible).
CHANNEL Used to set, remove and clear communications channels (like radio channels). Syntax explained in the Communications sub-section.
ALIAS Donated code, works like QW alias command (but they don't save ATM, so have to be in a manually executed config somewhere)
UNALIAS Removes alias above
DROPFLAG Drop any goalitems not marked 'nodrop' by mapper
ADMINPASSWORD mark a user as an 'admin', expects password specified by g_adminPassword
ADMIN

Execute Admin commands:

Command Description
admin status Display a list of all players/addresses
admin addip <ipaddr|clientnum>[<time>[reason]] Ban an address/range/client for an optional time and reason (time -1 means permanent, as does no time/reason given)
admin removeip ipaddr Remove an existing ban
admin listips Show all currently existing bans
admin ceasefire on/off Stops weapons, triggers, obituaries, pickups, etc.
admin map vote Will scan the server's Q3F directory for all present maps, and then select up to ten at random to display on a vote menu to all players.
admin map map_name Allows admins to use the RCON MAP command, without needing the RCON password (allowing access to lots of potentialy worrying commands).
SCANNER Will initiate the enemy radar scanner on the Recon's HUD
CHARGE

Used by Grenadier to set a Charged Explosive at the current location:

Command Description
charge menu Displays the charge menu
charge 5 Set a charged explosive for 5 seconds
charge cancel Will cancel the attempt to set a charge
DETPIPE AND DET Used by Grenadier to detonate placed Pipebombs laid with the Pipebomb Launcher
DISGUISE

Used by the Agent to initiate a disguise or to become invisible:

Command Description
disguise menu displays the disguise menu
disguise class recon will change your player model to soldier
disguise team blue will change your team colour to blue
disguise reset will reset your disguise to standard skin
INVISIBLE Used by the Agent to toggle invisibility mode
BUILD

Used by the Engineer to initiate the building of Autosentries and Supply Stations:

Command Description
build menu displays the build menu
build autosentry builds an Autosentry at your current location
build supplystation builds a supply station at your current location
DESTROY

Used by the Engineer to destroy Autosentries and Supply Stations:

Command Description
destroy autosentry remotely detonates your Autosentry
destroy supplystation remotely detonates your Supply Station

Learn about CVARs.