官术网_书友最值得收藏!

Custom flownodes

To summarize, CryENGINE provides many useful nodes by default, encompassing a whole range of functionality. However, as a programmer, you'll often find that designers will request access to some hidden functionality that the flowgraph isn't capable of providing by default.

For example, let's say you're creating a role-playing game, and you have an experience system. There are plenty of ways to reward the player with experience in the code you've written, but a level designer also wants to be able to make use of this functionality at arbitrary points in a level.

In this situation, you're well-placed to create a custom flownode; you can create a simplified representation of the system that exists in code, perhaps allowing the designer to simply specify the number of experience points to award to the player when the node is triggered.

For now though, we're going to take a look at something a little simpler. Let's pretend we have no existing CryENGINE nodes to work with, and we'd like to implement the Math:Mul node we saw earlier. To recap, it's just a simple node that implements multiplication inside a flowgraph.

Custom flownodes
主站蜘蛛池模板: 全南县| 博湖县| 什邡市| 信丰县| 白朗县| 鄂托克旗| 罗源县| 克山县| 乌兰浩特市| 泸西县| 斗六市| 长治市| 若羌县| 东乡| 喀喇| 高雄市| 宁国市| 长汀县| 日土县| 安化县| 乌拉特中旗| 中西区| 安徽省| 股票| 获嘉县| 额敏县| 古蔺县| 鄂托克旗| 丹江口市| 门头沟区| 泸溪县| 岑巩县| 和田市| 鸡东县| 肥西县| 阳原县| 龙游县| 科尔| 河东区| 江都市| 仙游县|