Keyboard shortcuts widget.

Keyboard shortcuts widget.

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Keyboard shortcuts widget.

Post by Gota »

Hi I was wondering if anyone can make a keyboard shortcut widget.
What it should do is display default shortcuts and what they do when u turn the widget on.
I was thinking that might replace eyes.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: Keyboard shortcuts widget.

Post by ZellSF »

I think the CA interface does that. What really would be nice is an UI for binding keys.
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Keyboard shortcuts widget.

Post by Tribulexrenamed »

Look at the tooltip.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Keyboard shortcuts widget.

Post by Forboding Angel »

ZellSF wrote:I think the CA interface does that. What really would be nice is an UI for binding keys.

Does in Evo as well (using that menu that quantum created). It could be made to be a bit more visible though.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Keyboard shortcuts widget.

Post by Tobi »

ZellSF wrote:I think the CA interface does that. What really would be nice is an UI for binding keys.
There already are multiple UIs for binding keys in game, the /bind /unbind chat commands, and there is a special mode (don't ask me how to enter it) where you can click a build button and then press a key and it will assign that key to that buildbutton.

Maybe you mean a GUI though :-)
bashar
Posts: 152
Joined: 03 Dec 2006, 23:06

Re: Keyboard shortcuts widget.

Post by bashar »

Would be cool, and would maybe help to solve some issue about keyz on azerty keyboards
AnniXa
Posts: 10
Joined: 14 May 2008, 14:40

Re: Keyboard shortcuts widget.

Post by AnniXa »

Tobi wrote:
ZellSF wrote:I think the CA interface does that. What really would be nice is an UI for binding keys.
There already are multiple UIs for binding keys in game, the /bind /unbind chat commands, and there is a special mode (don't ask me how to enter it) where you can click a build button and then press a key and it will assign that key to that buildbutton.

Maybe you mean a GUI though :-)

can you somehow get information how to enter those mode?
would be very usefull to a noob like me =)
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Keyboard shortcuts widget.

Post by trepan »

Hotbinding is described in uikeys.txt
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Keyboard shortcuts widget.

Post by Tribulexrenamed »

trepan wrote:Hotbinding is described in uikeys.txt
As are all the bindings themselves. Anything to do with binding goes in uikeys.txt, if you are a noob, sniff around in there. It is quite useful to mess with.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Keyboard shortcuts widget.

Post by Beherith »

Oh man, sniffing around in uikeys.txt was very frustrating on my first try.
Every bind line was commented out (I know those are the default binds), I didnt notice I had to unbind a key in order to rebind it. Also it didnt tell me you could use the buildunit_* binds :)

I had to consult a pro to actually make it work.
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Keyboard shortcuts widget.

Post by Tribulexrenamed »

You do not have to unbind. You can bind 1 key to multiple actions.
Post Reply

Return to “Lua Scripts”