notque
Artificially Intelligent
- Joined
- Nov 13, 2005
- Messages
- 2,174
I've been playing with the code trying to keep high experience units alive. I'm using Better AI, and I see it's set to value experience so as to not sacrifice the unit.
But that isn't helping when the unit runs off alone.
What options do I have to keep particular units alive with high experience? Can we always send units out in groups? What is the value in ever sending a unit off alone aside from UNITAI_EXPLORE?
Also, I've noticed that high experience units will sometimes get stuck as City Defense after capturing a city.
I've tried setting NounitAI for City Defense for the unit in XML, but that isn't stopping it.
What options do I have to keep high experience units from becoming stuck in City defense away from the battles, and keeping them alive.
They aren't being chosen to suicide themselves if they are in a group, but if they run off alone.
Thanks.
But that isn't helping when the unit runs off alone.
What options do I have to keep particular units alive with high experience? Can we always send units out in groups? What is the value in ever sending a unit off alone aside from UNITAI_EXPLORE?
Also, I've noticed that high experience units will sometimes get stuck as City Defense after capturing a city.
I've tried setting NounitAI for City Defense for the unit in XML, but that isn't stopping it.
What options do I have to keep high experience units from becoming stuck in City defense away from the battles, and keeping them alive.
They aren't being chosen to suicide themselves if they are in a group, but if they run off alone.
Thanks.