Posted: Fri Mar 31, 2023 3:10 am Post subject:
Getting AI To Build Custom Base Defences ?
The AI builds all the custom units that I added like troops, aircraft and tanks, but beside adding AIBuildThis=yes, how else do I get it to build all of my custom base defenses ? QUICK_EDIT
Defenses are split between 3 tags, BuildDefense, BuildPDefense, and BuildDummy... the first is kind of the preferred defense, the second is the one it builds when it has excess power, and the last category is just randomly interspersed with no particular reasoning.
Forgot YR... _________________ http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai Last edited by G-E on Fri Mar 31, 2023 11:02 am; edited 1 time in total QUICK_EDIT
Note that BuildDefense, BuildPDefense & BuildDummy are used in the original Red Alert 2. In Yuri's Revenge they are replaced with a new system that uses AlliedBaseDefenses=, SovietBaseDefenses= & ThirdBaseDefenses=.
YR also adds the new tags AntiInfantryValue= AntiArmorValue= & AntiAirValue= to the building's code, this tells the AI what type of defense this buildings is so it can better chose they type it needs. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum