Book Image

CryENGINE 3 Cookbook

By : Dan Tracy, Sean P Tracy (USD)
Book Image

CryENGINE 3 Cookbook

By: Dan Tracy, Sean P Tracy (USD)

Overview of this book

With every successive console generation, the cost, time, and complexity of developing games has grown. Meet CryENGINE3, a middleware engine that is the perfect fit for most developers allowing users to exceed current generation quality standards while using less people and time than ever thought possible.The CryENGINE3 CookBook is packed full of recipes for junior and senior developers alike. It covers everything from creating photo realistic architectural visualizations to implementing advanced physics such as ragdoll and tornado effects. Topics covered include the sandbox, level layout, environment creation, AI, character creation, creating vehicles, and game logic. Every recipe is designed to add AAA quality to your games. The CryENGINE3 SDK has many tools immediately available to developers of all disciplines. For designers the book has recipes for building up your own levels and populating your levels with intelligent AI and photo realistic assets. For artists we have recipes for practical workflow tools and techniques used when working with the advanced CryENGINE shaders and materials. For animators we have recipes that will bring your creations to life using skinned characters and advanced animation systems like locomotion groups. Finally for programmers we have recipes that show how to employ the core mechanics behind entities such as vehicles and weapons while also utilizing the strengths of the physics engine to create a unique and exciting game.
Table of Contents (18 chapters)
CryENGINE 3 Cookbook
Credits
About the Authors
www.PacktPub.com
Preface
Index

Restoring the CryENGINE 3 default settings


It is important to know how to reset the settings in Sandbox to their default states.

It can occur that system paths to root builds or folders become corrupted after switching between multiple instances of the CryENGINE 3.

This example will demonstrate how you can restore the default settings by deleting the relevant keys in the Windows Registry editor. This step-by-step process takes you through which keys in the registry should be removed to restore the defaults.

Getting ready

If you are trying to simply restore the Sandbox layout, please try restoring the default layout settings from the View Menu | Layouts | Restore Default Layout.

Note

Editing your registry is a very sensitive operation! As such, you should back up your registry before starting this tutorial.

After this task you will have restored all Sandbox and resource compiler settings to their default settings.

How to do it...

Depending on your Operating System version, the process of opening your PC's registry for edit may be different:

  1. To open the Windows Registry editor using Windows XP:

    • Click Start

    • Click Run

    • Type into the text box, regedit

    • Press Enter

    This will now have opened your Windows Registry editor.

  2. In the Registry editor, navigate to HKEY_CURRENT_USER\Software\Crytek\Sandbox 3.

  3. When you find the folder Sandbox 3, highlight it.

  4. Press Delete.

  5. Now, we can restore the default folder structure automatically by navigating back to the the Editor.exe and launching it.

How it works...

Sandbox stores various compulsory values and folders.

Note

It is not recommended to adjust these values manually without having in-depth knowledge of the consequences of the changes.

The registry contains some editor layout data but not all, and because of this, completely restoring the default settings could require removal of other directories, such as the user folder.

There's more...

Sometimes it's not required to completely reset the registry to restore some of the settings for Sandbox. You can delete the user folder, which is explained further.

Deleting your user folder

The user folder might be needed to store user-specific data. Windows can have restrictions on where the user can store files. For example, the program folder might not be writable at all. For that reason, screenshots save game data and other files are typically stored in the user folder.

You can simply delete this folder and restart Sandbox for the default settings to be restored.

See also

  • Resetting the registry data does not require a re-installation of the software and all required values will be created upon the next launch of Sandbox. Go to the Starting up the CryENGINE 3 Sandbox recipe in this chapter to do this