User Tools

Site Tools


ai:customrules

This is an old revision of the document!


Custom Rules

Here you can design your own fuzzy rules with an intuitive logic process. Fuzzy Logic operates with Linguisit Variables to facilitate the weight calculation process.

This process uses .\UFE Addons\Runtime\AIRulesGenerator.cs to automatically generates its own fuzzy rules.


Rule

A rule is a set of events and conditions that tell the engine how likely a reaction should be.

By default, every reaction has 0 weight, and by default, if no weight is applied to reactions, the character should stay idle.

Rule Name: Use this to make a small description of what the rule is suppose to do.


Event

Events contain conditions. A Rule is valid when at least one of the events is valid.

Valid when all conditions are: Allow you to invert the logic of this event. If set to FALSE, this event will be considered as a valid entry for the Reaction weight manipulation if its not TRUE.


Condition

An event is only valid if all of its conditions are valid.

Valid when condition is: Allow you to invert the logic of this condition. If set to FALSE, this condition will be considered to be valid if the dictated entry is not TRUE.


Reaction

When the conditions for one of the events is true, how likely is the AI to attempt the following reaction.


Generated Fuzzy Rules

Allows you to read the result of all the rules being generated by these options. Useful to debug how each combination interact and the end result that is sent to the Fuzzy Core.

This option is for debug viewing only and it has no impact on the game.


< Back to A.I. Editor

ai/customrules.1414359868.txt.gz · Last modified: 2014/10/26 17:44 by Mistermind