Scripts (prior 0.10.x)

(Difference between revisions)
Jump to: navigation, search
(Note for version 0.9.x)
m (more accessible/usable/readable link text — typography corrections)
Line 1: Line 1:
Please note that version 0.10.0 of Stellarium does not have a scripting engine - a new, and more sophisticated scripting engine will be implemented for a future release. People who are able to build the SVN code may play with the new scripting engine now, and may want to look at [[New Script Engine‎|this page]].
+
Please note that version 0.10.0 of Stellarium does not have a scripting engine a new, and more sophisticated scripting engine will be implemented for a future release. People who are able to build the SVN code may play with the [[New Script Engine‎|new scripting engine]] now.
  
 
==Installing Scripts==
 
==Installing Scripts==
Line 11: Line 11:
 
* Matthew Gates: [http://porpoisehead.net/mysw/stellarium_scripts/mng01_eclipse.zip Solar eclipse] (Bangladesh, 2009).
 
* Matthew Gates: [http://porpoisehead.net/mysw/stellarium_scripts/mng01_eclipse.zip Solar eclipse] (Bangladesh, 2009).
 
* Barry Gerdes: [http://www.geocities.com/wendygblyde/scripts.zip Solar eclipse] (Australia 2028).
 
* Barry Gerdes: [http://www.geocities.com/wendygblyde/scripts.zip Solar eclipse] (Australia 2028).
* Schdefoon: [http://schdefoon.de/fileadmin/tools/eclipse1999.zip Solar eclipse] (Germany 1999) - Version for stellarium 0.10.2: look [[New Script Engine‎|this page]].
+
* Schdefoon: [http://schdefoon.de/fileadmin/tools/eclipse1999.zip Solar eclipse] (Germany 1999) Version for stellarium 0.10.2: look [[New Script Engine‎|this page]].
 
* Vincent Giangiulio: [http://vincent.gian.club.fr/stellarium/analemma.zip Analemma]/ [http://vincent.gian.club.fr/stellarium/aurora.zip Aurora]
 
* Vincent Giangiulio: [http://vincent.gian.club.fr/stellarium/analemma.zip Analemma]/ [http://vincent.gian.club.fr/stellarium/aurora.zip Aurora]
 
* Richard Brice: [http://www.porpoisehead.net/mysw/stellarium_scripts/Transit_of_Venus.zip Transit of Venus] (Arabian Sea, 2012).
 
* Richard Brice: [http://www.porpoisehead.net/mysw/stellarium_scripts/Transit_of_Venus.zip Transit of Venus] (Arabian Sea, 2012).
Line 21: Line 21:
 
* Matthew Gates: [http://porpoisehead.net/mysw/stellarium_scripts/zodiac.sts Zodiac].  This script illustrates how to select individual constellations.  The constellations of the Western Zodiac were chosen in response to a question in the forums.
 
* Matthew Gates: [http://porpoisehead.net/mysw/stellarium_scripts/zodiac.sts Zodiac].  This script illustrates how to select individual constellations.  The constellations of the Western Zodiac were chosen in response to a question in the forums.
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/Ven_Jup_Occult_19980423.zip occultation of Venus and Jupiter 1998].  Earth's Moon occults both Venus and Jupiter, as seen from Ascension Island in 1998.
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/Ven_Jup_Occult_19980423.zip occultation of Venus and Jupiter 1998].  Earth's Moon occults both Venus and Jupiter, as seen from Ascension Island in 1998.
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/planet_alightment_2002.zip planetary alignment 2002].  See how the planets were arranged in 2002 - all very close together along the elliptic.
+
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/planet_alightment_2002.zip planetary alignment 2002].  See how the planets were arranged in 2002 all very close together along the elliptic.
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/JupiterAdventure.zip Jupiter adventure]. Take a trip to Jupiter!   
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/JupiterAdventure.zip Jupiter adventure]. Take a trip to Jupiter!   
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/MercuryAdventure.zip Mercury adventure]. Take a trip to Mercury!
 
* Iva Maric: [http://porpoisehead.net/mysw/stellarium_scripts/MercuryAdventure.zip Mercury adventure]. Take a trip to Mercury!
* Allen Gary: [http://porpoisehead.net/mysw/stellarium_scripts/solar_type_stars.sts Solar type stars] - See nearby solar class stars.
+
* Allen Gary: [http://porpoisehead.net/mysw/stellarium_scripts/solar_type_stars.sts Solar type stars] See nearby solar class stars.
* Adam Fenley: [http://www.datafilehost.com/download-ebce7264.html Solar Eclipse 2017] - A total solar eclipse in 2017; as seen from Nashville, Tennessee. An updated version for those using the current (circa 4100 build) subversion. It is useless for anyone else. [http://www.datafilehost.com/download-0e02cc84.html Solar Eclipse 2017 0.10.1 script]
+
* Adam Fenley: [http://www.datafilehost.com/download-ebce7264.html Solar Eclipse 2017] A total solar eclipse in 2017; as seen from Nashville, Tennessee. An updated version for those using the current (circa 4100 build) subversion. It is useless for anyone else. [http://www.datafilehost.com/download-0e02cc84.html Solar Eclipse 2017 0.10.1 script]
 
* Please submit!
 
* Please submit!
  
Line 33: Line 33:
 
  date local 2008:4:24T12:00:00
 
  date local 2008:4:24T12:00:00
  
This will cause a problem in version 0.9.x - you need to update such scripts so that the date commands have this format:
+
This will cause a problem in version 0.9.x you need to update such scripts so that the date commands have this format:
 
  date utc 2008-04-24T12:00:00
 
  date utc 2008-04-24T12:00:00
 
  date local 2008-04-24T12:00:00
 
  date local 2008-04-24T12:00:00

Revision as of 04:44, 6 January 2010

Please note that version 0.10.0 of Stellarium does not have a scripting engine — a new, and more sophisticated scripting engine will be implemented for a future release. People who are able to build the SVN code may play with the new scripting engine now.

Contents

Installing Scripts

To install a script copy the script file (.sts extension), and any texture files it uses to the scripts sub-directory of your User Data Directory. Instructions with many of these community-donated scripts may date back to older versions of Stellarium, and the instructions provided with the script may be out of date.

User Contributed Scripts

This page contains links to scripts provided by users.

  • Matthew Gates: Solar eclipse (Bangladesh, 2009).
  • Barry Gerdes: Solar eclipse (Australia 2028).
  • Schdefoon: Solar eclipse (Germany 1999) — Version for stellarium 0.10.2: look this page.
  • Vincent Giangiulio: Analemma/ Aurora
  • Richard Brice: Transit of Venus (Arabian Sea, 2012).
  • Gregory Nuckolls: Your Sign.
  • Matthew Gates: Audio test. This script will help you to find out if your version of Stellarium was built with sound support enabled.
  • Mitch Gerdisch: helloworld This is a script that was put together to help the new script writer understand some scripting tricky bits.
  • Luca Zanchetta: occultation of Saturn 2007 This nice script shows a tour of the Western sky in May 2007, as visible from European Latitudes, paying special attention to the occultation of Saturn by the Moon at this time.
  • Raymond Roumeas: occultation of Venus by the Moon, 2007-06-18. Visible from NE of America, Greeland, Iceland, most of Europe, Arabia and SW of Asia.
  • Matthew Gates: Zodiac. This script illustrates how to select individual constellations. The constellations of the Western Zodiac were chosen in response to a question in the forums.
  • Iva Maric: occultation of Venus and Jupiter 1998. Earth's Moon occults both Venus and Jupiter, as seen from Ascension Island in 1998.
  • Iva Maric: planetary alignment 2002. See how the planets were arranged in 2002 — all very close together along the elliptic.
  • Iva Maric: Jupiter adventure. Take a trip to Jupiter!
  • Iva Maric: Mercury adventure. Take a trip to Mercury!
  • Allen Gary: Solar type stars — See nearby solar class stars.
  • Adam Fenley: Solar Eclipse 2017 — A total solar eclipse in 2017; as seen from Nashville, Tennessee. An updated version for those using the current (circa 4100 build) subversion. It is useless for anyone else. Solar Eclipse 2017 0.10.1 script
  • Please submit!

Note for version 0.9.x

Scripts written for versions previous to 0.9.x of Stellarium might have date commands with the argument in a format like this:

date utc 2008:4:24T12:00:00
date local 2008:4:24T12:00:00

This will cause a problem in version 0.9.x — you need to update such scripts so that the date commands have this format:

date utc 2008-04-24T12:00:00
date local 2008-04-24T12:00:00

i.e so the delimiters in the date portion are hyphens ("-"), not colons and numbers contain leading zeros, where applicable.

Need hosting?

If you have a script you would like to share but have no web-space to put it, email me and I'll put it on my site].

See Also

Scripts on Removable Media

Personal tools
Namespaces
Variants
Actions
in this wiki
other languages
Toolbox