Page 1 of 3
Where can I find my ship in the relevant shipdata.plist
Posted: Mon Nov 03, 2014 11:10 pm
by andyGSheffUK
OK, so here's my problem...
Like other threads (at least one) I've seen I have problems with my own ship obscuring my views (the most bothersome being Fore and Aft).
OK - so I think what I need to do is to edit the shipdata.plist and change something like:
<key>view_position_aft</key>
<string>0.0 12.92 -51.65</string>
(Thanks to Diziet Sma)
Great. Now I think that the relevant file might be in: opt/Oolite/AddOns/Griff_Shipset_Addition_v1.23.oxp
but when I finally manage to open the shipdata.plist file (having opened the relevant folder as an Administrator)
I can't find the relevant info for the Python ET Special
So - where can I find the shipdata.plist file for a specific ship? (is there a list of relevant oxp's? and has this changed as part of release 1.80?)
Where in the file (when I find it) is the ship I want to edit?
Some possibly relevant info: my OS is Linux Mint and I think the relevant version of Oolite v1.80 was installed as Administrator
(just to confuse myself I've previously installed Oolite as a non-Administrator, that version is in my home directory under .Oolite)
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Mon Nov 03, 2014 11:15 pm
by Cody
andyGSheffUK wrote:... opt/Oolite/AddOns/Griff_Shipset_Addition_v1.23.oxp...
Just to mention that this OXP may be a little broken in Oolite 1.80 - but you can get his individual ship OXPs for Oolite 1.80
here.
Mind you, Oolite's own core ships look pretty damn good now - they're all unshadered versions of Griff's ships.
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Mon Nov 03, 2014 11:18 pm
by CheeseRedux
As far as I know – and the Wiki seems to agree – the Python ET comes from Aegidian's X-Ships. I've been away for a while though, so there may be a Griff version by now.
ETA:
If it's the X-ships you're after: Lines 448 through 455 in shipdata.plist
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Mon Nov 03, 2014 11:21 pm
by Cody
CheeseRedux wrote:As far as I know – and the Wiki seems to agree – the Python ET comes from Aegidian's X-Ships.
Well spotted, CR - and I'm sure Griff has not made a version of it (not in his shipset, anyway).
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Mon Nov 03, 2014 11:44 pm
by andyGSheffUK
Sorry fellows - but you're not helping much - just to explain, in the opt/Oolite etc directory there are the following OXPs:
BGS-A1.9.oxp Delightful-Docking.oxp liners_v1.6.oxp System_Features_Rings_1.1.oxp
BigShips 1.02.oxp Griff_Shipset_Addition_v1.23.oxp randomshipnames1.4.oxp System_Features_Sunspots_1.4.oxp
Cabal_Common_Library1.7.oxp Griff_Shipset_Replace_v1.34.oxp Snoopers2.5.oxp TalkativeCompass_1.0.4.oxp
custsounds.oxp Griff_Shipset_Resources_v1.2.25.oxp Staer9ShipsetShadedv1.2.oxp
I haven't deliberately installed Griffs ships - they seem to have come automatically with v1.80
So - in the light of this - can you explain any more clearly?
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Mon Nov 03, 2014 11:49 pm
by Cody
andyGSheffUK wrote:... they seem to have come automatically with v1.80
No, they don't - OXPs have to be installed! Where did you download Oolite 1.80 from, btw?
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Mon Nov 03, 2014 11:55 pm
by CheeseRedux
andyGSheffUK wrote:Staer9ShipsetShadedv1.2.oxp
That one has the ET as well. Most likely the one you're looking for.
ETA:
I think I've spotted the problem. Line 2420 defines view_position_aft, but I cannot see any forward, port or starboard anywhere. Most likely some default values are used, which don't work well with that ship model.
ETA2:
Borrowing some code from the standard Python:
Code: Select all
view_position_aft = "0.0 9.150712 -64.8269";
view_position_forward = "0.0 1.18304 62. 0972";
view_position_port = "-35.80095 2.0 -27.05945";
view_position_starboard = "35.80095 2.0 -27.05945";
So you want to insert three lines with the fwd, pt & stbd ones after 2420 in the shipdata.plist.
If you're lucky, the Python ET is similar enough in shape that they'll work out of the box. If not, you'll have to tweak them to fit. First number is left-right (negative-positive), second I
presume is up-down with up positive, third is forward-aft (positive-negative).
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Tue Nov 04, 2014 12:39 am
by andyGSheffUK
Cody wrote:Where did you download Oolite 1.80 from, btw?
This version of Oolite was easier to install than previous ones because it's now available in the Software Packages for Linux Mint.
However that does mean I'm less familiar with exactly what was installed.
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Tue Nov 04, 2014 12:51 am
by Cody
Hmm... in that case, it seems to be packaged with several out-of-date OXPs.
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Tue Nov 04, 2014 2:23 am
by Diziet Sma
andyGSheffUK wrote:Cody wrote:Where did you download Oolite 1.80 from, btw?
This version of Oolite was easier to install than previous ones because it's now available in the Software Packages for Linux Mint.
That's odd.. when I check the Package Manager for Oolite packages available in Mint17, I only see Oolite 1.77.1. And 1.80 isn't in the
official Mint list of Oolite versions.
What version of Mint are you using, and are you sure you're not getting Oolite via a PPA or something? Packaging some OXPs with the game sounds like the kind of thing a PPA maintainer might do.
Edit: Even more curious.. the only PPAs I can find for Oolite (2 of them) are for 1.65 and 1.77.1.
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Tue Nov 04, 2014 2:46 am
by Wildeblood
CheeseRedux wrote:andyGSheffUK wrote:Staer9ShipsetShadedv1.2.oxp
That one has the ET as well. Most likely the one you're looking for.
That was the correct answer; why did the discussion continue without acknowledging it?
CheeseRedux wrote:Borrowing some code from the standard Python:
Code: Select all
view_position_aft = "0.0 9.150712 -64.8269";
view_position_forward = "0.0 1.18304 62. 0972";
view_position_port = "-35.80095 2.0 -27.05945";
view_position_starboard = "35.80095 2.0 -27.05945";
I've asked this for years, and here I go again: do you really need 4 or 5 decimal point - that is,
sub-millimetre - precision when setting view positions? Integers are cool.
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Tue Nov 04, 2014 2:50 am
by Diziet Sma
Wildeblood wrote:CheeseRedux wrote:andyGSheffUK wrote:Staer9ShipsetShadedv1.2.oxp
That one has the ET as well. Most likely the one you're looking for.
That was the correct answer; why did the discussion continue without acknowledging it?
Maybe because Andy hadn't checked it yet.. give people some time.. sheesh.
After all, you and I are on the opposite side of the planet to most folks on here.
Totally agree about the integers for views. To the nearest meter is fine.
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Tue Nov 04, 2014 2:58 am
by Wildeblood
Diziet Sma wrote:After all, you and I are on the opposite side of the planet to most folks on here.
Why aren't you at the racetrack today?
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Tue Nov 04, 2014 3:04 am
by Diziet Sma
Wildeblood wrote:Diziet Sma wrote:After all, you and I are on the opposite side of the planet to most folks on here.
Why aren't you at the racetrack today?
Been there, done that, was interesting, but I have no desire to repeat it.. I'm an introvert.. don't like crowds.
Re: Where can I find my ship in the relevant shipdata.plist
Posted: Tue Nov 04, 2014 10:36 am
by andyGSheffUK
Yes - I was asleep due to my posts starting quite late last night (UK time).
I'm just having a go at changing the views - one question, why is the format different?
In the example you give it looks like this:
view_position_aft = "0.0 9.150712 -64.8269";
In the Staer9ShipsetShadedv1.2.oxp it's like this:
"view_position_aft" = "0.0 12.92 -51.65";
Lets see if I've got this right - reading the positions as X, Y, Z
X is port / starboard where starboard is +ve
Y is up / down where up is +ve
Z is fore / aft where forward is +ve
Sooooo - ok, I've edited shipdata.plist in Staer9ShipsetShadedv1.2.oxp
I've mucked about with these to force a change - in particular I made port a high value
"view_position_port" = "-200 2.0 -27.05";
But - these changes aren't being applied.
I've restarted Oolite holding down Shift - but it doesn't seem to make any difference.
Have I missed something?