help with keyboard

General discussion for players of Oolite.

Moderators: winston, another_commander

limbo
Competent
Competent
Posts: 38
Joined: Mon Feb 08, 2016 11:13 am

help with keyboard

Post by limbo »

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: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: help with keyboard

Post by Cody »

Try holding Ctrl with the manoeuvring keys - and welcome aboard, Commander!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
limbo
Competent
Competent
Posts: 38
Joined: Mon Feb 08, 2016 11:13 am

Re: help with keyboard

Post by limbo »

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: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: help with keyboard

Post by Cody »

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).
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: help with keyboard

Post by another_commander »

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
Competent
Competent
Posts: 38
Joined: Mon Feb 08, 2016 11:13 am

Re: help with keyboard

Post by limbo »

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
Competent
Competent
Posts: 38
Joined: Mon Feb 08, 2016 11:13 am

Re: help with keyboard

Post by limbo »

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: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: help with keyboard

Post by Norby »

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 »

Welcome Limbo!
Wheeling an' dealing while cruisin' the galaxies
limbo
Competent
Competent
Posts: 38
Joined: Mon Feb 08, 2016 11:13 am

Re: help with keyboard

Post by limbo »

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 »

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 »

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: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: help with keyboard

Post by another_commander »

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
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: help with keyboard

Post by phkb »

And welcome to the boards, commander!
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: help with keyboard

Post by Cody »

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!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Post Reply