Please can someone advise whether it's possible to assign minor factions to worlds in galaxy forge and prevent them appearing on other planets?
Many thanks.
Good question. I wonder too.
*bump*
Assign - Yes
Prevent - No
Many thanks Zr..
Please can you advise exactly how you assign a minor to a world? If minors are assigned to 15 world's would that mean no others can appear elsewhere? Or would you have a duplicate minor with a different name possibly appear somewhere?
Did you ever find out how to assign minor races?
Can someone post this?
Assigning Minor Factions is easy, you just use a template the same as any other template. See SOA2 GSD for example.
Scrappers are both random placement as normal, and explicit entries for PlanetShipGraveyard, which is in the black list and thus can't be overwritten by a random.
Restricting them is messy, but doable.
I have not tried to prevent them from appearing elsewhere, but as yet I haven't seen the random placements appear near their specified brethren. Having colonized neutral planets already, I can verify the order of things. Minor Faction randoms are replacements, done over top of the already generated template sets. If you have a two planet jump requirement away from colonized worlds, they will only spawn outside that range of such planets, not just player starts.
Gameplay.Constants has three relevant entries for restriction.
minConnectionDistanceToColonizedPlanets 2
minConnectionDistanceToSameFactionPlanets 5
minAdjacentPlanetCount 2
This results in two possible ways to restrict them to single entries.
Make minConnectionDistanceToSameFactionPlanets an impossibly large value that restricts all factions to a single possible entry. This has a bit of a downside, naturally, but you could compensate with static entries as I've done with Scrappers for minor factions that need to be more prevalent.
Add a planet kill to the random template. As PlanetShipGraveyard is using it's own, separate template, I could simply add a dummy frigate to the random entry for Scrappers. This frigate would, on game start, apply a MakeDead to the planet, and itself. Planet goes boom, no Scrappers. At the same time, you have a second part to the template, that spawns random militia so the planet doesn't turn up empty.
The stupid way will essentially restrict minor factions to single entries, and be a lot of work to correct for smoothly. The smart way is complex and needs a decent understanding of ability work, but results in lost minor factions. Say your huge random map would have put out eight, but you rolled your excluded minor on three of them.
-psychoak
What is the template reference name for minor factions?
I keep thinking, "MinorFaction".
DefaultMinorFaction is the main planetItemsTemplate entry.
Thanks for the answer and just an FYI:
I found by making an older Rebellion style template entry in the planet description of the galaxy file, I was able to trigger planets that don't violate the parameters for Minor Faction placement to automatically appear as Minor Faction Occupied planets (without the DefaultMinorFaction entry).
I haven't tried it with Ship Graveyards but I've gotten Minor Factions to appear on Dead Asteroids and Pirate Bases as well.
(I've no idea what planet types they are default restricted to.)
Of course, it doesn't help a lot to have a no-logistics planet as you don't get the logistical structures.
There are many great features available to you once you register, including:
Sign in or Create Account