Page 1 of 1

How do you change the type of planet?

Posted: Wed Jan 02, 2013 5:29 pm
by Minwaabi
I would like to change Europa in the Sol system to be a habitable planet as it is supposed to have human habitation according to the lore. I was thinking an Ice planet would fit appropriately. How do I do this? I've looked on the wiki and it doesn't seem to make a ton of sense when compared to how the system files actually look.

Thanks for any help.

Re: How do you change the type of planet?

Posted: Wed Jan 02, 2013 5:55 pm
by klauss
Just add a unit europa__planets in units.csv (check out earth__planets for a template).

Re: How do you change the type of planet?

Posted: Wed Jan 02, 2013 7:31 pm
by Minwaabi
Thanks for the quick response. However, I just tried that and it doesn't seem to have done anything once I test it out. Is there something else I have to do?

Re: How do you change the type of planet?

Posted: Wed Jan 02, 2013 8:02 pm
by klauss
Minwaabi wrote:Thanks for the quick response. However, I just tried that and it doesn't seem to have done anything once I test it out. Is there something else I have to do?
I'm not sure it's required, but you might also need a base script in bases/blah. (see bases/earth_some.py). If you really don't want to do all that and want to re-use the ice planets stuff, you could set unit="Snow" in the system xml.

Re: How do you change the type of planet?

Posted: Thu Jan 03, 2013 9:02 pm
by Minwaabi
Where would I find the system xml?

Re: How do you change the type of planet?

Posted: Thu Jan 03, 2013 9:13 pm
by klauss
It's the Sol.system you've been editing.

Re: How do you change the type of planet?

Posted: Sat Feb 09, 2013 12:57 pm
by Andy
If you still need help check this out. There's a list what to do to introduce a new (or change) a planet type.

http://forums.vega-strike.org/viewtopic ... 10&t=18483