How to set orbit of a specific (class of) object ?

All about writing scripts for Celestia in Lua and the .cel system
Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

How to set orbit of a specific (class of) object ?

Post #1by Vincent » 19.01.2005, 19:54

I made a search on the forum but I didn't find any topic about that...

In a script, I need to set the orbit of a comet on. So, I used the command line :

renderflags {set "orbits"}

But I noticed that it works only if 'comet orbit' is ticked in the View Options Menu.

So here are my 2 questions :
- Is there a way to activate the 'comet orbit' during the script or do I have to add a text line to ask peaple to do it manualy ?

- Is it possible then to activate the orbit of one specific comet only ? (the one which is selected)

Thanks for your help ! And sorry if this has already been answered in the forum...

@+
Vincent
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Return to “Scripting”