Ok I found some more things that helped me work out quite a few things.
First off we have
GDIOptimalOpeningMoves.xml
GDIOptimal.xmlOpening Moves
<SkirmishOpeningMove
id="GDIBrutalCrane"
Side="GDI">
<Order Build="GDICrane" />
<Order Build="GDIPowerPlant" />
<Order Build="GDIRefinery" />
<Order Build="GDIRefinery" />
<Order Build="GDIWarFactory" />
<Order Build="GDIHarvester" />
<Order Build="GDIRefinery" />
<Order Time="98s" Account="PRODUCTION" Deposit="999999" />
<Order Build="GDIWarFactory" />
<Order Build="GDIPowerPlant" />
<Order Build="GDIWarfactory" />
<Order Build="GDIPowerPlant"/>
<Order Build="GDIRefinery" />
<Order Build="GDICrane" />
<Order Build="GDIPowerPlant" />
<Order Build="GDIWarFactory" />
<Order Time="166s" />
</SkirmishOpeningMove>
Thats all fine And When I look in
GDIOptimal I see
<OpeningMove Name="GDI_EASY" Weight="100%" Difficulty="EASY"/>
<OpeningMove Name="GDIStandard" Weight="25%" Difficulty="MEDIUM HARD"/>
<OpeningMove Name="GDIStandard2" Weight="25%" Difficulty="MEDIUM HARD"/>
<OpeningMove Name="GDIStandardCrane" Weight="25%" Difficulty="MEDIUM HARD"/>
<OpeningMove Name="GDIRefineryCrane" Weight="25%" Difficulty="MEDIUM HARD"/>
<OpeningMove Name="GDIBrutalMixedRush" Weight="50%" Difficulty="BRUTAL"/>
<OpeningMove Name="GDIBrutalCrane" Weight="100%" Difficulty="BRUTAL"/>
Now There are two Opening Moves that are set to Brutal BUT GDIBrutalMixedRush Doesnt have anything at all in the
GDIOptimalOpeningMoves.xmlThe purple Lines of Code are the ones that are set as brutal but because I couldnt see anything to do with Brutal Mixed in
GDIOptimalOpeningMoves.xml I set the Weighting % to 100 Thus Thinking it would be used 100% of the time considering there was no other brutal builds.
I tested and found that the AI was using Loads of opening moved from the other Levals of dificultys
<OpeningMove Name="GDIStandard" Weight="25%" Difficulty="MEDIUM HARD"/>
<OpeningMove Name="GDIStandard2" Weight="25%" Difficulty="MEDIUM HARD"/>
<OpeningMove Name="GDIStandardCrane" Weight="25%" Difficulty="MEDIUM HARD"/>
<OpeningMove Name="GDIRefineryCrane" Weight="25%" Difficulty="MEDIUM HARD"/>
These were being used by the brutal. This leads me to think that Brutal are allowed to use any of its own Section and any of the Ai levals below including Easy opening builds maybe not but maybe the ones with
HARD in them. Anyidea's Or are there other files I have missed that help this out or tags I have missed.
These are the files I have been using/Looking at
GDIOptimalOpeningMoves.xml - Opening moves for the Ai to start. You are allowed to include Harvestors as far as I have seen because EA had one in one of the opening builds.
GDIOptimal.xml Team/Building File Eg Joins all the Teams together and choose the settings like weighting in that file.
GDIOptimalStates.xml - Script File Eg Telling Any of the other files that have units inside them to Do this This can also be used to make the Sniper/Jugganaught Combo work.
Edited by hogo, 09 September 2007 - 05:26 PM.