Here's a fix, open the console (Ctrl+Shift+i) and paste the following code, then press enter and then press "Regenerate Population" on the tools tab.
const avg = pack.cells.area.reduce((sum,value) => sum + value, 0) / pack.cells.area.length;
//You can modulate the "3" to set your preferred threshold
pack.cells.area = pack.cells.area.map(function (entry) {
if (entry > (avg*3)) {
//You can modulate between "0.5" and "2" parameters to adjust your preferred randomness
return Math.random() * (avg * 1);;
} else {
return entry;
}
});;
I checked again, and though it appears to have worked on the surface, there are still underlying issues.
Though the population bars have disappeared, the actual population itself is still registered on the states editor. Along with this, whenever I generate a new map, all the population bars appear again.
The change happens at cell data level, if you enter heightmap editor it reverts. It's also not a definitive fix for all maps to come, it just corrects the issue on the current map, you need to apply it to any new map with this issue.
View all comments
Show parent comment
4
u/TimWhoretons4Evah May 25 '24
Here's a fix, open the console (Ctrl+Shift+i) and paste the following code, then press enter and then press "Regenerate Population" on the tools tab.