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

Chapter 6. Utilizing Lua Script in CryENGINE

Gameplay in CryENGINE can be created in many different ways. The engine offers you full C++ code access as well as an easy-to-use visual scripting system called flow graph. Both approaches have upsides and downsides; it depends on what type of work you would like to do.

While access to the C++ source code gives you full power to change anything in the engine, it requires more time to make changes since the code always has to be compiled before it is run. Furthermore, a certain level of knowledge is needed in order to write and compile the C++ code properly.

The flow graph, on the other hand, is very easy to use and makes it easy for you to visually script gameplay and test it right away. Even without any coding knowledge, you can build a complex setup within a few minutes by using the flow graph. The downside of the flow graph, however, is that a complex setup can become very tedious to create and there are limits to the complexity a flow graph...