ENDLESS™ Space is a turn-based 4X strategy game, covering the space colonization age in the ENDLESS™ Universe. You control every aspect of your civilization as you strive for galactic dominion.
I was attempting to modify planet generation to have some systems without planets. It seemed to be possible by adding weight to PlanetNumberProbability, but it didn't work. Anything else I have to do? Maybe I'm missing something. I modified this line between 1 and 8 and made sure the option was chosen in the generator and tried a couple times but it didn't seem to work.
If anyone has gotten this to work, or there is a working mod for this already, I'd love to take a look at it. Thanks
I have absolutely no experience with modding, so take this with a grain of salt, but:
1) Does probability need to be more than 0?
2) Is it possible for the probability to exceed 100%? As in, if there were a 25% chance of having 1 planet, 25% chance of having 2, 25% chance of having 3, and 25% chance of having 4, then you may never see a system with 0 planets no matter how high the probability is. Is this the case?
Fenrakk101 wrote: I have absolutely no experience with modding, so take this with a grain of salt, but:
1) Does probability need to be more than 0?
2) Is it possible for the probability to exceed 100%? As in, if there were a 25% chance of having 1 planet, 25% chance of having 2, 25% chance of having 3, and 25% chance of having 4, then you may never see a system with 0 planets no matter how high the probability is. Is this the case?
Sigh. The question was for the people who actually have the answer. I appreciate the ideas, but I tried several things. The probability is a weight. Yes, of course I raised it higher than 0. I can manipulate the xml successfully to get different balances of 1-6 planets, but all the xml for 0 planets was weighted at 0, so I tried raising it in the hopes of getting empty stars. It didn't work. That is why I'm asking if anyone else has tried it. And no, based on what I've seen of how the weight system works, you can't exceed 100% because the probability is not a percent, it is a fraction of the total weights of the different options available. This won't make any sense to you without looking at the xml in question in the planet generation code. My best guess is the xml supports the possibility of 0 planets, but it isn't implemented in the galaxy generation code right now. Just hoping someone has the answer.
The game will bomb with an array index issue if you were successful in getting the galaxy gen to do what you want. It's why my map editor prevents the user from deleting the last planet in a system. If you've found a way to get the game to load with a system with zero planets though I would like to know about it.
KnightHawk wrote: Why do you want a system with 0 planets??
The game will bomb with an array index issue if you were successful in getting the galaxy gen to do what you want. It's why my map editor prevents the user from deleting the last planet in a system. If you've found a way to get the game to load with a system with zero planets though I would like to know about it.
Well, that explains why it doesn't work. I obviously don't want it to crash the game. Thanks for the info.
n18991c wrote: May I enquire, Cykur, why you wanted to create empty systems? Just for a laugh or because of some lore idea?
Just thought it would be interesting to have an empty system now and then. Stars don't always need planets. I've kind of come up with my own solution by putting a little more weight on the low side of the scale with "less planets" and increasing the prevalence of asteroids. It creates a little more "no man's land" between good star systems, but it is purely personal preference.
Cykur wrote: Just thought it would be interesting to have an empty system now and then. Stars don't always need planets. I've kind of come up with my own solution by putting a little more weight on the low side of the scale with "less planets" and increasing the prevalence of asteroids. It creates a little more "no man's land" between good star systems, but it is purely personal preference.
That's probably a good solution. True, stars don't need to have planets, but I think you'd be pretty hard pressed to find a real life system that doesn't even have asteroids.
Cykur
Newcomer
Cykur
Newcomer
100g2g ptsReport comment
Why do you report Cykur?
Are you sure you want to block Cykur ?
BlockCancelAre you sure you want to unblock Cykur ?
UnblockCancelFenrakk101
Oddity
Bridge Arsonist
Fenrakk101
Oddity
28 900g2g ptsReport comment
Why do you report Fenrakk101?
Are you sure you want to block Fenrakk101 ?
BlockCancelAre you sure you want to unblock Fenrakk101 ?
UnblockCancelCykur
Newcomer
Cykur
Newcomer
100g2g ptsReport comment
Why do you report Cykur?
Are you sure you want to block Cykur ?
BlockCancelAre you sure you want to unblock Cykur ?
UnblockCancelKnightHawk
Newcomer
KnightHawk
Newcomer
100g2g ptsReport comment
Why do you report KnightHawk?
Are you sure you want to block KnightHawk ?
BlockCancelAre you sure you want to unblock KnightHawk ?
UnblockCancelCykur
Newcomer
Cykur
Newcomer
100g2g ptsReport comment
Why do you report Cykur?
Are you sure you want to block Cykur ?
BlockCancelAre you sure you want to unblock Cykur ?
UnblockCanceln18991c
Old
n18991c
Old
13 100g2g ptsReport comment
Why do you report n18991c?
Are you sure you want to block n18991c ?
BlockCancelAre you sure you want to unblock n18991c ?
UnblockCancelTredecim
Newcomer
Tredecim
Newcomer
200g2g ptsReport comment
Why do you report Tredecim?
Are you sure you want to block Tredecim ?
BlockCancelAre you sure you want to unblock Tredecim ?
UnblockCancelCykur
Newcomer
Cykur
Newcomer
100g2g ptsReport comment
Why do you report Cykur?
Are you sure you want to block Cykur ?
BlockCancelAre you sure you want to unblock Cykur ?
UnblockCancelStrudo76
Old Newcomer
Customise your signature
Strudo76
Old Newcomer
8 300g2g ptsReport comment
Why do you report Strudo76?
Are you sure you want to block Strudo76 ?
BlockCancelAre you sure you want to unblock Strudo76 ?
UnblockCancel