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

My Docking Computer is scared of the Onrira Torus!

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

Moderators: winston, another_commander

Post Reply
User avatar
Mara Jade
Average
Average
Posts: 9
Joined: Mon Feb 16, 2009 10:44 am

My Docking Computer is scared of the Onrira Torus!

Post by Mara Jade »

I've just upgraded to 1.77 and have installed the Torus OXP. Now when approaching the Torus Station at Onrira the Auto Pilot turns and runs! lol

When you push "c", you wait for ages in a holding pattern, which is expected because the space outside is chocker with ships, then finally the ship turns around and heads away from the station, eventually moving out of the stations "S" zone. Incidentally, if you just push Shift+C for quick docking it docks straight away. Its a shame it does this because watching the animation of your ship approaching the Torus station would be awesome. I'm just playing in a standard Cobra Mark III.

Is this a bug?
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: My Docking Computer is scared of the Onrira Torus!

Post by Eric Walch »

Look here. It is a combination of two bugs. We just have to figure out who is to blame. For now, fixing the station is the easiest fix, but in trunk it will also soon be fixed. :P
User avatar
Mara Jade
Average
Average
Posts: 9
Joined: Mon Feb 16, 2009 10:44 am

Re: My Docking Computer is scared of the Onrira Torus!

Post by Mara Jade »

Thanks, I think I'll just delete the OXP until it can be fixed.
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: My Docking Computer is scared of the Onrira Torus!

Post by Diziet Sma »

Mara Jade wrote:
I think I'll just delete the OXP until it can be fixed.
That seems a little unfortunate, since you've clearly been looking forward to seeing the docking happen.

If you like, here is a copy of the shipdata.plist file which has been fixed already. Download and save it into the AddOns/Tori2.01.oxp/Config folder, over-writing the one already there. Then, start Oolite while holding down the shift key. Keep shift held down until you see the spinning Cobra MkIII. That will force Oolite to read the new version of the file into its' cache.

After that, you'll be able to enjoy watching your Cobby dock with the Torus Stations. :D
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
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: My Docking Computer is scared of the Onrira Torus!

Post by Cody »

Diziet Sma wrote:
... you'll be able to enjoy watching your Cobby dock with the Torus Stations.
Or dock at the Torus on manual, and enjoy the thrill of weaving through the spokes on approach.
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
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:

Re: My Docking Computer is scared of the Onrira Torus!

Post by Commander McLane »

El Viejo wrote:
Diziet Sma wrote:
... you'll be able to enjoy watching your Cobby dock with the Torus Stations.
Or dock at the Torus on manual, and enjoy the thrill of weaving through the spokes on approach.
<shameless plug>[wiki]Stationrotation OXP[/wiki] will perhaps make that a little easier, while simultaneously making the Torus look even a little more majestic (it slows down its rotation speed).</shameless plug>
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: My Docking Computer is scared of the Onrira Torus!

Post by Cody »

Commander McLane wrote:
El Viejo wrote:
Diziet Sma wrote:
... you'll be able to enjoy watching your Cobby dock with the Torus Stations.
Or dock at the Torus on manual, and enjoy the thrill of weaving through the spokes on approach.
<shameless plug>[wiki]Stationrotation OXP[/wiki] will perhaps make that a little easier, while simultaneously making the Torus look even a little more majestic (it slows down its rotation speed).</shameless plug>
Yeah... a slower, more stately rotation improves all stations. I've adjusted all my Griff stations (I think - or more probably, they're slower by default anyway).

Out of interest, what rotation speed does that so shamelessly plugged OXP set for a Torus?
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
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:

Re: My Docking Computer is scared of the Onrira Torus!

Post by Commander McLane »

El Viejo wrote:
Out of interest, what rotation speed does that so shamelessly plugged OXP set for a Torus?
Here's the complete list:

Code: Select all

this.shipSpawned = function(ship)
{
    if(ship.isMainStation)
    {
        ship.roll = 0.14;
        if(ship.hasRole("transhabstation")) ship.roll = 0;
        if(ship.hasRole("coriolis")) ship.roll = 0.18;
        if(ship.hasRole("dodecahedron")) ship.roll = 0.16;
        if(ship.hasRole("icosahedron")) ship.roll = 0.15;
        if(ship.hasRole("transhabstation-rotating")) ship.roll = 0.14;
        if(ship.hasRole("globestation")) ship.roll = 0.12;
        if(ship.hasRole("globestationxl")) ship.roll = 0.1;
        if(ship.hasRole("tori")) ship.roll = 0.05;
        if(system.scrambledPseudoRandomNumber(3261) < 0.5 && !ship.hasRole("transhabstation-rotating")) ship.roll = -ship.roll;
    }
}
So, it's 0.05 for a torus. And there's a 50% chance that it will rotate in the opposite direction.
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: My Docking Computer is scared of the Onrira Torus!

Post by Cody »

Ah... thanks, McLane.

My Torus has station_roll = 0.04; and the Griff stations are all station_roll = 0.08;
I should adjust Griff's slightly (I thought I had already done so - maybe an update I've forgotten to tweak).
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
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:

Re: My Docking Computer is scared of the Onrira Torus!

Post by Commander McLane »

You see that I'm keeping a larger range, between 0.18 and 0.05. The general rule is: the bigger the station, the slower the rotation. Also, I'm not making a difference between station variants. Whether it's the original models, or Griff's, or any other replacements, it's always the same value for Coriolisses, Dodecs, and Icos.

The values themselves are just from trial and error. I placed myself in front of each station type and experimented, until the speed felt right. And purely for my own amusement I also created a variant of the Transhab station: it rotates counter to its lifepods (which I also slowed down via shipdata), which looks kind of cool. This Transhab will never rotate in the opposite direction, because station and lifepods rotating in the same direction looks silly.
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: My Docking Computer is scared of the Onrira Torus!

Post by Cody »

Commander McLane wrote:
The general rule is: the bigger the station, the slower the rotation.
Yep, I'm pretty sure that's how I'd tweaked my Griff stations a while back - but they do need re-tweaking (re-opens Notepad++).

Edit: Torus = 0.04; Ico = 0.06; Dodo = 0.08; Coriolis = 0.10 - that'll do for now.
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: My Docking Computer is scared of the Onrira Torus!

Post by Smivs »

For comparison, Delightful Docking OXP slows the standard stations (and their direct OXP replacements) by:-
Coriolis 0.18
Dodecahedron 0.16
Icosahedron 0.15
which (to me) looks about right in-game. A bit slower would certainly look Ok, but would also make docking easier as well and the slower rotations are intended to improve the 'look', not make life easier. It does not affect any other OXP stations
Commander Smivs, the friendliest Gourd this side of Riedquat.
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: My Docking Computer is scared of the Onrira Torus!

Post by Cody »

Smivs wrote:
A bit slower would certainly look Ok, but would also make docking easier as well...
I'd advise any new pilots to learn to dock manually using Oolite's default station rotation speed, though - a useful skill.
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: My Docking Computer is scared of the Onrira Torus!

Post by Smivs »

<nods>
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: My Docking Computer is scared of the Onrira Torus!

Post by cim »

This will be fixed in our next release so that the docking computer will still dock with something marginally off-centre, or tonight's nightly build for testing.

Thanks for the reports.
Post Reply