Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering CryENGINE
  • Table Of Contents Toc
Mastering CryENGINE

Mastering CryENGINE

By : Michelle Martin
4.8 (9)
close
close
Mastering CryENGINE

Mastering CryENGINE

4.8 (9)
By: Michelle Martin

Overview of this book

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

Understanding the relevance of the Lua script in CryENGINE


The Lua script is used extensively in CryENGINE. Many entities, such as AI behaviors or game rules, are created by using the Lua script. The accessibility and the ability to reload any script at runtime makes Lua a nice middle ground between the complexity of C++ and the ease of use of the flow graph. The role of a developer in the production environment determines how much Lua will be used on a day-to-day basis to perform certain tasks.

Although easy to learn and very flexible, the Lua script has its pitfalls. For example, as the language is strongly typed, this makes things a bit more difficult since mistakes can easily go unnoticed for a while.

A level designer, for example, does not usually touch C++ code, but might now and then create a new entity type by using Lua. A C++ developer, on the other hand, will do most of their work directly in C++ and only sometimes work with Lua to create new script binds or AI behaviors.

While simple...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering CryENGINE
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon