Lua scripting
Posted: 28.12.2003, 12:09
Chris has made available a celestia version 1.3.1-1 at sourceforge. The only change to v1.3.1 is the inclusion of Lua-scripting, which had been omitted on windows (Linux versions should be fine). If you already installed 1.3.1, you can download celestia.exe (the only changed file) here: http://www.h-schmidt.net/celestia/celestia.exe.zip
Celestia now has two scripting languages, the one used by the normal .cel-scripts, which consist of a sequence of commands without control structures, and Lua-scripting (.celx), which is a complete embedded programming language. Even if you aren't interested in writing scripts yourself, you may still want to run some of the new scripts. I made some available at http://www.h-schmidt.net/celestia/. If you are trying all of them anyway, I recommend running the solarsystem-tour as the last one - otherwise run at least the solarsystem tour.
Post any problems you may encounter (but please first make sure you are using the correct version of celestia).
Those of you who are interested in writing scripts will find a summary of the available commands on the page. Lua-scripting supports much of the functionality of .cel-scripts, which combined with real programmability (variables, loops, if-then-else, ...) gives great freedom (at the cost of some complexity). It's still fairly new, so don't expect it to be free of bugs.
Have fun!
Harald
Celestia now has two scripting languages, the one used by the normal .cel-scripts, which consist of a sequence of commands without control structures, and Lua-scripting (.celx), which is a complete embedded programming language. Even if you aren't interested in writing scripts yourself, you may still want to run some of the new scripts. I made some available at http://www.h-schmidt.net/celestia/. If you are trying all of them anyway, I recommend running the solarsystem-tour as the last one - otherwise run at least the solarsystem tour.
Post any problems you may encounter (but please first make sure you are using the correct version of celestia).
Those of you who are interested in writing scripts will find a summary of the available commands on the page. Lua-scripting supports much of the functionality of .cel-scripts, which combined with real programmability (variables, loops, if-then-else, ...) gives great freedom (at the cost of some complexity). It's still fairly new, so don't expect it to be free of bugs.
Have fun!
Harald