calculate distance between planets?

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Post by Disembodied »

lfnfan wrote:
what's the game time consideration with long jumps? I would rather do one long jump than two short ones 'cos it means less chance of ending up on the side of a space station :oops:
If you check the F8-F8 screen you'll find shipping and passenger contracts. These are time-dependent. If you're making one of these, or any other sort of journey where time is of the essence, then two short jumps are better than one long one!
lfnfan
Deadly
Deadly
Posts: 250
Joined: Tue Mar 24, 2009 1:29 pm
Location: london, uk

Post by lfnfan »

i see. interesting. Will take a look.

thanks all
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

lfnfan wrote:
what's the game time consideration with long jumps? I would rather do one long jump than two short ones 'cos it means less chance of ending up on the side of a space station :oops:
It's taking extremely longer to make one long jump than two short ones. IIRC the time is something light ly-distance * ly-distance in hours, but I could be wrong on this formula. This won't have to worry you unless you are busy with a time-restricted cargo contract or something like that.

However, it's always nice to keep some reserve fuel for the injectors, once you have them!

Screet
User avatar
CptnEcho
---- E L I T E ----
---- E L I T E ----
Posts: 536
Joined: Sun Oct 26, 2008 4:14 pm

Post by CptnEcho »

Distances and jump durations aren't the only considerations.

Combat engagements could use up fuel when witchfuel injectors are used by the player.
So pay attention to the political status of the system(s) you plan navigate, or you may find yourself ambushed by multiple pirate squadrons in an anarchy system.
"I shouldn't have taken off in this crate without more ammo..." Sergeant Knox - Star Blazers
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Post by Disembodied »

Absolutely. If you're making a jump into an Anarchy, make it a short one! There's very little that's worse than having to run through a bad-news system with nothing in the tank but fumes ...
User avatar
tomsk
Dangerous
Dangerous
Posts: 66
Joined: Sun Jan 11, 2009 12:21 pm
Location: under my Cobra's hood...

Post by tomsk »

Disembodied wrote:
Absolutely. If you're making a jump into an Anarchy, make it a short one! There's very little that's worse than having to run through a bad-news system with nothing in the tank but fumes ...
Or buy an external fuel tank which mounts on a missile pylon.
User avatar
Zbond-Zbond
---- E L I T E ----
---- E L I T E ----
Posts: 410
Joined: Mon Nov 24, 2008 3:49 am
Location: Healesville, Australia

Pythagoras Theorem

Post by Zbond-Zbond »

If we consider the time taken to traverse A - C to be the square of the distance AC, then the short-jump route A - B - C is quicker when the angle ABC is greater than 90degrees.

When the angle ABC is 90degrees, AC is the hypotenuse of a right-angled triangle, so

ABsquared + BCsquared = ACsquared

..and the time taken for your journey will be the same using either route.

Happily the human eyeball is quite good at identifying right-angles :)

But re. actual distances, mightn't the lightyear in use represent the orbit of an Oo-planet around its sun?

Now I'll have to start flying between planet(s) & sun(s) -- unimpeded! -- to measure elapsed time(s) and create a fascinating spreadsheet :mrgreen:
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Now I'll have to start flying between planet(s) & sun(s) -- unimpeded! -- to measure elapsed time(s) and create a fascinating spreadsheet Mr. Green
THis won't work - the speeds of the ships and the sizes of the planets and suns are completely out of scale for gameplay reasons.

Planets are only about 30km across the distance between suns and planets are only in the tens of 100s of kms and speeds, rather than being fractions of the speed of light are effectively hundreds of km/h
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

You can easily get such distances from the JSconsole (system.mainPlanet.position.distanceTo(system.sun.position)). That will give you the distance from planet-centre to sun-centre (subtract off the radii of both for surface to surface).

Although that said it won't do you any good, as DH is right about the scaling...
Post Reply