PlanetJailbreak

Making bots smarter

  • warning: Declaration of flag_handler_relationship_content::ui_name() should be compatible with views_handler::ui_name($short = false) in /var/www/jailbreak/sites/all/modules/contrib/flag/includes/flag_handler_relationships.inc on line 62.
  • warning: Declaration of flag_handler_relationship_counts::ui_name() should be compatible with views_handler::ui_name($short = false) in /var/www/jailbreak/sites/all/modules/contrib/flag/includes/flag_handler_relationships.inc on line 118.
  • warning: Declaration of views_plugin_style_default::options(&$options) should be compatible with views_object::options() in /var/www/jailbreak/sites/all/modules/contrib/views/plugins/views_plugin_style_default.inc on line 17.

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.)

Image - Making bots smarter