Is there any way to set which Sovereign a custom faction should use?

Ive created a few custom factions and custom sovereigns to go with them. But the game just seems to randomly assign sovereigns. Ive tried setting the PreferredLeader value but that only seems to set the sovereign when youre choosing faction pre-game.

3,801 views 3 replies
Reply #1 Top

You need to do this:

           <SovereignUnitType>George_Bush</SovereignUnitType>

NOTE: George_Bush is not a real leader. You'd need to set that to your sovereign's InternalName.

I have no idea what PreferredLeader does, could you elaborate on that?

Also, you can copy the sovereign into the faction file if you want as long as you keep the coding separate (see how XML declares and ends documents).

Reply #2 Top

Preferred leader seems to set the default leader for the faction. For example when I originally created Custom_Sovereign_1 when I selected her and hit next it would just default to whatever the first faction in the lst is. But if I add PreferredLeader to Custom_Faction_1 then when I select Custom_Sovereign_1 and hit next then it automatically selects Custom_Faction_1

Reply #3 Top

Ah, ok, that's kinda neat.