How to run CELX scripts
Posted: 10.11.2007, 11:32
Another newbie question. I am a bit confused by some of the
documentation on scripting. Trying to run a .celx script, e.g.
celestia scripts/HuygensMissionTour.celx
but this returns an error about a malformed script, missing the
initial parenthesis {. So it looks as if lua scripts cannot be
executed directly. Do they need some sort of wrapper, like a Celestia
script to invoke them?
It also looks as if the note about scripts residing anywhere for
Celestia versions greater than 1.3 is not correct. I had to specify
the subdirectory. Maybe path searching has to be assisted by the
user; an environment variable perhaps?
Any enlightenment would be appreciated.
--------------------------------------
AMD Opteron, 2Gb, GeForce 7800 GT
Mandriva Linux 2007.0, GNOME
Celestia 1.4.1
documentation on scripting. Trying to run a .celx script, e.g.
celestia scripts/HuygensMissionTour.celx
but this returns an error about a malformed script, missing the
initial parenthesis {. So it looks as if lua scripts cannot be
executed directly. Do they need some sort of wrapper, like a Celestia
script to invoke them?
It also looks as if the note about scripts residing anywhere for
Celestia versions greater than 1.3 is not correct. I had to specify
the subdirectory. Maybe path searching has to be assisted by the
user; an environment variable perhaps?
Any enlightenment would be appreciated.
--------------------------------------
AMD Opteron, 2Gb, GeForce 7800 GT
Mandriva Linux 2007.0, GNOME
Celestia 1.4.1