Constellation color

All about writing scripts for Celestia in Lua and the .cel system
Topic author
thimage
Posts: 3
Joined: 07.04.2005
With us: 19 years 9 months
Location: Monterrey/Mexico

Constellation color

Post #1by thimage » 02.03.2008, 22:10

Hi, I humbly request assistance in changing constellation line colors at will.
Actually I??m not trying to make constellations looking like a Christmas tree but to use the asterism file as a route manager between stars for an SF story that I want to map in Celestia.
I already know how to link stars within the file but I want some color options, and being able to use several colors at the same time, not being restricted to only one.

Thanks in advance,

Thimage

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 21 years
Location: Montreal

Post #2by Cham » 02.03.2008, 22:14

There's a "better" way to do this, using a CMOD model. Look there :

http://www.celestiaproject.net/forum/viewtopic ... ines+stars

You'll need to do some maths, however.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 3 months
Location: Out there...

Post #3by Reiko » 02.03.2008, 23:46

Yes the CMODs are perfect what you need. It looks hard to learn at first but just take a look at Cham's instructions and you will have it in no time. :)


Return to “Scripting”