How do you change the type of planet?

This is the location for all mods to collaborate. Anyone making or planning their own mod should post help requests, screen shots and news here.

Moderators: Omega, tillias, Mod Contributor

Post Reply
Minwaabi
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Wed Jan 02, 2013 5:07 pm

How do you change the type of planet?

Post 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.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: How do you change the type of planet?

Post by klauss »

Just add a unit europa__planets in units.csv (check out earth__planets for a template).
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Minwaabi
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Wed Jan 02, 2013 5:07 pm

Re: How do you change the type of planet?

Post 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?
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: How do you change the type of planet?

Post 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.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Minwaabi
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Wed Jan 02, 2013 5:07 pm

Re: How do you change the type of planet?

Post by Minwaabi »

Where would I find the system xml?
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: How do you change the type of planet?

Post by klauss »

It's the Sol.system you've been editing.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Andy
Merchant
Merchant
Posts: 32
Joined: Tue Dec 04, 2012 7:52 pm

Re: How do you change the type of planet?

Post 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
Post Reply