Diso B?

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
lave
Deadly
Deadly
Posts: 141
Joined: Thu Sep 09, 2010 12:21 am
Location: Deep in Leesti space mining asteroids for a living.
Contact:

Diso B?

Post by lave »

I have the Diso oxp installed.

I notice there is a station called Diso B in deep space.

I tried to dock with it but as I entered the docking bay door, I hit it and died.

What exactly is this station anyway?

Thanks.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

It's a station added by Diso.oxp. Actually and if I recall correctly adding this station is about the only thing Diso.oxp actually does.

However, the station has a bug which makes its docking slit much smaller than it appears from the outside. To be precise: the internal docking area is rotated by 90 degrees. So when the outline of the docking bay is horizontal, the bay is actually vertical and vice versa. This makes it very difficult to dock without colliding with some wall. You have to fly a small ship and hit the dock dead center, in the small square area where the visible and the invisible dock overlap.

The reason is a missing key in the station's shipdata. Oh, and every other OXP which uses a copy of that station suffers from the same bug.
User avatar
Micha
Commodore
Commodore
Posts: 815
Joined: Tue Sep 02, 2008 2:01 pm
Location: London, UK
Contact:

Post by Micha »

Would you mind posting a diff then to fix the station? (Assuming it's that easy to fix..)
The glass is twice as big as it needs to be.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2279
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

i've just had a look at the shipdata for that, and i can't see the station as having a dock defined at all, which will severely compromise your ability to dock there!
User avatar
Darkbee
---- E L I T E ----
---- E L I T E ----
Posts: 335
Joined: Mon Aug 09, 2004 8:40 pm
Location: Space... man!
Contact:

Post by Darkbee »

"Diso, we have a problem." *radio crackle*
Darkbee
Oolite: A grOovy Kind of Love
Image
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 »

Killer Wolf wrote:
i've just had a look at the shipdata for that, and i can't see the station as having a dock defined at all, which will severely compromise your ability to dock there!
I noticed the same. But a station does not have a doc defined to be able to dock. I thing its an inheritance from the early oolite versions. And Diso station is old also.

When no dock is defined, Oolite falls back to use the ship key: port_dimensions as docking area. And when this is not defined it takes: port_radius as the port size with some generic dimensions. And when even that is not defined it simulates a dock in the centre. (Even the legacy versions of random hits had no dock defined)

For this oxp there is a port_radius defined. And it is possible that the default port position is 90 degree rotated as McLane suggests. He might be right, as entering the station with my Boa II gave no problem as it fits both ways (60 meter high and 65 meter wide)

The easiest fix would be to add a port_dimensions key.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

I think I noticed the problem when I looked at the Tianve Pulsar station (which had a similar problem) with bounding boxes enabled. Defining a dock will solve it.
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 »

Eric Walch wrote:
Adding the following key seems to work with me

Code: Select all

		<key>port_dimensions</key>
		<string>64x192x500</string>
The fix was tested with a cobra. It could dock without problems now. Maik uploaded it on his box account now. Its available from the wiki now as Diso v1.1
Last edited by Eric Walch on Wed Nov 03, 2010 2:57 pm, edited 1 time in total.
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2279
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

that's interesting, Eric. i take it that it limits the dock to being at the origin then, as opposed to (eg) my Nuit dock which was then shifted way up the Y axis? I was kinda hoping that would be a way to spoof a dock point at the docking arms of the Nuit, as it was designed to be.
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 »

Killer Wolf wrote:
that's interesting, Eric. i take it that it limits the dock to being at the origin then, as opposed to (eg) my Nuit dock which was then shifted way up the Y axis?
Yes, port_radius sets the port offset along the z-axis from the centre and port_dimensions sets the dimension. This old method does not allow defining a port with an offset along the x or y axis.
However, both values are overridden when you use a real dock subentity. In that case it uses the real dimensions and real position of the dock.
User avatar
Cholmondely
Archivist
Archivist
Posts: 5366
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Diso B?

Post by Cholmondely »

Would there be any chance of an update for the Diso.oxp?

And was it indeed based on this?
rabidvixen wrote: Sun Jan 30, 2005 9:37 pm
Some of you might be familiar with the Coriolis Class station renamed to Longhaul Outpost (LHO), a sort of babylon 5 in the FEU scene since 1998. I was wondering if it would be possible to put LHO into Oolite for the PC? The station differs from existing stations in the FEU in that practically anything is legal, crimes are ignored for the most part, and located out on the edge of the Diso System, rather than close in around one of the planets or the primary, it is a unique stopping off and trading point for all manner of unsavory characters.

Furthermore, it is my opinion that in any universe which is as uniform as the FEU is, there will be "independant operations" that players will come across from time to time which have shall we say, rather unique, provisions for all comers. Further information on LHO is available upon request.
Image
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Old Murgh
Wiki Wizard
Wiki Wizard
Posts: 640
Joined: Sat Dec 04, 2021 11:01 pm

Re: Diso B?

Post by Old Murgh »

Cholmondely wrote: Sun May 08, 2022 8:43 am
Would there be any chance of an update for the Diso.oxp?

And was it indeed based on this?
rabidvixen wrote: Sun Jan 30, 2005 9:37 pm
Some of you might be familiar with the Coriolis Class station renamed to Longhaul Outpost (LHO), a sort of babylon 5 in the FEU scene since 1998. I was wondering if it would be possible to put LHO into Oolite for the PC? The station differs from existing stations in the FEU in that practically anything is legal, crimes are ignored for the most part, and located out on the edge of the Diso System, rather than close in around one of the planets or the primary, it is a unique stopping off and trading point for all manner of unsavory characters.

Furthermore, it is my opinion that in any universe which is as uniform as the FEU is, there will be "independant operations" that players will come across from time to time which have shall we say, rather unique, provisions for all comers. Further information on LHO is available upon request.
Image
I think this was an influence. Ms. Berihn was an influential voice back in the day,

I'd love to do an update if I ever work out how to wrap it in a Griff level texture.
I was young, I was naïve. [EliteWiki] Jonny Cuba made me do it!
Post Reply