© l e a n e r
' s G u i d e t o
U n r e a l T o u r n a m e n t
Keybinding & Aliases
Version 1.03 – 29-Oct-00
2 The UT System Console and the
Advanced Options
This keybinding and alias guide for Unreal Tournament is a subsection of
“Cleaner’s big unofficial FAQ for Unreal Torunament”.
For information about the game, the author, download, and much more, please
read that FAQ!
This is an unofficial FAQ. Nothing of what is written herein has been authorized by the makers of UT: Epic Games, Digital Extremes or GT Interactive Software.
I wrote the FAQ based upon my best knowledge, but like any human, I make errors. ;-) What is stated in this FAQ shall not be considered as fact, but only my very own personal opinion. If you feel, that I am wrong about anything written in this FAQ, please e-mail me to Cleaner.CH@gmx.ch and your input will be checked.
You alone are responsible for your computer system! If following any of the suggestions in this FAQ causes your UT or even OS to crash, I shall not be held liable for that. You are strongly recommended to back-up your UT and OS system files before doing any modifications as suggested in here.
Unreal and Unreal Tournament copyrights and trademark by Epic Games and GT Interactive Software. All rights reserved.
My credits for this guide go to the two sites, that tought me the basics of Unreal keybinding and aliases:
Ozh from the TheFrenchFragFactory.
Easy from EzUnreal.
The console is a little
window, that is used to enter commands and to see UT’s system messages. You
bring it up by choosing [System Console] from the [Tools] menu or by hitting
the [~] tilde key.
You can also use the simple console command line by hitting the [Tab] key. Here you can only enter commands, but not read the system messages.
Bring up the console (see above) and type "preferences" (without the ") and the advanced options window will pop up. I’d recommend to switch UT to windowed mode before, so you can leave both windows permanently open and can see the effect of your changes instantly.
For users, who work with the AOs frequently, I recommend to bind a key to:
ENDFULLSCREEN | PREFERENCES
The official list of UT starting parameters, console commands and cheatcodes can be found on Epic's Unreal Tech Page:
unreal.epicgames.com/utconsole.htm
The page contains a few errors and the explanation of the commands is often very brief, but it is virtually the only list available. All other lists are just mirrors.
In the console, hit the cursor up key to repeat the last command. The same works with text messages using the SAY command ([T] key) or TEAMSAY ([R] key) command.
There are 5 ways to do that, depending a little on what you want to do. The result is the same: In any case, the resulting keybind is saved to the ..\UnrealTournament\System\User.ini.
This is the fastest way for the standard UT command repertoire. Choose the menu [Option]® [Preferences] ® [Control], look for the action you want to bind and enter your key directly
This is exclusively for voice messages and team orders. And it is especially important because the UT voice menu is complete sh*t. (Sorry Epic, I had to say it that hard.)
Choose the menu [Options]®[Preferences]®[Input]®[Speech Binder]. Bind your favorite messages to keys. (All of my num keypad – except numlock! – is binded to team messages.
Note that UT will automatically assign team messages to your team. E.g. “Somebody get our flag back!” can only be heard by your teammates.
Due to a bug, UT does not list all voice binds, if you defined more than 8. This does not mean, they are not working, they are just not shown in the speech binder! You can still use them and change them by way 3.
If the command you want to bind is not listed in the menus named in 1. or 2., you have to go the basic way:
Through the Advanced Options or by editing the ..\UnrealTournament\System\User.ini.
I personally prefer the AO, because I can keep UT running in the background and switch back and forth between UT and the AO and see the effect virtually instantly without restarting UT. (Each time you close the advanced options, UT activates the changes you made!) This is even easier, if you switch UT to windowed mode before you enter the AO. Furthermore in the advanced options the keys are sorted alphabetically; in the INI they are not.
Open the console and type:
Set input <key> <command>
For example to bind the left mouse button to fire:
Set input leftmouse fire
The key is binded permanently. You can check the result in the AOs or the user.ini.
So, open the AO
as described above and expand the
[Advanced] ® [Raw Key Bindings] view.
Look for the key you want and put your command behind it.
Close the AOs. That’s all! =)
As described above, I prefer way 4., which has the exact same
result, but is easier. But this is a matter of taste and in some situation a
simple INI-edit may be faster.
Open your ..\UnrealTournament\System\User.ini and look for the [Engine.Input] section. On top of that section, you find the aliases. Further down you find all the key-binds. Look for the key you want. Do not add a line for your key as this may mess up the keybind! It is already there somewhere, so just search. When you’ve found it, put in your command. Now save and close the file and restart UT.
Any console command (see above) can be binded to a key directly or via an alias. Furthermore there are the basic commands, that are not listed on Epic’s console command page. Look through your ..\UnrealTournament\System\defuser.ini for these simple commands.
Yes you can. Divide the commands with a “|”. So for example to jump and at the same time fire, the command would be:
Jump | Fire
If your command sequence does not work, you do not have to abandon hope. For a reason I don’t understand, many sequences, that do not work as a simple keybind, work fine, if you define them as an alias. So try that!
Yes, you can not only assign a command to the striking of a key, but also to the releasing of a key! So a common combination is to assign one command to pressing a key and an other to releasing a key. For example:
F1=ShowScores | onrelease ShowScores
This makes the Scoreboard come up when you hold down F1 and makes it disappear, when you release F1.
This can be useful in some cases. For example if you want to have several taunts, but only one key.
You have to define an alias (see next section) for each command, like this:
Aliases[x]=(Command=<command_1> | set input <key> <name_2>,Alias=<name_1>)
Aliases[x+1]=(Command=<command_2> | set input <key> <name3>,Alias=<name_2>)
…
Aliases[x+n-1]=(Command=<command_n-1> | set input <key> <name_n>,Alias=<name_n-1>)
Aliases[x+n]=(Command=<command_n> | set input <key> <name_1>,Alias=<name_n>)
<key>=<name_1>
Look below in the alias list, item 4, for a simple example.
Virtually any setting that can be changed through the menues and (even some that are in no menu) can be changed in-game through console commands. And as I said: Any console command can be bind to a key. Only some few changes need a re-connect or map-change to take effect.
The powerfull allround command is:
Set <class> <variable> <value>
Now all you have to do is find out the class and variable for the setting that you want to change. To do this, search through your user.ini and your unrealtournament.ini files. Find the line that is most likely the setting you want to change. Check how the paragraph is called that the line is in. The name is in [...] brackets on top.
For example if you want to change your mouse sensitivity, you'll find the following paragraph and line in the user.ini:
[Engine.PlayerPawn] <- This is the class.
...
MouseSensitivity=4.500000 <- This is the variable and value
So the command to change the mouse sensitivity through console to a value of 8 would be:
Set Engine.PlayerPawn MouseSensitivity 8
An alias is a pre-defined sequence of commands assigned to a name for faster execution. Aliases can be bind to keys as a single command or be used in other aliases.
UT’s aliases are not as powerful as those for other games, which is fine to me. Many people - incl. myself - consider too powerful aliases as cheating. Your skill in UT should be based on how well you can handle mouse and keys, not how good you can write scripts!
Just like advanced keybinds, you can do it two ways: Through the Advanced Options or through editing the ..\UnrealTournament\System\User.ini file. For the same reasons as explained above, I recommend using the AO. Even more here, as an alias will usually not work with the 1st attempt and the easy switching between UT and the AO w/o UT restart gives it a clear advantage.
So, open the AO as described above and expand the [Advanced] ® [Key Aliases] view.
Each alias consists of two lines:
The name line and the command line.
Put in your command sequence and give it a name. Done!
Look for the [Engine.Input]
section. Here you will find many lines like this:
Aliases[0]=(Command="Button bFire | Fire",Alias=Fire)
Just add your alias to the bottom of the list by putting in your command sequence and giving it a name.
Aliases[<put number here>]=(Command="<put command here>",Alias=<put name here>)
Save and close the file.
You can now use the alias name as a command, just like any other command. =)
This is a list of aliases, that I found useful, so I have been using them or still use them:
MouseWheelUp=Getweapon PulseGun |
getweapon ut_biorifle | Getweapon UT_Flakcannon