Customising mouse control?

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Poro
Deadly
Deadly
Posts: 249
Joined: Sun Jan 03, 2010 1:51 am
Location: Don't look in your aft view...
Contact:

Customising mouse control?

Post by Poro »

I've mentioned it a couple of times in other threads, but I find the dead zone of the mouse control really impinges on long range sensitive aiming - especially when using a military laser.

When the RMB instantly centres the controls - why is there any need for a dead zone? At the very least could it not be reduced within a plist? (Sorry if it already can be, I just haven't found it yet)

It is possible to aim sensitively, by noticing the point on your cross hair where movement begins, deliberately aiming wide, and then slowly bring the ship back on aim - but it takes a while. If I fail to hit an enemy at long distance, I want it to be because my skill wasn't good enough, not because I failed to fiddle around with the interface in just the right way.

Alternatively, do any linux users know if there is a joystick emulation program available? I was thinking that if the mouse-emulated-joystick controlled aim like it does now, I could then hold down a keyboard button to engage the sensitivity 'hat' feature and then fine tune my aim.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Customising mouse control?

Post by JensAyton »

Poro wrote:
When the RMB instantly centres the controls - why is there any need for a dead zone?
I’ve been wondering this on an off for some time, and the only answer I can think of is that <whisper>aegidian is a keyboard player</whisper>.

So as of the next nightly, the dead zone does not apply to mice.
User avatar
Poro
Deadly
Deadly
Posts: 249
Joined: Sun Jan 03, 2010 1:51 am
Location: Don't look in your aft view...
Contact:

Post by Poro »

Great! This'll be the first time I've tried a 'trunk' build.

I know players are warned that they are not as stable as release builds - but have there been any truly horrible stories of OXPs going wildly wrong, or save games messing up?

Looking forward to it.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Any OXP that generates a deprecation warning in 1.74 won’t work in trunk. Your saved games are probably safe.
User avatar
caracal
Deadly
Deadly
Posts: 205
Joined: Wed Jun 25, 2008 11:31 am
Location: The Desert, USA
Contact:

Post by caracal »

Ahruman wrote:
Any OXP that generates a deprecation warning in 1.74 won’t work in trunk. Your saved games are probably safe.
Plus any OXP that is only supported on 1.74 and nothing higher (like all of Thargoid's, and some others) won't work with trunk. At least those are listed on screen at startup. And yeah, my saved games have continued to work as normal. No sudden additions of a million credits or a thousand kills, darnit! ;)
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Most of mine will work, but you would have to remove the required.plist file from them.

It's deliberately set to only work with 1.74.99 and below to prevent some of the "bug reports" that turn out later to be due to trunk errors instead. Hence you have to deliberately change the OXP to get them to work, which serves as a warning and a sanity check...
User avatar
caracal
Deadly
Deadly
Posts: 205
Joined: Wed Jun 25, 2008 11:31 am
Location: The Desert, USA
Contact:

Post by caracal »

Thargoid wrote:
Most of mine will work, but you would have to remove the required.plist file from them.

It's deliberately set to only work with 1.74.99 and below to prevent some of the "bug reports" that turn out later to be due to trunk errors instead. Hence you have to deliberately change the OXP to get them to work, which serves as a warning and a sanity check...
I'm glad you said it, thus removing the temptation for me to say it. :) I considered adding this info in my original message, but figured if you wanted to come out with it, you would.

As an aside, this isn't really an "error" in trunk, it's a behavior they've changed by way of rooting out some of the more difficult bugs: The script time limit is catching a lot of scripts, from what I've seen over the past few days. The one of yours that I saw hit by it are drones_Launcher and stellarSerpents_head.js. I presume they aren't really in an infinite loop; one of the scripts I'm working on gets caught by it too, and it's definitely not "stuck". But to quote Ahruman, "I expect nightlies won’t be very popular for a while..." 8)
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

I don't mind people trying my OXPs with trunk, but as I've said before it's at their own risk and unsupported (in the sense that I make no guarantees that they will work).

Your comment about the script timer stuff is a good case in point - as some things are under test in trunk at the moment then OXPs that are fine will fail to work due to that testing.

Plus trunk is only really worth "supporting" from an OXP viewpoint just before a test release (aside from possibly noting depreciations) as then it's semi-finalised. At points like now when the next proper release is a long way off then the target is moving far too much and OXP support is almost meaningless.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

The script time limiter has been relaxed to 0.25 seconds now (and, a while back, 2.0 seconds during startup). This is because I’m going on holiday next week and don’t expect to use the time to find script interface hot spots. :-)
User avatar
caracal
Deadly
Deadly
Posts: 205
Joined: Wed Jun 25, 2008 11:31 am
Location: The Desert, USA
Contact:

Post by caracal »

Ahruman wrote:
I’m going on holiday next week and don’t expect to use the time to find script interface hot spots. :-)
Good! You are one hard-workin' dude, I must say, and you deserve some time off. May your holiday be joyful and may it leave you refreshed and replenished.
Post Reply