2024-10-21 03:16:22 -03:00

121 lines
3.3 KiB
JSON

{
"AIName": "BoomRobot_Monster_Patrol_Loop",
"VariableList": [],
"DecisionList": [
{
"$type": "RPG.GameCore.AIDecisionConfig",
"DecisionName": "Patrol",
"RootTask": {
"$type": "RPG.GameCore.SequenceConfig",
"TaskList": [
{
"$type": "RPG.GameCore.AdvSetNpcVisionsConfig",
"VisionsByName": [],
"Visions": [
{
"$type": "RPG.GameCore.VisionConfig",
"DistanceRange": 3,
"YawAngleRange": 360,
"PitchAngleLimitMin": -30,
"PitchAngleLimitMax": 20,
"AlertIntervalRightValue": 5,
"VisionID": "default01"
},
{
"$type": "RPG.GameCore.VisionConfig",
"DistanceRange": 7,
"YawAngleRange": 60,
"PitchAngleLimitMin": -30,
"PitchAngleLimitMax": 30,
"AlertIntervalRightValue": 100
},
{
"$type": "RPG.GameCore.VisionConfig",
"DistanceRange": 12,
"AlertIntervalRightValue": 20,
"VisionID": "default02"
}
]
},
{
"$type": "RPG.GameCore.AdvNPCPatrol",
"StayOnWaypoint": true,
"StayOnWaypointDuration": 3
}
]
},
"ScoreEvaluatorType": "AdventureDefaultDSE",
"ConsiderAxisList": [
{
"$type": "RPG.GameCore.CheckPredicateAxis",
"Predicate": {
"$type": "RPG.GameCore.ByAlertValueInRange",
"AlertValueMax": 5
},
"SuccessScore": {
"Value": 1
}
}
]
},
{
"$type": "RPG.GameCore.AIDecisionConfig",
"DecisionName": "Guarding",
"RootTask": {
"$type": "RPG.GameCore.SequenceConfig",
"TaskList": [
{
"$type": "RPG.GameCore.AdvSetNpcVisionsConfig",
"VisionsByName": [],
"Visions": [
{
"$type": "RPG.GameCore.VisionConfig",
"DistanceRange": 5,
"AlertIntervalRightValue": 50,
"VisionID": "default01"
},
{
"$type": "RPG.GameCore.VisionConfig",
"DistanceRange": 12,
"AlertIntervalRightValue": 20
}
]
},
{
"$type": "RPG.GameCore.AdvNPCGuarding"
}
]
},
"ScoreEvaluatorType": "AdventureDefaultDSE",
"Weight": {
"Value": 2
},
"ConsiderAxisList": [
{
"$type": "RPG.GameCore.CheckPredicateAxis",
"Predicate": {
"$type": "RPG.GameCore.ByAlertValueInRange",
"AlertValueMin": 5,
"AlertValueMax": 25
},
"SuccessScore": {
"Value": 1
}
}
]
}
],
"OnDisable": {
"$type": "RPG.GameCore.AdvNPCIdle"
},
"OnInit": {
"$type": "RPG.GameCore.AdvSetNpcAlertConfig",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvNpcEx"
},
"AlertLimitMax": 45,
"AlertGuardLimitMin": 5,
"AlertGuardLimitMax": 25,
"AlertDeclineSpeed": 5
}
}