OpenArena Message Boards

OpenArena => General => Topic started by: MilesTeg on August 07, 2006, 08:27:12 AM



Title: how do I enable bots?
Post by: MilesTeg on August 07, 2006, 08:27:12 AM
I tried to copy all botfiles from the dir of my original quake 3 but oa gives me the error
"could'nt find chat player in bots/daemia_t.c"

I am sure I have copied the file daemia_t.c with all other files to C:\OpenArena\baseq3\botfiles\bots

Is there something I am missing?


Title:
Post by: fromhell on August 07, 2006, 10:05:39 AM
Did you try bot_enable 1 and sv_pure 0 and restarting?


Title:
Post by: MilesTeg on August 07, 2006, 11:51:16 AM
hm... now I get some lines with "loaded cached skill 4.0000 from bots/default_c.c"
and then the error returns plus
"Gargoyle Bot AISetupClient failed"


Title:
Post by: fromhell on August 07, 2006, 11:52:23 AM
The map needs an AAS file compiled for the bot to work.

IIRC, running bspc with the -bsp2aas parameter works

[Edited on 8-7-06 by leileilol]


Title:
Post by: Zero on August 18, 2006, 01:17:26 PM
Reading the above I noticed and thought it was odd that the bots were uncompiled .c files, so I checked them out.  There seems to be 4 files that give a bot its individuality and they look fairly easy to reproduce.  

daemia_t.c is a chat file full of the messages the bot sends in game.  The hardest part about making one for Gargoyle or Sarge would probably be thinking up things for them to say.  Maybe we could get submissions from the community in the form of some kind of contest or vote?


Title:
Post by: fromhell on August 18, 2006, 10:42:04 PM
Oh, i'm not worried about the botname_i/t/etc files, those are easy. What the killer is the fuzzy item logic files in the directory above it.


Title: Re: how do I enable bots?
Post by: mczero on November 16, 2006, 11:44:28 AM
OpenArena maps do have .aas files, I don't understand what its about with those aas files. I even tried custom Quake 3 maps with included .aas files, they don't work, too. What do I have to do to make bots work?



Title: Re: how do I enable bots?
Post by: fromhell on November 16, 2006, 03:13:37 PM
.aas files are required for the bot to function and see. 0.5.1 has no botfiles, so they won't work for those anyway.



Title: Re: how do I enable bots?
Post by: dmn_clown on November 17, 2006, 09:24:42 AM
OpenArena maps do have .aas files, I don't understand what its about with those aas files. I even tried custom Quake 3 maps with included .aas files, they don't work, too. What do I have to do to make bots work?

You need up-to-date area awareness system (aas) files and if you are using the botfiles available from the svn you need to re-create the bot's _i.c and _w.c files (The default_*.c files should act as templates) .

If you've done that then my guess would be that you have a configuration file somewhere that is telling the game engine that bots aren't enabled, find the line
"seta bot_enable "1""
and make sure that it is set as shown (0 is without bots).