Another way to think of this... First, alter the galaxy configs to have fewer stars at greater distances.
In map/galaxy/base.lua (also pissble to add to all other shapes) you have:
Code:
stars_min_dist = 10.0 -- Min distance between stars
Which is pretty self explanatory, and:
Code:
countries = {
ideal_sq_dist_between = 75*75, -- Ideal square distance between countries
min_sq_dist_between = 50*50, -- Min square distance between countries
}
Doubling those, like the defaults for fallen empires, can spread them out more but you also need the next change.
In map/setup_scenarios/*.txt you have can control the distribution of homeworlds, default is to cluster them but you can easily change that like this (cluster_radius here is from a medium sized map):
Code:
cluster_count = {
# method = one_every_x_empire
method = constant
value = 1
}
cluster_radius = 400
cluster_distance_from_core = 0
Essentially changing it from multiple clusters of empires into one giant cluster using the entire galaxy.
You can also reduce the number of stars in the setup_scenarios which you will need to do if you space them out further. And, once you have a map with fewer stars spread further apart and evenly distributed empires the rest of what you're trying to do should be pretty easy.
I was playing around with this to create a galaxy with small clusters of stars (like little mini galaxies) and more open space using some extreme values. Using the neighbors code for starting systems made it balanced enough to be playable and I didn't have to mess with events at all. My ADD kicked in and I was side-tracked by another idea so I didn't go very far with this idea but the concept worked well enough. I just thought you may want an option of approaching it differently if you hit too many roadblocks with your current method.
Oh, and in defines.lua you have this line:
CUSTOM_EMPIRE_SPAWN_CHANCE = 25, -- Chance that an empire will be created from an existing template instead of randomly generated (10 = 1% chance)
That should cover your other question about having only custom empires.
Hope that helps.