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

User profiles


One of the distinct advantages of using Action Maps instead of input events is the ability to allow the player to customize the input controls of the game to their personal preferences. The modified Action Maps are saved and loaded using user profiles.

This section will explain how to modify an ActionMap at runtime as well as how to load and save them. You will need to decide whether adding this functionality makes sense for your type of project.

Tip

Apart from the Action mapping, user profiles also store a list of personal settings, such as brightness, volume, and difficulty level. As these are not input system relevant, they will not be covered in this chapter. If you want to learn more, please take a look at the attributes.xml file at Game\Libs\Config\Profiles\default.

Modifying user profiles

User profiles are managed inside the CryAction DLL, but they can be accessed and modified from anywhere in the codebase. Full source access is not required. If you want to allow players...