Book Image

Mastering CryENGINE

By : Michelle Martin
Book Image

Mastering CryENGINE

By: Michelle Martin

Overview of this book

Table of Contents (17 chapters)
Mastering CryENGINE
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we learned all about the SmartObject system and how to use it to create more interactive game environments. We had a look at the SmartObjects editor and learned how to use it to create new rules, classes, and actions. We built a simple example of a mechanic reacting to things in a level, breaking and then repairing them. The SmartObject system can be used for many more complex things, which will help make your game more immersive. And of course, the use of the SmartObject system is not limited to AI entities, but can be used with player characters as well. The same rules built for AI entities will also apply to other entities as long as the SmartObject states are set up for the corresponding entities. The great thing about the SmartObject system and the way it works is that it's quite easy to use, even for non-programmers. In our example, in this chapter, we have built an AI behavior without really touching code or writing any complicated behavior scripts.

In the...