Skip to content

Behavior: Hunter

Lucas Massey edited this page Jan 19, 2021 · 2 revisions

Behavior Description: The hunter behavior is an advanced combat behavior that requires careful setup of its Targeting and Autopilot Profiles to function properly. When the behavior does not have a valid target, it will approach its despawn coordinates using the Primary Autopilot Profile.

If the behavior acquires a target, it will begin to approach the target using the Secondary Autopilot Profile if it is still valid when it does it's own timed check. While approaching the target, it requires one of 3 methods to confirm the target as valid. To confirm a valid target, it can use Turret Target Detection, Camera Raycast, or Line of Sight (if the target profile includes that filter).

If a target is validated, then the behavior will engage it with Fighter like maneuvering. If a target is lost and no other target can be found, the behavior will still travel to the target's last known location for a short time before resuming its course to despawn coordinates.

If another target is later acquired, the process above is repeated.


Core System Tag Defaults:

System: Tag: Value:
AutoPilot Default Profiles Click Here
Despawn UseNoTargetTimer true
Target Profile TargetType Player
Target Profile TargetRelation Enemy
Target Profile TargetOwner Player
Weapons UseStaticGuns true

The Hunter behavior type also has some custom Trigger Types as well. Below they are described:

Type: Description:
BehaviorTriggerA This trigger is activated when the Hunter detects a new target while approaching Despawn.
BehaviorTriggerB This trigger is activated when the Hunter loses its current target, but is still approaching the targets last known coordinates.
BehaviorTriggerC This trigger is activated when the Hunter loses its current target and resumes travel to Despawn.
BehaviorTriggerD This trigger is activated when the Hunter confirms a target and begins to Engage.
BehaviorTriggerE This trigger is activated when the Hunter enters Strafe/Rotate range of a target.
BehaviorTriggerF This trigger is activated when the Hunter leaves Strafe/Rotate range of a target.

Below are the custom tags you can use for the Hunter Behavior:

Tag:                                TimeBetweenNewTargetChecks
Tag Format: [TimeBetweenNewTargetChecks:Value]
Description: This tag specifies the time it takes to check if the behavior has a valid target to begin approaching.
Allowed Values: Any number greater than 0
Multiple Tag Allowed: No
Tag:                                LostTargetTimerTrigger
Tag Format: [LostTargetTimerTrigger:Value]
Description: This tag specifies the time the behavior will spend approaching the last known coordinates of a lost target before resuming travel to its despawn coordinates.
Allowed Values: Any number greater than 0
Multiple Tag Allowed: No
Tag:                                EngageOnCameraDetection
Tag Format: [EngageOnCameraDetection:Value]
Description: This tag specifies if the behavior should use Camera Blocks to confirm potential targets that it is approaching. Please be mindful of how many cameras your grid uses, since these checks cannot be done in a parallel thread - meaning they can become a performance concern if spammed.
Allowed Values: true
false
Multiple Tag Allowed: No
Tag:                                EngageOnWeaponActivation
Tag Format: [EngageOnWeaponActivation:Value]
Description: This tag specifies if the behavior should use Turret Targeting to confirm if an approached target is valid.
Allowed Values: true
false
Multiple Tag Allowed: No
Tag:                                EngageOnTargetLineOfSight
Tag Format: [EngageOnTargetLineOfSight:Value]
Description: This tag specifies if the behavior should use the LineOfSight filter in the Target Profile to confirm if the approached target is valid.
Allowed Values: true
false
Multiple Tag Allowed: No
Tag:                                CameraDetectionMaxRange
Tag Format: [CameraDetectionMaxRange:Value]
Description: This tag specifies the max distance that Camera Blocks will attempt to raycast a target if using the EngageOnCameraDetection tag.
Allowed Values: Any number greater than 0
Multiple Tag Allowed: No

Clone this wiki locally