Ch 7.2: Performing Qualitative Terrain Analysis in MoO3.

Slides:



Advertisements
Similar presentations
STRUCTURES & STRATAGIES
Advertisements

Artificial Intelligence in Game Design
Wall Building for RTS Games Patrick Schmid. Age of Empires.
Halves Practice – Quick Play In & Around The Box
STRUCTURES & STRATAGIES PRINCIPLES OF PLACE
1 Chapter 8 Looking Smart maximizing perception of intelligence Reference: Game Development Essentials Game Artificial Intelligence.
Select Team Offense: The 22 Set
Martin Boyd Christopher Hirunthanakorn
Clears: Shot, 43, Sideline.
Man-Down Defense: Shock + Number, Blitz
Select Team Offense: Single and Classic Inverts. Single Invert: Level of Play The single invert is suited for teams at all skill levels. The movements.
Motion Planning for Point Robots CS 659 Kris Hauser.
CS 484. Discrete Optimization Problems A discrete optimization problem can be expressed as (S, f) S is the set of all feasible solutions f is the cost.
1 CO Games Development 2 Week 15 Terrain Analysis Gareth Bellaby.
PSMAGE: Balanced Map Generation for StarCraft Alberto Uriarte and Santiago Ontañón Drexel University Philadelphia 1/34 August 11, 2013.
Multi-tiered AI Patrick Schmid. Multi-tiered AI We already saw a presentation about this topic Remember Ke‘s presentation? Short recap.
Game AI Kevin Dill Senior AI Engineer Blue Fang Games
Select Team Defense: Special Defense (Shock, Bonzai, Polar Bear)
Offensive Holding Making Quality Calls and Having a Consistent Philosophy.
Offensive Holding Making Quality Calls and Having a Consistent Philosophy.
CSE 380 – Computer Game Programming Pathfinding AI
Artificial Intelligence in Game Design Intelligent Decision Making and Decision Trees.
Artificial Intelligence in Game Design Introduction to Learning.
Traffic Congestion Around Parking Garage #6 By: Brandon Chase, Sean Pfaff, Anthony Sebastian, Brian Zuccaro.
Online Chess Project 3 Due date: April 17 th. Introduction Third in series of three projects This project focuses on adding online support –2 players.
Sprint Passing Concepts
Path of the player Path of the ball PSC UK FUNCTION ATTACKING FROM CROSSES Designed to develop the understanding of a unit such as strikers and midfield.
Ambush Disrupt Occupy Attack by Fire Penetrate FIX Relief in Place
Smash-Mouth Defense: Implementing Seven Winning Blitz Strategies By: Joe Arpasi Defensive Coordinator Westfield High School Westfield, Indiana Phone:
The Greedy Wall Building algorithm Rami Khouri. Ideal definition of Wall Either keeps valuable assets in, or enemies out…mostly keep enemies out Impassable,
The Hat Game 11/19/04 James Fiedler. References Hendrik W. Lenstra, Jr. and Gadiel Seroussi, On Hats and Other Covers, preprint, 2002,
ARTIFICIAL INTELLIGENCE IN HOMELAND SECURITY Patrick Hathaway CS572 – Advanced Artificial Intelligence.
Civ89 Instructions for PowerPoint. Getting Started Civ89 is a game of military, technological, and economic conquest played with two people, identified.
Coaching Pack 5 – 8 Years.
Preparation for Team Play
ANALYZING MAPS – CHINESE CIVIL WAR Homework samples.
CSC 213 – Large Scale Programming. Today’s Goal  Improve design skills to make usable designs  Noun extraction & UML class diagram reviewed  Connections.
Created By: Kevin Jiang, Cullen Wong, Stephen Halter.
A top-down space action shooter for Windows and Xbox. NEREUS Ben Davis | Jacob Leach | Dipen Patel.
SKULLS OF THE SHOGUn AI POST-MORTEM Borut Pfeifer Developer: Haunted Temple Studios Publisher: Microsoft Platforms: XBLA, Windows Phone, Windows 8 Release.
HPC Checkers By Andy Block Ryan Egan. Table of Contents Overview of Checkers ▫Overview of Checkers ▫Rules of the Game AI Theory The Program ▫Board ▫Sample.
Qualitative Spatial Analysis Chris Mansley. Qualitative Quantitative items are known, definable quantities (x,y) coordinates Remaining health Location.
CO1301: Games Concepts Dr Nick Mitchell (Room CM 226) Material originally prepared by Gareth Bellaby.
Artificial Intelligence in Game Design Complex Steering Behaviors and Combining Behaviors.
5 Phases of Play for This is a very simple way to show how the team movement works. The system changes as we advance. Players can interchange.
Select Team Offense: Special Plays (14 Double). 14 Double: Level of Play This play is suited for teams of all skill levels. “14 Double” has very simple.
Coaching Pack 9 – 11 Years. What Am I Coaching Today? What Might the Players Learn or Get Better at? TechnicalPsychological example PhysicalSocial example.
Parallel RTS(Real-Time Strategy) AI testing Nathan Warshauer.
How to Play Chess. Name of Each Piece The relative values of the chess pieces 9 points 5 points 3+ points 3 points 1 point.
Summary of the Moves of Chess
Mankind “Mankind” A Technical Presentation A Massively Multiplayer Online Real-Time Strategy Game Steven Chu O2 Online Entertainment Ltd.
CS 584. Discrete Optimization Problems A discrete optimization problem can be expressed as (S, f) S is the set of all feasible solutions f is the cost.
Chess Strategies Component Skills Strategies Prototype Josh Waters, Ty Fenn, Tianyu Chen.
Contested Dominion Game Treatment written by Nicholas Mezza.
Artificial Intelligence in Game Design Influence Maps and Decision Making.
Artificial Intelligence in Game Design Lecture 8: Complex Steering Behaviors and Combining Behaviors.
Qualitative Spatial Analysis Part 2 Chris Mansley.
Dr. James Naismith is known world-wide as the inventor of basketball. He was born in 1861 in Ramsay township, near Almonte, Ontario, Canada. The first.
BASKETBALL HPWB 7 & 8. HISTORY OF BASKETBALL Developed by Dr. Naismith in the late 1800’s at a college in Massachusetts. It started with the use of a.
Offensive Small Unit Play Principles Suggestions for CCCs Used for England U16 Boys.
SESSION PLAN PRESENTATION
MARJORIE CHASOWA (092SIS08)  Simultaneous actions done through ignoring the other’s choice  No time to make/change decisions in response to the discovery.
C. Kiekintveld et al., AAMAS 2009 (USC) Presented by Neal Gupta
Having a Consistent Philosophy
Rondo’s and Rhythm of play
CIS 487 LeRoy Eberly & Zev Lopez
Kevin Mason Michael Suggs
Miami-Dade County Public Schools Physical Education Department
Algorithms Tutorial 27th Sept, 2019.
Presentation transcript:

Ch 7.2: Performing Qualitative Terrain Analysis in MoO3

What is It? Analysis based on fundamental differences between types of locations Analysis based on fundamental differences between types of locations Areas visible to opponents Areas visible to opponents Areas that are impassable Areas that are impassable Areas vulnerable to enemy fire Areas vulnerable to enemy fire Use information to identify strategic areas (minimize defensive needs, maximize territorial control) Use information to identify strategic areas (minimize defensive needs, maximize territorial control)

Background Master of Orion 3 (MoO3) Master of Orion 3 (MoO3) Turn-based strategy game Turn-based strategy game Build empires and vie for control of the galaxy Build empires and vie for control of the galaxy Up to 256 star systems connected by star lanes Up to 256 star systems connected by star lanes Up to 8 planets/star system Up to 8 planets/star system Goal – provide good measure of strategic value of star’s location Goal – provide good measure of strategic value of star’s location

Strategic Qualities Stars through which all ships from the outside must pass Stars through which all ships from the outside must pass Stars that increase controlled territory, increase # of stars inside borders Stars that increase controlled territory, increase # of stars inside borders Make sure that enemy stars aren’t put inside borders Make sure that enemy stars aren’t put inside borders Minimize # of threatened stars Minimize # of threatened stars

Free Spaces Large open spaces containing strategically valuable locations (resources, cities, etc.) Large open spaces containing strategically valuable locations (resources, cities, etc.) Stars in MoO3 Stars in MoO3 Voronoi diagram

Corridors Connecting passages between free spaces Connecting passages between free spaces 1-dimensional entity 1-dimensional entity Connects exactly 2 free spaces Connects exactly 2 free spaces No valuable resources in them, only strategic b/c of the free spaces they connect No valuable resources in them, only strategic b/c of the free spaces they connect Star lanes in MoO3 Star lanes in MoO3

MoO3 Example

Analyzing the Terrain “inside our borders” – every path away from star arrives at one of our colonies without passing through unexplored stars “inside our borders” – every path away from star arrives at one of our colonies without passing through unexplored stars Limit # of star lanes traversed for above Limit # of star lanes traversed for above “threatened” – a star outside our borders or connected to another civilization’s colony via an unprotected path “threatened” – a star outside our borders or connected to another civilization’s colony via an unprotected path

Sample Galaxy

Selecting New Colonies Determine possible planets to colonize and assign each a priority Determine possible planets to colonize and assign each a priority Assign probabilities to each based on its priority Assign probabilities to each based on its priority Randomly select one Randomly select one Priority = strategic modifiers * economic value Priority = strategic modifiers * economic value Eliminate planets whose priority is <1/2 the priority of the best choice Eliminate planets whose priority is <1/2 the priority of the best choice

Strategic Modifiers Base multiplier = 1.0 Base multiplier = 1.0 If we already have 1+ colonies at star: If we already have 1+ colonies at star: And another civ. has a colony there, multiply by 1.5 And another civ. has a colony there, multiply by 1.5 Else, multiply by 0.8 Else, multiply by 0.8 Else, if another civ. has a claim there, avoid; multiply by 0.3 Else, if another civ. has a claim there, avoid; multiply by 0.3 Else, if in our borders, multiply by 0.9 Else, if in our borders, multiply by 0.9 Else, it is unclaimed and outside borders, so use the next set of modifiers Else, it is unclaimed and outside borders, so use the next set of modifiers

Strategic Modifiers (cont.) Multiply by 0.5 (new vulnerability) Multiply by 0.5 (new vulnerability) Multiply by 0.3 for each enemy colony that would be in our borders Multiply by 0.3 for each enemy colony that would be in our borders If none, multiply by 1 plus: If none, multiply by 1 plus:.25 for each unclaimed star that would be inside our new borders.25 for each unclaimed star that would be inside our new borders 1 for each of our systems that would be inside our new borders 1 for each of our systems that would be inside our new borders 1 if our homeworld would become an interior system 1 if our homeworld would become an interior system Combine all modifiers and square them Combine all modifiers and square them

Results Early on, AIs colonize primarily systems which give new, unthreatened territory Early on, AIs colonize primarily systems which give new, unthreatened territory Later, colonize better planets inside borders Later, colonize better planets inside borders Intermingling begins as options run low Intermingling begins as options run low Randomness of moves keeps AI from being “perfect” Randomness of moves keeps AI from being “perfect”

Player Response Option in game to allow AI to select colonies for players Option in game to allow AI to select colonies for players Players confused by how AI acted, thought it was too expansionist (would ignore “juicy” colonies in interior systems) Players confused by how AI acted, thought it was too expansionist (would ignore “juicy” colonies in interior systems) Thus, strategic portion of the colonization AI had to be turned off for player! Thus, strategic portion of the colonization AI had to be turned off for player!

Other Uses of Terrain Analysis Production choices Production choices Boost priority of local defenses on planets in threatened systems Boost priority of local defenses on planets in threatened systems Allowed the AI to use resources more efficiently Allowed the AI to use resources more efficiently Selection of targets for attacks Selection of targets for attacks Priority given to interior enemy planets Priority given to interior enemy planets Player criticized lack of ambition of AI Player criticized lack of ambition of AI Diplomatic AI (not implemented) Diplomatic AI (not implemented) Express displeasure when dispute is detected Express displeasure when dispute is detected Less contentious when no disputes Less contentious when no disputes

Applications in Other Games Have AI defend threatened corridors instead of the free spaces connected by them (faster response, choke holds) Have AI defend threatened corridors instead of the free spaces connected by them (faster response, choke holds) Place scouts down each corridor (advance warning, one force to defend multiple entrances) Place scouts down each corridor (advance warning, one force to defend multiple entrances) On the offensive, send multiple forces down several corridors (split up defenders) On the offensive, send multiple forces down several corridors (split up defenders)

Proof of AI’s Effectiveness

Sources Dill, Kevin, “Performing Qualitative Terrain Analysis in Master of Orion 3,” AI Game Programming Wisdom 2. Dill, Kevin, “Performing Qualitative Terrain Analysis in Master of Orion 3,” AI Game Programming Wisdom 2. Voronoi diagram - diagrams.shtml Voronoi diagram - diagrams.shtml diagrams.shtml diagrams.shtml MoO3 screenshot - MoO3 screenshot - Starcraft screenshot - Starcraft screenshot -