Where can I find my ship in the relevant shipdata.plist

General discussion for players of Oolite.

Moderators: another_commander, winston

andyGSheffUK
Above Average
Above Average
Posts: 17
Joined: Mon Nov 03, 2014 6:02 pm

Where can I find my ship in the relevant shipdata.plist

Post 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)

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

Re: Where can I find my ship in the relevant shipdata.plist

Post 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.

User avatar
CheeseRedux
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 827
Joined: Fri Oct 02, 2009 6:50 pm

Re: Where can I find my ship in the relevant shipdata.plist

Post 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
Last edited by CheeseRedux on Mon Nov 03, 2014 11:23 pm, edited 1 time in total.
"Actually this is a common misconception... I do *not* in fact have a lot of time on my hands at all! I just have a very very very very bad sense of priorities."
--Dean C Engelhardt

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

Re: Where can I find my ship in the relevant shipdata.plist

Post 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).

andyGSheffUK
Above Average
Above Average
Posts: 17
Joined: Mon Nov 03, 2014 6:02 pm

Re: Where can I find my ship in the relevant shipdata.plist

Post 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?

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

Re: Where can I find my ship in the relevant shipdata.plist

Post 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?

User avatar
CheeseRedux
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 827
Joined: Fri Oct 02, 2009 6:50 pm

Re: Where can I find my ship in the relevant shipdata.plist

Post 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).
"Actually this is a common misconception... I do *not* in fact have a lot of time on my hands at all! I just have a very very very very bad sense of priorities."
--Dean C Engelhardt

andyGSheffUK
Above Average
Above Average
Posts: 17
Joined: Mon Nov 03, 2014 6:02 pm

Re: Where can I find my ship in the relevant shipdata.plist

Post 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.

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

Re: Where can I find my ship in the relevant shipdata.plist

Post by Cody »

Hmm... in that case, it seems to be packaged with several out-of-date OXPs.

User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6310
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Where can I find my ship in the relevant shipdata.plist

Post 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.
Last edited by Diziet Sma on Tue Nov 04, 2014 3:21 am, edited 2 times in total.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied

User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2161
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Where can I find my ship in the relevant shipdata.plist

Post 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.

User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6310
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Where can I find my ship in the relevant shipdata.plist

Post 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.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied

User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2161
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia
Contact:

Re: Where can I find my ship in the relevant shipdata.plist

Post 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? :D

User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6310
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Where can I find my ship in the relevant shipdata.plist

Post 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? :D
Been there, done that, was interesting, but I have no desire to repeat it.. I'm an introvert.. don't like crowds.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied

andyGSheffUK
Above Average
Above Average
Posts: 17
Joined: Mon Nov 03, 2014 6:02 pm

Re: Where can I find my ship in the relevant shipdata.plist

Post 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?

Post Reply