help with keyboard

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
limbo
Above Average
Above Average
Posts: 19
Joined: Mon Feb 08, 2016 11:13 am

help with keyboard

Post by limbo » Mon Feb 08, 2016 11:22 am

g'day, just found this wonderful remake.
using keyboard to fly... control (pitch, roll, dive, climb) is to 'fast' or takes too big a jump per press... so to speak,
is there any way to fine tune it?

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13634
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: help with keyboard

Post by Cody » Mon Feb 08, 2016 11:29 am

Try holding Ctrl with the manoeuvring keys - and welcome aboard, Commander!

limbo
Above Average
Above Average
Posts: 19
Joined: Mon Feb 08, 2016 11:13 am

Re: help with keyboard

Post by limbo » Mon Feb 08, 2016 11:31 am

thank you.
will try that

edit: still way to hard to aim a laser.
may have to invest in a stick....

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13634
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: help with keyboard

Post by Cody » Mon Feb 08, 2016 11:42 am

There are plenty of keyboard-only players (including the Devs), so it can be done. Myself, I use a budget 'stick (though I can operate with keyboard only).

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5396
Joined: Wed Feb 28, 2007 7:54 am

Re: help with keyboard

Post by another_commander » Mon Feb 08, 2016 11:56 am

You can achieve what you want by editing the .GNUstepDefaults file (I will assume Windows here, but the file is present also on Linux - for Mac, there is a different defaults system of which I don't know much). You will still have to hold Ctrl down though when you want precision, so it may or may not be very convenient.

So, in your Oolite installation, go to oolite.app\GNUstep\Defaults and open the file .GNUstepDefailts in a text editor. Avoid Windows Notepad, prefer Wordpad instead or any other text editor, as long as it is not Notepad. Add this line in the body of the file:

Code: Select all

"flight-arrow-key-precision-factor" = 0.1;
This will set a very slow precision movement when you hold control down. You can experiment with the value until you find one that works best for you. The game's default (which you have already found a bit too fast) is 0.5.

limbo
Above Average
Above Average
Posts: 19
Joined: Mon Feb 08, 2016 11:13 am

Re: help with keyboard

Post by limbo » Mon Feb 08, 2016 12:11 pm

i prefer keyboard, and intend to give it a go for a little while.
have been playin c64 elite on an emu on keyboard, and found this...

steep learning curve.. hehehe

limbo
Above Average
Above Average
Posts: 19
Joined: Mon Feb 08, 2016 11:13 am

Re: help with keyboard

Post by limbo » Mon Feb 08, 2016 12:12 pm

another_commander wrote:You can achieve what you want by editing the .GNUstepDefaults file (I will assume Windows here, but the file is present also on Linux - for Mac, there is a different defaults system of which I don't know much). You will still have to hold Ctrl down though when you want precision, so it may or may not be very convenient.

So, in your Oolite installation, go to oolite.app\GNUstep\Defaults and open the file .GNUstepDefailts in a text editor. Avoid Windows Notepad, prefer Wordpad instead or any other text editor, as long as it is not Notepad. Add this line in the body of the file:

Code: Select all

"flight-arrow-key-precision-factor" = 0.1;
This will set a very slow precision movement when you hold control down. You can experiment with the value until you find one that works best for you. The game's default (which you have already found a bit too fast) is 0.5.
cool. thanks

User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2543
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: help with keyboard

Post by Norby » Mon Feb 08, 2016 12:46 pm

another_commander wrote:

Code: Select all

"flight-arrow-key-precision-factor" = 0.1;
Useful, thank you! Added into Hidden Settings in Oolite.

User avatar
onno256
---- E L I T E ----
---- E L I T E ----
Posts: 286
Joined: Thu Aug 12, 2010 11:31 am
Location: The Netherlands

Re: help with keyboard

Post by onno256 » Mon Mar 28, 2016 11:40 am

Welcome Limbo!
Wheeling an' dealing while cruisin' the galaxies

limbo
Above Average
Above Average
Posts: 19
Joined: Mon Feb 08, 2016 11:13 am

Re: help with keyboard

Post by limbo » Tue Mar 29, 2016 10:17 am

Thank you

User avatar
onno256
---- E L I T E ----
---- E L I T E ----
Posts: 286
Joined: Thu Aug 12, 2010 11:31 am
Location: The Netherlands

Re: help with keyboard

Post by onno256 » Wed Mar 30, 2016 10:37 am

Hehe, you're coming for a hell of a ride, also good blokes and gals here!
Wheeling an' dealing while cruisin' the galaxies

merchant marine
Harmless
Harmless
Posts: 1
Joined: Fri Apr 26, 2019 12:17 am

Re: help with keyboard

Post by merchant marine » Wed May 15, 2019 1:17 am

Norby wrote:
Mon Feb 08, 2016 12:46 pm
another_commander wrote:

Code: Select all

"flight-arrow-key-precision-factor" = 0.1;
Useful, thank you! Added into Hidden Settings in Oolite.
this code tweak doesn't work.

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5396
Joined: Wed Feb 28, 2007 7:54 am

Re: help with keyboard

Post by another_commander » Wed May 15, 2019 10:40 am

merchant marine wrote:
Wed May 15, 2019 1:17 am
this code tweak doesn't work.
I checked it earlier and it it does work. Make sure there were no other accidental edits in .GNUstepDefaults. That particular file is quite sensitive to editing and if a syntax error gets in it, then Oolite will delete it and create it afresh upon launch. In such case, yes, it would appear that it did not work.

User avatar
phkb
Commodore
Commodore
Posts: 2403
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: help with keyboard

Post by phkb » Wed May 15, 2019 12:49 pm

And welcome to the boards, commander!

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13634
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: help with keyboard

Post by Cody » Sun May 19, 2019 1:42 pm

another_commander wrote:
Wed May 15, 2019 10:40 am
That particular file is quite sensitive to editing and if a syntax error gets in it, then Oolite will delete it and create it afresh upon launch.
Yeah, that can be irksome if you have a lot of tweaks! I got into the habit of making a back-up of it if I was going tinkering!


And welcome aboard, Commander!

Post Reply