Where to change shortcut settings?

Thomas SG

CCV-designer
Joined
Aug 10, 2007
Messages
1,164
Location
Germany
Hello.

I've got a problem. I want to change some game shortcuts but I don't know where to search for the settings. Where are for example the advisor shortcuts set? What must I to do to change them?

Thanks for any help! :goodjob:
 
The shortcuts are defined in Assets/XML/Units/CIV4Controls.xml; if you are just changing the key combo for a pre-existing control it should be pretty self-explanatory.

If you are trying to add new controls, that may require SDK work. Alternatively, there are also ways to check for keypresses purely through Python. For examples, look in Assets/Python/CvEventManager.py which shows how the special debug-mode shortcuts are defined and handled.
 
Top Bottom