AA key bindings for 0.73b1 build

AA key bindings for 0.73b1 build

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

AA key bindings for 0.73b1 build

Post by trepan »

The new key binding mechanism allows you to assign
multiple actions to a single key, and to build units with
only a keystroke. Here is an example of bindings that
can be used with the AA mod:

http://trepan.bzflag.bz/spring/AA_uikeys.txt

For more information about the new key binding
junk, take a look at the default uikeys.txt.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

Teh Wacky Coolnesses... Still wants a new gui but this is s step in the right direction.
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Post by NOiZE »

Pretty cool, to bad cycling buildings under one command isn't possible yet.

EDIT

what i would like is:

1 key for energy buildings
1 key for metal extractors
1 key for metalmakers and storage buildings
1 key for ground defenses and dragonteeth
1 key for airdefenses
1 key for factories
1 key for radar/jammer

so i would need 7 keys to map all buildings!! cycling is the way to go IMO
User avatar
Ishach
Posts: 1670
Joined: 02 May 2006, 06:44

Post by Ishach »

Is it possible to bind a fakemeta key to also perform the same function as holding down shift?

Im trying to make a set of hotkeys where spacebar is the modifier, but its a bit of a stretch to also have to hold shift to queue up more.


Is it also possible to bind Mouse1 through Mouse5?
User avatar
FireCrack
Posts: 676
Joined: 19 Jul 2005, 09:33

Post by FireCrack »

NOiZE wrote:Pretty cool, to bad cycling buildings under one command isn't possible yet.

EDIT

what i would like is:

1 key for energy buildings
1 key for metal extractors
1 key for metalmakers and storage buildings
1 key for ground defenses and dragonteeth
1 key for airdefenses
1 key for factories
1 key for radar/jammer

so i would need 7 keys to map all buildings!! cycling is the way to go IMO
You can cycle buildings, look here
http://taspring.clan-sy.com/phpbb/viewtopic.php?t=7175
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Post by NOiZE »

yeah that is outdated now.
User avatar
FireCrack
Posts: 676
Joined: 19 Jul 2005, 09:33

Post by FireCrack »

^it still works, i just tested it....
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Post by knorke »

Cool, thanks.
But AA is evil.
Do it for EE as well ;)
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

This keybinding system is mod independent. The example
file is not complete, but should get you part of the way. If you
want a more complete binding set, either tune the example
file to your liking, or load it up and finish off the missing pieces
using hotbinding (ctrl+insert).

http://taspring.clan-sy.com/phpbb/viewtopic.php?t=7175
mongus
Posts: 1463
Joined: 15 Apr 2005, 18:52

Post by mongus »

Is that .... %metalextractor% thing working?

tried to make it work but failed.



the way multiple bindings to the same key works ...


it will issue a buildorder of the specific unit, to the currently selected building..

what happens if you have 2 matches? i.e. you have t key binded to armpw and armham ?

does it use the first on the list right?

patience! im slow..
Hellspawn
Posts: 392
Joined: 24 Feb 2006, 11:54

Post by Hellspawn »

FireCrack wrote:^it still works, i just tested it....
Can you post example pretty please.
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Post by NOiZE »

for the lazy ppl, here are all buildings bind under 9 keys for AA (will probally also work for XTA)

Just look inside the file how it works.

uikeys.txt
Hellspawn
Posts: 392
Joined: 24 Feb 2006, 11:54

Post by Hellspawn »

<3 Noize ^^.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Does it cycle through the possiblilities for each key?
Hellspawn
Posts: 392
Joined: 24 Feb 2006, 11:54

Post by Hellspawn »

Yes.
User avatar
quantum
Posts: 590
Joined: 19 Sep 2006, 22:48

Post by quantum »

This is what I use at the moment:

http://darklord461.googlepages.com/uikeys.txt

You don't need to press alt for almost anything, and the order through which the orders cycle should not be unexpected.
Heavily ripped off from trepan's file.

Here is what it does:

AA: j
builders: B / alt B
energy: n
metal: m
factories: u
radars: y
scout T1 unit: y
light T1 unit: u
heavy T1 unit: k
laser turrets: o

backspace: hold position
set central build ai: q
debug: v instead of b

removed move order keybinding(m)
removed j = mouse2 binding

Is there a way to bind to a key "say ... to allies" or "place ... as a label"?
Bhaal
Posts: 102
Joined: 03 Jan 2006, 19:54

Post by Bhaal »

Hi,
there is the track command bound on t

but it s not listed in the default config.

how can i remove it ?

unbindall didn t work for it.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

unbind Any+t whateverthecommandtotrackatargetwas
Bhaal
Posts: 102
Joined: 03 Jan 2006, 19:54

Post by Bhaal »

but i did unbindall before ?

and there is no command on t listed

is it hardcoded ? :/
Bhaal
Posts: 102
Joined: 03 Jan 2006, 19:54

Post by Bhaal »

nobody can help here ?!

trepan ?!

another question
is it possible to select all factories ?
Locked

Return to “Engine”