System Nodes in Hero Engine

Today I did some more research on splitting player’s characters up in to two teams. After reading the Adapting Clean Engine article on the wiki, I learnt that there are multiple default Hero-Engine scripts that should be replaced with your own scripts. This is so that you can have your own custom behaviour for system nodes, which is important for our game.

Some of examples of the system nodes that are overridden in the tutorial are below:

3idbquh
Some example classes that can be overridden to implement custom behaviour in Hero Engine.

For example, you can see that the $WORLD System Node has a default class called ‘HE_World’ and a default script for that class called ‘HE_WorldClassMethods’. They then have created a class called ‘GameIDWorld’ where GameID should just be a prefix you want to use for your game. Then the methods attached to that class will be in ‘GameIDWorldClassMethods’. These methods will extend/override the methods found in ‘HE_WorldClassMethods’  and implement custom behaviour for event callbacks for the World Server.

This is just one of many different classes that can be overridden to implement custom behaviour in Hero Engine.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s