xienwolf
Deity
Maybe you should set Enraged to only cause AI control if the unit is capable of attacking?
Loki is now mortal btw. Logic Reversal in the SDK:
This states that only units who ARE immobile may retreat defensively.
Adding a command in the AI Control settings which removes the unit from their current group would be nice. I am guessing issues arose with the commands to prevent adding a unit to a group with an enraged unit (thus the massive crashes earlier? I think both came in the same patch)
For enraged, wouldn't AI_summonAttackMove be more viscious than AI_barbAttackMove? Honestly there is far too much guarding and too little range with Barbarian attack moves, unless your own Area AI happens to be Offensive and you happen to be playing Raging Barbarians. Though with Summon Attack you miss out on any commands to pillage. Also a much larger range on the initial attack check would result in the unit being less likely to sit around doing nothing (I'd personally say let it check 1/5 of the current mapsize).
Loki is now mortal btw. Logic Reversal in the SDK:
Code:
if (pDefender->getImmobileTimer() > 0)
{
if (!pPlot->isCity())
{
if (GC.getGameINLINE().getSorenRandNum(100, "Withdrawal") < pDefender->getWithdrawlProbDefensive())
{
pDefender->setFleeWithdrawl(true);
break;
}
}
}
This states that only units who ARE immobile may retreat defensively.
Adding a command in the AI Control settings which removes the unit from their current group would be nice. I am guessing issues arose with the commands to prevent adding a unit to a group with an enraged unit (thus the massive crashes earlier? I think both came in the same patch)
For enraged, wouldn't AI_summonAttackMove be more viscious than AI_barbAttackMove? Honestly there is far too much guarding and too little range with Barbarian attack moves, unless your own Area AI happens to be Offensive and you happen to be playing Raging Barbarians. Though with Summon Attack you miss out on any commands to pillage. Also a much larger range on the initial attack check would result in the unit being less likely to sit around doing nothing (I'd personally say let it check 1/5 of the current mapsize).