Building a Better Battle The Halo 3 AI Objectives System

Similar documents
Today s Topics. Video Game AI: Lecture 2 History of Game AI. Pong (1972) A selective history of video game AI

Principles of Computer Game Design and Implementation. Lecture 29

Artificial Intelligence for Games

FPS Assignment Call of Duty 4

Building a Risk-Free Environment to Enhance Prototyping

Game Artificial Intelligence ( CS 4731/7632 )

Examples Debug Intro BT Intro BT Edit Real Debug

Transitioning From Linear to Open World Design with Sunset Overdrive. Liz England Designer at Insomniac Games

Strategic and Tactical Reasoning with Waypoints Lars Lidén Valve Software

A Character Decision-Making System for FINAL FANTASY XV by Combining Behavior Trees and State Machines

Making Simple Decisions CS3523 AI for Computer Games The University of Aberdeen

the gamedesigninitiative at cornell university Lecture 4 Game Components

Assignment Cover Sheet Faculty of Science and Technology

USING A FUZZY LOGIC CONTROL SYSTEM FOR AN XPILOT COMBAT AGENT ANDREW HUBLEY AND GARY PARKER

the gamedesigninitiative at cornell university Lecture 23 Strategic AI

the gamedesigninitiative at cornell university Lecture 20 Optimizing Behavior

Blending Autonomy and Control: Creating NPCs for Tom Clancy s The Division

An Analysis of Artificial Intelligence Techniques in Multiplayer Online Battle Arena Game Environments

Principles of Computer Game Design and Implementation. Lecture 20

3rd Edition. Game Overview...2 Component Overview...2 Set-Up...6 Sequence of Play...8 Victory...9 Details of How to Play...9 Assigning Hostiles...

NPC Awareness in a 2D Stealth Platformer

CS 354R: Computer Game Technology

Picked by a robot. Behavior Trees for real world robotic applications in logistics

Tac Due: Sep. 26, 2012

AI in Computer Games. AI in Computer Games. Goals. Game A(I?) History Game categories

Federico Forti, Erdi Izgi, Varalika Rathore, Francesco Forti

Artificial Intelligence

the question of whether computers can think is like the question of whether submarines can swim -- Dijkstra

Basic AI Techniques for o N P N C P C Be B h e a h v a i v ou o r u s: s FS F T S N

IMGD 1001: Programming Practices; Artificial Intelligence

Grading Delays. We don t have permission to grade you (yet) We re working with tstaff on a solution We ll get grades back to you as soon as we can

IMGD 1001: Programming Practices; Artificial Intelligence

The Suffering: A Game AI Case Study

What is Nonlinear Narrative?

GOAPin. Chris Conway Lead AI Engineer, Crystal Dynamics

CS 387/680: GAME AI DECISION MAKING. 4/19/2016 Instructor: Santiago Ontañón

EDUCATING AND ENGAGING CHILDREN AND GUARDIANS ON THE BENEFITS OF GOOD POSTURE

CS/COE 1501

OFFensive Swarm-Enabled Tactics (OFFSET)

Create a benchmark mobile game! Tobias Tost Senior Programmer, Blue Byte GmbH A Ubisoft Studio

Lecture Overview. Artificial Intelligence Part I. Lab Exam Results. Evaluations

Game Designers. Understanding Design Computing and Cognition (DECO1006)

Artificial Intelligence for Games. Santa Clara University, 2012

Analysis of Game Balance

To experience the new content, go to the VR center in Carceburg after doing the alcohol mission.

Who am I? AI in Computer Games. Goals. AI in Computer Games. History Game A(I?)

LATE 19 th CENTURY WARGAMES RULES Based on and developed by Bob Cordery from an original set of wargames rules written by Joseph Morschauser

Coop Design for an Open World. David G. Bowring

Swarm AI: A Solution to Soccer

CORC 3303 Exploring Robotics. Why Teams?

Battlefield Academy Template 1 Guide

An Approach to Maze Generation AI, and Pathfinding in a Simple Horror Game

CS 387/680: GAME AI AI FOR FIRST-PERSON SHOOTERS

Optimizing an Evolutionary Approach to Machine Generated Artificial Intelligence for Games

BAFTA Young Game Designers Introduction Teacher Pack: Key Stage 4

Procedural Content Generation

Procedural Content Generation

Midterm Examination. CSCI 561: Artificial Intelligence

Ponnuki, FiveStones and GoloisStrasbourg: three software to help Go teachers

DUNGEON THE ADVENTURE OF THE RINGS

Gameplay as On-Line Mediation Search

DEVELOPMENT PROPOSAL

Reactive Planning for Micromanagement in RTS Games

Roleplay Technologies: The Art of Conversation Transformed into the Science of Simulation

Automatic Game Balancing

Mage Arena will be aimed at casual gamers within the demographic.

Who Am I? Lecturer in Computer Science Programme Leader for the BSc in Computer Games Programming

Game Design 2. Table of Contents

Creating an AI modeling application for designers and developers

Agent Smith: An Application of Neural Networks to Directing Intelligent Agents in a Game Environment

Introduction to Game Design. Truong Tuan Anh CSE-HCMUT

A retro space combat game by Chad Fillion. Chad Fillion Scripting for Interactivity ITGM 719: 5/13/13 Space Attack - Retro space shooter game

Evolving Behaviour Trees for the Commercial Game DEFCON

..\/...\.\../... \/... \ / / C Sc 335 Fall 2010 Final Project

Crowd-steering behaviors Using the Fame Crowd Simulation API to manage crowds Exploring ANT-Op to create more goal-directed crowds

Immersion & Game Play

Spell Casting Motion Pack 8/23/2017

Applying Goal-Driven Autonomy to StarCraft

Don t shoot until you see the whites of their eyes. Combat Policies for Unmanned Systems

Adjustable Group Behavior of Agents in Action-based Games

Using Deep Learning for Sentiment Analysis and Opinion Mining

TGD3351 Game Algorithms TGP2281 Games Programming III. in my own words, better known as Game AI

Chapter 1:Object Interaction with Blueprints. Creating a project and the first level

TGD3351 Game Algorithms TGP2281 Games Programming III. in my own words, better known as Game AI

Testing real-time artificial intelligence: an experience with Starcraft c

Visual Design in Games

Yu Li ARTIFICIAL INTELLIGENCE IN UNITY GAME ENGINE

TEMPORAL DIFFERENCE LEARNING IN CHINESE CHESS

Rules Booklet Azhanti High Lightning

WRITTEN BY ED TEIXEIRA

Napoleon s Triumph. Rules of Play (draft) Table of Contents

MATERIALS. match SETUP. Hero Attack Hero Life Vanguard Power Flank Power Rear Power Order Power Leader Power Leader Attack Leader Life

Introducing GAIA: A Reusable, Extensible Architecture for AI Behavior

Shipping State of Decay 2

CS 354R: Computer Game Technology

Chapter 5.3 Artificial Intelligence: Agents, Architecture, and Techniques

LATE 19 th CENTURY WARGAMES RULES Based on and developed by Bob Cordery from an original set of wargames rules written by Joseph Morschauser

OFFICIAL FAQ VERSION / UPDATED All changes and additions made to this document since the previous version are marked in blue.

Designed by Uwe Eickert, Gunter Eickert, John Butterfield. v58

To experience the new content, go to the VR center in Carceburg after doing the alcohol mission.

Transcription:

11/8/12 Building a Better Battle The Halo 3 AI Objectives System Damián Isla Bungie Studios 1

Big Battle Technology Precombat Combat dialogue Ambient sound Scalable perception Flocking Encounter logic Effects Scalable AI Targeting groups In-game cinematics Mission dialogue Big Battle Technology Activities Combat dialogue Ambient sound Scalable perception Flocking Encounter logic Effects Scalable AI Targeting groups In-game cinematics Mission dialogue 2

Encounter Design Encounters are systems Lots of guys Lots of things to do The system reacts in interesting ways The system collapses in interesting ways An encounter is a complicated dance with lots of dancers How is this dance choreographed? 3

Choreography 101 The dance is about the illusion of strategic intelligence Strategy is environment- story- and pacing-dependent Designer provides the strategic intelligence AI acts smart within the confines of the plan provided by the designer The Canonical Encounter Two-stage fallback Enemies occupy a territory Pushed to fallback point Pushed to last-stand point Player breaks them Player finishes them off... plus a little spice snipers turrets dropships 4

Task The mission designers language for telling the AI what it should be doing Halo: Territory Behavior aggressiveness rules of engagement player following Changing task moves AI around the encounter space The Control Stack Encounter Logic Task Squad Mission-designers script sequence of tasks Mission designers AI engineers, AI designers Within the task, the AI behaves autonomously 5

The Control Stack Encounter Logic Mission-designers script sequence of tasks Task Squad Within the task, the AI behaves autonomously Halo 2: The Imperative Method 6

The Imperative Method Give the designers an FSM construction tool < 25% alive? < 75% alive? Problems with the Imperative Method 7

Problems with the Imperative Method Generator 1 Generator 3 Generator 2 Explicit transitions à n 2 complexity Problems with the Imperative Method For Halo 3: Larger encounters More characters More open spaces More avenues of attack 8

Halo 3: The Declarative Method The Declarative Method The new approach: Designers enumerate tasks that need doing in the environment Let the system figure out who should perform them 9

The Declarative Method Not without precedent Similar to affordances The Declarative Method Tasks have structure Relative priorities The most important thing is to guard the door, but if you can, also guard the hallway Are made up of sub-tasks Guarding the hallway means guarding the front, the middle and the rear of the hallway. 10

Task Trees? Generator 1 Generator 3 Generator 2 Task Trees generator 1 8 forward fallback laststand 8 0 0 forward 8 root generator 2 8 fallback laststand 0 0 24 guys generator 3 forward fallback 8 0 8 laststand 0 11

Halo 3 AI Objectives System The structure: A Tree of Prioritized Tasks Tasks are self-describing priority activation script-fragments capacities The Algorithm: Pour squads in at the top Allow them to filter down to the most important tasks to be filling RIGHT NOW Basically, it s a plinko machine. The Dynamic Plinko Machine Tasks turn themselves on and off Squads pulled UP, on activation of a higherpriority task Squads pushed DOWN, on deactivation of the task they re in 12

3 Generators Revisited root g1_group g1 alive max 10 g1 forward >75% g1 fallback >50% g1 laststand g2_group g2 alive max 10 g2 forward >75% g2 fallback >50% g2 laststand g3_group g3 alive max10 g3 forward g3 alive max10 >75% g3 fallback >50% g3 laststand Designer UI Integration with HaloScript Run-time feedback 13

The Algorithm Consider a subtree fragment Determine which children are active Squads in inactive tasks assigned back up to parent Consider top priority group Collect squads to attempt to distribute Squads currently in parent Squads in lower-priority tasks Distribute Squads Recurse for children in top prioritygroup Iterate to next priority group Filters Particular tasks only available to particular kinds of guys E.g. Must be of character type X Must be in vehicles Must NOT be in vehicles Snipers Filters Specify occupation conditions (as opposed to activation conditions) Helpful for the spice 14

Further Task Refinements Activation behavior Latch on Latch off / exhaustion Exhaustion behavior Death count Living count Assignment behavior One-time assignment All of these were designer requests Case Study: Leadership Want to have leaders and followers Brute and three grunts Brute Chieftan and brute pack Gameplay Leaders provide structure to encounter Leader death breaks followers 15

Case Study: Leadership Two Parts: 1. Leadership-based filters Core task: leader filter Peripheral tasks: NO leader filter 2. Task broken state (leader dead) Task does not allow redistribution in or out while broken NPCs have broken behaviors Summaries 16

Production Summary The Goal: provide a powerful tool for designers to control strategy-level decision-making for a large group of characters Flexible enough to incorporate plenty of designerrequested features / modifications Great for Prototyping became much more complicated as we neared shippable encounter state One-stop-shop for encounter construction Design of the system driven from the UI outwards Technique Summary Declarative approaches are great less direct control, more manageability Hierarchies are great more modular better scalability 17

Badness Summary Requires designer training Sometimes awkward relationship between scripting system and Objectives Tying together allied and enemy fronts was complicated. The squad wasn t always the best level at which to do the bucketing e.g. give a guy a sniper rifle... shouldn t he then be allowed to occupy a sniper task? Summary Summary Not a problem isolated to Halo As number of NPCs grows, these kinds of techniques will become more and more important 18