Can someone show me how to...

I want to have few habitable planets. 

 

I love LOTS of planets I just want few habitable ones. 

 

On insane or Excessive, loose clusters, I prefer abundant stars and abundant planets. However....

 

Uncommon habitable is just too damn many habitable planets and RARE is far too many.  I need a spot between 'uncommon and rare'. 

 

So what file can I overwrite and how do I find it? Do I need to copy the whole file and drop it in mods and how would I tell if its working?

 

Obviously I am clueless to how to do mods..

14,019 views 17 replies
Reply #1 Top

Think the file is GalaxyDefs but if you do a search in the steam directory for Insane you should find the file. I believe the habitable planets is a percentage of all planets. 

Reply #2 Top

Can I mode this file/doc directly in notepad or do I make a copy and drop it in the 'mod' section?

Reply #3 Top

Quoting Larsenex, reply 2

Can I mode this file/doc directly in notepad or do I make a copy and drop it in the 'mod' section?

 

As with all mods the answer is, try it. If you are a founder you can correct your name by opening a ticket with Stardock. I think the list is just founder elites...could be wrong about that. 

Reply #4 Top

Thanks Iluana but I think you ment to post this in the 'founders thread'. I was asking about how to simply mod the values of how many habitable planets show up say under 'uncommon'.

Reply #5 Top

Lol think I was replying to something else I donno. Lol copy the file to the mod folder and then edit via notepadd (or notepad++). I usually take the safe route myself and make all changes a mod.

Reply #6 Top

The file you are interested in is MapSetupDefs.xml specifically these parts:

<MapSetup>
        <InternalName>Rare</InternalName>
        <Stars>0.5</Stars>
        <PlanetFrequencyExp>2.0</PlanetFrequencyExp>
        <HabitablePlanets>0.1</HabitablePlanets>

<MapSetup>
        <InternalName>Uncommon</InternalName>
        <Stars>0.65</Stars>
        <PlanetFrequencyExp>1.5</PlanetFrequencyExp>
        <HabitablePlanets>0.25</HabitablePlanets>


The uncommon setting actually falls outside of the linear progression for habitable planets. Should probably be 0.2

If you wanted to mod it instead of overwriting the game file make a folder in the mod folder called anything you wish then a folder called Game inside that one and copy MapSetupDefs.xml there and edit with notepad how you wish


Reply #7 Top

You could also take a look at this thread:

https://forums.galciv3.com/465933

They are talking about custom map sizes but a portion of it seems to affect the general outcome of total creation of planets and habitable and everything else but my post above should represent the percentage of total planets that would be habitable as far as I can tell. I don't delve too much into xml, just enough for my personal changes.

Reply #8 Top

Thanks, If I knew what the values were for both uncommon and rare< I would put uncommon 1/2 way between the two. Does that make sense?

Reply #10 Top

well we got the values from moogle already so give him a kupo nut

and you want it haflway between try for a value about .175

Reply #11 Top

Well in the current file the progression is:

Rare 0.1

Uncommon 0.25

Occasional 0.3

Common 0.4

Abundant 0.5

This is why I thought uncommon should be 0.2 but if you wanted to try half which I actually thought you might that would be 0.175 so here:

https://www.dropbox.com/sh/2tmmcsu3ipqu3q0/AAB5ZUVCwepxUFPcd7_N7ueza?dl=1

unzip this to your mod folder and should work on new games

if you want to edit it yourself just find

<MapSetup>
        <InternalName>Uncommon</InternalName>
        <Stars>0.65</Stars>
        <PlanetFrequencyExp>1.5</PlanetFrequencyExp>
        <HabitablePlanets>0.175</HabitablePlanets>

and change the 0.175 how you wish, hopefully you can get it where you like, good luck

Reply #12 Top

a kupo nut? guess i've been waiting years to hear that, about time i found a new handle but i just hate names so much that i've been using moogle since single digit age, but what works works so probably won't break it, thx for the nut! (scurries away)

Reply #13 Top

@Lavo_2 i would but that's outside of my ability, the fact that they have a Habitable Planets tag in mapsetupdefs.xml for None surprised me since it isn't a selectable option so you might be out of luck that it could be internal code. That's my best guess which sometimes isn't worth much :)

Reply #14 Top

I'm betting the number/name of settings are hardcoded. I figured that I'd attempt to make a new setting, mainly as there really needs to be one in between Rare and Uncommon.

Reply #15 Top

You might be able to fix it in some ways by lowering habitable worlds to rare, and cranking extreme worlds up to abundant. While they would still be obtainable it would be quite a while in game before colonization of those worlds could begin. While not a true solution, it may give you something closer to what you are looking for. It also seems to me it might even fit well with your idea of few habitable planets. Since the others need alot of work to be "habitable."

Reply #16 Top

Wasn't a bad thought since a lot of other things you can add as unique entries into xml show up in the game. Maybe you should put that in the Modder's requests topic, sorry don't feel like finding it atm but it was created a couple weeks ago at most if i recall correctly. I would be certain that at least stardock glances at that since i know the modding ability of the game is something to be advertised really. It wouldn't be found in this sub-forum, just got on tonight and found they added the modding sub-forum. Most likely feedback if i had to guess.

Reply #17 Top

dragoaskani's idea isn't bad, i was wondering how extreme factors into total planets and habitable. Is it a % of total for both or are extreme a % of habitable? I assume the latter but have left extremes low or off for most of my games. Looking at the xml numbers most likely % of habitable, still would like an opinion of one who plays with them a bit