Game Development Community

Adding bots to game through console

by David Dougher · in General Discussion · 10/01/2002 (7:41 am) · 3 replies

With all the recent changes to ai code the old method of adding a player bot to the game, $aBot = aiAddPlayer("Hitme"); no longer seems to work. Could someone tell me the new way that one quickly creates a bot?

About the author

Owner - Pariah Games, Adjunct Professor - Bristol Community College, Mentor - Game Design - Met School Newport, Mentor - Game Design - Met School Providence


#1
10/01/2002 (9:21 am)
Ok. It looks like I just needed to spend a bit more time looking at the new ai modules. I went back and double checked - only to discover that I had not added them all to my project correctly and that aiClient.cc was missing an include to aiClient.h. Added that in made sure all the ai stuff was in the project and it compiled and works fine now.
#2
10/02/2002 (3:26 am)
How do you set a bot to join say a team?
#3
10/02/2002 (4:34 am)
$abot.joinTeam(#); # is the team number of course. . . .for all function do $abot.dump();