Page 1 of 1

ScriptedOrientations in 1.5.0pre1 ????

Posted: 14.06.2007, 12:17
by Chuft-Captain
Does anyone know if it's possible to run ScriptedOrientations in 1.5.0pre1.

I have a scripted orientation function provided by Chris, but it doesn't appear to get called in my install.

Can someone tell me if there are any additional pre-requisites for Scripted Orientations, aside from 1.5 itself?
ie. What was the first build to include Scripted Orientations?
Any changes required for celestia.cfg in oredr to run them?
What's the correct file suffix (.celx ? or .lua?)
and .where does the function declaration have to be installed?
-- I've tried:
1. a scripts sub-directory of the directory containing the SSC,
2. the SSC directory itself
3. Celestia\scripts
4. C:\Prog...\Celestia
and I've tried .celx file extension.

Nothing works so far..

Cheers
CC

Posted: 14.06.2007, 13:28
by selden
You need to be running 1.5.0 pre3 or build from cvs.

Steve Binder has made available a build of pre3 for the Mac. See http://www.celestiaproject.net/forum/viewtopic.php?t=11096

pre3 for Windows is available at
http://www.celestiaproject.net/~claurel/celest ... .0pre3.exe


Provide the orientation script (with extension .lua) either in your Addon's main directory or in a subdirectory under it named celxx.
(Before pre3, you would have had to provide it as part of a Lua Hook.)

You don't need to modify celestia.cfg

For a working example, please take a look at my "pointing hubble" addon, which is available at
http://www.lepp.cornell.edu/~seb/celest ... le_v06.zip
(87 KB)

Posted: 14.06.2007, 14:04
by Chuft-Captain
Thanks a lot Selden, will give that a try!

:)