Ok I’m not going to argue who should get the credit its up to you. This should be credit-less because it was there in the game in the fist place it was only disabled in the demo by a header. To “Enable Sandbox Events” is responsible for space retreat. All code is in that xml
What you need to is go to this default root directory folder
C:\Program Files\LucasArts\Star Wars Empire at War Demo\GameData\Data\Xml\Ai\Players
And in Sandboxhumanplayer.xml your code should look like this:
<?xml version="1.0" ?>
<AIPlayerType>
<Name>SandboxHuman</Name>
<Personality>
<Focus> 0 </Focus>
<Aggressiveness> 0 </Aggressiveness>
</Personality>
<GoalSetExtensionSize>1</GoalSetExtensionSize>
<GoalProposalFunctionSets>
InterventionsGoalSet
</GoalProposalFunctionSets>
<Templates>
<Space>
All_Interventions_Template
Enable_Sandbox_Events_Template
</Space>
<Land>
All_Interventions_Template
Enable_Sandbox_Events_Template
</Land>
<Galactic>
All_Interventions_Template
Enable_Sandbox_Events_Template
</Galactic>
</Templates>
</AIPlayerType>
Code for Space Retreat
Moderator: Moderators