August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 1 Killzone’s AI: Dynamic Procedural Tactics.

Slides:



Advertisements
Similar presentations
Artificial Intelligence in Game Design
Advertisements

Heuristic Search techniques
AI Pathfinding Representing the Search Space
Northern Ontario Hockey Association
1 CO Games Development 2 Week 15 Terrain Analysis Gareth Bellaby.
Pathfinding Basic Methods.
Half life 2/ Counter Strike: Source bot Charlie Cross CIS
CSE 380 – Computer Game Programming Pathfinding AI
Multiagent Probabilistic Smart Terrain Dr. John R. Sullins Youngstown State University.
Artificial Intelligence in Game Design Intelligent Decision Making and Decision Trees.
Artificial Intelligence in Game Design Introduction to Learning.
What is the Best Position? More Advanced Positioning February, R. Baker1.
Using Cellular Automata and Influence Maps in Games
RED DEAD REVOLVER Artificial Intelligence Critique By Mitchell C. Dodes CIS 588.
BATTLEGROUND Leendert Ullersma Arjen van der Ende.
DAMN : A Distributed Architecture for Mobile Navigation Julio K. Rosenblatt Presented By: Chris Miles.
Chapter 5.4 Artificial Intelligence: Pathfinding.
Tactical AI in Real Time Supervisor: Aleks Jakulin Crew: Damir Arh, Matija Jekovec, Mitja Luštrek Gregor Leban, Martin Žnidaršič, Uroš Čibej Translation:
SELECT A LESSON 1. A WORLD AND CHARACTERS 2. PATHS AND ENEMIES 4. USING PAGES TO CHANGE THE RULES 5. GAME ANALYSIS AND DESIGN 6-7. CREATING YOUR OWN GAME.
First Person Shooters Jon Hardy, Michael Caffrey, Shamus Field.
Marcus Gallagher and Mark Ledwich School of Information Technology and Electrical Engineering University of Queensland, Australia Sumaira Saeed Evolving.
Dakota Humphries (Project Lead) Thomas Impellitteri (Tech Lead) Daryl McGhee II (Design Lead) Keith Rosier (Asset Lead)
Zubair Chaudary, Kenny Rentschler, Constantin Savtchenko.
Chapter 5.4 Artificial Intelligence: Pathfinding.
Pathfinding: Search Space Representations Chapter 2.1 Dan Bader.
Dan Fischbach & Michael Macleod Cohort 5 – Main Game Pitches December 11 th 2008.
Raven Robin Burke GAM 376. Soccer standings Burke, 7 Ingebristen, 6 Buer, 6 Bukk, 6 Krishnaswamy, 4 Lobes, 3 Borys, 2 Rojas, 2 Bieneman, 2.
Textual Based Generation of Adventure Games Ross Berkland Supervisor: Professor Shaun Bangay Scene to Adventure Game.
AI in FPS. Contents FPS AI Architecture –Animation –Movement –Combat –Behavior Positioning strategy –Waypoint –Pinch Point.
1 The Use of Artificial Intelligence in the Computer Game Industry.
CONTENTS:  Introduction  What is neural network?  Models of neural networks  Applications  Phases in the neural network  Perceptron  Model of fire.
Ch 7.1: Using a Spatial Database for Runtime Spatial Analysis.
Motion Planning in Games Mark Overmars Utrecht University.
Artificial Intelligence in Game Design N-Grams and Decision Tree Learning.
Qualitative Spatial Analysis Chris Mansley. Qualitative Quantitative items are known, definable quantities (x,y) coordinates Remaining health Location.
Adrian Treuille, Seth Cooper, Zoran Popović 2006 Walter Kerrebijn
Jumping, Climbing, and Tactical Reasoning Section 2.5 Tom Schaible CSE 497 – AI & Game Programming.
2.3 – Path Look-Up Tables Owen Cummings. William van der Sterren  Company CGF-AI specializes in tactical AI for 3D virtual worlds: autonomous AI squads.
Artificial Intelligence in Game Design Complex Steering Behaviors and Combining Behaviors.
Break Contact By: SGT Russman Reference: FM ; Ranger Handbook.
CIS 588 AI Evaluation for World of Warcraft Jonathan Schmoll February 14, 2005.
AI Evaluation David Nowell CIS 588 2/14/05 Baldur’s Gate.
Path Look-up Tables & An Overview of Navigation Systems Hai Hoang 10/4/2004.
Scott Lindner 10/6/04 Pathfinding and Navigational Systems, cont.
F.E.A.R. Game AI Evaluation by Robert Rak. What is F.E.A.R. ? FEAR is a First Person Shooter game Player takes on the role of an elite strike force team.
1 S ystems Analysis Laboratory Helsinki University of Technology Manuscript “On the Use of Influence Diagrams in a One-on-One Air Combat Game” in Kai Virtanen’s.
Artificial Intelligence in Game Design Influence Maps and Decision Making.
Artificial Intelligence in Game Design Lecture 8: Complex Steering Behaviors and Combining Behaviors.
Probabilistic Smart Terrain Dr. John R. Sullins Youngstown State University.
1 CO Games Development 2 Week 16 Blackboard Model Gareth Bellaby.
CSCE 552 Spring 2010 AI (III) By Jijun Tang. A* Pathfinding Directed search algorithm used for finding an optimal path through the game world Used knowledge.
Source: CSE 214 – Computer Science II Graphs.
Qualitative Spatial Analysis Part 2 Chris Mansley.
1 CO Games Development 1 Week 9 - part 2 Pathfinding Considerations Gareth Bellaby.
A Game AI Case Study Greg Alt Surreal Software
CSCE 552 Fall 2012 AI By Jijun Tang. Homework 3 List of AI techniques in games you have played; Select one game and discuss how AI enhances its game play.
1 CO Games Development 2 Week 13 Influence Maps Gareth Bellaby.
Evolutionary Computing Systems Lab (ECSL), University of Nevada, Reno 1 Authors : Siming Liu, Christopher Ballinger, Sushil Louis
Team Member AI in an FPS and Goal Oriented Action Planning.
Positioning and Spatial Evaluation
Chapter 5.4 Artificial Intelligence: Pathfinding
CO Games Development 2 Week 16 Blackboard Model
AI Positioning and Spatial Evaluation: A Primer
Enemy and Friendly AIs Richard Gesick.
CIS 488/588 Bruce R. Maxim UM-Dearborn
Toward Solving Pathfinding
Ch 7.1: Using a Spatial Database for Runtime Spatial Analysis
Workshop: A* Search.
Fundaments of Game Design
Artificial Intelligence in Games Week 7
Presentation transcript:

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 1 Killzone’s AI: Dynamic Procedural Tactics Arjen Beij & Remco Straatman Killzone’s AI: Dynamic Procedural Tactics

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 2 Contents  Dynamic procedural tactics  Position picking  Position Evaluation functions  Tactical path-finding  Suppression Fire  World Representation  Conclusions

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 3 Dynamic Procedural Tactics Dynamic procedural tactics =  Having the rules and concepts to dynamically compute solutions to tactical problems

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 4 AI Tactics Common approach  Level designer placed hints  Triggered scripted behavior

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 5 Dynamic Procedural Tactics Game-play benefits  Works for any number of players  Fights anywhere Production benefits  Reuse of AI behavior  Quick level prototyping  Roll out improvements game wide

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 6 Position Picking  Picking a good position is half the battle in ‘fire & maneuver’ combat  Account for dozens of (dynamic) factors  How to pick that position? Outside danger zone Wall Hugging Nearby Cover Partial Cover Proximity Line of Fire Preferred Range

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 7 Position Evaluation Functions Determining the most appropriate position  Given n potential destinations  To compare positions, need a single value Use position evaluation function  Weighted sum  Combines basic factors

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 8 Example: Picking an Attack Position 1 Example: Picking an attack position  Multiple threats  Attack primary threat  Cover from other threats preferred  Partial cover from primary  Proximity  Preferred fighting range Combine into a single value per position

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 9 Example: Picking an Attack Position 2 Initial situation: three threats, some walls and a waypoint graph

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 10 Example: Picking an Attack Position 3 Selected nearby waypoints, annotated with proximity (weight 20)

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 11 Example: Picking an Attack Position 4 Annotations for LoF to primary threat (40 if partial cover, 20 otherwise)

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 12 Example: Picking an Attack Position 5 Annotations for cover from secondary threats (weight 20)

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 13 Example: Picking an Attack Position 6 Annotations positions inside preferred fighting range (weight 10)

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 14 Example: Picking an Attack Position 7 + Adding up all the annotations yields the most promising attack position

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 15 Example: Picking an Attack Position 8 Single threat Multiple threats

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 16 Personality: What factors are important? Action: What kind of position? Configurable and Dynamic Configurable Dynamic Current situation: Where are the threats? Squad: Additional constraints Position evaluation function

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 17 Tactical Path-finding Shortest paths often aren’t tactically sound For example:  Paths traversing friendly lines-of-fire  Paths ignoring cover from hostile fire  Paths leaving the AI exposed unnecessarily 123

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 18 Tactical Path-finding Position evaluations functions in path finding  In A*, add to the costs of traveling a link:  Traversing a friendly lines-of-fire  Being under fire from one or more threats

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 19 Example: Tactical Path-finding 1 Costs to travel each waypoint link, and the resulting shortest path.

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 20 Example: Tactical Path-finding 2 Link costs now reflect being under fire, and the corresponding tactical path.

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 21 Example: Tactical Path-finding 3 B A B A shortest pathversus tactical path TT

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 22 Suppression Fire Suppression fire:  Fire near hidden threats to pin them down Not:  Firing into the wall behind which the threat is hiding  Firing into locations the threat cannot reach

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 23 Example: Suppression Fire 1 What we want  Deny the threat use of good attack positions  By shooting bursts at these positions How we implement it using position evaluation  Evaluate threat’s attack positions from his perspective  Select those attack positions we can fire into

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 24 Example: Suppression Fire 2 A hidden threat (left), attacker (right) and the intended suppression fire.

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 25 Example: Suppression Fire 3 Selecting the waypoints in close proximity to the presumed threat position

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 26 Example: Suppression Fire 4 Annotations (20, 30) for offering the threat a LoF to the attacker (right).

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 27 Example: Suppression Fire 5 Annotation of 20 for positions offering the threat nearby cover from the attacker.

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 28 Example: Suppression Fire 6 Selecting those positions with score  40 yields the suppress targets.

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 29 Example: Suppression Fire 7 Merging suppression targets that overlap in yaw and pitch.

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 30 Example: Suppression Fire 8 The attacker’s view of suppression targets near the hidden threat.

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 31 Example: Suppression Fire 9 attacker PoV target PoV

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 32 World Representation Pre-conditions for dynamic procedural tactics 1.Navigation info, with fine enough resolution to represent cover locations  Waypoints, nav meshes, cells: any will do 2.Fast Line-of-Sight/Line-of-fire checks

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 33 Lines-of-Fire Representation 1 Tactical decisions  Involve hundreds of LoF checks  Ray casts typically expensive Use a small pre-computed look-up table  Multiple stances, minor movement  Pessimistic about cover  Polar representation Killzone’s LoF table for 4000 waypoints: 64KB

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 34 Lines-of-Fire Representation 2 Compression: For every waypoint, per radial sector, record the largest distance from where an attacker within that sector can fire at the waypoint. Inaccurate, but consistent.

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 35 Conclusions Killzone was released for PS2 late 2004  Tactical position picking  Tactical path-finding  Suppression by infantry and mounted MGs  Indirect fire for hand grenades and tank shells  Single and multiplayer AI  Up to 14 AI characters fighting simultaneously

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 36 Conclusions - Killzone’s AIPros  Share/reuse behavior across games  Quick level prototyping  Can be combined with scripting  Fights anywhere, anytime, SP or MP Cons  Harder to control in detail  Harder to test

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 37 Conclusions – Game AI Position evaluation functions are powerful  Robust decisions with many (dynamic) inputs  Different behavior through configuration  Many tactics can be implemented through position evaluation Dynamic procedural tactics  Responsive AI behavior  Within reach of many games

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 38 Further InfoOff-line  Our proceedings paper provides more details, notably on the terrain representation and grenade handling  Lars Lidén, Strategic and Tactical Reasoning with Waypoints in AI Game Programming Wisdom, Charles River Media, 2002  Paul Tozour, Using a Spatial Database for Runtime Spatial Analysis in AI Game Programming Wisdom 2, Charles River Media, 2003  William van der Sterren, Tactical Path-Finding with A* in Game Programming Gems 3, Charles River Media, 2002 On-line  William van der Sterren’s collection of links to on-line papers at:

August 31, 2005 Game Developer Conference Europe Killzone’s AI: Dynamic Procedural Tactics Guerrilla Games - 39 Questions?