http://unreal.epicgames.com/UTConsole.htm
Unreal Tournament Console Commands
Jack Porter
Epic Games, Inc. http://www.epicgames.com/
Based on the Unreal 1 console commands document.
Audience: Advanced Users, Server Administrators, Programmers.
Last Updated: 10/17/99
Introduction
This is a list of console commands and command line options, most of which are valid for the current version of the UT demo. The upcoming version of the demo will add a few of the new ones. The cheat codes will be changed for the full version of UT.
UnrealTournament.exe Command Line Parameters
-changevideo Bring up the video card selection menu
-conflicts Show objects of different classes whose names conflict.
-log Runs with the log window initially visible.
-noddraw Disables DirectDraw support.
-nodsound Disables DirectSound support.
-nogc Disables garbage collection.
-nohard Disables 3d hardware support.
-nok6 Disable AMD K6-3D support.
-nolog Don't show log window.
-nokni Disables KNI (Pentium III) support
-nommx Disables MMX support.
-nosound Disables sound.
-nowarn Disables warning message boxes on the screen.
-profile When C++ is compiled with DO_SLOW_GUARD=1, generates an UnrealScript function profile using the timings in the most recently played level only.
-safe Runs Unreal in "safe mode", avoiding loading any device drivers which could crash if there are hardware/driver problems.
-server Runs as a dedicated server. See ucc server
-silent Run silently, with no log window, and no display of error messages. Critical errors just cause the engine to exit silently.
INI=inifilename Specify the .ini file to use for configuration. Normally UnrealTournament.ini.
USER=userinifilename Specify the .ini file to use for user-specific configuration. Normally User.ini
LOG=logfilename Uses the specified log file instead of UnrealTournament.log. Useful when running multiple copies on the same machine.
MULTIHOME=12.34.56.78 Sets the "home" ip address (in numerical format) which Unreal Tournament will bind to, for a machine with multiple IP addresses.
PORT=num Sets the UDP port number for the Internet server.
READINI=inifilename Sets the .ini file for reading only (not for writing); overrides the INI= option.
Ucc.exe Command Line Parameters
UCC.exe is the command line UnrealTournament launcher. It launches a number of "commandlets". ucc help will give you a list of available commandlets.
Ucc make
-h Rebuilds all .u files from their source .uc files and generate a C++ header for each package.
-nobind Don't treat UnrealScript/C++ binding errors as critical, for rebuilding scripts and avoiding the chicken-and-egg binding problem.
-strict Treat all script warnings as critical errors; useful for tracking down the call stack when debugging scripts.
Ucc server
Usage: ucc server URL [parameters]
Most of the parameters valid for unrealtournament.exe are valid for ucc server.
The URL parameter is usually just a map name, but can include a number of options:
?alladmin - give all players administration access
?game= -specify the game class
?mutator= - specify a list of mutator classes (comma separated)
UnrealScript Console Commands
General console commands
MENUCMD <menu> <menuitem> Perform an UnrealTournament menu item. For example, MENUCMD 1 0 brings up the Unreal Tournament server browser
SAY <message string> Broadcast a message to other players in the game.
SETNAME <newname> Change your name (works in network play too).
SETTEAM <newname> Change your team (works in network play only when the rules allow).
SUICIDE Commit Suicide
TEAMSAY <message string> Broadcast a message to your teammates.
Practice session console commands/cheats. Most of these will change.
ADDBOTS <number> Adds more bots to the game.
ALLAMMO Gives you all the ammo for your current weapons.
FLY Fly around (instead of walking). See WALK.
GHOST Fly around and go through walls (see WALK).
GOD Makes you invincible.
KILLALL <class name> Kills all actors of a certain class, for example "KILLALL WARHEADLAUNCHER".
KILLPAWNS Kills all bots
PLAYERSONLY Pauses all non-player actors in the game. Cool for debugging scripts, taking screenshots.
SLOMO <number> Sets the game speed, 1.0 is normal.
SUMMON <class name> Spawns an actor of the specified class (for example, SUMMON BOTPACK.WARHEADLAUNCHER) in front of the player.
VIEWCLASS <class name> Cycle through actors of this class, viewing from their locaton. eg VIEWCLASS BOT
WALK Walk around normally (see FLY, GHOST).
Admin console commands. Some of the above practice session cheats are available in network play when you're logged in as an administrator.
ADMIN <command> Perform a console command on the server's console
ADMIN SERVERTRAVEL <new level URL> Causes the server to switch to a new level.
ADMIN SET UWeb.Webserver bEnabled True Enable the remote admin webserver (requires a level change to take effect)
ADMIN SET UWeb.Webserver bEnabled False Disable the remote admin webserver (requires a level change to take effect)
ADMINLOGIN password Login as an administrator
ADMINLOGOUT Drop administrator access
KICK <playername> Kick a player
KICKBAN <playername> Kick a player and ban his/her IP. You'll need to edit your ini file or use the WWW remote admin to unban their IP
C++ Console Commands
These only work on the local machine.
BRIGHTNESS Cycle through 10 screen brightness values.
CANCEL Cancels an "open" command in progress that is trying to connect to a network server.
CDTRACK num Play the specified CD track.
CPUSPEED=# Identify your CPU speed, useful for machines which don't autodetect their speed properly. For example, CPUSPEED=266.
DEMOPLAY <filename>
[?noframecap]
[?timebased]
[?3rdperson] Play a recorded demo. noframecap plays the demo back as fast as possible. This option is assumed if timedemo 1 is enabled. timebased gives a smoother playback if the playback machine is significantly slower than the recording machine. 3rdperson lets you fly around a first person demo as a spectator. eg demoplay mydemo?3rdperson?timebased
DEMOREC <filename> Record a demo to <filename>
DISCONNECT Disconnect from the current server
ENDFULLSCREEN Go back to playing in a window.
EXEC filename Execute the console commands in the filename, default is in the System directory.
EXIT Exit the game..
FLUSH Flush all caches. Regenerates all lighting, 3d hardware textures, etc. Can be useful to clear texture corruption due to 3D hardware driver bugs
FOV angle Set the field of view, for example "FOV 90" for 90 degrees.
GETCOLORDEPTHS Get a list of color depths supported by your 3D hardware
GETCURRENTCOLORDEPTH Get the current color depth (16 or 32)
GETCURRENTRES Get the current resolution
GETRES Get a list of available resolutions
HIDEACTORS Hide actors during game play.
JUMPTO x y z In UnrealEd, move the viewport to a certain X,Y,Z location, useful in conjunction with tester reports generated with the REPORT command.
MUSICORDER num Change to a certain track in the song (0=ambient, 1=action, 2=suspense).
NETSPEED number Change your desired network data rate. Use 2600 for modem, 5000 for ISDN, 20000 for Cable/ADSL/LAN
OPEN url Opens a local map (eg "dm-turbine.unr") or an Internet server (eg "200.0.1.16" or "unreal.epicgames.com").
s_occfactor A3D 2.0 occlusion factor
s_maxnodedist A3D 2.0 maximum node distance
s_reflect 0 or 1 A3D 2.0 reflections
s_occlude 0 or 1 A3D 2.0 occlusions
s_wavetracing 0 or 1 A3D 2.0 Wavetracing
s_refgain A3D 2.0 reflection gain
s_refdelay A3D 2.0 reflection delay
s_maxpoly A3D