🎬 Overview Video
🎓 Documentation
❓ Have a question? Would you like to request new features or report a bug? Join Discord community
Token Manager plugin allows users to create team behavior and synchronization between AIs/enemies actions. Cooperation is achieved through tokens functionality granting or restricting particular behaviors, skills or abilities. Whether or not to grant a specific token connected with a particular action is based on previously configured token’s parameters and its current values. Those parameters are connected with the amount, cooldown or cost calculated on a global or an instance basis. Instance based actions were splitted into two categories: source and target, which can correspond to e.g.: enemy squad or player respectively. Global actions on the other hand do not take into consideration any specific objects or actors. By using the plugin it is possible to restrict amount of particular actions aimed towards specific target happening at the same time (e.g.: two enemies executing the same attack aimed towards the player simultaneously), add cooldown preventing action from triggering to often (e.g.: members of the same squad constantly throwing grenade one after another) or restrict maximum cost of specific actions (e.g.: aggressive ones to make sure that summary cost of all of the aggressive actions (shooting, throwing grenade) aimed at a particular target will not exceed specified limit, making the target feel overwhelmed). The plugin includes built-in blackboard and behavior tree integration, which allows using token’s logic inside the behavior tree based AI decision making process. Usage of the plugin is not restricted solely to behavior trees, as all of the provided functions are available from everywhere in the project thanks to the static methods implemented inside the TokenManager world subsystem. The whole plugin’s functionality was designed in mind to be easy to use no matter what kind of game type it is used in.