time‐speed

General discussion about Celestia that doesn't fit into other forums.
Topic author
kamegawa
Posts: 2
Joined: 17.02.2003
With us: 21 years 9 months

time‐speed

Post #1by kamegawa » 04.08.2003, 11:17

If we put L‐button,we can make time‐speed 10 times faster, put L ‐utton twice, we can make time‐speed 100 times faster.

But I want to make time‐speed 5 or 6or 7or ‥‥‥times faster.

Is it possible?

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 11 months
Location: People's Republic Of Cork, Ireland

Post #2by JackHiggins » 04.08.2003, 14:14

You'll have to use a script if you want to make time go faster by say 5, 6 or 7 times...
- Jack Higgins
Jack's Celestia Add-ons
And visit my Celestia Gallery too!

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Re: time‐speed

Post #3by don » 04.08.2003, 15:02

The script below will set Celestia's Time Rate to 5x.

* Copy the text in the Code box
* Paste it into your texty editor
* Edit the "rate" value of "5.0" to be the TimeRate you want
* Save the file as "SetTimeRate.cel" into the Celestia directory
* Double click the filename -or- use Celestia's File/Open Script dialog

If you double-click a .cel filename, Celestia will run that script. If Celestia is not currently running, it will be run automatically.

Hope this helps.

-Don G.

Code: Select all

{
#****************************************************************************
#*                 This Celestia Script Sets the Time Rate                  *
#****************************************************************************

# Set Time Rate (1x, 5x, 100x, 1000x, etc.)...
# (A negative value = Reverse time
#               1.0 = Real Time (default)
#            1000.0 = Good moon orbit motion)
    timerate { rate 5.0 }

#----------------------------------------------------------------------------
# End of Script - Let the user know the script is done running ...
#----------------------------------------------------------------------------

    print  { text "The script is finished."
             row  -2
             column 25
             duration 5 }

    wait   { duration 5 }

}


Return to “Celestia Users”