Simple buy annoying bug... The game crashes as the new faction may want to retreat but they cant... So open up XML/AI/PerceptualEquations/BasicLandEquations.xml Locate this section <Allowed_To_Retreat_From_Land>
Game.IsCampaignGame
*
Variable_Self.CanRetreat
*
(1.0 - Variable_Self.IsFaction {Parameter_Faction = "Pirates", Parameter_Faction = "Hutts"})
</Allowed_To_Retreat_From_Land> Add your faction... so it looks like this <Allowed_To_Retreat_From_Land>
Game.IsCampaignGame
*
Variable_Self.CanRetreat
*
(1.0 - Variable_Self.IsFaction {Parameter_Faction = "Pirates", Parameter_Faction = "Hutts", Parameter_Faction = "Corellians", Parameter_Faction = "Mandalorians", Parameter_Faction = "Corporate_Sector_Authority", Parameter_Faction = "Naboo"})
</Allowed_To_Retreat_From_Land> Etc.. and so on. This will solve the issue on land.. now onto space.. open up XML/AI/PerceptualEquations/OffensiveSpaceEquations.xml find <Allowed_To_Retreat_From_Space>
Game.IsCampaignGame
*
Variable_Self.CanRetreat
*
(1.0 - Variable_Self.IsFaction {Parameter_Faction = "Pirates", Parameter_Faction = "Hutts"})
</Allowed_To_Retreat_From_Space>
<Should_Retreat_From_Space> Then add your factions like below <Allowed_To_Retreat_From_Space>
Game.IsCampaignGame
*
Variable_Self.CanRetreat
*
(1.0 - Variable_Self.IsFaction {Parameter_Faction = "Pirates", Parameter_Faction = "Hutts", Parameter_Faction = "Corellians", Parameter_Faction = "Mandalorians", Parameter_Faction = "Corporate_Sector_Authority", Parameter_Faction = "Naboo", Parameter_Faction = "Vong"})
</Allowed_To_Retreat_From_Space>
<Should_Retreat_From_Space> You should be all set after that... no more crashes.