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
CryENGINE 3 Cookbook
CryENGINE 3 Cookbook

CryENGINE 3 Cookbook: Over 90 recipes written by Crytek developers for creating third-generation real-time games

Arrow left icon
Profile Icon Sean P Tracy (USD) Profile Icon Dan Tracy
Arrow right icon
S$74.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5 (10 Ratings)
Paperback Jun 2011 324 pages 1st Edition
eBook
S$12.99 S$59.99
Paperback
S$74.99
Subscription
Free Trial
Arrow left icon
Profile Icon Sean P Tracy (USD) Profile Icon Dan Tracy
Arrow right icon
S$74.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5 (10 Ratings)
Paperback Jun 2011 324 pages 1st Edition
eBook
S$12.99 S$59.99
Paperback
S$74.99
Subscription
Free Trial
eBook
S$12.99 S$59.99
Paperback
S$74.99
Subscription
Free Trial

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

CryENGINE 3 Cookbook

Chapter 1. CryENGINE 3: Getting Started

In this chapter, we will cover:

  • Opening a level using the CryENGINE 3 Sandbox

  • Navigating a level with the Sandbox Camera

  • Setting up a personalized toolset layout

  • How to customize toolbars and menus

  • Using the Rollup Bar

  • Selecting and browsing level objects

  • Restoring the CryENGINE 3 default settings

Introduction


The main focus of this particular chapter will be in getting the CryENGINE 3 Software Development Kit installed and having you up and editing a level in the Sandbox editor right away! One of the key things to keep in mind when learning a game compositing tool such as Sandbox is to remember to experiment and have fun! It is important not to forget that most of us (game developers) are trying to make things fun and not dreary and dull.

With such a powerful toolset waiting for you to dive in, let's get right to it!

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

Navigating a level with the Sandbox Camera


The ability to intuitively navigate levels is a basic skill that all developers should be familiar with. Thankfully, this interface is quite intuitive to anyone who is already familiar with the WASD control scheme popular in most First Person Shooters Games developed on the PC.

Getting ready

You should have already opened a level from the CryENGINE 3 Software Development Kit content and seen a perspective viewport displaying the level.

The window where you can see the level is called the Perspective Viewport window. It is used as the main window to view and navigate your level. This is where a large majority of your level will be created and common tasks such as object placement, terrain editing, and in-editor play testing will be performed.

How to do it...

The first step to interacting with the loaded level is to practice moving in the Perspective Viewport window.

Note

Sandbox is designed to be ergonomic for both left and right-handed users. In this example, we use the WASD control scheme, but the arrow keys are also supported for movement of the camera.

  1. Press W to move forwards.

  2. Then press S to move backwards.

  3. A is pressed to move or strafe left.

  4. Finally, D is pressed to move or strafe right.

  5. Now you have learned to move the camera on its main axes, it's time to adjust the rotation of the camera.

  6. When the viewport is the active window, hold down the right mouse button on your mouse and move the mouse pointer to turn the view.

  7. You can also hold down the middle mouse button and move the mouse pointer to pan the view.

  8. Roll the middle mouse button wheel to move the view forward or backward.

  9. Finally, you can hold down Shift to double the speed of the viewport movements.

How it works...

The Viewport allows for a huge diversity of views and layouts for you to view your level; the perspective view is just one of many. The perspective view is commonly used as it displays the output of the render engine. It also presents you a view of your level using the standard camera perspective, showing all level geometry, lighting, and effects.

To experiment further with the viewport, note that it can also render subsystems and their toolsets such as flow graph, or character editor.

There's more...

You will likely want to adjust the movement speed and how to customize the viewport toyour individual use. You can also split the viewport in multiple different views, which is discussed further.

Viewport movement speed control

The Speed input is used to increase or decrease the movement speed of all the movements you make in the main Perspective Viewport.

The three buttons to the right of the Speed: inputs are quick links to the .1, 1, and 10 speeds.

Under Views you can adjust the viewport to view different aspects of your level

Top View, Front, and Left views will show their respective aspects of your level, consisting of bounding boxes and line-based helpers. It should be noted that geometry is not drawn.

Map view shows an overhead map of your level with helper, terrain, and texture information pertaining to your level.

Splitting the main viewport to several subviewports

Individual users can customize the layout and set viewing options specific to their needs using the viewport menu accessed by right-clicking on the viewports header.

The Layout Configuration window can be opened from the viewport header under Configure Layout. Once selected, you will be able to select one of the preset configurations to arrange the windows of the Sandbox editor into multiple viewport configurations. It should be recognized that in multiple viewport configurations some rendering effects may be disabled or performance may be reduced.

See also

  • To start building your own objects immediately, go to the Making basic shapes with the Solids Tool recipe in Chapter 3, Basic Level Layout

  • To modify the terrain of the current level, go to the Terrain Sculpting recipe in Chapter 2, Sandbox Basics

Setting up a personalized toolset layout


It would suffice to say that every user of Sandbox will have different preferences to how different views and toolsets should be distributed on screen. The CryENGINE 3 Sandbox allows for this kind of user-based customization and this recipe will take you through the use of some of the built-in tools for customizing your interface.

Getting ready

Before starting, it's important to introduce the view menu. The view menus allow you to turn various windows, toolbars, and subsystems on or off as well as open the various Sandbox extended editors and tool dialogs.

While experimenting with views, be aware that if you close a window and want to open it again, this can be done easily using the View | Open View Pane menu.

Another important toolset that you will likely want on your layout is the Rollup Bar.

The Rollup Bar is similar to the 3ds Command Panels for those already familiar with 3ds. It is a quick menu bar for the majority of the functions available to the editor exposed to the developer in an easily accessible format.

The final important tool you will likely want is the Console.

The Console is a direct command-line editor to the CryENGINE 3. This essentially allows access to various advanced functions within the Sandbox editor, including various debug and test profiles.

To start this tutorial, you should have Sandbox Editor.exe started.

How to do it...

The first step of customization will be to learn how to scale and move the various windows in Sandbox around:

  1. Let's first open a new window.

  2. Click VIEW | Open Viewpan>e | Asset Browser.

  3. This will open up a window containing the asset browser in the centre of your screen.

  4. Ignore the contents for now as the asset browser will be explained later on in this recipe; let's resize the window.

  5. Move the mouse pointer to the edge of the window, so that it turns into a double-ended black arrow. Click and drag the mouse pointer to scale the window.

  6. Now that we have resized the window to our liking, let's use the docking toolbars to anchor the asset browser into the layout.

  7. You can see the docking helpers whenever you drag a window over another window, or the Sandbox editor itself.

  8. Click and drag the window from the title bar and move it over various docking helpers shown around the main view window.

  9. Notice that once you release the mouse button, the window will dock itself into that location.

Now that the window is docked, we should learn how to undock it:

  1. Similar to when we docked the window, drag the title bar again and move the selected window away.

  2. Notice that the window maintains its original size and shape. You may thus want to resize the window once you have undocked it.

  3. Another important interface to master is the ability to dock a window within other windows.

  4. Go back to the View menu and open another window.

  5. For this example, open the Flow Graph window.

  6. Now, drag the Asset Browser window to the Flow Graph window.

  7. You will observe the docking buttons being displayed again.

  8. Use the lower, central button to dock the selected window in the lower half of the Flow Graph window.

You can also dock windows at the top and sides of other windows using the other docking buttons:

  1. To do this drag the title bar of the Asset Browser out of the Flow Graph window and away to another docking helper within the flow graph window to move it.

  2. The final tool that is available to you in customization is Docking a Window as a Tab in Another Window.

  3. For people using only one monitor, this is almost essential!

  4. You may have noticed previously that when you move a window to another window, a new central, circular button is displayed.

  5. This anchor will allow you to place the currently selected window as a tab within another window.

  6. Drag the Asset Browser to the Flow Graph window, and on to the central dock as the tab button.

  7. You will notice that there are now two tabs at the bottom of the window, Flow Graph and the Asset Browser.

  8. You can now select each window by clicking on its corresponding tab.

  9. Keep in mind that you can undock a window by dragging its tab to another part of the screen.

  10. Once you are happy with your layout you can save this layout for easy loading later.

  11. To do this, we will access the Layout Configuration window on the Display menu under Configure Layout.

  12. Select Save Layout from the Configure Layout dialog.

  13. You will then be presented with an opportunity to name this layout. Type the name of the configuration in this window and click OK.

How it works...

The docking helpers work very similar to windows office applications, so any users of those applications may be familiar with this system.

The save layout process creates a folder under the CryENGINE3/editor directory called layouts.

In this folder, it then saves a .layout file that is essentially an .xml file. This means that it could be edited by hand if required but can also be version controlled, which means multiple presets can be shared across large teams.

The Status Bar

The Status Bar contains translation/rotation/scaling information for selected objects, editor interaction shortcuts, and camera controls.

The Console

The Console in the Sandbox editor is used to input variables. It can be visually toggled on or off by going to the View Menu and selecting View Console or by pressing the caret key (^) while the Perspective Viewport is selected.

In the editor, a full list of console variables can be accessed by double-clicking the input field on the Console to open the Console Variables window.

Search for variables with partial or complete commands. Information on individual variables can be shown by hovering the mouse over a Console Variable for a couple of seconds in the Console Variable window; text will then be displayed as a tool-tip.

The Toolbox

The Toolbox is a set of user-defined tools that contains some example shortcuts to useful editor command lines and different functionality. It can also be added to with user-specific shortcuts and/or console variables.

See also

  • To get right to using some of the interfaces, go to the Using the Rollup Bar recipe later in this chapter

  • To learn how to customize toolbars and menus, go to the next recipe

How to customize toolbars and menus


This section will now introduce you to the various toolbars and menus available in the Sandbox. With these toolbars, users can very quickly access many of the features of the Sandbox editor by using simple icons and groups of icons at the top of the interface. These toolbars can be configured to fit the preferences and needs of individual users.

Getting ready

Before adjusting the toolbars, it is important that we explore a brief summary of the default toolbars that are available in Sandbox.

The Standard ToolBar contains open, save, hold, and fetch options.

The EditMode ToolBar contains various tools for level editing. These tools include undo and redo, link and unlink, select all, object movement/scaling, axes and terrain options, as well as object selection, saving, and loading.

The Object ToolBar contains tools for object alignment. The icons are go to selected object, align selection, align object to grid, set object(s) height, align object to the surface normal, and fix and unfix selected objects.

With the Mission ToolBar, you can select the current mission, duplicate a mission, delete a mission, and reload and edit mission scripts.

The Terrain ToolBar contains shortcuts to tools within the Terrain Editor, the Terrain Texture Layer editor, and Terrain Lighting dialog.

The Dialogs ToolBar contains icons used to access extender editor such as the Materials Editor, the Character Editor, the DataBase View, and the Flow Graph Editor.

The Console ToolBar has options specific to console game development. The buttons include sync data to console, automatically sync data to console, sync camera, options, load current level on console, and launch current level on console.

How to do it...

Now that we know about the default toolbars, let's go ahead and set up our layout:

  1. To do this, we will need to access the ToolBar settings menu.

  2. To access it, right-click anywhere on the Icon Bar.

  3. This will display the ToolBar settings menu.

  4. Selecting a toolbar from the list will display it or hide it on the main header.

    Note

    Toolbars can be arranged horizontally at the top of the editor, vertically on the edges, or completely undocked from the editor.

  5. To customize these toolbars and to create new ones simply click on the Customize option at the bottom of the ToolBar settings menu.

  6. The Customize dialog box allows users to customize preset toolbars, as well as create custom user toolbars.

  7. The New button allows you to create a new custom toolbar. On pressing the button, a prompt will appear requesting a name for the new toolbar.

  8. The Rename button allows you to rename any of the custom toolbars you have created.

  9. The Delete button allows you to delete any of the custom toolbars you have created.

  10. The Reset button returns any changes made to the toolbars back to default.

  11. Click on New and name it my_toolbar.

  12. You will then see the toolbar added as an empty container on the interface.

  13. We can now add commands to this toolbar for easy and customized access!

  14. The Commands tab allows you to drag-and-drop any of the icons in the Commands box into any toolbar, even custom ones.

  15. Go to View in the categories options.

  16. Click and drag the Show Rollup Bar command into your new toolbar.

  17. Click Close to accept the changes to your custom toolbar.

  18. To test its function, click the newly created button and notice that it now toggles the rollup bar on and off.

How it works...

Custom toolbars and overall toolbar configuration is saved in the registry information written by Sandbox to the PC. The toolbars are quite organic in the fact that you can undock and move them anywhere in the Sandbox interface, which, of course, makes it far easier to interface with some of them.

There's more...

You may want to explore some of the other tabs available within the Customize interface.

The Options tab

In the Options tab, there are some options that allow you to edit the way the interface reacts.

The first option is Always show full menus, which as the name suggests always shows the full menu of the currently selected menu.

The next is the Show full menus after a short delay, which will, after a short delay, display the full menu even if a skin collapses the menu to only show frequently used items.

The Reset menu and toolbars usage data deletes the record of the commands that you've used in the editor, restoring the defaults.

Under the Other Header, we have the Large icons checkbox. This displays large icons when the editor skin has the choice of using large or small icons.

We also have the Show screen tips on toolbars checkbox, which displays screen tips when the mouse is held over toolbar buttons.

There is a subcheckbox to the screen tips, which is to show shortcut keys in screen tips. This shows keyboard shortcuts along with the screen tips.

Finally, we have Menu animations. This changes how menus are displayed. The options include: (System default), Random, Unfold, Slide, Fade, and None.

Personalized menus and toolbars

The Keyboard tab allows the user to assign different shortcuts to certain functions within the editor.

You can browse through different categories using the Category drop-down list. Depending on the category selected, different commands will be listed in the commands frame. If the function is already assigned to a key, it will be shown in the Key Assignments frame.

To assign a shortcut key, you must have a command selected and then click within the Press new shortcut key textbox and that key will then be ready to be assigned to the selected command. To accept the shortcut assignment click the Assign button. You can also remove this later by using the Remove button.

Using the Rollup Bar


The Rollup Bar is one of the most commonly used tools within Sandbox. By default, it is located to the right of the viewport typically along the right edge of the interface. This is where entity parameters, settings, and controls are listed and accessed.

The Rollup Bar is split into four very different panels, which are accessed from their corresponding tabs.

The first tab contains the object and entity creation tools for the editor, as well as being the tab that will display all entity-specific information and dialogs.

The second tab has the overall environmental, vegetation, and terrain editing tools. The tools in this tab are used to modify the specific level you currently have loaded in Sandbox.

The third tab contains the display options.

The last one is the layer organizational tool.

Getting ready

In this task, we will only use the Objects and Entities tab, which is the first and default tab within the Rollup Bar. To access the majority of scene elements throughout this book, we will use this tab.

It holds interfaces to the various Database libraries and the brush database on your hard drive.

You must have a pre-existing level opened in Sandbox to complete this recipe.

How to do it...

Let's start using the Rollup Bar.

  1. In the Rollup Bar, click on the Brush button.

  2. This will display a browser linked to the CryENGINE3/Game/Objects directory of your build.

  3. Brushes are compiled geometry containing no extra data other than collision. Typically, most levels are created with brushes as they are simple geometry.

At the bottom of the browser window you will see a dialog box that says filter:

  1. This is a very useful feature when browsing for specific objects.

  2. Type in village in the filter dialog.

  3. Once you hit enter the browser will then simplify the contents of the browser to the folder that contained any objects with the name village in them.

  4. Browse to the default SDK folder Objects/library/architecture/village/ and notice there is an object called village_house1_c.cgf.

  5. You can now drag this object out of the brush browser and into your level!

How it works...

Within the Objects tab, there are a variety of libraries and object types that support drag-and-drop functionality.

They are separated logically into a few different areas.

There's more...

There are a variety of different sections contained in the Rollup Bar. These sections are further explained later and will be used throughout the course of this book.

The AI section

This section within the Rollup Bar contains AI control objects, which are used to control AI entities and their behaviours in the level. They can define a specific behaviour for an AI with reference to its location or other variables in the level. AI control objects can define navigation paths or an area for the AI on the terrain, including boundaries and forbidden areas. The objects can be used by AI actors to perform specific actions or events, such as animations and changes of behaviour.

The Area section

The Area section contains the area objects, which are used to create three-dimensional zones in the level that can be used to trigger events.

The Entities section

The Entities section contains all the entities, which the player can interact with in some form.

The Misc Objects section

The Misc Objects section includes various tools and functions used during a level's creation such as roads, rivers, and comments.

The Solids section

The Solids tool is used to create simple structures and objects, or placeholders for future art assets. This is one of the best forms of white boxing the engine has available!

Note

Solids can even be exported in an .OBJ format, which is readable by most all of the DCC tools.

The Archetype entity section

The Archetype section allows users to access currently loaded archetype libraries within a given level. An Archetype entity is based on a regular entity and specifies individual parameter values for that regular entity. The main advantage of archetypes is that if the value of an archetype parameter is changed, all instances of that archetype in the level will be updated automatically. Archetype entities are organized into .xml libraries, which can be created in the editor under the Database view.

The Geom entity section

The Geom entity section is a browser similar to the brush browser but instead allows for the placement of a very simple entity that takes its physicalization parameters from its assigned geometry. When objects are placed as Geom entities and it have user-defined properties (discussed later), they become interactive entities with physical values, so they can behave like real-life objects. It is similar to a basic entity, but simpler, more efficient, and has fewer configurable parameters.

The Prefabs section

The Prefabs section contains the currently loaded Prefab libraries for a given level.

Prefabs are groups of objects that can be placed in the level as instances similar to archetype entities. Altering one prefab universally applies the changes to each instance of the prefab object. Any iteration to the prefab is required to be saved to the Prefabs library to ensure they are correctly propagated across an entire series of levels.

The Sound section

This section contains a shortcut to the Entity/Sound section. This allows for the addition of specific sound entities to your level.

See also

  • To use some of these other sections immediately, go to the Placing enemy AI recipe in Chapter 5, Basic AI

  • To use the Solids section mentioned in this recipe, go to the Making basic shapes with Solids tool recipe in Chapter 3, Basic Level Layout

Selecting and browsing level objects


To navigate levels is important, but to be able to select and browse your level objects is essential.

To do this, we will be using the Select Objects window, which enables you to quickly search for objects, hide, unhide, freeze, and unfreeze objects in a list type view.

Getting ready

To follow the example in this recipe, you should have the Forest.cry level loaded in the Sandbox editor.

How to do it...

Let's open the Select Objects window:

  1. You can access the Select Objects window by using the EditMode toolbar or in the main menu, under View | Select Object(s).

    You can also open the Select Objects window using the shortcut Control + T.

  2. Press the heading of the column to sort the level objects based on that particular heading's type. In this case, let's sort by name.

  3. You will notice all the objects in the level are listed here.

  4. Using the Fast Select dialog type in shrine.

  5. Use the Select button to transfer selections from the object's list to the editor's object selection.

  6. You can now combine this with the use of the goto object button in the object toolbar.

    Note

    Remember the goto object function moves the editor view to that object's location.

  7. Reset the selection using the Reset button, which resets the selection in the table and the editor's object selection.

How it works...

The layout of the Select Objects window is quite intuitive. It displays a list of the objects in the currently opened level, which can be sorted by the name of the objects, the type, and the layer the object is on or even by the material applied to the object.

You can also use the Select All button, which selects all the objects in the table and transfers them to the editor's object selection.

There's more...

There are a good deal of tools available immediately in the Select Objects window; you can browse frozen and hidden objects, the type of object, and even show dependencies.

Browsing frozen and hidden objects

You can browse through hidden or frozen objects without changing their corresponding state using the Display list to filter them from the object table.

List types

Enables the display of certain object types (Entities, Brushes, Prefabs); use these filters to display only the data that you need.

Display as a Tree

Indents child objects in Editor Hierarchies visually.

See also

  • To restore all the toolbar's windows and saved settings, you can restore Sandbox's default settings in the next recipe

  • To get right to creating your first level, go to the Creating a new level recipe in Chapter 2, Sandbox Basics

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

Left arrow icon Right arrow icon

Key benefits

  • Begin developing your AAA game or simulation by harnessing the power of the award winning CryENGINE3
  • Create entire game worlds using the powerful CryENGINE 3 Sandbox.
  • Create your very own customized content for use within the CryENGINE3 with the multiple creation recipes in this book
  • Translate your design into CryENGINE by following the easy step by step recipes exploring flow graph, track view, and many of the other tools within CryENGINE

Description

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.

Who is this book for?

This book is written with the casual and professional developer in mind. Fundamental knowledge of some Digital Content Creation Tools, like Photoshop and 3d Studio Max is required. The Software Development Kit version of the CryENGINE is used for all examples, so the reader should have a version of the development kit to follow the recipes contained in this book.

What you will learn

  • Navigate and interface within the CryENGINE Sandbox, the tool used to create AAA games like Crysis 2.
  • Create your own levels and even entire worlds using recipes for sculpting and molding terrain.
  • Model with the integrated tools available to designers and artists in the CryENGINE3 Sandbox.
  • Use the cutting edge real time lighting technology of the CryENGINE to bring light to your worlds and explore the use of atmospherics and effects used for today‚Äôs newest games.
  • Create and animate AAA characters and other objects for use with the CryENGINE Sandbox.
  • Manipulate the advanced AI available to game designers in the CryENGINE3.
  • Create your own cut scenes and videos using the power of the CryENGINE3 engine to maximize the output.
  • Optimize your creations for optimal performance with maximum visual impact.
  • Have fun following interesting game changing physical simulation recipes that can add unique game play opportunities to your levels.
  • Use visual scripting to create amazingly complex events as seen in Crysis2.
Estimated delivery fee Deliver to Singapore

Standard delivery 10 - 13 business days

S$11.95

Premium delivery 5 - 8 business days

S$54.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jun 23, 2011
Length: 324 pages
Edition : 1st
Language : English
ISBN-13 : 9781849691062
Vendor :
Crytek
Languages :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Singapore

Standard delivery 10 - 13 business days

S$11.95

Premium delivery 5 - 8 business days

S$54.95
(Includes tracking information)

Product Details

Publication date : Jun 23, 2011
Length: 324 pages
Edition : 1st
Language : English
ISBN-13 : 9781849691062
Vendor :
Crytek
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total S$38.97 S$172.97 S$134.00 saved
CryENGINE 3 Cookbook
S$74.99
CryENGINE 3 Game Development: Beginner's Guide
S$74.99
CryENGINE Game Programming with C++, C#, and Lua
S$66.99
Total S$38.97S$172.97 S$134.00 saved Stars icon
Banner background image

Table of Contents

12 Chapters
CryENGINE 3: Getting Started Chevron down icon Chevron up icon
Sandbox Basics Chevron down icon Chevron up icon
Basic Level Layout Chevron down icon Chevron up icon
Environment Creation Chevron down icon Chevron up icon
Basic Artificial Intelligence Chevron down icon Chevron up icon
Asset Creation Chevron down icon Chevron up icon
Characters and Animation Chevron down icon Chevron up icon
Creating Vehicles Chevron down icon Chevron up icon
Game Logic Chevron down icon Chevron up icon
Track View and Cut-Scenes Chevron down icon Chevron up icon
Fun Physics Chevron down icon Chevron up icon
Profiling and Improving Performance Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5
(10 Ratings)
5 star 70%
4 star 20%
3 star 0%
2 star 10%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Michael Nov 06, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is not a book that you read cover to cover, it is more set up as a series of "recipes" for specific tasks you might want to accomplish with CryEngine. The book really covers quite a wide array of topics and I find myself returning to it quite regularily when I work in CryEngine. It is noticeable that the authors worked with Crytek, as I had quite a few "good to know" moments when working through the book.By the way, this book is a good addition to "CryENGINE 3 Game Development: Beginner's Guide" (I own both). Although there is a bit of overlap, I still find myself getting back to one or the other.
Amazon Verified review Amazon
C. Moeller Sep 25, 2011
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I picked up this book because I wanted to get some hands on experience using the CryEngine with a reference book, but had not used the CryEngine before.I feel this book is more aimed towards beginners, and allows someone new to the CryEngine to be able to easily jump in, and have a reference for doing a ton of stuff that might not be very straight forward, as well as a lot of detail on using the interface.Overall, just reading through the first chapters, I was able to get comfortable with the interface, and able to create and setup my own basic level. Further on, the book goes into a more general "cookbook" style, with recipes for doing a variety of different things you might need in your level.The book is well written, easy to read and a beginner can pick it up without a problem. There are lots of recipes for most things you would want to do, such as: creating terrain, changing level layout, placing items, changing lighting, putting down enemies, creating assets to import into the CryEngine, creating vehicles, some game logic, creating cut scenes, and much more.The one problem I did have with using the book with the CryEngine are that the assets have changed since the book was published, so some of the items, or textures it tells you to look for at the beginning aren't there. You can use alternatives instead, but it would be nice if the downloadable files included them, or you could know which version of the CryEngine Sandbox was used in the book.Overall a great book for learning how to use the CryEngine Sandbox, with lots of helpful recipes that will have you creating cool levels.
Amazon Verified review Amazon
Leonardo Dalmina Dec 27, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This cookbook is amazing! It covers a lot of information and have many illustrations. Beyond this, is very well organized to provide readers an easy way to find the right information.Really worth the money spent!!
Amazon Verified review Amazon
HARSH GURJAR Oct 02, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Yes that's i want it has the starting form basics you understand easily just go for it
Amazon Verified review Amazon
YamahaAlex37 Dec 02, 2011
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am part of a game development community where one guy has this book and everyone is constantly going to him for answers. Thanks to the nice price on this e-book, I don't have to do that anymore. I tried to hold off buying this book, but the CryEngine 3 documentation is some of the most confusing and abstract stuff I have ever tried to follow. This book breaks everything down to be understandable by a beginner, and if it were not for the step by step instructions, I would have probably moved on from CryEngine 3 by now due to frustration. Check out PacktPub's website, I picked this up in the October sale, and they have a few articles from this book so you can see how nice it is.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela