王国保卫战 5:联盟

王国保卫战 5:联盟

评价数不足
How to edit keybinds
由 Celicni 制作
How to fix the baffling decision made by Ironhide to not have configurable keys in-game.
   
奖励
收藏
已收藏
取消收藏
How to do it
1. Launch the game once through Steam and configure all your settings how you like them to be.

2. Close the game.

3. Open the following directory in File Explorer:

Windows: C:\Users\{user}\AppData\Roaming\kingdom_rush_alliance

Mac: /Users/{user}/Library/Application Support/kingdom_rush_alliance (thanks to Andyryw for the location)

4. Open the settings.lua file in a text editor (notepad++ recommended).

5. Add the following values:

["key_hero_1"] = "space";
["key_hero_2"] = "4";
["key_pow_1"] = "2";
["key_pow_2"] = "3";
["key_pow_3"] = "1";
["key_wave"] = "x";

Obviously when I say "following values" you can put in whatever you want, this is just what I use. Space for primary hero, 4 for secondary hero, 2 for reinforcements (as god intended), 3 for first hero ability, 1 for second hero ability.
Key_wave is for calling the next wave early, I have that at W, but I added it here for completion sake.

Link for more detailed explanation (for frontiers, but the engine is the same so it works here):

https://github.com/cigumo/krli/wiki/Configuring-key-bindings

Link for key names:

https://love2d.org/wiki/KeyConstant
7 条留言
Kled SteelSteed 2024 年 10 月 3 日 上午 8:21 
Great work! btw how can I edit the key for reinforcement rally point?
Panpan2019 2024 年 8 月 9 日 下午 1:03 
Think your guide might have been stolen... check the recent guides page; there are some Russian guides that might interest you.
Quick 2024 年 8 月 8 日 下午 12:48 
thank you, ur very smart human, hoping ur pillow is cold from both sides
Celicni  [作者] 2024 年 7 月 29 日 下午 3:15 
Thank you Andyryw, will add to the guide.
AndxbnA 2024 年 7 月 29 日 上午 10:53 
Thank you! The macOS location is
/Users/{user}/Library/Application Support/kingdom_rush_alliance
Celicni  [作者] 2024 年 7 月 28 日 下午 2:59 
I think so.
Dainank 2024 年 7 月 28 日 下午 1:19 
So KR games are made via the LÖVE framework?