Keymaping
-
- Private
- Posts: 4
- Joined: Fri Dec 24, 2004 1:16 am
Keymaping
Hi,
I want to modify the keymaping in the bzflag19.bzc file such that I can have better ease of use.
My goal: have the mousewheel turn (not click) and make the radar range increase or decrease. That or make two keys change the radar range, say one zooms in, the other zooms out. (set displayRadarRange X)
Both would have increments.
First problem, bzflag erases all "major" modifications like adding the WheelUp bind. Ive found this on that site http://www.bzflag.org/doxygen/classBzfKeyEvent.html#s74
Second, I dont know if there are other possibilities besides /set and /bind that are accepted in the .bzc file
Thanks
I want to modify the keymaping in the bzflag19.bzc file such that I can have better ease of use.
My goal: have the mousewheel turn (not click) and make the radar range increase or decrease. That or make two keys change the radar range, say one zooms in, the other zooms out. (set displayRadarRange X)
Both would have increments.
First problem, bzflag erases all "major" modifications like adding the WheelUp bind. Ive found this on that site http://www.bzflag.org/doxygen/classBzfKeyEvent.html#s74
Second, I dont know if there are other possibilities besides /set and /bind that are accepted in the .bzc file
Thanks
The standard keymapping that I have for the 4 and 5 keys does radar incremental zoom out/in. From my config file:
bind 5 down "mult displayRadarRange 0.9524"
bind 6 down "mult displayRadarRange 1.05"
bind 5 down "mult displayRadarRange 0.9524"
bind 6 down "mult displayRadarRange 1.05"
-toaster
"So there I was, all alone, facing all of the enemy. I started driving in circles, until I had them surrounded, and then I escaped in the confusion."
"So there I was, all alone, facing all of the enemy. I started driving in circles, until I had them surrounded, and then I escaped in the confusion."
-
- Private
- Posts: 4
- Joined: Fri Dec 24, 2004 1:16 am
-
- Private
- Posts: 4
- Joined: Fri Dec 24, 2004 1:16 am
I believe these are semi-standard settings for the 1,2,3, and 4 keys:UnCoupDeMontreal wrote:Next step, is there a way to set the radar to a minimal/maximal range? Ive tried /set "min displayRadarRange 0.1" and it didnt do any thing
bind 1 down "set displayRadarRange 0.2"
bind 2 down "set displayRadarRange 0.4"
bind 3 down "set displayRadarRange 0.8"
bind 4 down "set displayRadarRange 1.2"
You can adjust the numbers to anything you'd like.
-
- Private
- Posts: 4
- Joined: Fri Dec 24, 2004 1:16 am
-
- Private First Class
- Posts: 5
- Joined: Sat Aug 30, 2003 2:29 am
- Location: Toronto, GWN
I love the incremental zoom in/out idea but...
Is there a way to get it to continuously zoom in or out while holding down a button on the steering wheel (ditto for the keyboard).
I'd like to just hold a button down and zoom in until I let go and vice versa.
On the same topic, is there a way to logically combine buttons? Say, for example, button one zooms in, button 2 zooms out, both buttons at the same time would reset the zoom to a default value?
I'd like to just hold a button down and zoom in until I let go and vice versa.
On the same topic, is there a way to logically combine buttons? Say, for example, button one zooms in, button 2 zooms out, both buttons at the same time would reset the zoom to a default value?