SDK

 Software Development Kit

 

header1

While Realm Crafter offers many features to customize your game, some options simply cannot be provided through the game editor. Adjustments to common areas require further scripting or programming; though the Realm Crafter SDK prevents the need to purchase source for many of these changes. The SDK features external Editor/Server libraries which use C# and integrated client features which use C++.

Terrain Plugins
Support for a handful of external terrain editors exists out of the box, though not every format can be supported by us. A C# plugin project is available to download which enables the creation of terrain importers for any format you might be missing.

Custom Camera & Controls
By default, Realm Crafter offers a very common combined third/first person camera controller. However, this isn't desireable in all circumstances; some developers might prefer an isometric camera with click movement and others might want a complete orbital camera for space games. The SDK features a C++ CameraController class which can be edited to suit any input system you might want.

Multiple Environments
Out of the box, an 'Earth-style' environment is available; this uses a basic sun/moon cycle with a sky shader to render clouds and stars. This isn't suitable for all games; notably games which have a setting totally different to the default, such as space games. It is possible to create an unlimited number of different environments using the C++ SDK to then use as required for different zones. In addition, developers can produce C# editor plugins to display an 'Environment Configuration' for each zone, so that different parameters can be setup for each zone. Examples of this come with Realm Crafter.

Fixed Dialogs
A number of dialogs displayed to players can be edited through the C++ SDK. An important example of this is the 'Server Selector Dialog'; it allows players to choose a 'realm' to connect to, SDK modification of this interface is useful to change how a 'realm list' is read and then displayed to the player. For example, some games may wish to display the current population of a realm, or whether or not PvP is available.

Custom GUI Controls
The scripting API lets developers create custom dialogs which are displayed to the players. However, Realm Crafter only comes with a list of 'basic' controls (such as buttons, textboxes, lists, panels and so on). If a desired control is not available, then it can be added to the SDK (for client display) by simply adding a new class for it. A C# version of the class then lets the server and scripting API use the control as if it was any other included control.


Class Diagram outlining the simple implementation details of a custom GUI control using the SDK.