The problem is the utter frick'n stupidity and rigidness in the way the game's xml is locked down.
Case in point:
I have tried to relegate ONE buildorder for the Balanced (Optimal) Personality so I can successfully test a single sequence for the AI to follow. Normally I would simply tell the AI to use this one buildorder exclusively like this:
<OpeningMove Name="GDIStandard" Weight="100%" Difficulty="MEDIUM HARD"/>I then "comment out" the other buildorders being called and that should do it. What does the f**king game do? It removes the BALANCED personality in the dropdown within the game menu. WTF!?!?!?!? What bloody logic is that?
I tried next to everything to get that to work wasting hours with different variations to figure out why the hell this code seems so gawd damn "locked down".
Also.. if I try to increase the # of infantry units to garrison a building to this:
<Heuristic> <ConstantHeuristic Weight="1.0"/> </Heuristic> <TargetHeuristic TargetHeuristic="GarrisonHeuristic" TargetType="Garrison"/> <Tactic Tactic="GarrisonBuilding" TargetType="Garrison"> <TeamTemplate MinUnits="1" MaxUnits="3" IncludeKindOf="INFANTRY" ExcludeKindOf="SKIRMISH_AI_DONT_GARRISON" AlwaysRelease="false" AlwaysRecruit="false"/> </Tactic> </AIStrategicStateDefinition>It crashes? WHAT THE HELL!??! Note I only changed MaxUnits to 3 where it was 2 before.
Further, if I simply try to increase the likelihood that larger base defenses are built in the later game to this:
<UnitModifierByName UnitName="GDITerraformingStation" UnitPreferenceOffensiveModifier="200%" UnitPreferenceDefensiveModifier="200%"/>..the frack'n game crashes! Note the DefensiveModifier is now 200% instead of the original 100%. I've even tried 150% but no way...
Hell.. the way things are going.. I'll be lucky to script even the most basic tactics if I can't even do this simple sh*t.
GAWD!!!!!!!!!! Talk about damn anally-retentive.. and THANK GAWD I can reload the game from desktop-to-main menu in under 10sec (have a powerful comp) and thus turnaround times aren't so bad but imagine a coder who had a 2+ year old machine doing this kind of troubleshooting? Forget it.
Frustrated as sh*t.. thank gawd I have my Dawn of War LUA because C&C3 makes it look like childs-play vs this anal crap. <sigh x 50>
Someone needs to contact EA and drop kick em for this as LUA coding is sooo much more forgiving (at least the game gives you an error but doesn't CTD AND doesn't lock the script files when the game is running).
So dunno.. perhaps EA's XML AI people can enhance the AI further based on that list we have. I would hate to hell to script advanced tactics for the AI if I can't even isolate a simple buildorder. What does THAT tell you about the whole XML framework and its relationship to the game code? <essssssssssssh!>