Reduction

General discussion for players of Oolite.

Moderators: winston, another_commander

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 »

Hoopy wrote:
light speed is 300,000 km per hour. In Oolite it's something like 1 km per second (my 0.3LM ship takes about 10 seconds to get 3 km from the station before i hit the hyperspace button) which is 3,600 km per hour.

So it's roughly 100 times slower in Oolite.

But things are 100 times closer together so it still takes the 'right' amount of time to get to the sun from the planet. Earth is 8 light minutes from the sun so it'd take my ship about 25 minutes. And that's about what it takes in Oolite.

The point of all this is that it means that a given volume of space is made (100x100x100) a million times smaller so the chances of you randomly bumping into someone are a million times higher. So you get some combat and everything is fun.

I think the ships are also made 100 times bigger in each direction as otherwise you wouldn't be able to see them until you were far too close.
Of course the reasons for the off-scale measures are exactly as you are guessing. Nevertheless it's annoying as soon as you start thinking about it.

And of course: The speed of light in vacuum is about 300,000 km per second (not per hour!). So it stays the one thing which is really out of scale!

*****
The Edible Poet wrote:
However when I jump into a system and the sun looks like it's blatantly sitting on top of the planet, it does tend to grate on my illusion just a little.
Why this? I our solar system it would be perfectly reasonable to be at a point where the sun looks as big as the Earth. And I would estimate it to be at roughly one-and-a-half to two moon orbits. Which is about the distance I would expect a witchspace jump to Earth to end.

All of this means I see no reason to move the sun further away in the first place. It would seem too small (= too far away) to me then.
User avatar
Hoopy
---- E L I T E ----
---- E L I T E ----
Posts: 438
Joined: Wed Oct 03, 2007 8:54 pm
Location: Durham, England

Post by Hoopy »

The speed of light in vacuum is about 300,000 km per second (not per hour!).
D'oh! idiot! I was so busy converting 3E8 into something more readable I forgot the seconds/hours thing!

On the other point - The sun and moon appear to be almost exactly the same size to us because the sun is as many times bigger as it times further away.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Eric Walch wrote:

or, alternatively I could use:

Code: Select all

this.shipWillEnterWitchspace = function()
{
   if(worldsScripts.farsun) worldScripts.farsun.factor = 1
}
When I want to add the base in the next system, and the sun is on his old spot again.
Yep! :)

Not sure which oxp will run shipWillEnterWitchspace() first though... you might want to do:

Code: Select all

if(worldsScripts.farsun) worldScripts.farsun.multiple = 1
inside this.startUp and this.reset to make sure it's caught on time! :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
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 »

Kaks wrote:
Eric Walch wrote:
Not sure which oxp will run shipWillEnterWitchspace() first though... you might want to do:

Code: Select all

if(worldsScripts.farsun) worldScripts.farsun.multiple = 1
inside this.startUp and this.reset to make sure it's caught on time! :)
You missed something: I did my bit on entering, farsun did its thing on exit so my code will be sooner.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Oops! :oops: You're very, very right!

Apart from setting .factor = 1 while farsun.oxp looks for .multiple! :D :D
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
The Edible Poet
Competent
Competent
Posts: 36
Joined: Sat Dec 29, 2007 8:04 pm

Post by The Edible Poet »

Commander McLane wrote:
Why this? I our solar system it would be perfectly reasonable to be at a point where the sun looks as big as the Earth. And I would estimate it to be at roughly one-and-a-half to two moon orbits. Which is about the distance I would expect a witchspace jump to Earth to end.

All of this means I see no reason to move the sun further away in the first place. It would seem too small (= too far away) to me then.
Just a gut reaction. Which I guess will just be based on my perception of other games and movies and stuff. Come to think of it in my old versions of Elite, when sitting by the planet looking at the sun it would always be allot smaller than in Oolite, so maybe thats what's bugging me.
User avatar
Gareth3377
Deadly
Deadly
Posts: 136
Joined: Sat Feb 17, 2007 11:46 pm
Location: Worcester

Post by Gareth3377 »

Great OXP so far - simple, but effective. Many thanks.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Kaks wrote:
Javascript is only accessible from OXPs:
False. However, there is still no console server that works properly on non-Macs.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Oops! :oops:

Debug console? What Debug console? In my days we didn't have such a luxury! :D

Totally forgot about it. I blame Microsoft! :)
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
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 »

Kaks wrote:
Debug console? What Debug console? In my days we didn't have such a luxury! :D
Yes, very usefull to in flight: change mission variables and all the other JS commands without restarting anything. A task for you to implement this for Windows?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Actually, Ahruman has already done the hard work for Windows too, by implementing a Python-based debug console. This can be run either from the development environment (which is a Unix-like shell) or from the Windows command line. Unfortunately, running it on the development environment results in no output from the console, while running it from the command line results in output coming correctly from console, but no input is accepted. There must be a small detail somewhere that escapes us, but at the moment it's one of the "D'oh, it ain't work" things on Windows.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

That sounds already much better than writing one from scratch. I'll have a look on Sunday & see if there's anything I can do.

Thanks for the heads up , a_c! :D
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Come to think of it, it might be worth someone looking at the C console (tools/simpleDebugConsole) again. Previously that didn’t get anywhere because building CFLite for Windows turned out to be… somewhat more challenging than I expected. The new version from the OS X 10.5.2 source dump might be less of a problem as a side effect of the Windows port of Safari. Unfortunately, the Read Me file with the source isn’t very informative on that front.
Post Reply