Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
CryENGINE 3 Cookbook

You're reading from   CryENGINE 3 Cookbook Over 90 recipes written by Crytek developers for creating third-generation real-time games

Arrow left icon
Product type Paperback
Published in Jun 2011
Publisher Packt
ISBN-13 9781849691062
Length 324 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Sean P Tracy Sean P Tracy
Author Profile Icon Sean P Tracy
Sean P Tracy
Dan Tracy Dan Tracy
Author Profile Icon Dan Tracy
Dan Tracy
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

CryENGINE 3 Cookbook
Credits
About the Authors
www.PacktPub.com
Preface
1. CryENGINE 3: Getting Started FREE CHAPTER 2. Sandbox Basics 3. Basic Level Layout 4. Environment Creation 5. Basic Artificial Intelligence 6. Asset Creation 7. Characters and Animation 8. Creating Vehicles 9. Game Logic 10. Track View and Cut-Scenes 11. Fun Physics 12. Profiling and Improving Performance Index

Opening a level in the CryENGINE 3 Sandbox


As most people involved in the game's development process should be familiar with opening levels, this section will take you through the relatively straightforward task of opening a level within the CryENGINE 3 Sandbox editing tool.

Getting ready

Having already located the Editor.exe in either your bin32 or bin64 folders, it will now be started in this section.

Note

If a level is not already loaded, the editor's subsystems can still access assets and resources from your game. Keep this in mind as some tasks don't require the loading of a level.

How to do it...

Let's get to opening a level:

  1. Launch the Editor.exe located in either the Bin32 or Bin64 folder. You will be presented with an interface, as shown in the following screenshot:

  2. As there are already example levels installed with the SDK, we can open them.

  3. To open an existing level, we need to access the File menu.

  4. The File menu includes commands related to the handling of level files such as opening, saving, showing log files, and a list of recently-loaded levels.

  5. As we want to open a pre-existing level, choose the Open option.

  6. You will then be presented with a browser window defaulting to the CryENGINE3/game/levels folder.

  7. Browse to Forest and open the folder.

  8. Within the folder there is a Forest.cry file that contains raw level data for editing.

  9. Open the Forest.cry file.

The editor will now start to load this level for you to start exploring!

How it works...

The editor reads the .cry files and can also access the subfolder layers within the level folder.

As the level loads, it reads the information present in the .cry file.

There's more...

You may want to know what the .cry file is composed of or even how to apply console command changes to individual levels.

What is a .cry file?

A .cry file is the principle level editing format for all levels built in the CryENGINE. It is actually an archive comprised of binary and XML data that is used only by the editor. You can open .cry files in the editor, or you can open them with an appropriate archiving program such as WinRAR.

Using a level.cfg

Similar to the system.cfg, the level.cfg is a file that is executed upon the loading of a level. The level.cfg can simply be stored in the level's directory. You may add console variables or level-specific configurations to this file.

See also

  • Having launched the Sandbox, you can continue to the Navigating a level with the Sandbox Camera recipe in this chapter

  • To get right to modifying a level, go to the Selecting and Browsing level objects recipe later in this chapter

You have been reading a chapter from
CryENGINE 3 Cookbook
Published in: Jun 2011
Publisher: Packt
ISBN-13: 9781849691062
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 $19.99/month. Cancel anytime
Banner background image