Celestia addons - scripts

## I made a Celestia script (in the .cel -format) Pls try it!

Instruction to make a new .cel-file:

1. Make a new text file (FileName.txt)
2. open it and enter there the following code.
3. Edit the file format into ".cel" (FileName.txt to FileName.cel)

Install the file:

1. Put this file into the folder "...\YourCelestiaDirectory\Scripts"
2. Open Celestia and click in the menu "File > Scripts > Script\*"
3. You can also leave out the lines with the # (e.g. # setup section) in the script (BUT NOT THE COMPLETE SECTION!!!!!!!!!!)

\*=the script (see above/below)

# Setup section

timerate { rate 1 }

renderflags { set "stars|planets|clouds"

clear "constellations|orbits|galaxies|boundaries" }

print { text "Beginning planet size/distance comparison in 5 seconds. . . Press ESC to end."

row -3

column 5

duration 3 }

set { name "AmbientLightLevel" value 0.4 }

set { name "FOV" value 25.0 }

setvisibilitylimit { magnitude 6.5 }

wait { duration 5 }

# Visit Sun

timerate { rate 1 }

select { object "Sol" }

center { time 10 }

goto { time 10 distance 10 }

follow {}

wait { duration 10 }

print { text "The Sun, our base point for measuring distance. We're at 7 million km away."

row -3

column 5

duration 5 }

wait { duration 5 }

print { text "Let's zoom in to 2 million km - our base number."

row -3

column 5

duration 5 }

select { object "Sol" }

wait { duration 3 }

changedistance { duration 3 rate -0.5 }

wait { duration 5 }

print { text "We'll observe all of the planets from this distance."

row -3

column 5

duration 5 }

wait { duration 5 }

# Mercury

timerate { rate 1 }

select { object "Mercury" }

center { time 10 }

print { text "On to Mercury."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Mercury. We are only 17 thousand km away."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Let's go to 2 million km away, like we just did at the sun."

row -3

column 5

duration 5 }

select { object "Mercury" }

wait { duration 3 }

goto { time 6 distance 819.672 }

# changedistance { duration 3 rate 1.6 }

wait { duration 5 }

print { text "Woah! This is the same distance as from the sun!"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Venus

timerate { rate 1 }

select { object "Venus" }

center { time 10 }

print { text "Let's check out Venus. Watch Mercury go bye bye."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Here we are - now we are 42 thousand km away."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Let's go to 2 million km away again."

row -3

column 5

duration 5 }

select { object "Venus" }

wait { duration 3 }

goto { time 6 distance 330.469 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "Almost gone! Small compared to the sun, wouldn't you say?"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Earth

timerate { rate 1 }

select { object "Earth" }

center { time 10 }

print { text "Now let's go home."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Beautiful - at a distance of 44 thousand km away."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "And at 2 milliom km. How many earths can fit inside the sun?"

row -3

column 5

duration 5 }

select { object "Earth" }

wait { duration 3 }

goto { time 6 distance 313.571 }

# changedistance { duration 3 rate 1.28 }

wait { duration 5 }

print { text "At a radius of about 25,000 miles, about a million earths could fit in the sun."

row -3

column 5

duration 5 }

wait { duration 8 }

print { text "A little bit of trivia for you..."

row -3

column 5

duration 4 }

wait { duration 5 }

print { text "Earth weighs about 6,600,000,000,000,000,000,000 (6.6 sextillion) tons."

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Mars

timerate { rate 1 }

select { object "Mars" }

center { time 10 }

print { text "Now we set off to the red planet."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Right now we are 23 thousand km away."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "2 million km - shall we?"

row -3

column 5

duration 5 }

select { object "Mars" }

wait { duration 3 }

goto { time 6 distance 588.928 }

# changedistance { duration 3 rate 1.48 }

wait { duration 5 }

print { text "Still not seeing much at this distance."

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Jupiter

timerate { rate 1 }

select { object "Jupiter" }

center { time 10 }

print { text "On to some bigger planets. Much bigger. First is Jupiter."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "We are 500 thousand km away! Remember Mercury at 17 thousand km?."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "How big will this look at 2 million km? Let's see."

row -3

column 5

duration 5 }

select { object "Jupiter" }

wait { duration 3 }

goto { time 6 distance 27.975 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "This is much bigger planet. Actually this is the biggest planet!"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Saturn

timerate { rate 1 }

select { object "Saturn" }

center { time 10 }

print { text "And the planet with the best rings. Saturn."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "422 thousand km away. What a cool planet!"

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Could watch this one for a while, but, 2 million km coming up."

row -3

column 5

duration 5 }

select { object "Saturn" }

wait { duration 3 }

goto { time 6 distance 331.785 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "Still looks cool. And you can see it. Also a big one!"

row -3

column 5

duration 5 }

wait { duration 8 }

print { text "Want some more trivia?"

row -3

column 5

duration 5 }

wait { duration 8 }

print { text "Saturn is the only planet, that if put in water, would float!"

row -3

column 5

duration 5 }

wait { duration 10 }

print { text "Tell me that aint cool. Saturn is cool."

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Uranus

timerate { rate 1 }

select { object "Uranus" }

center { time 10 }

print { text "Now, we chek out Uranus. That's 'your-in-iss'"

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "All blue and everything at 179 thousand km."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Betcha it stays blue at 2 million km."

row -3

column 5

duration 5 }

select { object "Uranus" }

wait { duration 3 }

goto { time 6 distance 78.25 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "Still blue. Told ya. Did you notice the planet is sideways?"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Neptune

timerate { rate 1 }

select { object "Neptune" }

center { time 10 }

print { text "OK. Two to go. Here comes Neptune. Isn't this fun?"

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "173 thousand km. The closest we've started with the gas giants."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Here we go - 2 million km."

row -3

column 5

duration 5 }

select { object "Neptune" }

wait { duration 3 }

goto { time 6 distance 80.762 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "Neptune is about 4 times bigger than Earth."

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Pluto

timerate { rate 1 }

select { object "Pluto" }

center { time 10 }

print { text "Lastly, we will go to Pluto. A small one you will see."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Only 8 thousand km away. At Mercury, we started at 17 thousand km."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Say bye. 2 million km coming up."

row -3

column 5

duration 5 }

select { object "Pluto" }

wait { duration 3 }

goto { time 6 distance 1737.619 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "There you have it. Sun = Huge. Pluto = Where'd it go?"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

wait { duration 10 }

print { text "We're done. Planets vary greatly in size."

row -3

column 5

duration 8 }

wait { duration 10 }

print { text "However, none compare to the sun. What a magnificent solar system!"

row -3

column 5

duration 8 }

wait { duration 10 }

timerate { rate 1 }

select { object "Earth" }

center { time 10 }

print { text "Let's head home to end all of this."

row -3

column 5

duration 5 }

goto { time 15 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 16 }

print { text "And here is our planet - Earth. So go home already."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "You can press -D- to watch it again."

row -3

column 5

duration 8 }

wait { duration 10 }

}

# Setup section

timerate { rate 1 }

renderflags { set "stars|planets|clouds"

clear "constellations|orbits|galaxies|boundaries" }

print { text "Beginn die Planeten Größen-/Distanzverhältnisse in 5 Sekunden. . . Drücke ESC zum Beenden."

row -3

column 5

duration 3 }

set { name "AmbientLightLevel" value 0.4 }

set { name "FOV" value 25.0 }

setvisibilitylimit { magnitude 6.5 }

wait { duration 5 }

# Visit Sun

timerate { rate 1 }

select { object "Sol" }

center { time 10 }

goto { time 10 distance 10 }

follow {}

wait { duration 10 }

print { text "Die Sonne, unser Basispunkt, für das Distanzmessen. Wir sind 7 Millionen Kilometer weit entfernt."

row -3

column 5

duration 5 }

wait { duration 5 }

print { text "Last uns reinzoomen zu 2 Mio. km - unsere Basisnummer."

row -3

column 5

duration 5 }

select { object "Sol" }

wait { duration 3 }

changedistance { duration 3 rate -0.5 }

wait { duration 5 }

print { text "Wir werden alle Planeten aus dieser Distanz beobachten."

row -3

column 5

duration 5 }

wait { duration 5 }

# Mercury

timerate { rate 1 }

select { object "Mercury" }

center { time 10 }

print { text "Auf zum Merkur."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Merkur. Wir sind nur 17.000 km weit entfernt."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Last uns zu 2 Mio km gehen, wie wir es bei der Sonne gemacht haben."

row -3

column 5

duration 5 }

select { object "Mercury" }

wait { duration 3 }

goto { time 6 distance 819.672 }

# changedistance { duration 3 rate 1.6 }

wait { duration 5 }

print { text "Woah! Das ist dieselbe Distanz wie von der Sonne!"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Venus

timerate { rate 1 }

select { object "Venus" }

center { time 10 }

print { text "Last uns die venus überprüfen. Schau, Merkur, wir gehen. Bye bye."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Hier sind wir - jetzt sind wir 42.000 km weit entfernt."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Last uns nochmal zu 2 Mio. km gehen."

row -3

column 5

duration 5 }

select { object "Venus" }

wait { duration 3 }

goto { time 6 distance 330.469 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "Fast geschafft! Klein im Vergleich zur Sonne, würdest du das auch sagen?"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Earth

timerate { rate 1 }

select { object "Earth" }

center { time 10 }

print { text "Lasst uns jetzt nach Hause gehen."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Schön - in einer Distanz von 44.000 km."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Und in 2 Mio. km Entfernung. Wie viele Erden passen in die Sonne?"

row -3

column 5

duration 5 }

select { object "Earth" }

wait { duration 3 }

goto { time 6 distance 313.571 }

# changedistance { duration 3 rate 1.28 }

wait { duration 5 }

print { text "Mit einem Radius von ca. 12.756 km, ungefähr 1,3 Mio Erden würden in die Sonne passen!"

row -3

column 5

duration 5 }

wait { duration 8 }

print { text "Ein bisschen Wissenswertes für dich ..."

row -3

column 5

duration 4 }

wait { duration 5 }

print { text "Die Erde wiegt ungefähr 6.600.000.000.000.000.000.000 (6.6 trilliarden) Tonnen!"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Mars

timerate { rate 1 }

select { object "Mars" }

center { time 10 }

print { text "Jetzt fliegen wir zum Mars."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Jetzt sind wir 23.000 km entfernt."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Sollen wir in 2 Mio. km Entfernung?"

row -3

column 5

duration 5 }

select { object "Mars" }

wait { duration 3 }

goto { time 6 distance 588.928 }

# changedistance { duration 3 rate 1.48 }

wait { duration 5 }

print { text "Auf diese Entfernung immer noch nicht viel sehen."

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Jupiter

timerate { rate 1 }

select { object "Jupiter" }

center { time 10 }

print { text "Auf zu den etwas größeren Planeten. Viel größer. Als erstes ist Jupiter."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Wir sind 500.000 km entfernt! Erinnern Sie sich an Merkur bei 17.000 km?"

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Wie groß wird er in 2 Mio. km Entfernung aussehen? Lasst es uns sehen."

row -3

column 5

duration 5 }

select { object "Jupiter" }

wait { duration 3 }

goto { time 6 distance 27.975 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "Dies ist ein viel größerer Planet. Aktuell ist dies der größte Planet!"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Saturn

timerate { rate 1 }

select { object "Saturn" }

center { time 10 }

print { text "Und der Planet mit den besten Ringen. Saturn."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "422.000 km entfernt. Was für ein cooler Planet!"

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Wir können ihn für eine Weile beobachten, aber, die 2 Mio. km kommen."

row -3

column 5

duration 5 }

select { object "Saturn" }

wait { duration 3 }

goto { time 6 distance 331.785 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "Sieht trotzdem cool aus. Und Sie können es sehen. Auch ein großer!"

row -3

column 5

duration 5 }

wait { duration 8 }

print { text "Etwas mehr Wissenswertes?"

row -3

column 5

duration 5 }

wait { duration 8 }

print { text "Saturn ist der einzige Planet, der, wenn man ihn ins Wasser legen würde, im Wasser schwimmen würde!"

row -3

column 5

duration 5 }

wait { duration 10 }

print { text "Sag mir, das ist nicht cool. Saturn ist cool."

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Uranus

timerate { rate 1 }

select { object "Uranus" }

center { time 10 }

print { text "Jetzt überprüfen wir Uranus. Das ist 'Ihr-in-Iss'"

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Alles blau und alles bei 179.000 km."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Trotzdem bleibt er in 2 Mio. km blau."

row -3

column 5

duration 5 }

select { object "Uranus" }

wait { duration 3 }

goto { time 6 distance 78.25 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "Immer noch blau. Erzählte dir. Haben Sie bemerkt, dass der Planet seitwärts ist?"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Neptune

timerate { rate 1 }

select { object "Neptune" }

center { time 10 }

print { text "OK. Zeit zu gehen. Hier kommt Neptun. Macht das nicht Spaß?"

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "173.000 km. Am nächsten haben wir mit den Gasriesen begonnen."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Los geht's - 2 Mio. km."

row -3

column 5

duration 5 }

select { object "Neptune" }

wait { duration 3 }

goto { time 6 distance 80.762 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "Neptun ist etwa 4-mal größer als die Erde."

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

# Pluto

timerate { rate 1 }

select { object "Pluto" }

center { time 10 }

print { text "Letztlich gehen wir zu Pluto. Ein kleiner, du wirst es sehen."

row -3

column 5

duration 5 }

goto { time 10 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 10 }

print { text "Nur 8000 km entfernt. Bei Merkur haben wir bei 17.000 km angefangen."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Sag bye. 2 Millionen km stehen an."

row -3

column 5

duration 5 }

select { object "Pluto" }

wait { duration 3 }

goto { time 6 distance 1737.619 }

# changedistance { duration 3 rate 1.29 }

wait { duration 5 }

print { text "Hier hast du es. Sonne = riesig. Pluto = Wo ist er hingegangen?"

row -3

column 5

duration 5 }

wait { duration 8 }

timerate { rate 1 }

wait { duration 10 }

print { text "Wir sind fertig. Planeten variieren stark in ihrer Größe."

row -3

column 5

duration 8 }

wait { duration 10 }

print { text "Allerdings ist keiner mit der Sonne vergleichbar. Was für ein herrliches Sonnensystem!"

row -3

column 5

duration 8 }

wait { duration 10 }

timerate { rate 1 }

select { object "Earth" }

center { time 10 }

print { text "Lasst uns nach Hause gehen, um das alles zu beenden."

row -3

column 5

duration 5 }

goto { time 15 distance 8 }

follow {}

timerate { rate 1 }

wait { duration 16 }

print { text "Und hier ist unser Planet - die Erde. Also geh schon nach Hause."

row -4

column 5

duration 5 }

wait { duration 10 }

print { text "Sie können  D  drücken, um es noch einmal anzusehen."

row -3

column 5

duration 8 }

wait { duration 10 }

# added: Bye

print { text "Auf Wiedersehen, bist zum nächsten mal!"

row -3

column 5

duration 8 }

wait { duration 10 }

}