Page 1 of 1

My Bindings for Humans

Posted: Tue Dec 07, 2021 8:49 am UTC
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

Re: My Bindings for Humans

Posted: Tue Dec 14, 2021 1:53 pm UTC
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?

Re: My Bindings for Humans

Posted: Tue Dec 14, 2021 5:50 pm UTC
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.