1.71 bbc controls

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

1.71 bbc controls

Post by Yodeebe »

Greetings!
I'd like to put the 'original' yawing (,. sx)controls onto my 1.71 game, which at present has some wierd combination of yaw & rudder. I'm afraid i can't cope without yaw, and the default 'direction keys' set up is just too one handed. I did see a post about this exact thing a while ago, but can't find it now.
whilst searching for it, it became apparent that you can define your own keys by editing the plist ??
would someone mind running me through the process, as i'm definitely 'mostly harmless' when it comes to computers. thanx.
Oh, i'm on an oldish G4 mac.
jody
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

Post by drew »

Hi Jody,

Welcome to the oolite forum! I'm afraid I'm a bit of a nonce as well, but I know there is a config file that you change to the keys....

There is info on the wiki page

Unfortunately I use a PC, not a Mac, so I'm not quite sure how it differs.

Meanwhile I'm sure that a proper knowledgeable person will be along before too long!

Cheers,

Drew.
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Post by Yodeebe »

drew wrote:
Hi Jody,

Welcome to the oolite forum! I'm afraid I'm a bit of a nonce as well, but I know there is a config file that you change to the keys....

There is info on the wiki page

Unfortunately I use a PC, not a Mac, so I'm not quite sure how it differs.

Meanwhile I'm sure that a proper knowledgeable person will be along before too long!

Cheers,

Drew.
Thanks, I know that. Its the replacement config file that i've loaded, only it doesn't behave the same as loading the bbc config from version 1.65. I have also tryed the config file from the 1.65 download into my 1.71 'game', but it still comes out the same - 'left' is yaw+rudder and not yaw only.
I wouldn't mind but my insurance company insists after the last few docking attempts in my cobra
:oops:
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Post by Disembodied »

Just to make sure, are we talking about roll or about yaw? (clicky) 'Cos yaw was only introduced from, I think, 1.68 onwards. Anyhoo, it sounds like you've maybe got roll AND yaw mapped onto the same keys. If you can open up your config file and paste the contents here (ideally between <code></code> tags, where the <>s are replaced by []s) then we* can probably sort out your problem!


*Not necessarily including me...
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Post by Yodeebe »

Disembodied wrote:
Just to make sure, are we talking about roll or about yaw
Ah! indeed I mean Roll, not Yaw

so, to correct myself:
"left" is a combination of roll and yaw, where i want it to be roll only.

I'll be back shortly with config file. must feed the kidz 1st!
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Post by Yodeebe »

you mean this?

Image
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Post by Disembodied »

Um... I don't know...

Anyway, let's bash on. :) In the Addons folder there should be another folder called "Config", containing a file called "keyconfig.plist". You should modify this to change your controls to what suits you. Here's an extract from mine for the movement controls (I also favour the old BBC configuration, and I've disabled yawing altogether as a foul and base heresy):

Code: Select all

	key_roll_left				= 44;		// ,
	key_roll_right				= 46;		// .
	key_pitch_forward			= 115;		// s
	key_pitch_back				= 120;		// x
	key_yaw_left				= 0;
	key_yaw_right				= 0;
You can either use the ASCII numerals as I have done here, where 44=, and 46=. and so on, or you could write them like this:

Code: Select all

	key_roll_left				= ","
	key_roll_right				= "."
	key_pitch_forward			= "s"
	key_pitch_back				= "x"
	key_yaw_left				= 0;
	key_yaw_right				= 0;
Setting yaw_left and yaw_right to 0 turns them off. As far as I know there are no problems caused by mixing ASCII numerals and the keypress itself between " "s.

Before messing about with the keyconfig.plist in the Addons folder, make a copy of it, in case you (or I) screw up! Alter it in a text editor, then save it back into your Addons/Config folder, and see how it goes. I'm far from an expert but I managed to do this without causing any catastrophe... YMMV, though. ;)
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Post by Yodeebe »

Hmmm. It appears to me that my config file has numbers (44 46 etc)for up, down, left roll, right roll, faster & slower. no yaw visible(?)
the putting of these controls on top of the 'normal' controls, where < and > are indeed yaw would seem to be the problem. should i either:
1/ look for the yaw control, to turn it off
2/ choose 2 different keys for roll (if someone could let me know the code numbers for 'b' and 'n' if they aren't already allocated?), and leave '< & >' for yaw
3/ go & do the washing up. :D
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

IIRC V1.65 didn't have yaw, and you say above you've over-written your 1.71 installs keyconfig.plist with your old file from 1.65. That probably explains why they're missing.

So I'd add the keys in, but set their value to zero.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Your keyConfig file looks very old. Better copy the current build-in keyConfig from within Oolite. To do this on a mac:

ctrl-click on oolite itself, than select "show package". Oolite will now open as folder. Look inside: contens->resources->Config for the keyConfig.plist. Copy that to the Config folder in your AddOn folder.
Oolite will use the version in the AddOn folder so that is the place to make your changes.

Now you can open it with a text editor or your mac plist editor.
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Post by Yodeebe »

hmm. still having problems i'm afraid, sorry.
I got the keyconfig.plist from the ctrl rightclick thingy - thanks for that - and it does now have all sorts of extra controls that look like they can be changed, however, i don't seem to be able to edit them. I changed the new plist to read&write from read only, and i can open it either by pressing 'open', which gives me this (after pressing 'dump'):


AHA

got it. thanks guys. I was trying to edit the bottom bit, re-write the 'strings' (?) and all sorts of nonsense.

What a treat too when i went to try out the controls, to find Capt james T kirk just in front of me! spent a good half hour trying (failing) to land inside the enterprise.

Realistic shipyards - OMG!

my poor old clockwork G4 does struggle when it gets complicated though.
Can it be up graded to cope? or can some of realistic shipyards (like all the star wars ships) be removed to make it work better?

one more thing (for now!), when loading an older save into this game, the external view no longer seems to work? any ideas?
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Post by Yodeebe »

thankyouthankyouthankyouthankyou.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

jody b wrote:
one more thing (for now!), when loading an older save into this game, the external view no longer seems to work? any ideas?
What ship are you flying? The external views are defined as part of the ship's set-up (in shipdata.plist, either as part of the main code's resources/config file or in an OXP's equivalent) and are ship-to-ship dependent (due to different sized ships and different authors). It's not unknown when you swap over ships from one that has them to one that doesn't for them to persist.

Depending on what the ship you're flying is, you may need to copy the script code for external views within the shipdata.plist from a ship that has external views to your one (after having backed up your .plist file in case of problems of course).
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

Realistic Shipyards is a compliation of about 80 OXPs by various writers. If you want to pick and mix, the easiest way is just to install the OXPs you want (downloadable from the Wikki OXP page) rather than using RS. The big advantage of RS is the ease of putting a hugh number of ships in with one download. This is a drain on system reasorches though and you do need a fast system to handle it. If you check out the OXP page you'll see a lot of packs have mutilple ships in them. My system is very old, but I get good game play with about 30 OXPs installed, giving about 100 different ships.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
drew
---- E L I T E ----
---- E L I T E ----
Posts: 2190
Joined: Fri May 19, 2006 9:29 am
Location: In front of a laptop writing a book.
Contact:

Post by drew »

Good to hear you got it sorted Jody!

Cheers,

Drew.
Drew is an author of SF and Fantasy Novels
WebsiteFacebookTwitter
Post Reply