Code for Space Retreat

Show off your mods, get help on a mod, heck, even just have a good time downloading other folks mods. This forum is all about modding for any non-SWBF games.

Moderator: Moderators

Post Reply
ImperialDroid

Code for Space Retreat

Post by ImperialDroid »

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>
ImperialDroid

Post by ImperialDroid »

Sandbox_Events_Template will work as well instead of Enable_Sandbox_Events_Template as it points to the xml template for retreat.
dreadlordnyax

Post by dreadlordnyax »

thanks a lot, this is awesome!!!
Post Reply