Howdy Everyone,
An updated final version (1.0d) of the Celestia .CEL Scripting Guide is now ready for you to download. It is available in .doc, .html, .pdf, and .rtf formats from my Celestia web page: http://www.donandcarla.com/Celestia/.
Please post your comments, suggestions, additions, corrections, etc.!!!
Thank you, and HAPPY SCRIPTING!
-Don G.
PS. Updated on Jan 6, 2004.
Celestia .CEL Scripting Guide for 1.3.1 final
-
Topic authordon
- Posts: 1709
- Joined: 12.07.2003
- With us: 21 years 4 months
- Location: Colorado, USA (7000 ft)
Celestia .CEL Scripting Guide for 1.3.1 final
Last edited by don on 06.01.2004, 07:31, edited 2 times in total.
-
- Posts: 74
- Joined: 03.11.2003
- With us: 21 years
Thank You
Thanks don,
I've had no time lately to do anything with Celestia, but this will certainly come in handy when I do.
I've had no time lately to do anything with Celestia, but this will certainly come in handy when I do.
Thank you,
christoria
-------------
Your stomach has to produce a new layer of mucus every two weeks; otherwise it will digest itself.
christoria
-------------
Your stomach has to produce a new layer of mucus every two weeks; otherwise it will digest itself.
-
- Posts: 1048
- Joined: 19.10.2003
- With us: 21 years 1 month
- Location: Germantown, Ohio - USA
Mr. Goyette,
I downloaded the documentation just the other day, and am now in the process of trying to read it. (Been busy playing with 51 separate addons from Jestr... Whew!)
Thanks very much for the resource. It's these documents which make learning about Celestia sooo... much easier. I *still* don't understand half of what I'm doing, but your guides have helped me figure out the other half.
Keep 'em coming willya?
Take care, Bob
I downloaded the documentation just the other day, and am now in the process of trying to read it. (Been busy playing with 51 separate addons from Jestr... Whew!)
Thanks very much for the resource. It's these documents which make learning about Celestia sooo... much easier. I *still* don't understand half of what I'm doing, but your guides have helped me figure out the other half.
Keep 'em coming willya?
Take care, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1
Set orbits in script in 1.3.1-1?
I'm testing a script with Celestia 1.3.0 and 1.3.1-1. The command to turn on orbits: renderflags { set "orbits" } does not work in 1.3.1-1 on my Windows system. Are there new orbit script commands for 1.3.1-1? I have not found any in the documentation.
Re: Set orbits in script in 1.3.1-1?
Anonymous wrote:I'm testing a script with Celestia 1.3.0 and 1.3.1-1. The command to turn on orbits: renderflags { set "orbits" } does not work in 1.3.1-1 on my Windows system. Are there new orbit script commands for 1.3.1-1? I have not found any in the documentation.
Works here on Linux, and I would be surprised to see any difference on Windows, but I can't test it right now. Do you have any specific orbits (like planet-orbits, spacecraft-orbits, etc.) enabled?
Harald
Re: Set orbits in script in 1.3.1-1?
Anonymous wrote:I'm testing a script with Celestia 1.3.0 and 1.3.1-1. The command to turn on orbits: renderflags { set "orbits" } does not work in 1.3.1-1 on my Windows system. Are there new orbit script commands for 1.3.1-1? I have not found any in the documentation.
I found that if the user has moons and planets orbits checked under render, view options, orbits/labels, the orbits commands in the script can turn them off and on; but if the user has them unchecked, the orbits command, renderflags { set "orbits" }, will not turn them on.
I tried making up commands like renderflags { set "planetorbits" } or lables { set "planetorbits" }; but nothing worked. I need a way to turn these on from a script if the user has them unchecked.
-
Topic authordon
- Posts: 1709
- Joined: 12.07.2003
- With us: 21 years 4 months
- Location: Colorado, USA (7000 ft)
Re: Set orbits in script in 1.3.1-1?
Anonymous wrote:I'm testing a script with Celestia 1.3.0 and 1.3.1-1. The command to turn on orbits: renderflags { set "orbits" } does not work in 1.3.1-1 on my Windows system. Are there new orbit script commands for 1.3.1-1? I have not found any in the documentation.
If you look at the View Options dialog box in Windows, there are several sections in it, including Show, Orbits/Labels, Filter Stars and Information Text.
The renderflags { set "orbits" } command in CEL scripting, and the "o" keyboard command, affect only the Show section of this dialog box. To date, there are no keyboard or script commands that affect the Orbits part of the Orbits / Labels section. Thus, this would be an enhancement request for a future version.
Cheers,
-Don G.
orbits
>To date, there are no keyboard or script commands that affect the Orbits part of the Orbits / Labels section.
Then I guess, in our scripts, we will have to tell the 1.3.1 users to make sure they have checked, in the Orbits / Labels section, the orbits we want to turn off and on in our scripts, like moons, planets, etc. Otherwise, if the user has them unchecked, the script won't be able to turn them on.
Then I guess, in our scripts, we will have to tell the 1.3.1 users to make sure they have checked, in the Orbits / Labels section, the orbits we want to turn off and on in our scripts, like moons, planets, etc. Otherwise, if the user has them unchecked, the script won't be able to turn them on.
- Adirondack
- Posts: 528
- Joined: 01.03.2004
- With us: 20 years 8 months
Well, it would be great, if an object-Argument could be implemented in the renderflags Command.
Like this:
So a specific object could be selected for displaying the specific orbit (and not also the orbits of other plantes etc.) and other stuff.
But I'm not sure, if this is possible at all.
Adirondack
Like this:
Code: Select all
renderflags { object "Mars" set "orbits|automag|atmospheres|nightmaps" }
So a specific object could be selected for displaying the specific orbit (and not also the orbits of other plantes etc.) and other stuff.
But I'm not sure, if this is possible at all.
Adirondack
-
Topic authordon
- Posts: 1709
- Joined: 12.07.2003
- With us: 21 years 4 months
- Location: Colorado, USA (7000 ft)
Agreed. Many folks have requested this in the past, so it must be on someone's to-do list by now. Not sure when we might see something like this though.
-Don G.
My Celestia Scripting Resources page
Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.
My Celestia Scripting Resources page
Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.