Hi folks:
I have to update one of my educational activities soon. As part of the update, I am creating a new add-on object dsc file for a nebula that I am including. It will take the place of an older, existing dsc file for an older nebula that was present in one of my past add-ons, and which many users probably have in their extras folder. The two files are in completely different folders, and I would like them to stay that way.
Of course, the user could simply install the new dsc file in one folder and manually delete the old one from the other folder, but I don't want them to have to do that, if I can do it for them. This is particularly true for teachers who have already loaded my activities on a class set of computers. I don't want them to have to open every Celestia folder, navigate to the right folder, find the old file and delete it.
In short, I am trying to install an ssc or dsc file that will replace and completely inactivate an existing one.
I thought I could do this by simply including a replacement for the old dsc file that was completely commented out, so that Celestia not only stops drawing the object but removes its name from the list of objects in Solar System Browser or in the Goto objects field. I tried that by commenting out all of the lines, including the object's name. To my surprise, however, that caused Celestia to hang up.
I found that I could overwrite the old file with one that commented out all of the lines between the brackets, as long as the object name remained, and both brackets were intact. Celestia would no longer draw the object. However, its name would still appear in Solar System Browser. I tried changing its name to just a blank space. That worked, but there is now a "blank" that Celestia lists in the browser.
Is there a way to replace/overwrite an ssc file or dsc file in an add-on with one that comments out everything (including the object's name) so that nothing appears in space and no object name is listed in the solar system browser?
Any help would be appreciated.
Thanks
Frank