I have seen i can edit the AiData ini with the WB but actually how do i do this? I whant to edit all the build locations for the ai in the AiData, and insert some new structures but i don't now how to create the corect X and Y location me tried but in game a structure was over a nother one and....

i know how to make the ai build new structures, because i diden't now how to create X and Y location i have made the ai build the new structures like "build new structure at the edge of base if money... " Somethink like that and it builds them but it puts them in front of the defence buldings like patriot missile systems and bunkers... A little tutorial on how to make good X and Y location coordinates.
And second quastion about 2 command sets and ai!
CommandSet Nuke_ChinaDozerCommandSet
1 = Nuke_Command_ConstructChinaPowerPlant
2 = Nuke_Command_ConstructChinaInternetCenter
3 = Nuke_Command_ConstructChinaBarracks
6 = Nuke_Command_ConstructChinaAirfield
5 = Nuke_Command_ConstructChinaSupplyCenter
4 = Nuke_Command_ConstructChinaPropagandaCenter
7 = Nuke_Command_ConstructChinaBunker
8 = Nuke_Command_ConstructChinaSpeakerTower
9 = Nuke_Command_ConstructChinaGattlingCannon
10 = Nuke_Command_ConstructChinaNuclearMissileLauncher
11 = Nuke_Command_ConstructChinaWarFactory
14 = Nuke_Command_ConstructChinaCommandCenter
13 = Command_UpgradeGLAWorkerFakeCommandSet3
12 = Nuke_Command_ConstructChinaNukeResearchCenter
End
CommandSet Nuke_ChinaDozerCommandSetTech
3 = Nuke_Command_ConstructChinaNavalYard
2 = Nuke_Command_ConstructChinaSAMBattery
1 = Nuke_Command_ConstructNerveRockets
13 = Command_UpgradeGLAWorkerRealCommandSet3
14 = Command_DisarmMinesAtPosition
End
In what way must i edit the ai skirmish scripts to tell him to switch to command set tech and the build for exemple NerveRockets building and then if a powerplant is destroyed from the base the ai switches to normal command set and then trys to rebuild the destroyed power plant then if the nerve agents rockets are destroyed switch to command set tech again and try to rebuild an so on...