Home Game Development CryENGINE 3 Game Development: Beginner's Guide

CryENGINE 3 Game Development: Beginner's Guide

By Sean Tracy , Paul Reindell , Sean P Tracy (USD)
books-svg-icon Book
Subscription FREE
eBook + Subscription €11.99
eBook €32.99
Print + eBook €41.99
READ FOR FREE Free Trial for 7 days. €11.99 p/m after trial. Cancel Anytime! BUY NOW BUY NOW BUY NOW
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook + Subscription?
Download this book in EPUB and PDF formats
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
READ FOR FREE Free Trial for 7 days. €11.99 p/m after trial. Cancel Anytime! BUY NOW BUY NOW BUY NOW
Subscription FREE
eBook + Subscription €11.99
eBook €32.99
Print + eBook €41.99
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook + Subscription?
Download this book in EPUB and PDF formats
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
  1. Free Chapter
    Introducing the CryENGINE 3 Free SDK
About 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.
Publication date:
September 2012
Publisher
Packt
Pages
354
ISBN
9781849692007

 

Chapter 1. Introducing the CryENGINE 3 Free SDK

The CryENGINE 3 Software Development Kit (SDK) comes from a pedigree of high fidelity, real-time game engines. It is now freely available for non-commercial use, which allows anyone to leverage the power of the CryENGINE 3 to make their own games and simulations.

In this chapter we will be:

  • Joining the development community on http://www.crydev.net

  • Downloading and installing the CryENGINE 3 SDK

  • Reviewing past and present games created using past and present iterations of the CryENGINE

  • Exploring some of the latest features available in CryENGINE 3 SDK

  • Running the sample content in the launcher.exe application

  • Analyzing the typical roles that developers undertake to create a game on the CryENGINE, and establishing where we fit in

  • Installing the 3D Studio Max exporter tools and acquiring the sample source asset package

  • Installing the Adobe Photoshop CryTif plugin

  • Opening the Forest map in the CryENGINE 3 Sandbox application

  • Interacting with objects and entities in the CryENGINE 3 Sandbox application

 

What is the CryENGINE?


Not every new computer game needs to start from scratch. A technique that's becoming increasingly common for most developers is to reuse existing game engines. This is where the CryENGINE 3 SDK comes in. The CryENGINE 3 SDK is a game engine which drives the visual actions taking place on the screen. Within this engine are the rules that dictate the way the game world works, and how objects and characters should behave within it. Due to the fact that creating the underlying code for the variety of systems within a game engine is usually very expensive and time consuming, the starting point of working with a game engine thus makes excellent financial sense for most developers. Throughout this book, and for all intents and purposes, we will be referring to the CryENGINE 3 SDK as the engine.

The CryENGINE has been developed over the past 10 years by the award winning independent developer, Crytek. Crytek has made major iterations to the original CryENGINE over a number of years and is currently on the third iteration, which is why we refer to this version of CryENGINE as the CryENGINE 3.

Arguably, the most prominent tool provided by a game engine is the level, or World Editor. The editor used with CryENGINE is known as the CryENGINE Sandbox, and it contains a whole suite of tools and sub-editors for developing games.

You can think of the CryENGINE Sandbox as a game compositing tool that acts similarly to any digital video compositing software such as Sony Vegas, Adobe Premiere, and even Windows Movie Maker. However, as opposed to inserting video and audio clips, the developer inserts art, design, and code that will all eventually come together to create a game.

 

Applying your vision


Many people will have their own ideas for games. The first step on the path to manifesting that idea into reality is to undertake some basic research in order to expand the idea into a robust proposal, or "pitch" as it's in the game industry. There are simple considerations that a game designer can make in order to take their loosely defined idea into a solid concept. It might be tempting for some of us to jump straight into designing levels, characters, icons, and other fine details but as the saying goes, "the devil is in the details". It is best to avoid getting caught by this. If the basic premise of the game changes in the early development stages, much of the work on these small details will be wasted. A good practice is to spend a relatively short but valuable amount of time at the outset making sure the idea has the potential for development.

There are some genres that are inherently easier to achieve in CryENGINE simply due to the nature of its underlying design. Developers should consider that the CryENGINE has historically been used to create realistic and highly interactive experiences.

Creating a game that uses the first-person or third-person perspectives is relatively easy compared to creating something as a full scale real-time strategy game. To get some inspiration, let's explore the pedigree of the CryENGINE and what other visions have been achieved using it. As you browse through these games, remember that none of these were created in a day! These games were built with large teams over a number of years and thus, we should be realistic with ourselves about what we can achieve and how long it will take.

Far Cry by Crytek – first-person shooter

Far Cry, launched in 2004, sporting the first version of the CryENGINE used the technology that changed the face of gaming.

Tip

Downloading the color images of this book

We also provide you a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from http://www.packtpub.com/sites/default/files/downloads/2007_graphics.pdf.

Far Cry was the first full game developed on CryENGINE. It can be argued which came first, the engine or the game; but so as to not commit to either side, I would like to say the vision and requirements that were put forth for the game drove the technology, or the engine, into what would finally be known as CryENGINE 1.

This critically acclaimed game put to use the technology that allowed for a level of graphical fidelity, never seen before in games, such as huge view distances, high precision HDR lighting, and even more importantly, the game introduced a toolset for development that expressed the what you see is what you play (WYSIWYP) philosophy. This philosophy describes how Far Cry was created as the designers were able to enter in and out of game mode instantly using a shortcut key without having to wait for any saving, compiling, or baking. Designers were thus able to try as many iterations as it would take to create a particular aspect of gameplay in far less time than it would take in other game engines.

The game was truly a Sandbox first-person shooter. To be more precise, it was designed so that the player is directed to achieve certain goals, but the way in which they can accomplish these goal is completely up to him or her. The developer decides to give the player certain tools, which they can use or combine for a unique experience while accomplishing these goals. To be able to do this requires technology to be able to support huge maps and thousands of game entities.

Aion by NCsoft – massively online role-playing game

First released in Korea in 2008, Aion redefined the standard for the quality of art and rendering achievable in such a massive world, populated by thousands of players at once.

Aion was developed by NCsoft on the CryENGINE 1, with a significant amount of customization done to the engine to support the complex database and server requirements of a massively multiplayer online role-player game. It also demonstrated some unique gameplay features never before seen in an MMO. For example, the ability to fly and glide with your character's wings to travel in the world.

Expecting to create Aion in our spare time is largely beyond the scope of this book and likely also beyond the scope of any small development team. Aion was created by a large team and required developers who were experienced in creating MMO games.

This is a good example demonstrating how the engine is easier to adapt to certain genres than others. Of course, Sandbox and the CryENGINE can be used to achieve this; but it requires significantly more customization and innovation than a first-person shooter would.

Crysis by Crytek – first-person shooter

Crysis truly drove the next generational leap for the CryENGINE. Crysis, upon its launch in 2007, exceeded all expectations and set the new standard for real-time PC gaming.

CryENGINE 2 was made available for licensing shortly after the release of Crysis,due to popular demand of many developers in the industry.

The big technological jump for CryENGINE 2 was in sheer rendering fidelity and hyper-interactivity of its physical worlds.

This leap made it even more ideal for developing open-world Sandbox games. Though Crysis was a first-person shooter, the engine lent itself well to third-person adventure games and even vehicle simulations. In addition, visualization with CryENGINE 2 expanded as artists discovered the ability to create photorealistic scenes in comparatively less time than was considered possible at that point in time.

Crysis Warhead by Crytek – first-person shooter

CryENGINE 2 was further updated, in tandem, with the release of Crysis Warhead in 2008. This expansion took the player back to experience the same timeline of events from the original Crysis, but from a different protagonist's perspective.

In terms of technology, the engine's performance was further optimized to allow for a truly cinematic experience. It was designed to be a faster, more intense an experience than the original and it achieved its goal.

At this time, it was recognized by Crytek that to remain competitive, games must be able to run on the Xbox 360 and PS3, as such, development began in earnest of the console-friendly future generation CryENGINE 3.

Crysis 2 by Crytek – first-person shooter

Finally, we end our nostalgic journey at the current generation of CryENGINE 3.

Crysis 2 was released in March 2011 on Xbox 360, PS3, and PC. This was a huge milestone for CryENGINE, as it demonstrated that CryENGINE could achieve its historic rendering quality on this generation of gaming consoles, namely, Xbox 360 and PS3. Finally, the console users were able to experience the level of fidelity demanded by Crytek games, and other developers began actively pursuing their own AAA games using CryENGINE 3.

                                 
About the Authors
  • Sean Tracy

    Sean Tracy is Cryteks Senior Field Application Engineer for the award-wining CryENGINE. He is responsible for adapting the engine and its features to individual licensees, as well as developing full technical and vertical slice demos for prospective and existing clients. Describing himself as a generalizing specialist, he also gives support directly to CryENGINE licensees, while designing and maintaining their workflows, pipelines and development techniques. Sean was recruited by Crytek in 2008 after working as an electronics technician for the Canadian Military. He was recruited due to his role in founding and leading development on the award winning total conversion project MechWarrior:Living Legends. Since then, he has been featured in numerous gaming magazines and has been invited to speak at many game related trade shows, conferences and seminars. He is an avid gamer with extensive modding experience on titles including Never Winter Nights, Battlefield, Doom and Quake.

    Browse publications by this author
  • Paul Reindell

    Paul Reindell has been an Engine Programmer in the SDK Team since June 2010. He is responsible for UI programming, next generation features and development of new tools for the CryENGINE 3 Sandbox, as well as forum support for CryENGINE licensees. He also worked on projects for licensees or evaluators. During his diploma theses Paul started as an Intern at Crytek in March 2010. He finished his diploma thesis successfully in June and started directly as a Junior Programmer in the SDK team. During his academic studies he created a mod prototype with CryENGINE 2 (GarbageWarz) and during his diploma thesis he was able to connect CryENGINE 3 successfully with a Headtracking API. Before working at Crytek he worked for three years as a programmer at DENSO, in Germany, beside his studies.

    Browse publications by this author
  • Sean P Tracy (USD)

    Sean Tracy is Crytek’s Senior Field Application Engineer for the award-wining CryENGINE. He is responsible for adapting the engine and its features to individual licensees, as well as developing full technical and ‘vertical slice’ demos for prospective and existing clients. Describing himself as a ‘generalizing specialist’, he also gives support directly to CryENGINE licensees, while designing and maintaining their workflows, pipelines and development techniques. Sean was recruited by Crytek in 2008 after working as an electronics technician for the Canadian Military. He was recruited due to his role in founding and leading development on the award winning total conversion project ‘MechWarrior:Living Legends’. Since then, he has been featured in numerous gaming magazines and has been invited to speak at many game related trade shows, conferences and seminars. He is an avid gamer with extensive modding experience on titles including Never Winter Nights, Battlefield, Doom and Quake.

    Browse publications by this author
Latest Reviews (1 reviews total)
I was unable to follow the book because the engine has changed since the release of this book. Some important links where outdated plus the book is based on a free version of the engine which is no longer available. Otherwise the book would have read well
CryENGINE 3 Game Development: Beginner's Guide
Unlock this book and the full library FREE for 7 days
Start now