Difference between revisions of "KEYCFG/TAB"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Whatevermind
(Created page)
 
sc4e>FlyHigh
m (TAB moved to KEYCFG/TAB: Adding the alternative name to avoid confusion)
(No difference)

Revision as of 01:53, 18 August 2016


The TAB or KEYCFG files define keyboard shortcuts for SimCity 4. They are made up of tables of entries following the format below. Most of the default shortcut definitions have only the KeyCombination, MsgID, and Description. See TGI 0xa2e3d533, 0x6a231eaa, 0x6a9362ef (City View keyboard shortcuts) for more information.

Entry format

<KeyCombination> = <MsgID> [[[<data1>] <data2>] <data3>] [<Description>]

Example:

Control M = 0xec3e82f8 0x8bd88057 "Build Passenger Ferry Terminal"

KeyCombination is any combination of the keys that you want to use to activate this function.

MsgID is the coded ID in the game's .exe that activates this command. It may call an in-game message code. Adding a new key combination requires knowing the MsgID for that command.

data1,2,3 are specific data IDs (which are usually Exemplars) that are used in conjunction with this action. The above example has the data1 as the exemplar for the ferries.

Description is a simple description of the function of the key combination.