Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Maximal station size?

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
Dr.Tripsa
Dangerous
Dangerous
Posts: 84
Joined: Mon Apr 30, 2012 9:33 pm
Location: In your cargo bay, eating your chips.

Maximal station size?

Post by Dr.Tripsa »

What is the largest reasonable size a station can be and still be AI dockable?
As of 1.77 the Tori2.01 stations are too big and leave an ton of ships just waiting around it.
No, I'm not a Trumble... that's a speciest and offensive remark!
~munch~
What?.... I'm hungry.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Maximal station size?

Post by Cody »

Curious - I always dock on manual, but I just checked this at Xevera Torus, and I just sat there. A little positioning at first, then a few ships launched, and then the music - but no docking. I was the third ship when I arrived - by the time I gave up, well... this pic shows it best.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Maximal station size?

Post by Diziet Sma »

Mmm.. I see what you guys mean.. methinks this thread belongs in the bug reports section.
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
Dr.Tripsa
Dangerous
Dangerous
Posts: 84
Joined: Mon Apr 30, 2012 9:33 pm
Location: In your cargo bay, eating your chips.

Re: Maximal station size?

Post by Dr.Tripsa »

Diziet Sma wrote:
Mmm.. I see what you guys mean.. methinks this thread belongs in the bug reports section.
I'm not sure if it's really a bug per-say.. as the core code just isn't designed for stations that size
No, I'm not a Trumble... that's a speciest and offensive remark!
~munch~
What?.... I'm hungry.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Maximal station size?

Post by Diziet Sma »

On the other hand, it could be argued that the docking code should work, regardless of station size, given that OXPs can add XXL stations at will. :wink:
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
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Maximal station size?

Post by cim »

Dr.Tripsa wrote:
Diziet Sma wrote:
Mmm.. I see what you guys mean.. methinks this thread belongs in the bug reports section.
I'm not sure if it's really a bug per-say.. as the core code just isn't designed for stations that size
They're not that big! The docking code should be able to cope with stations up to say 20km across - bigger and the ships might have trouble getting close enough to target it while staying out of collision range - but the Torus should be fine. I'll check it out when I get a moment.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Maximal station size?

Post by Eric Walch »

The amount of ships should be independent of the size, so size should not matter.
I cant remember any issues with the tory. But it could be that approaching ships have to make a bigger detour, making that you thought there were only a few busy docking. When you activate the docking clearance protocol (since 1.77 part of Oolites preferences) you will get messages about the amount of ships in a queue. And that should, obviously, only count down. If not, you can call it a bug. :)
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Maximal station size?

Post by Cody »

From observation, all the ships arriving went to their first way-point and remained there. None of them were docking - all were motionless.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Maximal station size?

Post by Eric Walch »

El Viejo wrote:
From observation, all the ships arriving went to their first way-point and remained there. None of them were docking - all were motionless.
Ah, that seems familiar. I noticed it recently. That is the AI that misses a message and than hangs. Maybe that happens more often at big stations, but that is just a matter of logging the AI. But that never happened with 1.76.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: Maximal station size?

Post by Thargoid »

I also wonder a bit about the waypoints usage generally, but especially just after launch from a big station. I keep seeing debris around Kiota stations, which seems to be coming from ships which launch, then decide to get where they are going by flying through the outer body of the station (the rotating arms).

And of course it's not exactly healthy for them to get wacked by a chunky station arm (and then shot by its turrets probably). Could it be that the AIs may need more course checks when flying by waypoints?
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16073
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Maximal station size?

Post by Cody »

Thargoid wrote:
I keep seeing debris around Kiota stations, which seems to be coming from ships which launch, then decide to get where they are going by flying through the outer body of the station (the rotating arms).
Hmm... I often see two or three cargo pods floating near the dock whenever I approach a Torus station too.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Maximal station size?

Post by Smivs »

Hmmm, this sounds like a sinister plot by the Guild of Scavengers :wink:
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Dr.Tripsa
Dangerous
Dangerous
Posts: 84
Joined: Mon Apr 30, 2012 9:33 pm
Location: In your cargo bay, eating your chips.

Re: Maximal station size?

Post by Dr.Tripsa »

While I have no real support for this beyond experience, the debris around a Kiota Station may have less to do with it's arms (which seem to me to be much smaller than the Tori) and more to do with the fact that they have no Aegis, pirates often (as I have seen and this is probably emergent rather than hard coded) congregate near the Kiota Stations.

What I have seen in the torus stations is launching ships colliding with waiting ships.
No, I'm not a Trumble... that's a speciest and offensive remark!
~munch~
What?.... I'm hungry.
User avatar
Rorschachhamster
---- E L I T E ----
---- E L I T E ----
Posts: 274
Joined: Sun Aug 05, 2012 11:46 pm
Contact:

Re: Maximal station size?

Post by Rorschachhamster »

I have observed (while waiting for my train, thanks for TAF in trunk not sooo long... :lol: ), that an escort flew into a station (Kiota Solar Station, I think) after having "paniked" because it's mother flew away and it had tried to get around the station twice or so but always being stopped by the "arms".
Propably the AI set a waypoint when there was no arm because of rotation... and then the escort rammed it, when it couldn't avoid collision fast enough on the third try.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Maximal station size?

Post by Eric Walch »

I found the probable reason for the 'docking problem' for the tories. The docking bay is off-centre. When I examine the position, I get:

Code: Select all

PS.target.subEntities[0].position
(1, 0, 500)
And the current code sends a HOLD_POSITION when the dock of a rotating station is 0.1 meter off-centre. I think the the code should also allow one or two meters tolerance.

EDIT:
I centred the dock position in shipdata to 0,0,500 for both Tori types and from than on docking went smooth. I even added a bunch of extra traders for docking and after some time there were no waiting ships.

The slight off-centre definition was probably for cosmetic reasons, but even from close distance, I could see no artefacts with the fully centred position.
Last edited by Eric Walch on Sun Mar 03, 2013 9:08 pm, edited 1 time in total.
Post Reply