Page 1 of 1

start.cel

Posted: 16.10.2007, 18:14
by BobHegwood
A note to people who STILL use cel scripts. Probably just Me now...

Just noticed that if you change any of the visibility settings in the start.cel,
you MUST make certain that these changes occur after the main settings
have been executed by the script.

In other words, I added: setfaintestautomag45deg {magnitude 10.0}
at the appropriate place in the start.cel script, but nothing happened. After
some toying around a bit, I found out that the setfaintestautomag45deg
command has NO effect unless it is placed toward the bottom of the
start.cel script. Must be used AFTER the automag function has been turned
ON earlier in the script.

Just FYI.

Chris? You want me to re-write the start.cel script so it works like it's
supposed to do? If a new user follows the text included in the current
script, he/she will become confused completely when things don't work
as the documentation says it will.

Again, just FYI.

P.S. Took me thirty minutes to figure out HOW to even SAVE the new
script on Vista. Seems that I had to classify the User "Bob Hegwood"
as able to change the file even though I'm the only user, the only
Administrator, the only Bozo ON this machine. Oh Brother... :roll:

Posted: 16.10.2007, 20:50
by chris
Bob, if you want to rewrite the script so that it works properly, I would be thankful.

--Chris

Posted: 16.10.2007, 21:38
by LordFerret
BobHegwood wrote:A note to people who STILL use cel scripts. Probably just Me now...

Nope, you're not alone. :wink: :lol:

Posted: 16.10.2007, 21:50
by BobHegwood
chris wrote:Bob, if you want to rewrite the script so that it works properly, I would be thankful.

--Chris


You GOT it Sir...

Give me a day or two though... I'm also trying to update the Celestia
WikiBook - along with all of the learning that THAT's going to take. I'm
receiving requests to do all kinds of things now, but - the scary thing is
that - I don't know BEANS about anything I'm doing anymore.

Note: I'm gonna get you for all of this, Selden... <grin>

Posted: 17.10.2007, 00:59
by BobHegwood
Okay,

So I lied...

The start.cel replacement is attached to an e-mail I sent to your
address as listed on the members section. I tested it pretty well here, but
you may wish to have Selden test it to make certain that it's okay.

See Selden? I TOLD you I'd get you back. More work for you. Hee, hee.
Seriously though, I simply re-wrote a lot of the text, and re-positioned
some of the commands so that they work as expected in 1.5 pre3.

Take care, Bob

Posted: 19.10.2007, 00:42
by dirkpitt
A problem I found with the Windows Celestia is, if I enable AutoMag inside start.cel the Automag menu item is not checked - making it look like automag was not enabled.

Posted: 19.10.2007, 03:30
by BobHegwood
dirkpitt wrote:A problem I found with the Windows Celestia is, if I enable AutoMag inside start.cel the Automag menu item is not checked - making it look like automag was not enabled.


What I found was that ALL of the menu settings for the rendering options
have to be cleared and/or set at the beginning of the start.cel script. If you
move the renderflag SET statements to somewhere ABOVE the place where
you set your automag value, you'll find that it works correctly. (At least on
my new Windows Vista machine.)

If you like, I can e-mail you a copy of the re-arranged file. Just let me
know...

Thanks, Bob

Posted: 19.10.2007, 06:40
by dirkpitt
BobHegwood wrote:What I found was that ALL of the menu settings for the rendering options
have to be cleared and/or set at the beginning of the start.cel script. If you
move the renderflag SET statements to somewhere ABOVE the place where
you set your automag value, you'll find that it works correctly.


Actually all I'm doing is set the automag render flag in my start.cel, not the automag value. Automag itself is getting turned on correctly, but Celestia's menu is not reflecting the change.

Posted: 19.10.2007, 13:44
by BobHegwood
dirkpitt wrote:
Actually all I'm doing is set the automag render flag in my start.cel, not the automag value. Automag itself is getting turned on correctly, but Celestia's menu is not reflecting the change.


But that's EXACTLY why I had to modify the script... When I turned it on,
it didn't STAY on after the main Celestia program started up. You
understand?

Thanks, Bob