Page 1 of 1

Slowing down 'Goto target'?

Posted: 18.06.2003, 06:02
by Evil Dr Ganymede
Is there a way to persuade Celestia to take longer than 4 or 5 seconds to go to a target if you type in its name and then press the 'G' key? I find one gets there a bit too quickly to appreciate the view on the way :).

Posted: 18.06.2003, 09:19
by Gordon nolog
Yes. Detailled how to in Fred Gregorio's user guide :

http://ennui.shatters.net/celestia/documentation.html

G.

Posted: 18.06.2003, 11:36
by selden
I didn't find anything obvious after doing a quick search of the manual.

The method of travelling slowly that I know about requires a script contaiing a single command. Unfortunately Frank left scripting for Part 3, which isn't available yet.

Create a file named GoSlowly.cel which contains just the one line

Code: Select all

{ goto { time 20 } }


Leave a window open showing the directory where you've put this script.
After selecting the destination object by whatever means is approprite, just double-click on the icon for this script.

The time parameter specifies the number of seconds to take. You can set to whatever value you deem appropriate.

Does this help?

Posted: 18.06.2003, 12:38
by Gordon nolog
:oops: oops sorry, too fast reading, too fast answering. The one I was thinking of was rotation accelaration which can be tuned in the celestia.cfg file.


G.

Posted: 18.06.2003, 15:52
by Evil Dr Ganymede
Selden - thanks, that vaguely helps, but I'd rather there was a way to just change the default value of the time taken than having to keep clicking on the script all the time. Is there no way to do that?

Posted: 18.06.2003, 18:52
by selden
Dr Ganymede,

I don't know. I'd have to dig through the source code on SourceForge. You'd probably do just as well as I could, if not better, at finding the relevant code, since I'm not fluent in C++. Hopefully one of the developers will chime in here.

Posted: 18.06.2003, 19:59
by chris
There's no way to do it in the UI right now, although it's a fairly simple code modification to the code. I'll see about exposing it somehow, either through the UI or a script command.

--Chris

Posted: 18.06.2003, 20:23
by Evil Dr Ganymede
That would be very cool. Thanks! :)

Posted: 18.06.2003, 22:25
by Darkmiss
It would be much better through the UI.

Would there be a way to have a blank box setting in the options
where you just type any number in, and it would use that number for the amount of seconds to fly to an object ?

Or at least a drop down selection like you use for the screen size
ranging from 5 to ??? seconds

Posted: 19.06.2003, 06:13
by Guest
perhaps a logarithmic scale would work better ..... ie something like earth to moon takes 3 seconds ..... earth to mars takes 6 seconds ... earth to pluto takes 20 seconds ..... just a thought

Posted: 19.06.2003, 07:29
by jamarsa
perhaps a logarithmic scale would work better ..... ie something like earth to moon takes 3 seconds ..... earth to mars takes 6 seconds ... earth to pluto takes 20 seconds ..... just a thought


Going out the galaxy... 20 years? :wink:

Posted: 19.06.2003, 16:45
by Darkmiss
LOL :lol: :lol: :lol: :lol: :lol: :lol:

Posted: 20.06.2003, 16:27
by fsgregs
I too would support a global option to slow down the "goto" time, perhaps via a line in the cfg file.

:D

Frank

Posted: 20.06.2003, 17:08
by Paolo
I agree with Darkmiss.
A small UI implementation should be better.
I'll insert in my feature requests list.

Paolo