reclaiming valuable stuff

reclaiming valuable stuff

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
unpossible
Posts: 871
Joined: 10 May 2005, 19:24

reclaiming valuable stuff

Post 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...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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....
User avatar
unpossible
Posts: 871
Joined: 10 May 2005, 19:24

Post by unpossible »

cool :D
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post 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.
User avatar
Zoombie
Posts: 6149
Joined: 15 Mar 2005, 07:08

Post 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).
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post 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...
User avatar
Lindir The Green
Posts: 815
Joined: 04 May 2005, 15:09

Post 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.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

done

B_RESSURECT
Post Reply

Return to “AI”