Modifying your Keys.TDF file

The modified keys.tdf file (located at the bottom of this page) includes one of the new commands already mapped to the "f" key. Players who don't want to do any modification of this file themselves should download this to activate the new and very useful "MoveFight" command (they just press "f" and click to where they want their units to move...and the units will fight their way there instead of just walking & ignoring attackers). Player's who have already customized their keys.tdf, or want to map the other commands that are new in this build should NOT download this file. They should modify their local file instead, using the instructions included in the 7-23 patch post & patch readme file.

Keyboard commands and shortcuts may be edited & customized by modifying the "keys.TDF" file. You can edit your keys.TDF file using a text editor such as Notepad. Keys.TDF can be found in the directory your Total Annihilation: Kingdoms has been installed into. For most folks, that's c:\cavedog\kingdoms. Inside this file you'll find the default/current keyboard settings. To change a keystroke just move the command you want to change from one "key" to another or add a new command (such as "UnitCommand MoveFight") to an unused key-slot. Example: In this example we'll be adding the new "UnitCommand MoveFight" to key "F".

Before change:
[CUSTOMKEYS]
{
LOWER_A = UnitCommand Attack;
LOWER_B =;
LOWER_C = UnitCommand Clear;
LOWER_D = DiplomacyMenu;
LOWER_E =;
LOWER_F =;
LOWER_G = UnitCommand Guard;

The above is a partial example of the text in the keys.TDF file before any modification. Your real keys.TDF file will be much longer than this. Note, though, that in the example above that lower-case "B", "E", and "F" are unused. The other keys already have commands attached to them. Below, we map the new "UnitCommand MoveFight" command to the lower-case "F".

After change:
[CUSTOMKEYS]
{ LOWER_A = UnitCommand Attack;
LOWER_B =;
LOWER_C = UnitCommand Clear;
LOWER_D = DiplomacyMenu;
LOWER_E =;
LOWER_F = UnitCommand MoveFight;
LOWER_G = UnitCommand Guard;

Now this is the same partial text with the "MoveFight" command mapped to the lower-case "F" key on your keyboard. It is important to note that for each letter there is an upper and lowercase variable that must be set, and also that ctrl+, alt+, and ctrl+shift+ combinations can also be mapped in this file. All keyboard shortcuts can be modified in this manner.

Download the keys.tdf file

 
Total Annihilation: Kingdoms Land of Veruna Land of Aramon Land of Zhon Land of Taros Cavedog Entertainment Boneyards