Skip to content

Main Nodes

FBast edited this page Oct 17, 2019 · 15 revisions

Utility Node

This node translate every values provided to the input into an utility value (an int between 0 and 1).

The Min X and Max X inputs gives the minimum and maximum values ​​of x, X input is the more important data which is calculate into an utility value using the function curve and provided by the Utility Y output.

Of course you can use fixed values using the Min X, Max X, or X inputfields.

You can also choose the function curve to use in order to obtain the utility value you want, for that you only have to click on the function curve image.

And click on the desired curve.

For more convenience, an array of curve is provided, use the gear wheel to access it.

Each curve has a reverse curve which can be use to invert the utility result.

Option Node

The option node is the main node of a decision, it is connected to one or more utilities, have an utility merge parameter, a rank value (using multiplier and bonus), one or more linked actions and a collection index controller.

Screenshot_190

To get into the details :

  • The Utilities port connect the utility node and provide the final utility value of the considerations.
  • The Utility merge allow you to parameter how the merge should be done, using average value, min or max.
  • The Multiplier port allow you to sort the rank of the option and therefore to modify the final weight value, you can connect rank nodes or directly entry node to provide a multiplier. If this multiplier is equal to 0 then the option will be ignored.
  • The Bonus port allow you to increase or decrease the rank of the option, to promote or disadvantage the probability of an option.
  • The Action port allow you to connect which action will be triggered when this option will be selected.
  • The Collection port need to be connected to the Collection Entry Node in order to iterate on each of the entry.
  • The Description field is used to debug the option in the AI Debugger
Clone this wiki locally