|
|
|
|
|
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.
|
|
|
|
ExecFunctions |
|
|
|
|
|
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 (DemiurgeStudios). Original author was Martin Actor (UdnStaff).
Exec functions are very similar to ConsoleCommands. You can use then by bringing up the console window by typing "~" or the console line by typing "TAB" and simply typing the command. You can also edit your User.ini file and create an Alias for the command and then map the alias to a key. Exec commands are different from ConsoleCommands because they are created in script and are therefore easy to add and remove.
The following list of console commands are exec functions from UnrealScript classes in the Engine Package.
- Admin - executes an admin command on a server where you are logged in as administrator. Only available to server admins
- KickBan - kicks and bans a player from the server whose name is the string parameter. Only available to server admins
- Kick - disconnects a player from the server whose name is the string parameter. Only available to server admins
- PlayerList - displays a list of all players connected to the server. Only available to server admins
- RestartMap - restarts the current map on the server. Only available to server admins
- Switch - tells the server to change levels based on the string parameter, which is parsed as a URL (see commandline parameters)
- FreezeFrame - pauses the game for a period of time as passed by the string parameter (interpreted as a value of milliseconds). Only available if cheating is enabled
- WriteToLog - writes a bit of test text to the log file. Only available if cheating is enabled
- SetFlash - sets the flash scale to the string parameter (interpreted as a float value). Only available if cheating is enabled
- SetFogR - sets the red color component of FlashFog variable to the string parameter (interpreted as a float value). Only available if cheating is enabled
- SetFogG - sets the green color component of FlashFog variable to the string parameter (interpreted as a float value). Only available if cheating is enabled
- SetFogB - sets the blue color component of FlashFog variable to the string parameter (interpreted as a float value). Only available if cheating is enabled
- LogScriptedSequences - toggles on/off the logging of AI scripts. Only available if cheating is enabled
- Teleport - changes the player's location to the HitLocation of a trace from the player's ViewRotation. Only available if cheating is enabled
- ChangeSize - sets the player's collision and drawscale values to the defaults * the string parameter (interpreted as a float value). Only available if cheating is enabled
- LockCamera - toggles on/off locking the player's view camera in place. Only available if cheating is enabled
- SetCameraDist - sets the distance from the player the camera is by the amount of the string parameter (interpreted as a float value). Only available if cheating is enabled
- EndPath - currently does nothing. Only available if cheating is enabled, though =)
- FreeCamera - sets the camera to freely move around independant from player movement/rotation by the string parameter (interpreted as a bool value). Only available if cheating is enabled
- CauseEvent - triggers an event by the name of the string parameter. Only available if cheating is enabled
- Amphibious - sets the player's underwater time to really really high (almost 17 minutes)
- Fly - sets the player's state to flying. Only available if cheating is enabled
- Walk - sets the player's state back to normal walking movement (ends Flying). Only available if cheating is enabled
- Ghost - same as Fly, except player can move through level geometry. Only available if cheating is enabled
- AllAmmo - iterates through all weapons in the player's inventory and sets the ammo amount to 999. Only available if cheating is enabled
- Invisible - toggles the player's Visibility variable between 0 and default. Only available if cheating is enabled
- God - toggles God mode on/off. Only available if cheating is enabled
- SloMo - sets the engine speed to the string parameter (interpreted as a float value of milliseconds). Only available if cheating is enabled
- SetJumpZ - sets the height of player jumping to the string parameter (interpreted as a float). Only available if cheating is enabled
- SetGravity - sets the gravity of the PhysicsVolume the player is in to the string parameter (interpreted as a float). Only available if cheating is enabled
- SetSpeed - sets the player's running and swimming speed to default * string parameter (interpreted as a float). Only available if cheating is enabled
- KillAll - iterates through all objects and destroys those of the string parameter type (interpreted as a class name). Only available if cheating is enabled
- KillPawns - destroys all pawns in the game. Only available if cheating is enabled
- Avatar - tells the player controller to possess a pawn of the string parameter type (interpreted as a class name). Only available if cheating is enabled
- Summon - spawns an object of the string parameter type (interpreted as a class name). Only available if cheating is enabled
- PlayersOnly - sets a game flag that allows only players to be updated (Tick'ed). Only available if cheating is enabled
- CheatView - sets the player's view to be on the next object of the string parameter type (interpreted as a class name). Only available if cheating is enabled
- RememberSpot - for AI, sets the Destination to the current location of either the controlled pawn or the location of the controller (if no pawn is controlled). Only available if cheating is enabled
- ViewSelf - sets the player camera view to be centered on the controlled pawn or the controlled itself if no pawn is controlled. Only available if cheating is enabled
- ViewPlayer - sets the player camera view to be centered on a player by the name of the string parameter. Only available if cheating is enabled
- ViewActor - sets the player camera view to be centered on an actor with the Name of the string parameter. Only available if cheating is enabled
- ViewClass - same as CheatView. Only available if cheating is enabled
- Loaded - gives the player all available weapons. Only available if cheating is enabled
- Say - sends a message to everyone connected to the server, message is all text following the command
- TeamSay - sends a message to everyone on the same team as you on the server, message is all text following the command
- Type - puts the console into a text entry state
- Talk - puts the console into a text entry state, and sends the resulting text as a Say command
- TeamTalk - same as Talk, except sends the resulting text as a TeamSay command
- SwitchToBestWeapon - attempts to change the player's weapon to the best one in the player's inventory
- ShowScores - toggles the displaying of the score spread of players in the game on the HUD
- ShowDebug - toggles the displaying of debug information on the HUD
- UpdateRelative - for inventory items, updates the relative rotation of the item to the player
- NextItem - for pawns, switch to the next inventory item
- FOV - sets the Field Of View for the player to the string parameter (interpreted as a float). FOV is clamped between 1 and 170, and if the game is a network game, FOV will not accept values below 80.0
- SetSensitivity - sets the sensitivity of the mouse for the player to the string parameter (interpreted as a float)
- ForceReload - calls the player's weapon's ForceReload function
- Jump - tells the player code to jump
- Speech - sends a sound message from the player's voice pack to another player
- RestartLevel - restarts the current level
- LocalTravel - travels the client to the string parameter (interpreted as a URL)
- QuickSave - saves the game into slot 9
- QuickLoad - loads the game from slot 9
- Pause - toggles gameplay paused/unpaused
- ActivateInventoryItem - activates the inventory item of the class of string parameter (interpreted as a class name)
- ThrowWeapon - throws the currently selected weapon out of the player inventory and selects another
- PrevWeapon - switches the player's weapon to the previous weapon in the player's inventory
- NextWeapon - switches the player's weapon to the next weapon in the player's inventory
- SwitchWeapon - switches the player's weapon to the specific weapon group string parameter (interpreted as a byte value)
- GetWeapon - gives the player a weapon of string parameter type (interpreted as a class name)
- PrevItem - switches the player's item to the previous item in the player's inventory
- ActivateItem - activates the player's currently selected item
- Fire - fires the player's currently selected weapon with an optional accuracy modifier of string parameter (interpreted as a float)
- AltFire - alternate fires the player's currently selected weapon with an optional accuracy modifier of string parameter (interpreted as a float)
- Use - make the player attempt to use any level objects the player is touching
- Suicide - makes the player die by suicide
- Name - change the player's name to the string parameter
- SetName - same as Name
- SwitchTeam - changes the team the player is on
- SwitchLevel - changes the level to the string parameter (interpreted as a URL)
- ClearProgressMessages - clears the progress message array for the player
- SetProgressMessage - sets a particular progress message with the properties of string parameter (interpreted format of an int, a string, then a color)
- SetProgressTime - sets the time from now that the progress messages timeout by string parameter (interpreted as a float of milliseconds
- BehindView - sets the status of the camera view behind the player to the string parameter (interpreted as a bool)
- CreateCameraEffect - adds a camera effect of the string parameter type (interpreted as a class type)
|
|