Pages: [1]
  Print  
Author Topic: how do I enable bots?  (Read 16588 times)
MilesTeg
Lesser Nub


Cakes 0
Posts: 144



« 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?
Logged

"We are all connected"
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #1 on: August 07, 2006, 10:05:39 AM »

Did you try bot_enable 1 and sv_pure 0 and restarting?
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
MilesTeg
Lesser Nub


Cakes 0
Posts: 144



« Reply #2 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"
Logged

"We are all connected"
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #3 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]
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
Zero
Nub


Cakes 0
Posts: 7


« Reply #4 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?
Logged
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #5 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.
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
mczero
Nub


Cakes 0
Posts: 7

Member


« Reply #6 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?

Logged
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #7 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.

Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #8 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).
Logged

Pages: [1]
  Print  
 
Jump to: