Pausing without time-reset and full-screen in CEL-scripts
Posted: 29.09.2007, 10:34
A problem with the full screen mode:
I am working on a script for educational purpose and I want to distribute it to students on a CD including the Celestia program etc (Celestia 1.4.1 for Windows). I have written a CEL-script and on the CD it is started with the command line --full-screen, so it can run in full screen mode. However, when Celestia runs for the first time the default resolution for full screen mode is not the current resolution of the screen (which I think would be the obvious choice), but 640 x 480. As far as I can see, you have to start Celestia (as an administrator) and manually set the full screen resolution before the script can run in full screen mode in the default screen resolution.
If I omit the parameter --full-screen I can make it run fine in a maximized window in the current screen resolution (but it is more pretty in full screen mode).
Any suggestion to a solution?
Another problem:
I would very much like to be able to pause the script. When you are doing that by pressing 'space' it is also resetting the time, i.e. if the script is running fx by a time factor of 1000 x, that time factor will be reset to real time when you press 'space' a second time to continue the script. I my case that means the rest of the script will be played incorrectly.
Is there a way to pause the script without resetting the time?
Best regards
I am working on a script for educational purpose and I want to distribute it to students on a CD including the Celestia program etc (Celestia 1.4.1 for Windows). I have written a CEL-script and on the CD it is started with the command line --full-screen, so it can run in full screen mode. However, when Celestia runs for the first time the default resolution for full screen mode is not the current resolution of the screen (which I think would be the obvious choice), but 640 x 480. As far as I can see, you have to start Celestia (as an administrator) and manually set the full screen resolution before the script can run in full screen mode in the default screen resolution.
If I omit the parameter --full-screen I can make it run fine in a maximized window in the current screen resolution (but it is more pretty in full screen mode).
Any suggestion to a solution?
Another problem:
I would very much like to be able to pause the script. When you are doing that by pressing 'space' it is also resetting the time, i.e. if the script is running fx by a time factor of 1000 x, that time factor will be reset to real time when you press 'space' a second time to continue the script. I my case that means the rest of the script will be played incorrectly.
Is there a way to pause the script without resetting the time?
Best regards