Pesky Key Bindings

Serenity42

Chieftain
Joined
Jul 16, 2008
Messages
58
Hello, all, and happy new year.

Does anybody know where CivIV keeps the key bindings list? I need to remap a few commands and I can't seem to find where they're hidden. :wallbash:

Basically, I'm trying to get rid of the double-duty keys and remap their commands out to new places. (For arbitrary example, "r" does both roads and railroads, so I would reset railroads to something else.) There are also a few commands that I just need to move because even after more than a year of playing this game, I'm still punching the wrong key by reflex.

Thanks for the help, everyone. I'm sure it's going to be in a painfully obvious location that I overlooked, but if it gets the job done, I'll deal with the embarrassment.
 
Have a look at ..\Sid Meier's Civilization 4\Beyond the Sword\Assets\XML\Units. The hotkeys are spread out over CIV4AutomateInfos.xml, CIV4BuildInfos.xml, CIV4ControlInfos.xml, CIV4MissionInfos.xml, CIV4PromotionInfos.xml and CIV4UnitInfos.xml.
 
Ah, so if I were looking to change hotkeys for the workers, then that data would be parked under the worker unit or in the AutomateInfos, yes? Wonderful! Thanks, Grumbler!
 
Actually, I think for workers its these in Units/BuildInfos

<BuildInfo>
<Type>BUILD_ROAD</Type>
<Description>TXT_KEY_BUILD_ROAD</Description>
<Help/>
<PrereqTech>TECH_COMBUSTION</PrereqTech>
<iTime>200</iTime>
<iCost>0</iCost>
<bKill>0</bKill>
<ImprovementType>NONE</ImprovementType>
<RouteType>ROUTE_ROAD</RouteType>
<EntityEvent>ENTITY_EVENT_SHOVEL</EntityEvent>
<FeatureStructs/>
<HotKey>KB_7</HotKey>
<bAltDown>0</bAltDown>
<bShiftDown>0</bShiftDown>
<bCtrlDown>0</bCtrlDown>
<iHotKeyPriority>0</iHotKeyPriority>
<Button>,Art/Interface/Buttons/Builds/BuildRoad.dds,Art/Interface/Buttons/Actions_Builds_LeaderHeads_Specialists_Atlas.dds,1,8</Button>
</BuildInfo>
 
Back
Top Bottom