Page 1 of 1

reclaiming valuable stuff

Posted: 07 May 2006, 20:18
by unpossible
do any of the AIs actively keep track of whether their expensive buildings are alive or dead?

i was thinking along the lines of storing an alive/dead bool along with each building of sufficient metal cost so that the AI could figure out if one had died and send a builder to the location and reclaim the spot. once a relcaim command has been given then the bool is deleted.

eg build a structure at location x. bool set to alive. building gets killed, bool set to dead (but implicitly assumed to stilll be there as wreckage). builder gets given a reclaim order at the location. bool is deleted.

could say delete the bool as soon as the reclaim order is sent so we don't have builders one by one running into enemy lines. perhaps vary this in relation to how much the structure was worth when it was alive...but then that's more info to keep track of.

just an idea: the only ai reclaiming i've seen is the 'oops it's in the way of what i'm about to build' kind...

Posted: 08 May 2006, 10:48
by AF
In previous versiosn fo NTai it sometimes reclaims but the event is rare for some reason.

But something like that would be very very easy to implement,and I'llprobably have it done and tested in half an hour....

Posted: 08 May 2006, 12:22
by unpossible
cool :D

Posted: 09 May 2006, 01:47
by Neddie
I would like an AI that rezzes structures and troops.

Of course, that may be because I won a battle based on rezzing, and want to see if an AI could pull it off.

Posted: 09 May 2006, 02:06
by Zoombie
Rezzing has saved my life more then once.

But reclaming has saved my life many many more times then 100, so that should be a higher priority. Mabey it rezzes only if the unit is an enemy unit that it dose not have (Like a ARM A.I that rezzes a krogoth, but sucks up a buldog, or sommit like that).

Posted: 09 May 2006, 13:32
by AF
Ntai has ressurection capabilities, in the XE series if an idle builder could ressurect it was given an area ressurect order centred on the starting position..

The problem was that the buildtree had farks and necros on looping buildtrees so they never got the resurection command....

Resurecting in th AI is problematic ebcause there's no way fo telling if a feature is resurectable or not, you have to issue area command and hope you find something.

I'll see what happens if I add resurect tags to XE8 but that depends on how much time as I'm eager to release it quickly...

Posted: 09 May 2006, 15:07
by Lindir The Green
And when I told them to not loop, they just sat there like lazy bums.

So unless you add a tag, there will be no XTA rezzing.

Posted: 09 May 2006, 15:08
by AF
done

B_RESSURECT