I originally made this mod for my own enjoyment but now that I've expanded upon it I feel it can be published.  I played around with StarDefs, StarSystemDefs and StarArtDefs and their corresponding DDSs to increase the diversity in the size and color of the stars spawned during the map generation phase. 

Since there doesn't seem to be any variable governing the percentage of each type of stars being generated, other than the number of times any default star system is repeated in StarSystemDefs, I've doubled the red & white dwarfs - while all the others have only one instance each.  I am naturally open to suggestions to improve upon it.

You can find it on the Nexus.  I hope you enjoy.

 

11,448 views 8 replies
Reply #1 Top

dif stars can give dif bonuses to starbases by them.

asteroids and comets.

Reply #2 Top

Quoting ForesterSOF, reply 1

dif stars can give dif bonuses to starbases by them.

asteroids and comets.
End of ForesterSOF's quote

Really? I did not know that

Reply #3 Top


I've doubled the red & white dwarfs - while all the others have only one instance each. I am naturally open to suggestions to improve upon it.
End of quote

The way I found that works is to use multiples of each star type to create the proportions your looking for. For example, a dozen red dwarfs to one blue giant. This does allow for a little more variety in the star systems, whether to have asteroids in the habitatal ring or not, for example.

Reply #4 Top

Quoting Franco, reply 2


Quoting ForesterSOF,

dif stars can give dif bonuses to starbases by them.

asteroids and comets.



Really? I did not know that

End of Franco's quote

 

 

I don't think it's possible; at least I haven't seen any variables to that effect.  But perhaps it's possible to graft variables intended for other XLMs into this one?  Do we know if Stardock released any modding guide?

Reply #5 Top

I should have added "MOD it in so".

Reply #7 Top

Hot fix correction 1.3.1 is up.  The minors didn't like the custom star art at initial map generation...

Reply #8 Top

If anyone is interested, I made this work in 1.5.

 

Step 1:

Download and install mod as normal.

 

Step 2:

Go to '...\Mods\StellarDiv\Game' and delete these files:

MapSetupDefs.xml

MapSizeDefs.xml

PlanetArtDefs.xml

 

Step 3:

Open 'StarDefs.xml' and paste in the following:

    <Star>
        <InternalName>SnathosStar</InternalName>
        <DisplayName>SnathosName</DisplayName>
        <ObjectType>Star</ObjectType>
        <Type>YellowStar</Type>
        <ArtDefine>SunArt</ArtDefine>
        <SFXDefine>STAR_AMBIENT</SFXDefine>
    </Star>

 

Step 4:

Open 'StarSystemDefs.xml' and paste the following:

    <StarSystem>
      <InternalName>SnathiSystem</InternalName>
      <DisplayName>SnathiSystem_Name</DisplayName>
      <Description>SnathiSystem_Dec</Description>
      <OrbitLane>
        <LaneType>Star</LaneType>
        <Body>
          <BodyType>UnaryStar</BodyType>
          <BodyDef>SnathosStar</BodyDef>
        </Body>
      </OrbitLane>
      <OrbitLane>
        <LaneType>DeadZone</LaneType>
        <Body>
          <BodyType>Planet</BodyType>
          <BodyDef>PlanetPebble</BodyDef>
          <Position>0</Position>
        </Body>
      </OrbitLane>
      <OrbitLane>
        <LaneType>HabitableZone</LaneType>
        <Body>
          <BodyType>Planet</BodyType>
          <BodyDef>SnathiPrime</BodyDef>
          <IsHomeworld>true</IsHomeworld>
          <Position>5</Position>
        </Body>
      </OrbitLane>
      <OrbitLane>
        <LaneType>NoRandom</LaneType>
        <Body>
          <BodyType>Asteroid</BodyType>
          <BodyDef>NormalAsteroid</BodyDef>
          <Position>2</Position>
        </Body>
        <Body>
          <BodyType>Asteroid</BodyType>
          <BodyDef>NormalAsteroid</BodyDef>
          <Position>11</Position>
        </Body>
        <Body>
          <BodyType>Planet</BodyType>
          <BodyDef>PlanetAcorn</BodyDef>
          <Position>17</Position>
        </Body>
      </OrbitLane>
    </StarSystem>

 

Step 5: Hopefully enjoy the game and this great mod.

I've tried with and without other mods and it seems to work just fine. Even works in the map editor.

For sanity's sake, I pasted the above lines where they go in the vanilla files, between Thalis System and Minor System.

 

 

P.S. - I love this mod. Please don't let it die!