NTai High level Overview

NTai High level Overview

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

Moderators: hoijui, Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

NTai High level Overview

Post by AF »

Can be found here

I'd also like my NTai release thread unlocked sometime soon
ato
Posts: 10
Joined: 09 Sep 2009, 05:32

Re: NTai High level Overview

Post by ato »

Interesting read. Thanks for posting. How did your three different scouting algorithms perform in practice? Did the influence maps show an advantage over the other two methods? Or perhaps was it better to focus on the resource points, even just with random checks?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: NTai High level Overview

Post by AF »

I remember IK praising em for the resource point based scouting, as it was effectively a crude implementation of raiding, and was quite effective, even though it was not the intention behind the algorithm. We have XTA zippers/freakers and BA jeffies/weasels to thank for this.

Influence map based scouting worked best for aircraft, resource point for scouters with weapons or gunships, and random locations was used as an extra thrown in for variety.

Thus the algorithms worked well in game, the problem became one of which scouters to build and how many scouters to build in comparison to the number of attackers. Radar and sonar etc also played a part, and naturally construction units would encounter the enemy in their continual push to expand across the map. So dedicated scouters arent the only means of scouting, lots of other behaviours unintentionally help.

edit:: I modified the page to include details of a fourth algorithm hughperkins reminded me of.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: NTai High level Overview

Post by lurker »

Soon as in 'when you can get to it' or as in 'I will make the request soon'?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: NTai High level Overview

Post by AF »

Whichever event arises first. A release is likely to occur before November, although I wont comment on the number of releases or the nature of them.
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: NTai High level Overview

Post by 1v0ry_k1ng »

still compatabile with my configs or needing new ones?
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: NTai High level Overview

Post by 1v0ry_k1ng »

Influence Maps
An influence map containing the number of frames since a position was last sighted was kept up to date. Scouters running under this algorithm would move towards the highest value within a certain range.
this sounds laggy
ato
Posts: 10
Joined: 09 Sep 2009, 05:32

Re: NTai High level Overview

Post by ato »

Nah, it's not actually that expensive as you'd use a scaled-down version of the map. Like you would with a threat map or pathfinding map or whatever. You also don't necessarily have to update it every frame (unless your scouts are insanely fast).
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: NTai High level Overview

Post by AF »

Indeed, but even if it was done every single frame it would be very fast. This is something a computer excels at, whereas a human brain takes ages. What's more Id expect compilers to be able to optimize this to work even faster.

JCAI implemented the influence map algorithm first, and most AIs followed, none had any performance issues with scouting algorithms themselves that I am aware of, even using fast scouts.
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: NTai High level Overview

Post by 1v0ry_k1ng »

please dont switch NTAI over to scouting, it was only just a challenge when it had maphacks :(
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: NTai High level Overview

Post by AF »

1v0ry_k1ng wrote:please dont switch NTAI over to scouting, it was only just a challenge when it had maphacks :(
Then you will like what I have in store
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: NTai High level Overview

Post by 1v0ry_k1ng »

whats in store?
Post Reply

Return to “AI”