AI techniques used in Quake3 / Unreal - BOTS

Started by
4 comments, last by Kechong 24 years, 2 months ago
Hi, does anyone here have a good knowledge of how bots are done in those games ? How do they get the bots to remember where all the weapons etc are on NEW maps ? Do these games use genetic algorithms ? do any games ?
Advertisement
I read a book that a little Ai in it. One of the things the author did was to have his bots remember where weapons, etc. were when they encountered them while walking around the level. The bots would also remember things such as where the enemy was. Then, when it came time for the bots to attack, they simply looked at their struct/class to see where the play was. This way, the same code works for all maps, even those not shipped with the game. He also had things such as the ability for bots to trade information with eachother, using a system where the most neede information and the best information was swapped (I think).

The author didn''t actually implement all of this, but he did sugeest how games did such a thing, and made a demo with ants who walked around, ate, and swapped information.

Ben
I _think_ you can actually see it since the "Quake 3 Source" is exposed. If you don''t know, Quake 2 and 3 have a Quake Virtual Machine. You can download the compiler and the source (for the bytecode/gameplay, not the engine) from id Software(ftp://ftp.idsoftware.com/quake3).

I haven''t had a chance to dig in yet, but you can basically see how all the gameplay elements were set up. id also released a brief tut of kit (not sure which, even though I downloaded it) on how to make your own bots.

Man, I think Quake is a pretty boring game, but I had to buy it anyway to goof around with that virtual machine code.
TC Coming soon
-the logistical one-http://members.bellatlantic.net/~olsongt
I am not entirely certain, but I think I read somewhere that (possibly the UT) bots use a series of waypoints to navigate the levels.

I could be wrong of course.
u r right!
When designing a level for ut, you can set simple ways for the bots. All weapons in a given distance can be reached easily by the bots.
A good example of this technice is the ctf-face level. When the bots start, they all run on exactly the same way (easy to head shot them *g*).

Enjoy the AI (since its "A"I, its not real Intelligence )
abnormal

Microsoft DirectX MVP. My Blog: abi.exdream.com
IIRC, you can view most of the UnrealScript code that governs the bots in UnrealEd! You definitely could look at the primitive ones in Unreal (as opposed to UT).

Bots in Unreal move around following a serious of predefined waypoints. Basically, they decide what they want and try and go and get it - pretty much the same as the old ReaperBot (no surprise, Steve Polge being the author of both UT''s bots and the Reaper) and others. A degree of randomness is added in.

The Quake 3 bots are basically souped up Gladiator bots, by Mr. Elusive.

This topic is closed to new replies.

Advertisement