Page 1 of 1
Posted: Fri Dec 24, 2004 1:24 am
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
Posted: Fri Dec 24, 2004 1:47 am
Idon't know if this is possible, so maybe it would be better stated as an enhancement? I think they are good ideas.
Posted: Fri Dec 24, 2004 1:52 am
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"
Posted: Fri Dec 24, 2004 1:55 am
Sweet! gonna try it!
btw, is anyone able to make the mouse wheel setting work? It is WheelUp or WheelDown?
Edit: Loved it! thank you very much!
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
Posted: Fri Dec 24, 2004 2:53 am
the mousewheel is not supported.
Posted: Fri Dec 24, 2004 3:17 am
Ok, thats sad though.
Is there any possibility it will ever be supported?
Thanks for the info
Posted: Fri Dec 24, 2004 6:00 am
the SDL builds of the next release may support it as buttons 4 and 5 on the mouse.
Posted: Fri Dec 24, 2004 1:19 pm
now this may be a bit outdated but i have a stupid idea (not unusual.) you could put in your stuff and then edit the conf file so that BZFlag does not have permission to write on it? might jam some other stuff though
Posted: Sat Dec 25, 2004 4:21 pm
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
I believe these are semi-standard settings for the 1,2,3, and 4 keys:
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.
Posted: Mon Dec 27, 2004 11:09 pm
Thanks toaster, worked very well after I ajusted to my needs the factors.
Happy New Year!
I love the incremental zoom in/out idea but...
Posted: Thu Jan 27, 2005 12:29 am
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?
Posted: Thu Jan 27, 2005 5:19 pm
SDL build in 2.0 already allows use of mouse wheel. By default, eventually combined with shift and control, scroll chat area, zoom in/out the radar, zoom in/out the window view