Can an addon be toggled on and off?
-
Topic authorSky Pilot
- Posts: 99
- Joined: 01.12.2004
- With us: 19 years 11 months
- Location: Moved recently from the Bihem System, now in Fort Worth, Texas, USA
Can an addon be toggled on and off?
Is there a way in Celestia to toggle on and off a particular addon?
"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
"Toggle for Add-Ons"
As far as I know there is no way to toggle add-ons from within Celestia. I have developed the following two methods to "toggle" add-ons, however
1. Change the extension on the ssc file that controls the add-on to sscx. This will not allow Celestia to run the add-on.
2. Create a sub-folder within your Celestia folder that is named "Extras (Turned Off)", without the quote marks. This means that you will now have a folder named "Extras" and another folder named "Extras (Turned Off)" in your Celestia folder. If you now want to turn-off an add-on, just move the add-on's folder from "Extras" to "Extras (Turned-Off)" You can give the "Extras (Turned-Off)" any other name you would like, just as long as it is a name that Celestia will not recognize. You can then, of course, turn the add-on on by moving its folder back to the "Extras" folder.
All of the above steps have to be done when Celestia is not running, so this is not a true toggle that is run within the program, but this is as close as you can get to toggling add-ons.
Hope that this helps.
1. Change the extension on the ssc file that controls the add-on to sscx. This will not allow Celestia to run the add-on.
2. Create a sub-folder within your Celestia folder that is named "Extras (Turned Off)", without the quote marks. This means that you will now have a folder named "Extras" and another folder named "Extras (Turned Off)" in your Celestia folder. If you now want to turn-off an add-on, just move the add-on's folder from "Extras" to "Extras (Turned-Off)" You can give the "Extras (Turned-Off)" any other name you would like, just as long as it is a name that Celestia will not recognize. You can then, of course, turn the add-on on by moving its folder back to the "Extras" folder.
All of the above steps have to be done when Celestia is not running, so this is not a true toggle that is run within the program, but this is as close as you can get to toggling add-ons.
Hope that this helps.
-
- Posts: 39
- Joined: 20.09.2004
- With us: 20 years 2 months
- Location: Luxembourg
Hi,
I think there is a better way with Altsurface method :
making a ssc file in extra directory for example 'earth venus.ssc'
with this code inside
AltSurface "Earth venus" "Sol/Earth"
{
Texture "venus.*"
}
this permit going to the earth and right click in the menu that appear
click on Alternate surface and choose 'earth venus'
then again on 'normal' to return to the earth map.
I think this is like toggle maps
hope this helps.(and that this is a correct solution...)
Ciao
Alessandro.
I think there is a better way with Altsurface method :
making a ssc file in extra directory for example 'earth venus.ssc'
with this code inside
AltSurface "Earth venus" "Sol/Earth"
{
Texture "venus.*"
}
this permit going to the earth and right click in the menu that appear
click on Alternate surface and choose 'earth venus'
then again on 'normal' to return to the earth map.
I think this is like toggle maps
hope this helps.(and that this is a correct solution...)
Ciao
Alessandro.
Windows XP-SP2
Intel Pentium D CPU 3.00GHz 1Go RAM
Nvidia GeForce 6700XL 128Mo
Drivers 81.82
OpenGL Version:
Celestia 1.5.0 Pre
Intel Pentium D CPU 3.00GHz 1Go RAM
Nvidia GeForce 6700XL 128Mo
Drivers 81.82
OpenGL Version:
Celestia 1.5.0 Pre
-
Topic authorSky Pilot
- Posts: 99
- Joined: 01.12.2004
- With us: 19 years 11 months
- Location: Moved recently from the Bihem System, now in Fort Worth, Texas, USA
Alessandro wrote:Hi,
I think there is a better way with Altsurface method :
making a ssc file in extra directory for example 'earth venus.ssc'
with this code inside
AltSurface "Earth venus" "Sol/Earth"
{
Texture "venus.*"
}
this permit going to the earth and right click in the menu that appear
click on Alternate surface and choose 'earth venus'
then again on 'normal' to return to the earth map.
I think this is like toggle maps
hope this helps.(and that this is a correct solution...)
Ciao
Alessandro.
This just might work. Thanks.
"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
Toggle of Add-Ons
The technique outlined using AltSurface is indeed satisfactory for "toggling" textures, but it doesn't work for add-ons. There is a significant difference between textures and add-ons. Please be sure you know which one you are handling. They cannot be manipulated in the same way.
Toggle of Add-Ons
The technique outlined using AltSurface is indeed satisfactory for "toggling" textures, but it doesn't work for add-ons. There is a significant difference between textures and add-ons. Please be sure you know which one you are handling. They cannot be manipulated in the same way.