|
|
|
|
|
Please take note! For mod developers working with Unreal Tournament 2003, this documentation is meant to be a starting point for your own explorations into UT2003, not a definitive guide. There will be differences between the documentation here and the product in your hands, and you may have to figure out quite a bit for yourself. Check out the Unreal Tournament 2003 page in the Unreal Powered area for links to community sites if you're having problems. UDN is a licensee support site, and cannot provide technical support or game-specific assistance to end users.
|
|
|
|
ConsoleCommands |
|
|
|
|
|
Licensees can log in.
Interested in the Unreal engine? Check out the licensing page.
Questions about UDN itself? Contact the UDN Staff.
|
|
|
|
|
|
|
|
|
Last updated by Chris Linder to include additional information. Original author was Martin Actor (UdnStaff).
To use console commands, bring up the console and type them in. Console commands may be executed from within the game, from within the editor, or if the game has been started using the -server switch, from the server's console. They can do various things from resetting the engine to setting particular actor's variables.
Lists of commands can also be stored in text files in the system directory and executed by typing "exec filename " at the console.
The following is a list of engine supported console commands
- SET - this one is the most powerful of them all. It takes as the first parameter string a class name, the second string a variable name, and the third string, a value. All objects of the given class (including subclasses) will have the given variable set to the given value. For example "set Pawn CollisionRadius 200" will make all pawns have a collision radius of 200.
- FLUSH - tells the engine to flush all engine caches
- STAT - is used in conjunction with the following parameters to toggle on/off statistic displaying
- ANIM - toggles on/off animation statistics display
- DEFAULT - resets most statistic display flags to not display anything
- RESET - same as DEFAULT
- FPS - toggles on/off frames per second display
- RENDER - toggles on/off rendering statistics display
- HARDWARE - toggles on/off hardware statistics display
- GAME - toggles on/off game statistics display
- HISTOGRAPH - toggles on/off histograph statistics display
- XBOXMEM - toggles on/off XBox memory statistics display
- MATINEE - toggles on/off matinee statistics display
- AUDIO - toggles on/off audio statistics display
- NET - toggles on/off (inter)net(work) statistics display
- ALL - toggles on all statistics display
- NONE - toggles off all statistics display
- CRACKURL - breaks down passed URL to the engine for the map/game and displays all parameters
- OPEN - tells the engine to open a map by the name of the string that comes immediately after
- START - similar to OPEN, difference is it does a TRAVEL_Absolute instead of TRAVEL_Partial
- SERVERTRAVEL - travels the client to the server by the name/address of the string that comes immediately after
- DISCONNECT - disconnects the client from the current game/server
- RECONNECT - reconnects the client to the current game/server
- EXIT - tells the engine to shutdown and close the application
- QUIT - same as EXIT
- GETCURRENTTICKRATE - displays the current tick rate
- GETMAXTICKRATE - displays the max allowed tick rate
- GSPYLITE - tells the engine to run GameSpy Lite executable
- SAVEGAME - tells the engine to save the current game state
- CANCEL - tells the engine to cancel an in progress connection attempt
- MEMSTAT - displays memory usage information
- CONFIGHASH - displays configuration information
- RELAUNCH - flushes the engine and then relaunchs the executable
- DEBUG - is used to simulate various errors with the following parameters identifying which
- CRASH - tells the engine to simulate a fatal crash
- GPF - tells the engine to simulate a general protection fault
- RECURSE - tells the engine to simulate a runaway recursion or loop
- EATMEM - tells the engine to simulate eating up all available system memory
- DIR - displays all used directories and files
- MEM - displays allocated memory information
- RESETPROFILE - resets internal stat counter variables (ticks, calls, and cycles)
- DUMPNATIVES - displays all native functions
- OBJ - is used in conjunction with the following parameters
- GARBAGE - forces a garbage collection sweep
- MARK - tells the engine to iterate through all objects and set their marked flag
- MARKCHECK - displays a list of objects that aren't marked
- REFS - takes two parameters which identify a class and name of an object, then displays all objects that reference it
- HASH - displays a count of how many objects have hashes
- CLASSES - displays a list of all loaded classes
- DEPENDENCIES - displays a list of dpendencies upon a specific package as passed by a string parameter
- LIST - displays a list of objects of a class, from a package, or inside a package. The following parameters can be given in any combination
- CLASS= - the string value is the class of object to find
- PACKAGE= - the string value is the name of the package to list objects which have an outer of
- INSIDE= - the string value is the name of the package to look in for objects
- VFHASH - lists how many hashes are in each object's VfHash table
- LINKERS - iterates through GObjLoaders and displays info about their linkers
- GTIME - displays the value of GTime
- DUMPCACHE - displays objects in cache and their cache attribute
- BRIGHTNESS - modifies the screen brightness. Takes a parameter value for setting the brightness or can take a parameter of '+' to increase it. If no parameters are passed, brightness is set to 0.5
- CONTRAST - works the same as BRIGHTNESS, only affects the contrast level
- GAMMA - works the same as BRIGHTNESS, only affects the gamma level
- PAUSESOUNDS - iterates through all sound sources and sets their paused flag
- UNPAUSESOUNDS - iterates through all sound sources and unsets their paused flag
- WEAPONRADIUS - sets a default sound radius to the value of the string parameter
- ROLLOFF - sets the sound RollOff value to the value of the string parameter
|
|