Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 3.45 KB

README.md

File metadata and controls

44 lines (33 loc) · 3.45 KB

BAR Hotkey Collection

This repository is meant to help players customize their keybinds for BAR. The files here are intended to provide drop-in custom presets, or to serve as reference for more specific customizations. Please refer to the HOWTO and FAQ as documentation, and come find us on the official BAR discord in #keybind-help for more information and assistance. To use any of these hotkey files, simply make sure they are named uikeys.txt and place them in your install folder (the same directory as springsettings.cfg)

  • The .png's are visual layouts of the grid optimized layout, available in-game.
  • custom_army_selection is an amalgam of selection keys players have found useful.
  • old files are incomplete but may contain interesting binds and historical reference.

For more specific instruction, see:

For keymaps of the shipped presets, check the preset-images directory.

Built-in hotkey files

With the uikeys hotkey format it is possible to import other keybind files with all their binds with the keyload command. This can be done with any keybind file in the uikeys format. To import the keybind files included in the base game, use this reference:

Keyload String Reference
keyload luaui/configs/hotkeys/grid_keys.txt Grid layout keybinds
keyload luaui/configs/hotkeys/grid_keys_60pct.txt Grid layout keybinds for 60% keyboards
keyload luaui/configs/hotkeys/gridmenu_keys.txt Gridmenu hotkeys (ONLY includes building hotkeys)
keyload luaui/configs/hotkeys/legacy_keys.txt Legacy keybinds
keyload luaui/configs/hotkeys/legacy_keys_60pct.txt Legacy keybinds for 60% keyboards
keyload luaui/configs/hotkeys/num_keys.txt Control group hotkeys

This can be used to very easily compose together modular keybind sets, for example to combine legacy hotkeys with the gridmenu building keys, you can make a uikeys.txt file containing only these lines:

unbindall
keyload luaui/configs/hotkeys/gridmenu_keys.txt
keyload luaui/configs/hotkeys/legacy_keys.txt

Keybind reference

https://github.com/beyond-all-reason/spring/blob/BAR105/doc/uikeys.txt

VS Code extension

https://marketplace.visualstudio.com/items?itemName=nbusseneau.vscode-uikeys