Book Image

CryENGINE 3 Game Development: Beginner's Guide

Book Image

CryENGINE 3 Game Development: Beginner's Guide

Overview of this book

CryENGINE is a complete game development environment used by AAA game development studio Crytek to produce blockbuster games such as Crysis 1, 2 and 3. This complete Beginner's Guide takes the would be game developer through the steps required to create a game world complete with event scripting, user interface and 3D environment in the free CryENGINE SDK. Learn to create game worlds with the CryENGINE 3 Sandbox, the tool used to create AAA games like the soon to be released Crysis 3. Follow straightforward examples to sculpt the terrain, place vegetation, set up lighting, create game sounds, script with Lua and code with C++. Learn to navigate the interface within the CryENGINE 3 Sandbox, the tool used to create AAA games like Crysis 1 and 2, as well as the soon to be released Crysis 3. Learn to create your own worlds by following straight forward examples to sculpt the terrain, place vegetation, set up lighting, create game sounds, and script with the Lua language. The book covers all beginner aspects of game development including an introduction to C++ for non- coders.
Table of Contents (18 chapters)
CryENGINE 3 Game Development Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – installing the Adobe Photoshop plugin-CryTif


The textures we will create throughout the course of this book will be created or edited using Adobe Photoshop. CryTIF is a Photoshop plugin developed by Crytek that can load and save merged Photoshop images as TIF files. It's important to realize though that the .TIF format images are not used when rendered in the launcher or even the editor, but they are rather converted to a more optimized format, in this case from a .TIF file to a .DDS. The following steps show how to install the plugin and save files in the .TIF format:

  1. Copy the following files to the root Photoshop directory:

    • Bin32\zlib1.dll

    • Bin32\jpeg62.dll

    • Bin32\libtiff3.dll

  2. Copy the file that enables support for the CryTif format Tools\CryTIFPlugin.8bi to the root Photoshop /Plugins folder.

  3. Test whether the installation is functioning by first starting Photoshop.

  4. Create a new image with dimensions 512 x 512.

  5. Create a simple pattern or import your own texture.

    Note

    If your texture has an alpha channel on it, the CryTIF plugin will detect this and change its conversion process automatically.

  6. Next, select File | Save As in Photoshop.

  7. Save this file as a CryTIF (.TIF) file type. This format should now be available as a file format in the Photoshop file dialog.

  8. Create a textures directory in your game folder and save this texture in your game under game/textures/test_pattern.tif.

What just happened?

In the previous section, we installed the very important CryTif plugin, which is essential while creating any textures for the CryENGINE. When saving a .TIF file, the CryTif plugin displays a dialog to the user where the compression settings may be selected. The settings that get chosen in the dialog are stored as metadata on the TIF file.

We have finally installed all the tools required for us to make an amazing amount of content from code, to textures, to models, and animation! Having done this, we are now ready to find out how to start putting everything together!