thanks J,
I think an easier way has been to avoid addressing the unit at all and add something like:
that way if the player wants to limit movement they should just reset terrain they don't want then to settle on to Zero, and the AI based on goals and strategies will stil settle near these squares (depending in thesettle score)
this ought to be easier than editing in the units.txt AND terrain.txt AND AI.txt. Instad just modify the terrain score.
well, in theory I still have to test it.
thanks for the help.
I think an easier way has been to avoid addressing the unit at all and add something like:
Code:
if (g_theWorld->GetCell(pos)->GetScore() == 0) { score = 0; }
this ought to be easier than editing in the units.txt AND terrain.txt AND AI.txt. Instad just modify the terrain score.
well, in theory I still have to test it.
thanks for the help.
Comment