mirror of
https://gitlab.com/Dimbreath/turnbasedgamedata.git
synced 2026-03-05 15:55:55 +08:00
195 lines
5.0 KiB
JSON
195 lines
5.0 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_Front_Slow",
|
|
"GlobalVisionConfig_Front_Back",
|
|
"GlobalVisionConfig_Front_Fast"
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AdvNPCPatrol",
|
|
"StayOnWaypoint": true,
|
|
"StayOnWaypointDuration": 2
|
|
}
|
|
]
|
|
},
|
|
"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.AdvNPCGuarding",
|
|
"SearchOffset": 5.5,
|
|
"OnGuardStart": {
|
|
"$type": "RPG.GameCore.TaskConfig"
|
|
},
|
|
"OnGuardEnd": {
|
|
"$type": "RPG.GameCore.TaskConfig"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"ScoreEvaluatorType": "AdventureDefaultDSE",
|
|
"Weight": {
|
|
"Value": 2
|
|
},
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByAlertValueInRange",
|
|
"AlertValueMin": 5,
|
|
"AlertValueMax": 25
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "Chase",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.SequenceConfig",
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvSetNpcVisionsConfig",
|
|
"VisionsByName": [
|
|
"GlobalVisionConfig_Front_Back_Chase",
|
|
"GlobalVisionConfig_Front_Fast_Chase"
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AdvNPCChase",
|
|
"ChaseRadius": 30,
|
|
"OnMissTarget": {
|
|
"$type": "RPG.GameCore.AdvForceSetNpcAlertValue",
|
|
"AlertValue": 26
|
|
},
|
|
"OnEnterChaseButNoTarget": {
|
|
"$type": "RPG.GameCore.AdvForceSetNpcAlertValue",
|
|
"AlertValue": 26
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"ScoreEvaluatorType": "AdventureDefaultDSE",
|
|
"Weight": {
|
|
"Value": 3
|
|
},
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByAlertValueInRange",
|
|
"AlertValueMin": 25,
|
|
"AlertValueMax": 45
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "GoBack",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.AdvNPCGoback"
|
|
},
|
|
"ScoreEvaluatorType": "AdventureDefaultDSE",
|
|
"Weight": {
|
|
"Value": 4
|
|
},
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByNPCStatus",
|
|
"NPCStatus": "GoBack"
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "Attack",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.SequenceConfig",
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvNPCAttack",
|
|
"AttackCD": 4
|
|
}
|
|
]
|
|
},
|
|
"ScoreEvaluatorType": "AdventureDefaultDSE",
|
|
"Weight": {
|
|
"Value": 5
|
|
},
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByAny",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ByAnd",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ByInAttackRange"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ByAlertValueInRange",
|
|
"AlertValueMin": 25,
|
|
"AlertValueMax": 45
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ByNPCStatus",
|
|
"NPCStatus": "Attack"
|
|
}
|
|
]
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnDisable": {
|
|
"$type": "RPG.GameCore.AdvNPCIdle"
|
|
}
|
|
} |