Mouse control.....
Moderators: winston, another_commander
Mouse control.....
Dont know if there already is a way to do this, if there is then I havnt found it yet. I'm sure that Elite on the Amiga you could use the mouse for ship controls, and as I remember I got very used to it and preffered it to the joystick. (Dont think i'm getting confused with Frontier here.....).
Does anyone know if this can be done already. If not I think it would be nice to have the option.
Does anyone know if this can be done already. If not I think it would be nice to have the option.
- Uncle Reno
- ---- E L I T E ----
- Posts: 648
- Joined: Mon Apr 24, 2006 12:54 pm
- Location: UK
Yep, when in full screen press Shift and M (detail from this thread)
"Get back or I unleash my lethal spotted batoid!!"
What I do when not reading the Oolite bulletin board!
What I do when not reading the Oolite bulletin board!
Thanks!
Ok yeah now thats what i'm talking about!
- aegidian
- Master and Commander
- Posts: 1161
- Joined: Thu May 20, 2004 10:46 pm
- Location: London UK
- Contact:
I don't think so, there are always issues when you wish to use the mouse outside of the game window, or what you should do if the mouse leaves the game window.CWolf wrote:I play with a maximised window (need to otherwise can get tricky doing other things whilst in flight) - any way tis can be made to work in window mode?
- CWolf
- ---- E L I T E ----
- Posts: 317
- Joined: Mon Jul 03, 2006 12:33 pm
- Location: Currently floating round Eninre
Well, mouse is captured by game completely, cannot move out of window. Until you press SHIFT M again and then it is free as per normal.
Like Frelancer or Unreal Tournement, you pause it and the mouse is free.
Like Frelancer or Unreal Tournement, you pause it and the mouse is free.
The act of talking b*ll*cks whilst waving one's arms about wildly is referred to as testiculation.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Giles, on the Mac you can use CGAssociateMouseAndMouseCursorPosition() and CGWarpMouseCursorPosition() to stop the mouse from interacting with other windows. (The effects of these helpfully wear off if the app crashes, BTW.)
E-mail: [email protected]
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
I don’t see why the user experience aspect should be a problem when mouse control is optional anyway.
E-mail: [email protected]
Mouse Control in windowed mode
I've implemented mouse control in a way similar that original elite has, since fullscreen is unusable on linux with dual screen (haven't found a way for it to stay on one screen).
I've also added feature request to developer.berlios.de.
I've checked out source code from svn rev.2306 and made code changes and patch (downloadable from smoothware[dot]net/trunk_2306.svn_diff.gz) which does following:
Fullscreen mode should work as it was working before.
I've made changes to SDL windowed mode (not sure if these will work same on MacOSX) when mouse is enabled (shift-M):
- pressing RMB captures mouse and hides mouse pointer so mouse wont leave the window and activates mouse navigation
- releasing RMB releases the mouse and displays pointer again
- if game is in strict mode (no yaw-ing), moving mouse changes pitch/roll
- if game isn't in strict mode, moving mouse changes pitch/yaw (like in frontier) and mouse scroller changes roll
- additionally firing with LMB is not working if RMB isnt pressed
I've also added feature request to developer.berlios.de.
I've checked out source code from svn rev.2306 and made code changes and patch (downloadable from smoothware[dot]net/trunk_2306.svn_diff.gz) which does following:
Fullscreen mode should work as it was working before.
I've made changes to SDL windowed mode (not sure if these will work same on MacOSX) when mouse is enabled (shift-M):
- pressing RMB captures mouse and hides mouse pointer so mouse wont leave the window and activates mouse navigation
- releasing RMB releases the mouse and displays pointer again
- if game is in strict mode (no yaw-ing), moving mouse changes pitch/roll
- if game isn't in strict mode, moving mouse changes pitch/yaw (like in frontier) and mouse scroller changes roll
- additionally firing with LMB is not working if RMB isnt pressed
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Cracking first post!
Welcome to the Forums!
Welcome to the Forums!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
"Feature Lockdown phase" - now how cool a phrase is that?!another_commander wrote:@maxrd2: Thank you for the patch. We will have to test it a bit and then decide if it is good to go in the game. However, this might take some time. Oolite trunk is now in feature lockdown phase and any new feature code additions are on hold until after the v1.73 release.
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
erm ok.. It's more a fix than new feature but ok. Think only one which needs testing is MacOSX, and have left mouse disabled there as it was before . Under Win and Linux should work fine already.
Was playing it with this patch for 2-3 days and finally the game is playable without joystick.
Btw have re-uploaded patch yesterday since mouse was "jumping" sometimes. Occasionally SDL was passing enormous values for rel. mouse movement.
Was playing it with this patch for 2-3 days and finally the game is playable without joystick.
Btw have re-uploaded patch yesterday since mouse was "jumping" sometimes. Occasionally SDL was passing enormous values for rel. mouse movement.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
It’s very much a new feature rather than a fix, since it’s is a feature that has previously been explicitly rejected by Giles. (You’ll notice, however, that I was arguing in favour of it before, and I’m not hugely against it now.)maxrd2 wrote:erm ok.. It's more a fix than new feature but ok.
Your patch as is will either not work or provide a very bad user experience in OS X. There’s actually already support for mouse control in windowed mode in OS X debug builds, but significant changes need to be made for a good user experience.
E-mail: [email protected]