Files
turnbasedgamedata/Config/ConfigAI/Adventure/MazeMonster_XP_Minion04_00_Patrol_Loop.json
2024-10-21 03:16:22 -03:00

168 lines
4.4 KiB
JSON

{
"AIName": "MazeMonster_Patrol_Loop",
"VariableList": [],
"DecisionList": [
{
"$type": "RPG.GameCore.AIDecisionConfig",
"DecisionName": "Patrol",
"RootTask": {
"$type": "RPG.GameCore.SequenceConfig",
"TaskList": [
{
"$type": "RPG.GameCore.AdvSetNpcVisionsConfig",
"VisionsByName": [
"GlobalVisionConfig_XP_Minion04"
]
},
{
"$type": "RPG.GameCore.AdvNPCPatrol",
"StayOnWaypoint": true,
"StayOnWaypointDuration": 2
}
]
},
"ScoreEvaluatorType": "DefaultDSE",
"ConsiderAxisList": [
{
"$type": "RPG.GameCore.CheckPredicateAxis",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByAlertValueInRange",
"AlertValueMax": 5
}
]
},
"SuccessScore": {
"Value": 1
}
}
]
},
{
"$type": "RPG.GameCore.AIDecisionConfig",
"DecisionName": "Guarding",
"RootTask": {
"$type": "RPG.GameCore.SequenceConfig",
"TaskList": [
{
"$type": "RPG.GameCore.LookAt",
"TargetType": "CustomTarget",
"CustomTargetType": {
"$type": "RPG.GameCore.TargetAlias",
"Alias": "AdvLocalPlayer"
}
},
{
"$type": "RPG.GameCore.AdvNPCGuarding",
"EnableSearch": true,
"SearchOffset": 5.5,
"OnGuardStart": {
"$type": "RPG.GameCore.TaskConfig"
},
"OnGuardEnd": {
"$type": "RPG.GameCore.TaskConfig"
}
}
]
},
"ScoreEvaluatorType": "DefaultDSE",
"Weight": {
"Value": 2
},
"ConsiderAxisList": [
{
"$type": "RPG.GameCore.CheckPredicateAxis",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByAlertValueInRange",
"AlertValueMin": 5,
"AlertValueMax": 100
}
]
},
"SuccessScore": {
"Value": 1
}
}
]
},
{
"$type": "RPG.GameCore.AIDecisionConfig",
"DecisionName": "Chase",
"RootTask": {
"$type": "RPG.GameCore.SequenceConfig",
"TaskList": [
{
"$type": "RPG.GameCore.AdvSetNpcVisionsConfig",
"VisionsByName": [
"GlobalVisionConfig_RunAway"
]
},
{
"$type": "RPG.GameCore.AdvSetNpcAlertConfig",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvNpcEx"
},
"AlertLimitMax": 45,
"AlertGuardLimitMin": 5,
"AlertGuardLimitMax": 25,
"AlertDeclineSpeed": 0
},
{
"$type": "RPG.GameCore.AdvNPCRunAwayPlayer",
"Radius": 8,
"MoveRadius": 5,
"Angle": 250,
"CandiatePoint": 8,
"Pow": 10,
"MaxRunAwayDistance": 40,
"MaxRunAwayTime": 8,
"OnFinishRunAway": [
{
"$type": "RPG.GameCore.CharacterTriggerAnimState",
"AnimStateName": "DieBS",
"NormalizedTransitionDuration": 0,
"NormalizedTimeWait": 0.99
},
{
"$type": "RPG.GameCore.CharacterTriggerAnimState",
"AnimStateName": "Die",
"NormalizedTransitionDuration": 0,
"NormalizedTimeWait": 1
}
]
}
]
},
"ScoreEvaluatorType": "DefaultDSE",
"Weight": {
"Value": 3
},
"ConsiderAxisList": [
{
"$type": "RPG.GameCore.CheckPredicateAxis",
"Predicate": {
"$type": "RPG.GameCore.ByAny",
"PredicateList": [
{
"$type": "RPG.GameCore.ByAlertValueInRange",
"AlertValueMin": 25,
"AlertValueMax": 45
}
]
},
"SuccessScore": {
"Value": 1
}
}
]
}
],
"OnDisable": {
"$type": "RPG.GameCore.AdvNPCIdle"
}
}