All that will do is make it unavailable to the player, not the AI. TechLevel=11 makes it unavailable to players and the AI. At least in most cases.
Here we have a case of hardcoding - the AI uses the structures in those BuildConst=, BuildBarracks= etc. tags in every skirmish game regardless of TechLevel=.
Thanks for trying though.
Update:In the [General] section, I set AISlaveMinerNumber= to 0,0,0, and now the Yuri AI doesn't make any Slave Miners! Sweet.
But it still builds over 3 War Factories...
Another update:
By setting GDIPowerPlant=GAPILE, NodRegularPower=NAHAND and ThirdPowerPlant=YABRCK in the [General] section, and having in the [AI] section [AI] BuildConst=GACNST,NACNST,YACNST, BuildPower=GAWEAP,NAWEAP,YAWEAP, and BuildBarracks=GACSPH,NAIRON,YAGNTC, I have managed to fix things.
Now, the AI will do this and ONLY this: deploy conyard, build war factory, build low-level superweapon.
Shame it doesn't build units but I had expected it not to under the strict rules of this game mode. At least now though, it obeys the mode's rules
Here we have a case of hardcoding - the AI uses the structures in those BuildConst=, BuildBarracks= etc. tags in every skirmish game regardless of TechLevel=.
Thanks for trying though.
Update:In the [General] section, I set AISlaveMinerNumber= to 0,0,0, and now the Yuri AI doesn't make any Slave Miners! Sweet.
But it still builds over 3 War Factories...
Another update:
By setting GDIPowerPlant=GAPILE, NodRegularPower=NAHAND and ThirdPowerPlant=YABRCK in the [General] section, and having in the [AI] section [AI] BuildConst=GACNST,NACNST,YACNST, BuildPower=GAWEAP,NAWEAP,YAWEAP, and BuildBarracks=GACSPH,NAIRON,YAGNTC, I have managed to fix things.
Now, the AI will do this and ONLY this: deploy conyard, build war factory, build low-level superweapon.
Shame it doesn't build units but I had expected it not to under the strict rules of this game mode. At least now though, it obeys the mode's rules