How do i make an AI work with my mod?

How do i make an AI work with my mod?

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

Moderators: hoijui, Moderators

Post Reply
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

How do i make an AI work with my mod?

Post by PauloMorfeo »

I need to have an AI with which i can test the Mod i am making. What do i do?

The best i managed was making the AI that comes with Spring (AAI) to load without reporting errors. But the commander just sits there...

The file AAI_log_team_1.txt contains, if helpfull:

Code: Select all

AAI 0.761 running mod Testes.sdd
 
Mod config file loaded
General config file loaded
Map cache file succesfully loaded

Loading map type:
land map detected

Map: Comet Catcher Redux.smf
Mapsize is 768 x 1024
8 sectors in x direction
10 sectors in y direction
x-sectorsize is 768 (Map 96)
y-sectorsize is 816 (Map 102)
80 metal spots found 
 
Playing as TLL
Builder ratings:

Construction X-Bot                  4593.822266
Construction vehicle                792.509644
Coyote                              0.000000
Factory ratings:
X-Bot Lab                           177564048.000000
Vehicle Plant                       1527992.250000
Base has now 3 direct neighbouring sectors
Added Vehicle Plant to buildque
Looking for builder to build Vehicle Plant
Added Construction X-Bot to buildque
Could not find builque for Construction X-Bot
Requested: Construction X-Bot 1

Shutting down....

Unit category	active / under construction
unknown             : 0 / 0
defence building    : 0 / 0
stationary arty     : 0 / 0
storage             : 0 / 0
ground factory      : 0 / 0
water factory       : 0 / 0
air base            : 0 / 0
stationary radar/sonar: 0 / 0
stationary jammer   : 0 / 0
stationary launcher : 0 / 0
barricade           : 0 / 0
deflection shield   : 0 / 0
power plant         : 1 / -1
metal extractor     : 0 / 0
metal maker         : 0 / 0
commander           : 0 / 1
ground assault      : 0 / 0
air assault         : 0 / 0
hover assault       : 0 / 0
sea assault         : 0 / 0
submarine assault   : 0 / 0
ground artillery    : 0 / 0
naval artillery     : 0 / 0
hover artillery     : 0 / 0
ground scout        : 0 / 0
air scout           : 0 / 0
hover scout         : 0 / 0
sea scout           : 0 / 0
mobile jammer       : 0 / 0
mobile launcher     : 0 / 0
ground builder      : 0 / 0
air builder         : 0 / 0
hover builder       : 0 / 0
sea builder         : 0 / 0

Ground Groups:    0

Air Groups:       0

Hover Groups:     0

Sea Groups:       0

Submarine Groups: 0

Future metal/energy request: 0 / 0
Future metal/energy supply:  0 / 0

Future/active scouts: 2 / 0
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Try it with an AI that doesnt require config building such as RAI TSI or CSAI, or wait for NTai Toolkit.

There're also helepr AAI configs for generics in the AAI folders with comments.
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Post by PauloMorfeo »

http://taspring.clan-sy.com/phpbb/viewt ... 965#146965
AF wrote:None of the Ais should work with 0.74 save the ABI test builds, and the AAI that came with 0.74.

And maybe some dev builds of CSAI and NTai floating around that arent under public release.....


They need recompiling, and it has to be under Mingw32 unless the C interface has been supported...
Doesn't that means that it isn't even worth for me trying, since i won't find any besides AAI?

Anyway, i tried searching for RAI, found something saying that it wouldn't work with 0.73, nor could it be downloaded. Tried KAI-mingw-32.dll, crashes Spring.

Godam freaking hell.... ... .. .................
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Oh, right, I should update those for 0.74b1...
Post Reply

Return to “AI”