PlanetJailbreak

Making bots smarter

Image - Making bots smarter

Bot support makes up a fairly large part of the coding done on Jailbreak. More than just knowing where to go and what to shoot, bots have to appear to behave in sensible ways. Back with Jailbreak III, we had some trouble with bonus pack bot models wanting to run into jail doors. That's a thing of the past, now that in UT2003 all bots use the same AI controller class for their "brains", but this sort of attention to small detail keeps the Jailbreak coders occupied.

Over the last few days I've been looking at bot support for the Release Protection Add-on: have a think about how you'd expect bots to behave while you admire the lovely UT2004 Arena HUD Mychaeel has been working on.

(The answer is: bots shouldn't attack protected players, and a protected bot shouldn't attack anyone. The exception is the case when the Release Protection Add-on options are set to "drop when you inflict damage", and the bot thinks it can win the fight.)