Disabling the cursor?

All things BZFlag - no [OT] here please
.Zero
Private First Class
Private First Class
Posts: 36
Joined: Tue Mar 20, 2007 8:33 pm

Disabling the cursor?

Post by .Zero »

I use the keyboard to play and the cursor is sort of in the way when I play. Is there any way to turn it off or at least make it so that it doesn't auto-center itself in the HUD?
Legolas_
Private First Class
Private First Class
Posts: 513
Joined: Thu Jan 20, 2005 10:24 pm

Post by Legolas_ »

Just put your cursor to the middle, then dont touch it :P
User avatar
GMMan
Private First Class
Private First Class
Posts: 186
Joined: Sat May 13, 2006 9:32 pm
Location: On the time-space continuum

Post by GMMan »

Or, if you can make one, make an invisible cursor, change to that when you're playing BZFlag, and presto, your cursor's gone. Of course, then you have to find the cursor again. Your problem :D
I haven't touched BZFlag for years, but maybe sometime I'll make a comeback.

I'm on Twitter. And I mess with webOS. This signature is not a blog.
User avatar
Grace F
Sergeant
Sergeant
Posts: 978
Joined: Sun Oct 01, 2006 12:29 pm
Location: Adelaide, AUSTRALIA

Post by Grace F »

When I first started playing I was on keyboard and I had the same problem. Try putting the curser in the very top corner of your screen, then use the keyboard from there. I suggested putting it in the top corner as it's probably the furthest away from you.
Image
Image
User avatar
Davy Jones
Private First Class
Private First Class
Posts: 297
Joined: Thu Jan 04, 2007 4:39 am
Location: Davy Jone's Locker

Post by Davy Jones »

Simply unplug the mouse from your computer

Problem solved, or if you are having trouble seeing because the cursor is in the way, move it to the top right corner, then unplug it.
Owner @ The Twin Towers
Admin @ The Two Boxes
Cop @ Army Of One
Image
Image
.Zero
Private First Class
Private First Class
Posts: 36
Joined: Tue Mar 20, 2007 8:33 pm

Post by .Zero »

Some interesting solutions here ;)
Does unplugging the mouse make it stop from centering after every spawn?
User avatar
Grace F
Sergeant
Sergeant
Posts: 978
Joined: Sun Oct 01, 2006 12:29 pm
Location: Adelaide, AUSTRALIA

Post by Grace F »

No, the mouse still gets put to the center. I don't know why it does that, it probably should be changed :| , but either way. Learn to live with it or learn to play with it :P
Last edited by Grace F on Tue Mar 27, 2007 10:00 pm, edited 1 time in total.
Image
Image
User avatar
Davy Jones
Private First Class
Private First Class
Posts: 297
Joined: Thu Jan 04, 2007 4:39 am
Location: Davy Jone's Locker

Post by Davy Jones »

.Zero wrote:Some interesting solutions here ;)
Does unplugging the mouse make it stop from centering after every spawn?
Does it?

Hmm... never noticed...
Owner @ The Twin Towers
Admin @ The Two Boxes
Cop @ Army Of One
Image
Image
Longhair
Private First Class
Private First Class
Posts: 330
Joined: Tue Feb 08, 2005 6:06 pm
Location: Lancaster, PA
Contact:

Post by Longhair »

Funny, I was just reading about a tiny little program that hides the mouse when you aren't using it. Haven't tried it out yet, but maybe it could be useful if you're a keyboard player. It's only for X11 (Linux/BSD) but maybe the Windows/Mac crowd has something similar?
Longhair
Private First Class
Private First Class
Posts: 330
Joined: Tue Feb 08, 2005 6:06 pm
Location: Lancaster, PA
Contact:

Post by Longhair »

Hmmm, tried using unclutter, but it doesn't hide the mouse when BZ is running fullscreen.
meeba
Master Sergeant
Master Sergeant
Posts: 507
Joined: Sun Mar 12, 2006 10:49 pm
Location: N. Sanity Beach

Post by meeba »

I personally like the cursor centered. I play with joystick and keyboard. The center cursor helps me aim.
.Zero
Private First Class
Private First Class
Posts: 36
Joined: Tue Mar 20, 2007 8:33 pm

Post by .Zero »

Thanks for all the replies. I guess I will have to live with it... and find out how to not get shot head on , which is why I'd have liked to turn it off (can't focus on the center w/o focusing on the HUD+cursor)
User avatar
GMMan
Private First Class
Private First Class
Posts: 186
Joined: Sat May 13, 2006 9:32 pm
Location: On the time-space continuum

Post by GMMan »

Grace F
The mouse always returns to the center of the mouse box because it makes the tank stopped when you spawn, instead veering off to the direction your mouse is. Imagine that being changed. "Ummm.... I'm having this problem where the tank is going to the side even when I didn't ask it to, and steering me into bullets..." That'll be funny.
I haven't touched BZFlag for years, but maybe sometime I'll make a comeback.

I'm on Twitter. And I mess with webOS. This signature is not a blog.
.Zero
Private First Class
Private First Class
Posts: 36
Joined: Tue Mar 20, 2007 8:33 pm

Post by .Zero »

GMMan wrote:Grace F
The mouse always returns to the center of the mouse box because it makes the tank stopped when you spawn, instead veering off to the direction your mouse is. Imagine that being changed. "Ummm.... I'm having this problem where the tank is going to the side even when I didn't ask it to, and steering me into bullets..." That'll be funny.
Wouldn't it be better if the cursor doesn't center if you set controls to keyboard only?
User avatar
Grace F
Sergeant
Sergeant
Posts: 978
Joined: Sun Oct 01, 2006 12:29 pm
Location: Adelaide, AUSTRALIA

Post by Grace F »

You can't set it to only the Keyboard, or only the mouse. For mousers, it's better the way it is. Just for the keyboarders its a nuisance. There should be a way "hide" it in BZflag. Since you use the keyboard for the most part anyway.
Image
Image
User avatar
Davy Jones
Private First Class
Private First Class
Posts: 297
Joined: Thu Jan 04, 2007 4:39 am
Location: Davy Jone's Locker

Post by Davy Jones »

perhaps we could add the "mouse center on spawn" option in the GUI?
Owner @ The Twin Towers
Admin @ The Two Boxes
Cop @ Army Of One
Image
Image
User avatar
BinarySpike
Corporal
Corporal
Posts: 735
Joined: Mon Mar 28, 2005 11:58 pm
Contact:

Post by BinarySpike »

.Zero wrote:Thanks for all the replies. I guess I will have to live with it... and find out how to not get shot head on , which is why I'd have liked to turn it off (can't focus on the center w/o focusing on the HUD+cursor)
I relied on the mouse being at the center of the screen on lasermania, it helped me aim. Cause the *exact* point your cursor is at is the *exact* point you shoot at.

As for hiding it, there is probably some SDL function for it, meaning you would call something like SDL_CursorHide(true) when you exit the menu and SDL_CursorHide(false) when a menu opens. Meaning add a simple "Hide mouse" feature into the GUI
.Zero
Private First Class
Private First Class
Posts: 36
Joined: Tue Mar 20, 2007 8:33 pm

Post by .Zero »

Grace F wrote:You can't set it to only the Keyboard, or only the mouse. For mousers, it's better the way it is. Just for the keyboarders its a nuisance. There should be a way "hide" it in BZflag. Since you use the keyboard for the most part anyway.
What do you mean you can't set it only to keyboard? It's right there in input settings,active input device.
BinarySpike wrote:I relied on the mouse being at the center of the screen on lasermania, it helped me aim. Cause the *exact* point your cursor is at is the *exact* point you shoot at.
That's a good point. Fortunately, I'm not good enough to worry about such small details yet ;)
User avatar
Grace F
Sergeant
Sergeant
Posts: 978
Joined: Sun Oct 01, 2006 12:29 pm
Location: Adelaide, AUSTRALIA

Post by Grace F »

.Zero wrote:
Grace F wrote:You can't set it to only the Keyboard, or only the mouse. For mousers, it's better the way it is. Just for the keyboarders its a nuisance. There should be a way "hide" it in BZflag. Since you use the keyboard for the most part anyway.
What do you mean you can't set it only to keyboard? It's right there in input settings,active input device.
Ahh oops sry :P
But yea anway, back when I used the keyboard, I used the curser as an aimer aswell, it does help.
Image
Image
User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy »

I use keyboard, mouse does not centre.
Sounds to me like you all need to get a real OS, if you are having problems with your current one.
I use Mac OS X.
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007
User avatar
Kesnar
Private First Class
Private First Class
Posts: 38
Joined: Sat Jan 27, 2007 12:43 pm
Location: Kesnaria

Post by Kesnar »

why to disable it
Image
.Zero
Private First Class
Private First Class
Posts: 36
Joined: Tue Mar 20, 2007 8:33 pm

Post by .Zero »

CannonBallGuy wrote:I use keyboard, mouse does not centre.
Sounds to me like you all need to get a real OS, if you are having problems with your current one.
I use Mac OS X.
What would qualify as a 'real' OS? I'm currently running Ubuntu Edgy and the last Mac I owned had System 7 installed. I don't use my computer for video and audio editing and like having plenty of choice when it comes to the look of an OS. Macs never really did it for me.

I do find it interesting that the mouse does not center on OSX though.

I wonder if I could run a program in the background to check and put the mouse in the bottom corner of the screen. It'd probably be considered cheating though... :?
User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy »

In the context of this topic, a real OS would be one that doesn't centre your mouse cursor when you don't want it to...
Enjoy noobuntu. :)
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007
dango
Private First Class
Private First Class
Posts: 1400
Joined: Sun Feb 06, 2005 5:40 pm
Location: Somewhere over there.

Post by dango »

.zero: that wouldn't be cheating if you are just moving the mouse...
Image
User avatar
BinarySpike
Corporal
Corporal
Posts: 735
Joined: Mon Mar 28, 2005 11:58 pm
Contact:

Post by BinarySpike »

CannonBallGuy wrote:I use keyboard, mouse does not centre.
Sounds to me like you all need to get a real OS, if you are having problems with your current one.
I use Mac OS X.
Do you use keyboard only? (aka mouse turned off)

Cause on Mac os X the mouse does _center_. On 10.2, 10.3, and 10.4. Bzflag centers it not your OS.
.Zero wrote:What would qualify as a 'real' OS? I'm currently running Ubuntu Edgy and the last Mac I owned had System 7 installed.
First, get Suse. Second burn your System 7 alive. System 7 is so old I would give you my Mac os 9 CD just to get rid of it... (/me is kidding)


2.2 will have an option to hide the mouse when you spawn. If you bump the mouse it will re-appear till you spawn again, for users who use keyboard
.Zero wrote:I wonder if I could run a program in the background to check and put the mouse in the bottom corner of the screen. It'd probably be considered cheating though...
No it wouldn't. There is no way to use it for gain. I have AutoHotKey and I can make you a script to do it easy (I run a script in the background to correct common mispellings in bzflag... like "teh")

if you want the script just PM me.
Post Reply