Quake style AI

Started by
8 comments, last by cusTom3 18 years, 10 months ago
I have been working on a 3D engine. So far I have been able to load the world and walk around. I want to put in bots that will attack the player, but I just don't understand how to do it. If I think about how AI works I can understand the in-game "visible" aspect of it, but I can't understand the code behind it. Does anyone know any good resources for this style of AI, and if so can you give me some sites I can look up? Thanks in advance.
Advertisement
Do a search on Quakebot. There's a lot of good info out there on how it's done.
You might also want to get...
http://www.gamedev.net/columns/books/bookdetails.asp?productid=349
The basic decision making processes in the original quake is handled with a finite state transition network. Here's a fstn tutorial that uses quake for its examples.
You could also try this book:
http://www.gamedev.net/columns/books/bookdetails.asp?productid=434

I've got it at home, and aside from some AI theory is gives real live uses of that theory and how its implimented. Its really easy to follow along!

I haven't gotten too far into it yet, but there seems to be some FPS (First Person Shooter) stuff further in.
Thanks for the replies! I will definatly check out those books, and the link. I have conducted searches online for information on the subject, but mostly found information on scripting a quake bot or a UT bot or something along those lines. Like I said thanks, and if anyone thinks of anything else that I might be interested in reading, please feel free to post it. Im off to read now, catch you guys later.

Locke1105
Actually, after looking through some articals(I have yet to purchase any books), I have learned alot. But I still don't understand the code that runs it. I can't find any example code to look at, only diagrams explaining the transisitions and actions ect. Does anyone know where I can find example that are in C++. By the way, what is QuakeC?
You can find the source code and executables that accompany my book at my publisher's website, here:

http://www.wordware.com/files/ai/

Check out the Raven demo. If it's what you're looking for, it's all explained in the book... ;)

QuakeC is a C-like scripting language Carmack created.
PS. You can also find most of the code that accompanies Alex's book online also. I seem to have misplaced the link but you can ask at his forum where to get it from.

http://aigamedev.com/
Woohoo!
I found the "Programming Game AI by Example" book more useful then the first one, but I still own them both! :P

I haven't ever looked at the first book mentioned "AI Game Development", but I definatly recomend "Programming Game AI by Example" and perhaps his other one aswell if you feel like going all out ;)
if you are looking for source code and an engine to play with i suggest doom3 ;)

it is a great playing grounds for ai research, there is a ton of source to look at, and you can tweak it all you want.

i gotta buy your book this weekend fup, everyone says it is great

This topic is closed to new replies.

Advertisement