I am currently optimizing my NE melee ai, and i experienced some strange building behavior. The -1 townid parameter which should cause the ai to build a buidling in any town (reasonably quite balanced building numbers between towns), causes it to build them all in its main town. My undead AI uses this parameter correctly and because they use the same building thread in common.ai (original blizz) which uses the same native function to build a building, theoretically they should have the same buidling location choosing algorithm.
Anyone else experienced such behavior or i just missed something.
If yes is there any way to solve the problem without writing a custom buidling location choosing algorithm.
Could this happen only because of the RACE settings?
If yes any way to modify it?
What's racepreference? (common.j)
Anyone else experienced such behavior or i just missed something.
If yes is there any way to solve the problem without writing a custom buidling location choosing algorithm.
Could this happen only because of the RACE settings?
If yes any way to modify it?
What's racepreference? (common.j)