Moderator: selden
<li>
<a href="
...Cel:// url here...
"> Text describing URL</a>
</li>
<li>
<a href="
cel://Follow/Gliese%20777%20A:b/2011-10-19T10:18:38.01967?x=AEEp8LH3MRY&y=gNzs5IwP8fn//////////w&z=gHTNuHyugAg&ow=0.277978&ox=-0.433997&oy=-0.0627024&oz=-0.85466&select=Gliese%20777%20A:b&fov=36.5328&ts=1<d=0&p=0&rf=6657975&lm=516&tsrc=0&ver=3
">Gliese 777 A planetary system</a>
</li>
selden wrote:You can use a CelX script to remap just about any key.
I prefer to create a .HTML file containing URLs of several favorite viewpoints. Clicking on a Cel:// URL will take Celestia to that viewpoint immediately. If Celestia isn't running, it'll start Celestia, too. (Type a Ctrl-C while Celestia is running to capture a Cel:// URL to the clipboard. Then, in your favorite editor, type its "paste" command to put that URL into a document.)
The .HTML file might contain something like this for each of its entries:
- Code: Select all
<li>
<a href="
...Cel:// url here...
"> Text describing URL</a>
</li>
For example, a file named GLIESE.HTML might contain this:
- Code: Select all
<li>
<a href="
cel://Follow/Gliese%20777%20A:b/2011-10-19T10:18:38.01967?x=AEEp8LH3MRY&y=gNzs5IwP8fn//////////w&z=gHTNuHyugAg&ow=0.277978&ox=-0.433997&oy=-0.0627024&oz=-0.85466&select=Gliese%20777%20A:b&fov=36.5328&ts=1<d=0&p=0&rf=6657975&lm=516&tsrc=0&ver=3
">Gliese 777 A planetary system</a>
</li>
The .HTML file doesn't have to include all of the usual html boilerplate, although it can if you want.
<li> <a href=" "> My Url </a> </li> preloadtex { object "Sol/Earth" }
preloadtex { object "Sol/Earth/Moon" }
select {object "Sol"}
goto {time 3.0 distance 30}
wait {duration 3.0}
select {object "Sol/Earth"}
follow {}
goto {time 3.0 distance 6.0}
wait {duration 2.0}
print {text "Welcome to Celestia!" row -3 column 1 duration 3}
wait {duration 3.0}
#preloadtex { object "Sol/Earth" }
#preloadtex { object "Sol/Earth/Moon" }
select {object "Gliese 876"}
goto {time 3.0 distance 30}
wait {duration 3.0}
#select {object "Sol/Earth"}
#follow {}
#goto {time 3.0 distance 3.0}
#wait {duration 2.0}
print {text "Welcome to Celestia!" row -3 column 1 duration 3}
wait {duration 3.0}
john Van Vliet wrote:why not just temporarily edit the "start.cel"
that is what i do
john Van Vliet wrote:when i test something i open the start.cel edit it save
then i can go right to it
now a cell url is VERY precise
go to a specific location at a specific time with a specific field of view ... and so on
the start.cel is mostly a "rough " setting
but if all you need is to go to that star ,then it is just fine
Users browsing this forum: No registered users and 2 guests