I've made my custom empires, put them in mod/mod_name/common/solar_system_initializers and mod_name/prescripted_countries.
The races are set to always be on, so if the mod if checked, they will be in the game. They are also there as user selectable. If I select them as a person, the custom solar system and custom neighbouring systems spawn in correctly.
The problem is, the custom races played by the AI spawn in with the correct system and homeworld name, but the star and other planets in the system are random, instead of the custom ones that show if a human selects them.
How do I correctly call the solar system initializer for an AI Race?
The races are set to always be on, so if the mod if checked, they will be in the game. They are also there as user selectable. If I select them as a person, the custom solar system and custom neighbouring systems spawn in correctly.
The problem is, the custom races played by the AI spawn in with the correct system and homeworld name, but the star and other planets in the system are random, instead of the custom ones that show if a human selects them.
How do I correctly call the solar system initializer for an AI Race?