1 / 5

Simple Techniques for Coordinated Behavior

Simple Techniques for Coordinated Behavior. Presentation by Jonathan Martin Based on Chapter 3.2 of AI Game Programming Wisdom 2, by Jeff Orkin. Tactical Espionage Action. Let’s continue the example from the last section Our agents use a simple pathfinding scheme (most likely A*)

oriel
Télécharger la présentation

Simple Techniques for Coordinated Behavior

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Simple Techniques for Coordinated Behavior Presentation by Jonathan Martin Based on Chapter 3.2 of AI Game Programming Wisdom 2, by Jeff Orkin

  2. Tactical Espionage Action • Let’s continue the example from the last section • Our agents use a simple pathfinding scheme (most likely A*) • We do not have enough resources for a group behavior layer

  3. Let’s see what happens 1 1 • To avoid this, we can let agents “reserve” a path node • When a node is reserved, set its cost to something very high, so other agents will have to find another way 1 1 1

  4. Let’s see what happens • Now we have the illusion of group behavior without a separate layer! 1 1 1 RESERVED 1 50 1

  5. Get Out of My Way! • Now that we’ve surrounded the player, we want to shoot him without shooting each other • This can be done very simply on (fire) { if we have line of sight, fire! else if obstructing object is an ally, ask him to move! if ally is busy, or obstruction is not an ally, move! } • Adding audio cues adds to realism

More Related