I'm not so sure about the size check, why should it bother testing the size, when the code is told to dock the ship. this should be exactly like shift+d auto dock...
Sure it would look odd, but nobody is watching, and i'm only suggesting this so that we can write a javascript OXP thingi that make the illusion that we are docking via some shuttle or the like...
like this:When the ship is close a shuttle is launched/spawned whatever, at the player/ship, when it docks, the ship docks, sure the trigger of this shuttle would have to be worked upon, and triggerd somehow.. maybe with the ring entity, where the ship has to "park" and then the shuttle is spawned.. if the shuttle dies, then no dock, and the ship has to "repark" in order to spawn a new shuttle..
Once the ship leaves, its orientation and position is restored to where it was, when the shuttle ship docked. only oddity would be that the ship would have the launch speed...
I admit I have not tested with a really large ship, because as far as I can tell, the code shouldn't bother about sizes, but just dock the damn thing..
. of course i can be wrong
But i am going to test with an ixian battle thingi cruiser mesh... make a player ship of it,
and will then post with my findings... here...
EDIT 1
I made a player version of the Ixian BattleCruiser.. not a nice thing to launch in as it is 3-4 times the size of a coriolis station..
However with a energy supply of 1050, it survived the launch, after that i wrote a script that moved it away from the station, immideatly after launch, so that collision, would never be an issue... it least for the build in stations...
After that I docked it, using
system.mainStation.dockPlayer()
Using my custom 1.73 build, and there was no size issues for the next 10 docks.
So i'm not sure what Eric means about size check. since there would be no collision detection necessary in a forced dock..
, it just docks disregarding physical sizes...
Edit 2..
I just reread Erics post..
i must have been tired... I read it as it would go BOOM if i used the method i had written
Anyway, i got it confirmed, that a really large ship can dock using my method...
Shift+d would work too I suppose...(but deny dockage and auto fine), btw i never get fined anyway despite smashing up countless vipers just outside the station