Anyone seen a Voyager script ?

General discussion about Celestia that doesn't fit into other forums.
Topic author
Dr Norman Bates

Anyone seen a Voyager script ?

Post #1by Dr Norman Bates » 17.07.2003, 04:35

Does anyone know of a script which follows the Voyager trajectories (using the available models etc.).

Thanks

Volker

Re: Anyone seen a Voyager script ?

Post #2by Volker » 17.07.2003, 19:25

Some time ago I wrote a script showing the flight of Voyager 2. In principle it worked fine, but I had some problems which I described in a previous post ( http://www.shatters.net/forum/viewtopic.php?t=1683&highlight=voyager+script&sid=c04115a819b237809de8380426c33518 ).
The script is a bit lengthy, and I have not tested it with 1.3.0 because I have the idea to re-develop it using Lua. If you are interested I can send it via eMail.
Volker

Dr N

Voyager Script

Post #3by Dr N » 18.07.2003, 00:42

Thanks Volker. If you can be bothered sending your script please do. Here's an email address:

luckas@hotmail.com

Thanks

Dr N.

Sorry ...

Post #4by Dr N. » 18.07.2003, 00:43

Try this one:

paul_luckas@hotmail.com

Thanks

Borg Collective
Posts: 243
Joined: 24.11.2002
With us: 22 years
Location: Delta Quadrant

Post #5by Borg Collective » 18.07.2003, 00:49

Send it to [REDACTED] also ;-).
Last edited by Borg Collective on 21.09.2020, 13:08, edited 1 time in total.
What am I doing? Ah, nothing much. Just laying on my bed, watching the stars, and sky, and keep asking myself: 'Where the Hell is my Roof?'.

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

Post #6by don » 18.07.2003, 02:12

Howdy Volker,

Please, I too would like to see your script. There aren't many out there for downloading and learning.

Thank you!

-Don (donlgoyette@yahoo.com)

PS. How do you guys code mailto: URLs here in the forums?

Borg Collective
Posts: 243
Joined: 24.11.2002
With us: 22 years
Location: Delta Quadrant

Post #7by Borg Collective » 18.07.2003, 02:25

Huh? :?
:-)
Simply, we just write them down
;-)
:-))
What am I doing? Ah, nothing much. Just laying on my bed, watching the stars, and sky, and keep asking myself: 'Where the Hell is my Roof?'.

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

Post #8by don » 18.07.2003, 02:51

mailto:x@y.com

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

Post #9by don » 18.07.2003, 02:52

It was plain text in the preview and also gets posted as plain text.

I tried the URL button too, but it came out as plain text also.

Edited PS. HTML is disabled for me, if that's what you mean.

MB
Posts: 128
Joined: 19.07.2002
With us: 22 years 4 months
Location: Paris France

Post #10by MB » 18.07.2003, 07:24

Volker,
I am another guykind to send it to:, interested by your script. Please be kind to send me at:
barat@lcam.u-psud.fr
MB

jamarsa
Posts: 326
Joined: 31.03.2003
With us: 21 years 8 months
Location: San Sebastian (Spain)

Post #11by jamarsa » 18.07.2003, 08:04

I didn't expect to see a "sendmetoo" chain here...

Why don't send it to CrookedScepter, so it's available to everyone?

See here:

http://www.shatters.net/forum/viewtopic.php?t=2836


don, I simply write just the mail address, and I have HTML off also.

meme@myemailserver.com (trap here for spammers, hehehe)

Don't use brackets, parenthesis, nor mailto: headers. Just only the address (or at least spaces before and after it).

WeAllWantIt

script

Post #12by WeAllWantIt » 18.07.2003, 09:20

Could you please copy-paste your script as a reply in this thread, so that everyone can enjoy it without giving away an email address (spam hits hard these days :evil: )

Thank you very much!
:wink:

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

Post #13by don » 18.07.2003, 15:02

jamarsa wrote:don, I simply write just the mail address, and I have HTML off also.

meme@myemailserver.com (trap here for spammers, hehehe)

Don't use brackets, parenthesis, nor mailto: headers. Just only the address (or at least spaces before and after it).


Thank you jamarsa. Figured there would need to be some code somewhere -- guess I was making it harder than it is (sigh).

I think "space before and after" was the clincher.

-Don

PS. I too think that copy-paste posting the script (using the Code button) would be a GREAT idea. No matter how long it is, we can all copy and paste it ourselves.

Guest

Post #14by Guest » 19.07.2003, 00:24

thats why text editors have a "select all" button

Volker

Re: script

Post #15by Volker » 19.07.2003, 15:48

[quote="WeAllWantIt"]Could you please copy-paste your script as a reply in this thread, so that everyone can enjoy it without giving away an email address (spam hits hard these days :evil: )
quote]

Ok, ok ...
Sorry, I was not aware of the spam :evil: problem. I was only afraid of boring with 200 loc showing repeatedly the same commands and working not perfectly anyway... :wink:
As I said in the previous post, the repeated sequence of timerate and wait commands only serves to vary the time lapse when approaching a planet, i.e. moving faster when far away, and (more or less smoothly) moving slower when in the near. However, the result is not totally reproducible, and I noticed that the script works better when run a second time (and all the textures are already loaded I guess).
Any better idea? My thoughts: It would be nice if the wait command could possibly be linked to the distance to a planet or to the Celestia clock ('wait until a specfic distance is reached' or 'wait until a specific julian date is reached').
Now here is my attempt of a Voyager script. I use the Voyager trajectories from http://www.shatters.net/~claurel/trajectories/ .
Volker

{
labels {clear "galaxies|moons|asteroids|constellations|stars|planets|spacecraft" }
time {jd 2443428.6}
timerate {rate 1000.0}

select {object "Sol/Earth"}
follow { }
gotolonglat {distance 2.2 longitude 100.0 latitude 50.0 up [0 1 0] upframe "ecliptical" time 20.0}
wait {duration 30}

select {object "Voyager 2"}
goto {distance 1000.0 time 1000.0}
wait {duration 2.0}
time {jd 2443429.0}
gotolonglat {distance 0.000001 longitude 100.0 latitude 0.0 up [0 1 0] time 5.0}
labels {set "planets" }
wait {duration 5.25}
labels {set "spacecraft" }
goto {distance 5.0 time 5.0}
wait {duration 5.25}

select {object "Sol/Jupiter"}
lock { }
timerate {rate 5000.0}
wait {duration 1.0}
timerate {rate 10000.0}
wait {duration 1.0}
timerate {rate 50000.0}
wait {duration 1.0}
timerate {rate 100000.0}
wait {duration 1.0}
timerate {rate 500000.0}
wait {duration 1.0}
timerate {rate 1000000.0}
wait {duration 1.0}
timerate {rate 2500000.0}
wait {duration 5.0}
labels {clear "planets" }
wait {duration 4.0}
timerate {rate 1000000.0}
wait {duration 27.5}
labels {clear "spacecraft" }
timerate {rate 500000.0}
wait {duration 4.0}
timerate {rate 250000.0}
wait {duration 3.0}
timerate {rate 100000.0}
wait {duration 2.0}
timerate {rate 50000.0}
wait {duration 1.0}
timerate {rate 25000.0}
wait {duration 2.0}
timerate {rate 12500.0}
wait {duration 3.0}
timerate {rate 7200.0}
wait {duration 4.0}
timerate {rate 3600.0}
wait {duration 32.0}
timerate {rate 5400.0}
wait {duration 18.0}
labels {set "planets|spacecraft" }
timerate {rate 7200.0}
wait {duration 5.0}

select {object "Voyager 2"}
gotolonglat {distance 5.0 longitude 0.0 time 25.0}
time {jd 2444067.0}
wait {duration 25.5}
select {object "Sol/Saturn"}
lock { }
timerate {rate 2000000.0}
wait {duration 5.0}
labels {clear "planets" }
wait {duration 22.0}
labels {clear "spacecraft" }
timerate {rate 1000000.0}
wait {duration 11.0}
timerate {rate 500000.0}
wait {duration 2.0}
timerate {rate 250000.0}
wait {duration 2.0}
timerate {rate 100000.0}
wait {duration 1.5}
timerate {rate 50000.0}
wait {duration 1.0}
timerate {rate 25000.0}
wait {duration 1.0}
timerate {rate 12500.0}
wait {duration 2.0}
timerate {rate 7200.0}
wait {duration 2.0}
timerate {rate 3600.0}
wait {duration 30.0}
timerate {rate 5400.0}
wait {duration 5.0}
labels {set "planets" }
timerate {rate 7200.0}
wait {duration 5.0}

select {object "Voyager 2"}
gotolonglat {distance 5.0 longitude 125.0 time 25.0}
time {jd 2444844.0}
wait {duration 25.25}
select {object "Sol/Uranus"}
lock { }
timerate {rate 5000000.0}
wait {duration 20.0}
labels {clear "planets" }
wait {duration 5.0}
timerate {rate 2500000.0}
wait {duration 3.5}
timerate {rate 1000000.0}
wait {duration 3.0}
timerate {rate 500000.0}
wait {duration 2.5}
timerate {rate 250000.0}
wait {duration 1.5}
timerate {rate 100000.0}
wait {duration 1.5}
timerate {rate 50000.0}
wait {duration 5.0}
timerate {rate 25000.0}
wait {duration 4.0}
timerate {rate 12500.0}
wait {duration 3.0}
timerate {rate 7200.0}
wait {duration 4.0}
timerate {rate 3600.0}
wait {duration 25.0}
timerate {rate 5400.0}
wait {duration 3.0}
labels {set "planets" }
timerate {rate 7200.0}
wait {duration 5.0}

select {object "Voyager 2"}
gotolonglat {distance 5.0 longitude 185.0 latitude -5.0 time 25.0}
time {jd 2446457.0}
wait {duration 25.25}
select {object "Sol/Neptune"}
lock { }
timerate {rate 5000000.0}
wait {duration 5.0}
labels {clear "planets" }
wait {duration 15.0}
timerate {rate 2500000.0}
wait {duration 3.0}
timerate {rate 1000000.0}
wait {duration 3.0}
timerate {rate 500000.0}
wait {duration 2.5}
timerate {rate 250000.0}
wait {duration 2.0}
timerate {rate 100000.0}
wait {duration 2.0}
timerate {rate 50000.0}
wait {duration 2.25}
timerate {rate 20000.0}
wait {duration 6.0}
timerate {rate 8000.0}
wait {duration 6.0}
timerate {rate 3000.0}
wait {duration 5.0}
timerate {rate 1000.0}
wait {duration 4.0}
timerate {rate 600.0}
wait {duration 30.0}

gotolonglat {distance 5.0 longitude 185.0 latitude -5.0 time 25.0}
changedistance {rate 2.83 duration 16.0}
}

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

Post #16by don » 19.07.2003, 19:02

Thanks Volker!

That's pretty cool.

I used the Voyager files from Darkmiss: http://www.bt.homepage.btinternet.co.uk/Celestia.htm.

Thank you both!

-Don


Return to “Celestia Users”