I've posted a little spinoff of the current (old, but current =) ) zcain code to put into spring. select a constructor, a factory, something that can build, and set it to use this group ai. it's fairly stable, but will crash spring if you remove all the units (semms a spring bug, the logger says destructor succeedes). It will try to balance the resource. use the set area button to set a working area. you can set the area as many times you want. do no put factoryes on the area. the ai will try to build into the middle of them, as canbuildat will return true (duh).
just to show that some groupai could be useful and umbalancing.
http://www.fileuniverse.com/?p=showitem&ID=2089
on the groupai faida and zcain 0.3
Moderators: hoijui, Moderators
on the groupai faida and zcain 0.3
Last edited by cain on 02 Jan 2006, 22:52, edited 1 time in total.
I'm not posting the code for this, as it will be easy extended to unbalance the game.
this however is a link to the full ai source & dll, uses the same build code but is more integrated and cannot be extracted in harmful way easily.
it shows the beta of the new zone system. currently doesn't attack nor build defences.
http://www.fileuniverse.com/?p=showitem&ID=2090
this however is a link to the full ai source & dll, uses the same build code but is more integrated and cannot be extracted in harmful way easily.
it shows the beta of the new zone system. currently doesn't attack nor build defences.
http://www.fileuniverse.com/?p=showitem&ID=2090