UI key editor?

UI key editor?

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

Post Reply
stephelton
Posts: 12
Joined: 28 May 2009, 07:10

UI key editor?

Post by stephelton »

I see mention of a ui key editor, but i cannot find anything specific about this. It's not a windows-only thing, is it?

Can anyone tell me more about it, or point me to some good documentation?

Thanks!
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: UI key editor?

Post by Beherith »

Windows builds come with selection key editors, (selectkeys.exe).
Also, ui keys can be edited through - big surprise- uikeys.txt
http://springrts.com/phpbb/viewtopic.ph ... eybindings
stephelton
Posts: 12
Joined: 28 May 2009, 07:10

Re: UI key editor?

Post by stephelton »

Thanks. That program runs pretty well under wine, but without any clue as to what it does (and where) I can't do anything useful with it.

Edit: to clarify, I'm running linux, so whatever that program does, i need to do intervene.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: UI key editor?

Post by Beherith »

about selectkeys: start mashing the buttons on it, and you will figure it out fast.
stephelton
Posts: 12
Joined: 28 May 2009, 07:10

Re: UI key editor?

Post by stephelton »

Sorry, but "about selectkeys:" does not mean anything to me -- I think there is a disconnect here. Could you please be more specific?

PS: I want to play claymore again ;)
stephelton
Posts: 12
Joined: 28 May 2009, 07:10

Re: UI key editor?

Post by stephelton »

The SelectionEditor.exe creates a selectkeys.txt, which can easily be moved (or symlinked) to ~/.spring, and it works from there.

I had a crazy dream last night that I was playing spring in my household -- I recall very cleverly placing an air plant on top of a tall dresser.
User avatar
Mav
Posts: 258
Joined: 12 Nov 2009, 20:06

Re: UI key editor?

Post by Mav »

stephelton wrote:I had a crazy dream last night that I was playing spring in my household -- I recall very cleverly placing an air plant on top of a tall dresser.
Ha! I've had a dream like that before. Except it was outside, on the sidewalks, bushes, and grass of my apartment complex. The game played out on the ground, with the larger units about the size of mice. I used Kbots in the bushes (lots of mulch) and vehicles on the sidewalk and asphalt. No aircraft, however....
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: UI key editor?

Post by Tribulex »

stephelton wrote: I had a crazy dream last night that I was playing spring in my household -- I recall very cleverly placing an air plant on top of a tall dresser.
lmao the genius! where can i buy a dream like this.


I am working on a selectionkeys editor right now in lua. Its intended for xta, but maybe ill port it for general use.
stephelton
Posts: 12
Joined: 28 May 2009, 07:10

Re: UI key editor?

Post by stephelton »

Tribulex wrote:
stephelton wrote: I had a crazy dream last night that I was playing spring in my household -- I recall very cleverly placing an air plant on top of a tall dresser.
lmao the genius! where can i buy a dream like this.


I am working on a selectionkeys editor right now in lua. Its intended for xta, but maybe ill port it for general use.
Beautiful! In in game editor would be great. I might even be inclined to help if you've got the source available.
stephelton
Posts: 12
Joined: 28 May 2009, 07:10

Re: UI key editor?

Post by stephelton »

It looks like "Control_:" is not valid, as in the line

Code: Select all

Control_: AllMap+_InPrevSel+_ClearSelection_SelectAll+
My goal is to use a dvorak keyboard in spring and use the same physical keys for all the shortcuts I commonly use.

Am I screwed on keys like this?
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: UI key editor?

Post by Tribulex »

what sort of help would you provide? i have a chore for a willing codemonkey...
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: UI key editor?

Post by Beherith »

stephelton wrote:It looks like "Control_:" is not valid, as in the line

Code: Select all

Control_: AllMap+_InPrevSel+_ClearSelection_SelectAll+
My goal is to use a dvorak keyboard in spring and use the same physical keys for all the shortcuts I commonly use.

Am I screwed on keys like this?
Control_ is not enough. Use Control_[somebuttononkeyboard]
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: UI key editor?

Post by Pxtl »

I once had a squirrel problem in the walls. In my dreams, the problem was solved with some well-placed LLTs.
stephelton
Posts: 12
Joined: 28 May 2009, 07:10

Re: UI key editor?

Post by stephelton »

Beherith wrote:Control_ is not enough. Use Control_[somebuttononkeyboard]
That is "Control_:" where I am wanting to assign "control + colon"

On dvorak, the z key is remapped to :
stephelton
Posts: 12
Joined: 28 May 2009, 07:10

Re: UI key editor?

Post by stephelton »

Pxtl wrote:I once had a squirrel problem in the walls. In my dreams, the problem was solved with some well-placed LLTs.
Nice. I would have gone for heavy mines, personally.

One week during the hot, Texas summer, my air conditioner quit working. It appeared to be an electrical problem, because the unit was getting no power. At the same time, a critter made the space between our two stories its home. Eventually I came to find that it was burrowing up the hole through which the electrical wiring to the AC unit was run, and had rubbed the wires against the brick until they severed. That was a fun problem to solve.
stephelton
Posts: 12
Joined: 28 May 2009, 07:10

Re: UI key editor?

Post by stephelton »

Tribulex wrote:what sort of help would you provide? i have a chore for a willing codemonkey...
Well what are you needing?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: UI key editor?

Post by Beherith »

An arm, a leg, and preferably your eternal soul :)
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: UI key editor?

Post by SinbadEV »

I used to play a lot of ascii based video games and one night after watching one of the puppet master movies I had a horror dream but in 3rd person 2D ascii... RTS, programming and puzzle game dreams are standard fare for me... often then involve me convincing myself that I can somehow escape the alarm clock going off again.
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: UI key editor?

Post by Tribulex »

Beherith wrote:An arm, a leg, and preferably your eternal soul :)
pretty much. basically im saying no, unless you want to mindlessly optimize my code by getting rid of iterations and replacing them with tables.
Post Reply

Return to “Help & Bugs”