N/S/E/W hotkeys, and LUA widget key
Moderator: Moderators
N/S/E/W hotkeys, and LUA widget key
We have keys to rotate the buildings-to-be-placed, and that is good.
However, I noticed that under a tense game, it takes me many valuable seconds to properly turn building, as I have to press the key, watch the screen to see how it turned, press again, then a few more time because I overturned, etc... Instead I would like to have four user definable keys that allow me to directly set it to north, south, east, west.
I looked into uikeys.txt, and there are "buildfacing inc" and "buildfacing dec", but I found no "buildfacing north". Is there such a bindable command? If not, please add it.
Similarly, how do I change LUA key from F11 with uikeys.txt?
However, I noticed that under a tense game, it takes me many valuable seconds to properly turn building, as I have to press the key, watch the screen to see how it turned, press again, then a few more time because I overturned, etc... Instead I would like to have four user definable keys that allow me to directly set it to north, south, east, west.
I looked into uikeys.txt, and there are "buildfacing inc" and "buildfacing dec", but I found no "buildfacing north". Is there such a bindable command? If not, please add it.
Similarly, how do I change LUA key from F11 with uikeys.txt?
It's still rather have N/S/E/W hotkeys, quicker and more precise.
Edit:
Nevermind, found out in http://trepan.bzflag.bz/spring/cmds.txt that indeed there is buildfacing <"inc" | "dec" | "north" | "south" | "east" | "west">
Not sure where I was supposed to find it.
Woot! I even made it so that when taping twice some key, it "build socket or window facing north".
Also found that:
unbindkeyset Any+f12
bind f12 luaui selector
bind C+f12 luaui tweakgui
allows me to free F11 and let F12 bring the widget selector. However I can't close it with F12, I still have to use either F11 or Esc to close it.
Edit:
Nevermind, found out in http://trepan.bzflag.bz/spring/cmds.txt that indeed there is buildfacing <"inc" | "dec" | "north" | "south" | "east" | "west">
Not sure where I was supposed to find it.
Woot! I even made it so that when taping twice some key, it "build socket or window facing north".
Also found that:
unbindkeyset Any+f12
bind f12 luaui selector
bind C+f12 luaui tweakgui
allows me to free F11 and let F12 bring the widget selector. However I can't close it with F12, I still have to use either F11 or Esc to close it.

I put:
bind numpad2 buildfacing south
bind numpad4 buildfacing west
bind numpad6 buildfacing east
bind numpad8 buildfacing north
In my uikeys.txt and it works all good and well, even when combined with
bind numpad2 buildunit_socket
bind numpad2 buildunit_window
...
So please consider that feature request null and void. And sorry for posting before trying hard and thorough.
bind numpad2 buildfacing south
bind numpad4 buildfacing west
bind numpad6 buildfacing east
bind numpad8 buildfacing north
In my uikeys.txt and it works all good and well, even when combined with
bind numpad2 buildunit_socket
bind numpad2 buildunit_window
...
So please consider that feature request null and void. And sorry for posting before trying hard and thorough.
I would like that a lot. I liked that feature in CnC generals, and I think spring would do well with it. Allows for more precise rotation, and realatively quick to use.Ishach wrote:Alot of games use a right click drag system to face buildings, maybe this is possible with LUA?
EDIT:zwzsg, I tried putting in your keys into uikeys.txt, and all they did was pan the screen. Any help?
-
- Posts: 59
- Joined: 07 May 2005, 23:48
-
- Posts: 59
- Joined: 07 May 2005, 23:48