Overriding Provided SSC Files

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Overriding Provided SSC Files

Post #1by don » 10.04.2004, 18:15

How difficult would it be to override specific data elements in the provided SSC files, with an "override.ssc" file placed in the extras directory, which would be used by the user for SSC file modifications?

This would allow the user to add/modify SSC file settings to their heart's content, and as directed by add-on developers, without losing any of these additions/changes when they installed a newer version of Celestia.
-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.

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #2by Bob Hegwood » 10.04.2004, 18:40

Boy...

You REALLY don't want me calling that ring file UranusRings.png
DO you? :lol:

Take care, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1

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

Post #3by don » 10.04.2004, 19:00

Actually, this would allow users of your scripts to change the ring numbers, ring file name, and add new InfoURL links -- all without modifying their original ssc file. 8O
-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 “Development”