Combat
Setting up a combat system for AI
Last updated
Setting up a combat system for AI
Last updated
Target Selection: the algorithm for selecting a goal.
Here we put a link to the vision component for AI.
Responsible for selecting the goal.
It is responsible for the distance at which the damage from the impact will no longer pass.
Example:
It often happens that you seem to have run away from the enemy, but still received damage, even though it was physically impossible. To prevent this, this variable was introduced.
Name
Description
First
The first one that came along.
Nearest
Nearest target.
Distant
The farthest goal.
Name
Description
State
Animation name, animation layer, transition time to this animation.
Time
Animation duration.
Damage Time
The time of the strike.
Damage Amount
The damage caused by the impact.
Name
Description
Meel Combat
Setting up melee combat for AI.