Book Image

Learning Game AI Programming with Lua

By : David Young
Book Image

Learning Game AI Programming with Lua

By: David Young

Overview of this book

Table of Contents (16 chapters)
Learning Game AI Programming with Lua
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Getting Started with AI Sandbox
Index

Chapter 9. Tactics

In this chapter, we will cover the following topics:

  • Generating layer-based influence maps

  • Drawing individual influence map layers

  • Learning about influence map modifiers

  • Manipulating and spreading influence values

  • Creating an influence map for agent occupancy

  • Creating a tactical influence map for potentially dangerous regions

So far, our agents have a limited number of data sources that allow for spatial reasoning about their surroundings. Navigation meshes allow agents to determine all walkable positions, and perception gives our agents the ability to see and hear; the lack of a fine-grained quantized view of the sandbox prevents our agents from reasoning about other possible places of interest within the sandbox.