Page 1 of 1

Editing exoplanets without touching extrasolar.ssc...

Posted: 16.01.2006, 14:16
by Neethis
Im making a star system around 18 Eri, and I was wondering if I could somehow edit the names and textures of the two gas giant exo-planets in the system without directly editing the data in "extrasolar.ssc".

Basically I want all the planets in the system to be in a single .ssc file, so that anyone I send it to wont have to edit "extrasolar.ssc" themselves... :)

Awaiting replies,
Neethis

Posted: 16.01.2006, 14:27
by ajtribick
There are Modify and Replace directives which you can use to edit the properties of the planets, but as for renaming them, you're out of luck I think.

Usage:

Code: Select all

Modify "b" "EPS Eri"
{
# put the parameters you want to change here, using normal syntax
}

Posted: 17.01.2006, 15:32
by Neethis
:( okay, thanks for the help.
-Neethis

Posted: 17.01.2006, 17:26
by selden
While you can't rename or delete an exoplanet, you can make it not be drawn and then create one of your own. That might be good enough.

e.g.

Code: Select all

Modify "b" "EPS Eri" { class "invisible"}

"My_Planet" "EPS Eri" {
# copy the entry that's in \data\exoplanets.ssc
}

Posted: 19.01.2006, 14:19
by Neethis
Ahh, that works :D Thanks!

Posted: 24.01.2006, 19:04
by Neethis
chaos syndrome wrote:There are Modify and Replace directives which you can use to edit the properties of the planets, but as for renaming them, you're out of luck I think.

Usage:

Code: Select all

Modify "b" "EPS Eri"
{
# put the parameters you want to change here, using normal syntax
}


Just a thought, what does the Replace directive do? And how do I use that?