My Bindings for Humans

Talk about anything related to Unvanquished.
Post Reply
User avatar
Sweet
Dretch
Posts: 26
Joined: Tue Dec 07, 2021 8:22 am UTC

My Bindings for Humans

Post by Sweet »

Recently, i noticed the following useful sequence of commands:

Code: Select all

buy marmour; buy larmour
This tries to buy the medium armour, and if this fails tries to buy the light armour. The effect is to buy the better one of the available armours.

One might even include the battle suit:

Code: Select all

buy bsuit; buy marmour; buy larmour
However, I have not tried that.

For some time, I tried to live with the builtin bindings for human purchase. But having custom bindings using the method described above is far more useful in serious games. At the moment, I use this in my file config/keybindings.cfg:

Code: Select all

bind       DEL "sell upgrades; buy marmour; buy larmour"
bind       END "sell upgrades; buy marmour; buy larmour; buy radar"
bind       HOME "sell upgrades; buy marmour; buy larmour; buy jetpack"
bind       PGDN "sell upgrades; buy bsuit"
A somewhat readable list of names for keyboard buttons can be found here: https://github.com/DaemonEngine/Daemon/ ... cation.cpp
User avatar
Nanaa
Dretch
Posts: 25
Joined: Mon Jul 05, 2021 6:35 pm UTC

Re: My Bindings for Humans

Post by Nanaa »

Quite neat!

Code: Select all

buy marmour; buy larmour
So there is no way that medium armor would get replaced by light armor, right? Would you always have to sell the item reserving the slot first?
User avatar
killing time
Programmer
Posts: 162
Joined: Wed Jul 04, 2012 7:55 am UTC

Re: My Bindings for Humans

Post by killing time »

Yeah, I've had my armor binds like that probably since light/medium armor was introduced.
Nanaa wrote:So there is no way that medium armor would get replaced by light armor, right? Would you always have to sell the item reserving the slot first?
Correct. The command

Code: Select all

buy +marmour
can be used to buy medium armor while selling any conflicting item.
Post Reply