Common AI failed strategies/tactics we've all seen so far - Page 2

Common AI failed strategies/tactics we've all seen so far

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

Moderators: hoijui, Moderators

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

Post by AF »

I know, youc an use what you did with KAI and parse weapondefs.tdf directly. However thats not exactly a good solution because there are mods that dont follow that convention, e.g. AA 2.23
User avatar
krogothe
AI Developer
Posts: 1050
Joined: 14 Nov 2005, 17:07

Post by krogothe »

KAI doesnt parse weapon files...
User avatar
MadRat
Posts: 532
Joined: 24 Oct 2006, 13:45

Post by MadRat »

It would be sweet if you could define a batch of categories to ignore, rather than a single one if they did use BadTargetCategories. Sure could possibly simplify the way an AI would search for suitable targets. You could do some amazing things, especially if you could define at least one BestTargetCategory.
User avatar
krogothe
AI Developer
Posts: 1050
Joined: 14 Nov 2005, 17:07

Post by krogothe »

You can simply use a ballistic approximation that automatically calculates the damage over time of any given unit vs another, thus giving you ranked targetting priorities instead of a simple, often misleading tag. Needless to say it would also detect all the units that cant hit others effectively.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Where abouts in the KAI code do you do that?

Last i heard the values in the callback where useless because they relied on internal spring data that was dynamically generated and not available via the callback...
User avatar
krogothe
AI Developer
Posts: 1050
Joined: 14 Nov 2005, 17:07

Post by krogothe »

The values are available in the callback, its just theyre coded within an int bitmask. Its done in DamageControl.cpp...
Post Reply

Return to “AI”