Page 1 of 2

Ships bow obscures my view

Posted: Sun Jan 20, 2013 5:33 pm
by Halfhand
My own ships bow is hindering my dogfights, I see from the screenshots that most players don't have their own ship drawn in forward view.

I cant find a key to change this, either online of in the plist's.

Can someone tell me how to remove it please.

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 5:36 pm
by JazHaz
What ship are you flying? Some ships' views need to be edited so that the view is more "forward". Definitions of the views are found in the shipdata.plist.

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 5:43 pm
by Halfhand
Im flying a Python ET Special from x-ships

i also fly a Cobbie III, and a Boa Class Cruiser

I'm not using the Boa Class Cruiser at the moment because i cant remember which OXP i need :(

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 6:00 pm
by Diziet Sma
Try this:

Go into the x-ships.oxp/Config folder and open shipdata.plist in your favourite text editor (at least you're not using Windows, so we don't need to worry that you might use Notepad).

Scroll down until you see <key>python-x-player</key>

Look for the following section:

Code: Select all

		<key>view_position_aft</key>
		<string>0.0 12.92 -51.65</string>
		<key>view_position_forward</key>
		<string>0.0 17.4 -6.89</string>
		<key>view_position_port</key>
		<string>-5.21 16.77 -8.53</string>
		<key>view_position_starboard</key>
		<string>5.21 16.77 -8.53</string>
The third number in the <string> that comes after view_position_forward, (in this case, -6.89) is the one that affects how far forward/back your view position is located. The unit is ship-metres. To move the view forward, reduce the value until the nose no longer obstructs your view. I'd suggest going with decrements of 0.5 at a time. Things should improve well before you get into positive figures.

(The reason the number is negative is because the view-position is located aft of the mid-point)

After each change you make, when you restart Oolite, hold down the shift key until you see the spinning Cobra. That forces Oolite to rebuild its' cache. Otherwise your changes won't take effect.

Let us know how you get on, and what value works for you.

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 6:25 pm
by Halfhand
Thanks Diziet

that fixed it, but i had to go all the way to 15.5 before it completely disappeared.

It would be nice if there was a key to inhibit drawing of the player ship like there is for the hud, that would take care of forward/rear for all ships.

but thanks again for the fix.

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 6:31 pm
by Diziet Sma
Wow.. that's a lot.. I'm curious now as to how bad the original position looks.. (you didn't happen to take a screenshot, by any chance?) I'll have to try out the ship myself sometime.

I don't know how do-able something like a draw-inhibit key would be.. hopefully cim will pop his head in here at some point, and could comment.

And, you're very welcome. 8)

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 6:42 pm
by Diziet Sma
Halfhand wrote:
i also fly a Cobbie III, and a Boa Class Cruiser

I'm not using the Boa Class Cruiser at the moment because i cant remember which OXP i need :(
The BCC is a core ship, although there are several variants in OXPs. Take a look at the photos at the bottom of the [EliteWiki] Wiki page and see which one you had.

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 7:00 pm
by Eric Walch
Halfhand wrote:
Thanks Diziet

that fixed it, but i had to go all the way to 15.5 before it completely disappeared.
Instead of going forward, you also could go down, until you have a view position from the inside. All ship meshes seen from the inside are transparent.

Probably going backward until inside the ship would also have worked. :P Maybe it was intentional by the author that you always have to look at his creation. And you are right, I also hate to see my front and edit the plist if needed. :wink:

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 7:12 pm
by Halfhand
I didn't, but now I have :)

normal looks like this
http://i.imgur.com/NaEY0ym.png


15.0 looks like this
http://i.imgur.com/wSsTkXl.jpg

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 7:15 pm
by Halfhand
Eric Walch wrote:
All ship meshes seen from the inside are transparent.
Thats handy to know.

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 7:18 pm
by Diziet Sma
Eric Walch wrote:
Instead of going forward, you also could go down, until you have a view position from the inside. All ship meshes seen from the inside are transparent.
If you want to try this option instead, Halfhand, restoring the original -6.89 and then lowering the second value from 17.4 is the way to do it.

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 7:21 pm
by Diziet Sma
Halfhand wrote:
I didn't, but now I have :)

normal looks like this
http://i.imgur.com/NaEY0ym.png
Wow.. that's a lot of screen real-estate alright.. :shock:

(in your 'fixed' screenshot, looks like you've a BGS issue that needs sorting. Do you remember where the logs are saved?

(if not, look in ~/.Oolite/Logs)

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 9:59 pm
by Halfhand
ah yes.

Code: Select all

19:04:30.143 [BGS-M]: BGS-M - Shutting down. -> Cabal_Common_Library is missing
unfortunately the box download account is out of bandwidth so i can't download it :(

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 10:05 pm
by Cody
Halfhand wrote:
unfortunately the box download account is out of bandwidth so i can't download it
I'm sure Svengali won't mind if I put a very temporary link for CCL 1.7 here - if not, I'll remove it.

Re: Ships bow obscures my view

Posted: Sun Jan 20, 2013 10:10 pm
by Halfhand
ho hum, if you have to remove it then so be it ;)

That fixed my problem thanks, the BGS check latest log message has gone now.