Page 1 of 1

OrbitColor parameters not working for referencepoints

Posted: 08.12.2012, 23:29
by PlutonianEmpire
I learned about establishing custom orbit colors from here:
viewtopic.php?f=15&t=17167

But when I tried establishing an orbit color to a reference point, such as Pluto-Charon, the color for its orbit remained its default color. :?

Re: OrbitColor parameters not working for referencepoints

Posted: 09.12.2012, 10:45
by jogad
Hi,

I don't know if it is a bug. In any case it is a little bit annoying. :(

You can change the orbit's color but the default color is displayed unless you specify that you really want to display the modified color. :roll:

You can do that with this simple celx script :

Code: Select all

PlutoCharon = celestia:find("Sol/Pluto-Charon")
PlutoCharon:setorbitcolor(1,1,0)  -- yellow orbit for Pluto-Charon
PlutoCharon:setorbitcoloroverridden(true) -- activate the change

plutoOrbit.jpg

Of course you can run this script independantly or add these 3 lines to your start script

Have a look here
http://en.wikibooks.org/wiki/Celestia/C ... overridden
:mrgreen: