.cel scripts - no AutoMag on/off switch?

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

.cel scripts - no AutoMag on/off switch?

Post #1by don » 20.07.2003, 14:50

I can't seem to find where to turn Auto Magnitude ON or OFF in .cel scripting (keyboard = Ctrl+y). There are commands to set Magnitude and to set Auto-Magnitude's faintest light, but how do I turn it ON or OFF in .cel scripting?

Thanks!

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #2by chris » 20.07.2003, 18:50

Oops . . . this was missing from the render flags. I just made a fix, so you'll be able to turn this on and off with the renderflags command:

Code: Select all

renderflags { set "automag" }
renderflags { clear "automag" }


--Chris

Topic author
don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #3by don » 20.07.2003, 21:43

Thank you Chris.

I am modifying the scripting guide as we go along (smile).

-Don


Return to “Development”