85.0 Unit group creation keyboard bug - Page 2

85.0 Unit group creation keyboard bug

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: 85.0 Unit group creation keyboard bug

Post by Jools »

Did you know that there used to be a program that you can use to customise selectkeys.txt. It has been removed in recent spring versions, but the old one still works. I attach it here.

For me, spring settings gives an error to save to uikeys.txt as soon as I have customised some of its values (or maybe it was because I set it to read only in windows).

You need to customise that file anyway, because by default, someone thinks that entering the debug mode is more important than to enter the build menu. (pressing b). And the editor included in spring settings has no capture command that you can add. I like to have this mapped to c, as in original TA.
Attachments
SelectionEditor.zip
Program to edit keyboard shortcuts
(107.8 KiB) Downloaded 19 times
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: 85.0 Unit group creation keyboard bug

Post by very_bad_soldier »

Jools wrote:Did you know that there used to be a program that you can use to customise selectkeys.txt. It has been removed in recent spring versions, but the old one still works. I attach it here.
selectkeys.txt are fully integrated into uikeys.txt and you have a similar editor when pressing "Add Command" -> "Selection" in springsettings' hotkey editor.
Jools wrote: For me, spring settings gives an error to save to uikeys.txt as soon as I have customised some of its values (or maybe it was because I set it to read only in windows).
Could you provide more details here?
Jools wrote:And the editor included in spring settings has no capture command that you can add. I like to have this mapped to c, as in original TA.
You can add any command you want by pressing "Add Command" -> "Custom". But I will add "capture" to the built-in commands, good point.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: 85.0 Unit group creation keyboard bug

Post by Jools »

Here is the error I get:

Image

That file exists there and is writeable. However, I wouldn't want the program to use my C: drive at all, it changes based on from what hard drive I launch my system.

What about the ctrl-c bug? Anyone has a fix for it? Or should it go to a separate thread?

I heard about a workaround, and that's to add that line to selectkeys.txt:

Code: Select all

Control_C AllMap+_ManualFireUnit+_ClearSelection_SelectOne+
However, it's not a complete fix, because this text also selects the decoy commander, which can be annoying if you build 50 decoys (as some people do).
User avatar
Mach2Infinity
Posts: 14
Joined: 05 Apr 2010, 21:55

Re: 85.0 Unit group creation keyboard bug

Post by Mach2Infinity »

beamer159 wrote:
albator wrote:unbindaction specteam

solved it
I like this solution best. Just add "unbindaction specteam" to the beginning of your uikeys.txt file, which is located in Spring's root folder. By the way, does anyone know what specteam is? I don't think I've used it, but it would be nice to know what I'm disabling the hotkey for.
I've already tried this, it doesn't work for me.

Update: My fault, I simply had to add a few spaces after the unbindaction specteam command and not have the "//" in front of it!

Thank you. :-)
Post Reply

Return to “Help & Bugs”