Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering CryENGINE

You're reading from   Mastering CryENGINE Raise your CryENGINE capabilities even higher with this superb guide. It will take you into a world of advanced features and amazing possibilities, teaching best practices and Lua scripting for sophisticated gameplay along the way.

Arrow left icon
Product type Paperback
Published in Apr 2014
Publisher
ISBN-13 9781783550258
Length 278 pages
Edition Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Michelle Martin Michelle Martin
Author Profile Icon Michelle Martin
Michelle Martin
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Mastering CryENGINE
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Setting Up the Perfect Pipeline FREE CHAPTER 2. Using the CryENGINE Input System – Keyboard, Mouse, and Game Controller 3. Building Complex Flow Graph Logic 4. Morphs and Bones – Creating a Facial Setup for Your Character 5. Mastering Sandbox 6. Utilizing Lua Script in CryENGINE 7. Animating Characters 8. Mastering the Smart Objects System 9. Eye Candy – Particles, Lens Flares, and More 10. Shipping the Build Index

Using the Lua debugger


Although debugging a Lua script is a bit easier than debugging the C++ code, it can sometimes be useful to have the ability to set breakpoints and step through the script. This is where the Lua debugger comes in. This very useful tool is easy to overlook since it is very well hidden, without any user interface that would let you find it.

The Lua debugger can be operated using the following two console commands:

  • lua_debugger

  • lua_debugger_show

While lua_debugger will enable the debugger, lua_debugger_show will open the debugger window to let you have a closer look at things. Take a look at the following screenshot:

The Lua debugger window

Using the Lua debugger is very similar to using any other debugger such as Visual Studio. When the debugger is active, it allows you to set breakpoints, trace points, step through your script, and look at the content of your variables more closely. The Lua debugger is available in both Sandbox and your actual CryENGINE executable.

The...

lock icon The rest of the chapter is locked
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
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime
Modal Close icon
Modal Close icon