Book Image

Building an FPS Game with Unity

5 (1)
Book Image

Building an FPS Game with Unity

5 (1)

Overview of this book

Table of Contents (18 chapters)
Building an FPS Game with Unity
Credits
Foreword
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Integrating an AI system – RAIN


Artificial intelligence (AI) is one of the things that can make or break a game. In this section, you will learn how to integrate an AI package for Unity in order to have characters roam around and attack players.

At the time of writing this, people generally tend to either use RAIN by Rival Theory (http://rivaltheory.com/rain/download/) or Shooter AI by Gateway Games (https://www.assetstore.unity3d.com/#/content/11292) if they are not writing their own package when dealing with AI using UFPS.

In this book, we will discuss both tools using RAIN to create a melee attacking enemy and Shooter AI to create a basic ranged shooting enemy. This is so that you have a better idea of how each works, and you can then weigh their pros and cons for your own title.

Note that I will mention the differences in using both tools in this chapter, but in later chapters, you will be able to choose which of the following you'd like to use for your own levels and encounters.

To start...