Celurls decoding and parameters change
Posted: 06.01.2007, 19:03
I don't remember if this has already been discussed, so in this case I beg your pardon (I found something related to this in the post (2003)
http://www.shatters.net/forum/viewtopic.php?t=3800&highlight=seturl+command
but it doesn't solve my problems.
I would like to know what are the single parameters that we find in a seturl cel script command.
Let me make an example: the following one shows the Earth rising from the Moon lighted limb, while staying in orbit around the Moon (as Apollo astronauts have seen during Apollo flights):
cel://Follow/Earth/2519-09-08T11:21:52.50832?x=7tpJtizMpH/MDA&y=nkojQA6QWAE&z=bpR32NLxP+IF&ow=0.318819&ox=-0.490562&oy=0.787903&oz=0.192125&select=Earth&fov=5.981928&ts=-100.000000<d=0&rf=6931&lm=49152
Obviously I can see there the date/time settings
19-09-08T11:21:52. and that we are following Earth
Follow/Earth/25 (yes, but what are the last two digits=25?)
I can see the FOV, but all the other numbers/letters?
My question is due to the info given by Chris Laurel in his Cel_Script_Guide_v1-0g.doc, regarding the seturl command:
"When you use the seturl command, all of the saved settings stored in the Cell://URL are transferred to the user's currently running copy of Celestia."
I would like the contrary.
If I insert in a script a celurl taken fron somewhere else, so not created in my script, I would like to "smooth" the celurl settings as possible, according to the ones already given in my script.
Just to make an example: if in my script I have
setvisibilitylimit { magnitude 6.8 }
and the celurl gives too many and bright stars on the screen, I need to change the url magnitude settings to reduce them as given in my script setvisibilitylimit command.
And obviously the same thing for any other parameter available in celurl.
Is it possible to have the celurls decoding?
Thanks a lot.
Bye
Andrea
http://www.shatters.net/forum/viewtopic.php?t=3800&highlight=seturl+command
but it doesn't solve my problems.
I would like to know what are the single parameters that we find in a seturl cel script command.
Let me make an example: the following one shows the Earth rising from the Moon lighted limb, while staying in orbit around the Moon (as Apollo astronauts have seen during Apollo flights):
cel://Follow/Earth/2519-09-08T11:21:52.50832?x=7tpJtizMpH/MDA&y=nkojQA6QWAE&z=bpR32NLxP+IF&ow=0.318819&ox=-0.490562&oy=0.787903&oz=0.192125&select=Earth&fov=5.981928&ts=-100.000000<d=0&rf=6931&lm=49152
Obviously I can see there the date/time settings
19-09-08T11:21:52. and that we are following Earth
Follow/Earth/25 (yes, but what are the last two digits=25?)
I can see the FOV, but all the other numbers/letters?
My question is due to the info given by Chris Laurel in his Cel_Script_Guide_v1-0g.doc, regarding the seturl command:
"When you use the seturl command, all of the saved settings stored in the Cell://URL are transferred to the user's currently running copy of Celestia."
I would like the contrary.
If I insert in a script a celurl taken fron somewhere else, so not created in my script, I would like to "smooth" the celurl settings as possible, according to the ones already given in my script.
Just to make an example: if in my script I have
setvisibilitylimit { magnitude 6.8 }
and the celurl gives too many and bright stars on the screen, I need to change the url magnitude settings to reduce them as given in my script setvisibilitylimit command.
And obviously the same thing for any other parameter available in celurl.
Is it possible to have the celurls decoding?
Thanks a lot.
Bye
Andrea