deanej
Deity
The loading of the XML is handled in the SDK. I wonder if it would be possible to add something there.
The loading of the XML is handled in the SDK. I wonder if it would be possible to add something there.
pOldGroup->AI_seperateNonAI(UNITAI_ATTACK_CITY);
should be:
pOldGroup->AI_separateNonAI(UNITAI_ATTACK_CITY);
Going through BBAI 0.75, there are 20 instances of seperate, and 30 instances of separate.
void CvSelectionGroupAI::AI_separate()
void CvSelectionGroupAI::AI_seperateNonAI(UnitAITypes eUnitAI)
void CvSelectionGroupAI::AI_seperateAI(UnitAITypes eUnitAI)
void CvSelectionGroupAI::AI_seperateEmptyTransports()
void CvUnitAI::AI_someFunction()
{
CvSelectionGroupAI* pGroup = getGroup();
pGroup->AI_seperateNonAI(UNITAI_ATTACK_CITY);
a bunch of other stuff
}
I reported the queued order bug over two years ago. It was introduced with Warlords, and did not exist in vanilla up to patch 1.61. I believe the bug was back-ported to vanilla with a later patch, but don't recall exactly.Another two bugs and their fixes:
- Queued orders skipped after a "move to" order with no movement points remaining. Related thread: http://forums.civfanatics.com/showthread.php?t=326158
The first one an be easily added to the unofficial patch if you want.
The second one is present in Civ4 from vanilla version. I found the problem and coded a quick fix, but I think it can be recoded in a easier way.