Hello,
I made a keybindings cheat sheet from the keybindings.json
and vehicle.json
files which ship with the game.
The PDF file is available here on github.
Fun stuff
There are 414 shortcut entries for a total of 488 keys (some entries have more than one shortcut). Of those 414 shortcut entries, only 38 are unbound.
A few info
The PDF file is automatically generated which notably means that not all keys will appear on this cheat sheet, just the ones that are in the key bindings game file. This means that keys that are bound in the C++ code will not appear (e.g. directional keys or menu keys for example).
This also mean I donât intend to add anything to the file since I rely only on automatically generating its content.
Basically it goes like this:
(keybindings.json + vehicle.json) -> python -> latex (pdflatex) -> pdf
The code to generate the PDF file is available here:
-
You need the python script named
generate_keybindings_doc.py
and the latex filecdda_keybindings_template.tex
. -
Python 3 and a latex compiler.
Generate the latex output like this:
$ python ./generate_keybindings_doc.py <game_path>/data/raw/keybindings.json -a <game_path>/data/raw/keybindings/vehicle.json -o ./cdda_all_keybindings.tex
Then use your latex compiler to get the pdf
Iâm aware of a few defects here and there in the PDF (which I havenât been able to fix in the generated latex):
-
âSelect items in dragged containersâ (in Advanced Inventory category) is going over the next column
-
âNew Char Scenariosâ and âUilistâ categories are not properly aligned to the top of the page.