Ok, so I've been fiddling with my hotkeys, and now I'm trying to figure out a few things.
We have commands that can select all units of a type, or all units of a type on the screen, but is there a way to select ALL combat units, or all combat units on the screen?
Is there a way to set up keys that can toggle on and off? I have a big list of hotkeys, most of which use space as a modifier, to avoid conflicting. But I think it's kind of a pita to hit space for all those things, I'd really like to have a way for it to stay on after I push it, and turn off when I push it again. Something similar to SupCom's build mode, perhaps. And, in addition to that, maybe a context sensitive control? i.e., if I select a factory it will toggle on, then toggle off again when I select a combat unit or construction unit?
Those are pretty insane requests I know, but it'd be awesome if they were possible.
Hotkey questions
Moderator: Moderators
Re: Hotkey questions
There's the selection editor bundled with Spring. You can assign key combos to different unit types etc. CTRL+W selects all units with weapons. You can make a key combo to select all units with weapons on screen or in a specific distance from the mouse.
-
- Posts: 1398
- Joined: 17 Sep 2008, 04:36
Re: Hotkey questions
You can find some more information about that under "Selection Keys" here: http://trac.caspring.org/wiki/CustomKeys
There is SelectionEditor.exe for windows, is there a way to set these for linux?
There is SelectionEditor.exe for windows, is there a way to set these for linux?
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Hotkey questions
I think this could be done with a widget that switches hotkeys when a key is pressed.Is there a way to set up keys that can toggle on and off? I have a big list of hotkeys, most of which use space as a modifier, to avoid conflicting. But I think it's kind of a pita to hit space for all those things, I'd really like to have a way for it to stay on after I push it, and turn off when I push it again. Something similar to SupCom's build mode, perhaps. And, in addition to that, maybe a context sensitive control? i.e., if I select a factory it will toggle on, then toggle off again when I select a combat unit or construction unit?
Re: Hotkey questions
Google_Frog wrote:I think this could be done with a widget that switches hotkeys when a key is pressed.Is there a way to set up keys that can toggle on and off? I have a big list of hotkeys, most of which use space as a modifier, to avoid conflicting. But I think it's kind of a pita to hit space for all those things, I'd really like to have a way for it to stay on after I push it, and turn off when I push it again. Something similar to SupCom's build mode, perhaps. And, in addition to that, maybe a context sensitive control? i.e., if I select a factory it will toggle on, then toggle off again when I select a combat unit or construction unit?
Wish I knew lua..

Thanks for the answers though.
Re: Hotkey questions
Ok, two more questions - is it possible to bind mouse keys? ie mouse4 and mouse5, I'd really like to use these either as separate groups, or as a button to cycle through groups.
And also is it possible to use non-number keys as groups? I'd like to use this for factories and/or cons.
Thanks!
And also is it possible to use non-number keys as groups? I'd like to use this for factories and/or cons.
Thanks!
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Hotkey questions
This question makes me think you haven't looked at uikeys.txt (or haven't looked at the right one). The attached uikeys.txt has the syntax for your request.Hobo Joe wrote:And also is it possible to use non-number keys as groups? I'd like to use this for factories and/or cons.
- Attachments
-
- uikeys.txt
- (21.61 KiB) Downloaded 23 times
Re: Hotkey questions
Am I missing something or is it just more simple than I thought? The only thing I saw related to groups was 'bind Any+# group#'. so could I simply 'bind any+key group11'?