OpenArena Message Boards

OpenArena Contributions => Maps => Topic started by: vindimy on April 09, 2009, 05:33:38 PM



Title: BotAISetupFailed - is there an easy fix?
Post by: vindimy on April 09, 2009, 05:33:38 PM
Hi people,

So, I'm running an Openarena server and adding a few new maps from Q3A to freshen up the gameplay. On some maps, I get the following:

Code:
^3Warning: CTF without Blue Flag
25 bots parsed
117 arenas parsed
^1Fatal: AAS not initialized
broadcast: print "Ayumi^7 BotAISetupClient failed\n"
ClientDisconnect: 0
^1Fatal: AAS not initialized
broadcast: print "Merman^7 BotAISetupClient failed\n"
ClientDisconnect: 1
^1Fatal: AAS not initialized
broadcast: print "Rai^7 BotAISetupClient failed\n"
ClientDisconnect: 2
^1Fatal: AAS not initialized
broadcast: print "Beret^7 BotAISetupClient failed\n"
ClientDisconnect: 3
-----------------------------------
Sending heartbeat to dpmaster.deathmask.net
^1Fatal: AAS not initialized
broadcast: print "Kyonshi^7 BotAISetupClient failed\n"
ClientDisconnect: 0
^1Fatal: AAS not initialized
broadcast: print "Skelebot^7 BotAISetupClient failed\n"
ClientDisconnect: 1
Sending heartbeat to dpmaster.deathmask.net

So, the map reportedly doesn't support bots, that's understandable. But Openarena eventually crashes with "AAS Shutdown" message... I really like the maps and think they'd be great for teamplay.

So, the question is: is there an easy way to fix these map files to enable bots? Maybe some stupid generic ones, as long as the maps stay playable? I don't want to just copy bot files off some other map and mess things up.


Title: Re: BotAISetupFailed - is there an easy fix?
Post by: Neon_Knight on April 09, 2009, 05:43:26 PM
Which maps causes that error? you should check that map pk3s have an aas file (with the map name, for example mapname.bsp and mapname.aas) inside the maps folder inside the pk3.

The aas file is the Bot AI file.

The unique fix for it without touching the pk3, I guess, is to generate a new aas file by extracting the bsp into a maps folder inside baseoa and running BSPC on it (you'll need GTKRadiant to do that, also I suggest a frontend for BSPC and Q3MAP2 called Q3MAP2BUILDER) Some bot files can take a VERY long compiling time depending on how the map itself is done. Also there's no way to know if the mapper have used the -meta switch at the BSP stage.

I suggest you to read this doc: http://www.leveldk.co.uk/tut8.htm

Conclusion: Maps which don't have that aas file inside of its pk3 will return that error.


Title: Re: BotAISetupFailed - is there an easy fix?
Post by: vindimy on April 09, 2009, 05:48:30 PM
Thanks for quick response :D I'll try out the things you've mentioned.

The maps I'm using are Q3A ones (probably never been intended for Openarena), I get them from http://q3a.ath.cx


Title: Re: BotAISetupFailed - is there an easy fix?
Post by: 0kelvin on April 09, 2009, 07:27:04 PM
openarena