Scripting questions (.cel)

All about writing scripts for Celestia in Lua and the .cel system
Topic author
rifl
Posts: 13
Joined: 12.02.2005
With us: 19 years 9 months
Location: Europa, Austria, the Tyrol, Ebbs
Contact:

Scripting questions (.cel)

Post #1by rifl » 15.02.2005, 08:43

Hello, scripters ;)

I work since a long time with celestia, but i've never scripted before.
So I have some questions....

1.) Is ist possible to shut down the violet text? also the informationstext with details about the planets, the geograpic position and the time?
Is there any command, which i can use in a cel script?

2.) Is it possible to write a cel Script which never stops? Also a script which is runing continuoues?

3.) What's better? .cel or .celx ? - and pleas write why .celx is better! Are there any (Celestia)Comands which are not aviable in .cel?

Thanks, wfg RiFl
every computer is only as stupid as his user ;) :D

Harry
Posts: 559
Joined: 05.09.2003
With us: 21 years 2 months
Location: Germany

Re: Scripting questions (.cel)

Post #2by Harry » 15.02.2005, 09:18

rifl wrote:1.) Is ist possible to shut down the violet text? also the informationstext with details about the planets, the geograpic position and the time?
Is there any command, which i can use in a cel script?
Hm, I thought that had been implemented, but apparently it isn't. So: no, that's not possible.
2.) Is it possible to write a cel Script which never stops? Also a script which is runing continuoues?
Not with CEL, you have to use CELX for that.
3.) What's better? .cel or .celx ? - and pleas write why .celx is better! Are there any (Celestia)Comands which are not aviable in .cel?

Most importantly CELX uses a fully featured programming language (Lua), so you can write interactive scripts which do something depending on the current state of Celestia (or e.g. keypresses)

Harald


Return to “Scripting”