Creating a single .ssc file for multiple star systems

Post requests, images, descriptions and reports about work in progress here.
Topic author
foravalon
Posts: 50
Joined: 07.05.2005
With us: 19 years 4 months
Location: Santa Rosa, CA

Creating a single .ssc file for multiple star systems

Post #1by foravalon » 15.01.2009, 04:31

Sorry if this is a dumb question but, is there a way to define planets in multiple star systems with a single .ssc file?

extrasolar.ssc in the data folder does this but I was wondering if there was any way to do something similar from a file in the extras folder for example?
Foravalon's most common phrase: "So, yeah, um, how do you do this... ?"

eburacum45
Posts: 691
Joined: 13.11.2003
With us: 20 years 10 months

Re: Creating a single .ssc file for multiple star systems

Post #2by eburacum45 » 15.01.2009, 06:28

When I made the Orion's Arm main addon I put loads of planets from several different systems on one .ssc file;

now I wish I hadn't. It helps if you put each planetary system on a different .ssc, just so you can find them later to edit them.

Topic author
foravalon
Posts: 50
Joined: 07.05.2005
With us: 19 years 4 months
Location: Santa Rosa, CA

Re: Creating a single .ssc file for multiple star systems

Post #3by foravalon » 15.01.2009, 06:37

And I definitely plan to do the same with mine at a later date, but I'm dealing with over 300 systems at the moment and the idea of creating that many ssc 's by hand is an entire project all on its own.

But how were you able to put your planets, for different star systems, in the same .ssc file? And where did you place the file when completed?
Foravalon's most common phrase: "So, yeah, um, how do you do this... ?"

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 1 month

Re: Creating a single .ssc file for multiple star systems

Post #4by ajtribick » 15.01.2009, 11:22

See for example the extrasolar.ssc file in the main distribution, which defines planets in a few hundred star systems! Remember the syntax is

Code: Select all

"Planet name" "Parent star"
{
...
}
There's no rule that the parent star must be the same for all entries in the .ssc file. Such a .ssc file goes where you'd put any .ssc file. For example, if I wanted to make an add-on that added moons to the planets of 70 Vir and 16 Cyg B, I might have the following in the .ssc:

Code: Select all

"Foo" "70 Vir/b"
{
...
}

"Bar" "16 Cyg B/b"
{
...
}

Topic author
foravalon
Posts: 50
Joined: 07.05.2005
With us: 19 years 4 months
Location: Santa Rosa, CA

Re: Creating a single .ssc file for multiple star systems

Post #5by foravalon » 15.01.2009, 18:31

Awesome, I think I had encountered difficulty on a previous attempt I will jump back into it with renewed determination!

Thank you!
Foravalon's most common phrase: "So, yeah, um, how do you do this... ?"


Return to “Add-on development”