This simple widget does the following:
* If and only if 1 unit that can capture is selected, then pressing "C" = capture. Otherwise do nothing.
*Pressing Escape key clears current selection and disables the "press Shift+escape to access the quit menu" nag.
It may be of use to someone.
Widget:capture and escape key fix, atlastaxi
Moderator: Moderators
Widget:capture and escape key fix, atlastaxi
- Attachments
-
- tp_keyfix.lua
- Fix for C and Esc keys
- (959 Bytes) Downloaded 127 times
Last edited by Jools on 25 Nov 2011, 20:51, edited 1 time in total.
Re: Widget:capture and escape key fix
The widget does the following:
Press ESC to deselect and close all windows
Press C when commander is selected to capture (I have bound C to select commander in uikeys.txt)
Press L to order a transport to pick up selected unit, unless it's a transport itself.
You can enable/disable any of these inside the widget.
Press ESC to deselect and close all windows
Press C when commander is selected to capture (I have bound C to select commander in uikeys.txt)
Press L to order a transport to pick up selected unit, unless it's a transport itself.
You can enable/disable any of these inside the widget.
- Attachments
-
- order1.zip
- Unzip to Luaui/sounds
- (4.25 KiB) Downloaded 25 times
-
- gui_keyfix.lua
- (3.04 KiB) Downloaded 112 times
Re: Widget:capture and escape key fix
as a question because I don't know...
do the key ids change for different keyboards. I know some countries have very very different keys.
do the key ids change for different keyboards. I know some countries have very very different keys.
Re: Widget:capture and escape key fix
I would assume they don't. Isn't that the reason you actually have a code in the first place?
Re: Widget:capture and escape key fix
Fixed to be compatible with spring 84.0
- Attachments
-
- gui_keyfix.lua
- (3.81 KiB) Downloaded 124 times