Making the AI to use awaken skills with XV2Patcher
Mar 1, 2018 10:54:58 GMT
Rai, SK007, and 6 more like this
Post by eternity on Mar 1, 2018 10:54:58 GMT
XV2Patcher 2.0 and higher include a patch that allows AI characters to use their awaken skills.
The patch is disabled by default. To enable it, open the file xv2patcher.ini and change "ai_extend" from false to true.
That's it. With only that, AI chars will already use awaken skills. The rest of the tutorial will talk about customizing the settings. The defaults just work fine, but in case you need more control, here it is.
Customizing the probabilities.
First, you have to understand how the thing works. Every X time, the game may make a AI decission, that will lead to XV2Patcher to evaluate the probabilities. These events don't happen that often, but not that odd either, and they are unpredictable.
Now, go to the [AIExtend] section in the .ini file.
XV2Patcher uses a different for each transformation, for every of 5 hp states (100%, 80%, 60%, 40%, 20%), and for allies/enemies AI.
So, for example, "chance_ally_T1_100p", is the probability that an ally AI will use the first transformation (if any) when it is at 81-100% of hp. (more in concrete, the probability that the previously mentioned ai decisions will make the patcher to make the ai use the transformation)
And for example, "chance_enemy_T2_60p" is the probability that an enemy AI will use the second transformation (if any) when it is between 41 and 60% of HP.
Probabilities are number between 0 and 100. Customize them to your liking.
Awaken skills with more than 3 transformations.
For awaken skills with more than 3 transformation (which are always mods, because the game doesn't have any), for transformations 4, 5, etc, the patcher will use the settings of the third transformation. If the T3 condition evaluates to true, the patcher will choose a random transformation between the third and final transformation, but only between those that are higher than the current transform (e.g. the character won't transform back to a smaller transformation).
The patch is disabled by default. To enable it, open the file xv2patcher.ini and change "ai_extend" from false to true.
That's it. With only that, AI chars will already use awaken skills. The rest of the tutorial will talk about customizing the settings. The defaults just work fine, but in case you need more control, here it is.
Customizing the probabilities.
First, you have to understand how the thing works. Every X time, the game may make a AI decission, that will lead to XV2Patcher to evaluate the probabilities. These events don't happen that often, but not that odd either, and they are unpredictable.
Now, go to the [AIExtend] section in the .ini file.
XV2Patcher uses a different for each transformation, for every of 5 hp states (100%, 80%, 60%, 40%, 20%), and for allies/enemies AI.
So, for example, "chance_ally_T1_100p", is the probability that an ally AI will use the first transformation (if any) when it is at 81-100% of hp. (more in concrete, the probability that the previously mentioned ai decisions will make the patcher to make the ai use the transformation)
And for example, "chance_enemy_T2_60p" is the probability that an enemy AI will use the second transformation (if any) when it is between 41 and 60% of HP.
Probabilities are number between 0 and 100. Customize them to your liking.
Awaken skills with more than 3 transformations.
For awaken skills with more than 3 transformation (which are always mods, because the game doesn't have any), for transformations 4, 5, etc, the patcher will use the settings of the third transformation. If the T3 condition evaluates to true, the patcher will choose a random transformation between the third and final transformation, but only between those that are higher than the current transform (e.g. the character won't transform back to a smaller transformation).