O'Reilly logo

CryENGINE Game Programming with C++, C#, and Lua by Ruan Pearce-Authers, Carl-Filip Lundgren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a custom node in C++

Back in Chapter 1, Introduction and Setup, we took a first look at compiling and running the GameDLL, packaged here as MiniMonoGameSample.sln for Visual Studio. Let's load that up again, making sure that any CryENGINE instances such as the Launcher or Sandbox are closed, as we're going to overwrite the CryGame.dll file that's used at runtime.

Organizing nodes

The standard practice for CryENGINE games is to have a filter in the GameDLL project, CryGame, called Nodes. If this doesn't exist, go ahead and create it now.

Organizing nodes

Creating a new node file

Nodes are never referenced in other areas of the project, so it's fine to simply ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required