OrbitColor parameters not working for referencepoints

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
PlutonianEmpire M
Posts: 1354
Joined: 09.09.2004
Age: 35
With us: 15 years 2 months
Location: MinneSNOWta

OrbitColor parameters not working for referencepoints

Post #1by PlutonianEmpire » 08.12.2012, 23:29

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. :?
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
jogad
Posts: 458
Joined: 17.09.2008
With us: 11 years 2 months
Location: Paris France

Re: OrbitColor parameters not working for referencepoints

Post #2by jogad » 09.12.2012, 10:45

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:


Return to “Bugs”

Who is online