Hi everyone! I've already discuss this theme in other topic, but I think it's something other people could be interested in.
I know there's a way to use custom .aip in scenario with command
Code: Select all
AI_ChangePersonality(playerID, "bully.aip");
However, I can't find the way to make this work as there's no obvious place for custom aips. I tried to put .aip file in different
Documents\Empire Earth II folders and also in
Empire Earth 2 Gold Edition\aips, but it never worked; the scenario continues to use Skirmish_Default.aip every time.
Nevertheless, there's a scenario in Unofficial Patch, which uses (or tries to) custom aips. It's "Survival Egypt" in EE2X. I've found this in its code:
Code: Select all
AI_ChangePersonality(4, "/EE2X/run/AIPS_EE2X/Skirmish_Default.aip");
AI_ChangePersonality(4, "/EE2X/run/AIPS_EE2X/Skirmish_Hardest.aip");
AI_ChangePersonality(2, "/EE2X/run/AIPS_EE2X/Skirmish_Default.aip");
AI_ChangePersonality(2, "/EE2X/run/AIPS_EE2X/Skirmish_Hardest.aip");
So I put .aip file in
Empire Earth 2 Gold Edition\aips and tried
Code: Select all
AI_ChangePersonality(5, "/EE2/run/AIPS/myfile.aip");
but, unfortunately, no result. May be this command is only suitable for EE2X or may be AI_ChangePersonality doesn't work at all. May be there's other way to control AI behaviour? Does anyone know?