on scripts

All about writing scripts for Celestia in Lua and the .cel system
don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #21by don » 13.05.2004, 19:09

Sorry, my PC was down for several days. :(

rass wrote:Better print capabilities with control over font size...unless Ive overlooked this... not to mention implementing your own fonts if you choose and font color...

I actually submitted code to Chris that allowed the user to select fonts via scripts, with plans to add color picking, size, line justification (left, center, right) and other things, but he rejected it saying he did not want to turn Celestia into a page layout program. :(
-Don G.
My Celestia Scripting Resources page

Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

Topic author
Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 9 months
Location: Altair

Post #22by Rassilon » 14.05.2004, 20:09

Maybe resubmit it without the formatting and just the font color and size...I think it may have been too much at once...though nice to have...
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #23by don » 15.05.2004, 01:08

The only code I submitted was user-defined font files. He didn't want to do that either, because then users could define their own fonts and forget to make them available for their shared scripts. I suggested using a default font if the script could not find the requested file, but he declined.

We went back and forth for a couple of days, but he finally put his foot down and said "NO". That he would come up with HIS plan for text display and then someone could develop it from that. After all, it IS his program. :)
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.


Return to “Scripting”