mirror of
https://gitlab.com/Dimbreath/turnbasedgamedata.git
synced 2025-05-11 22:45:53 +08:00
71 lines
1.7 KiB
JSON
71 lines
1.7 KiB
JSON
{
|
|
"AIName": "MazeNPC_FollowPlayer",
|
|
"VariableList": [],
|
|
"DecisionList": [
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "Follow Player",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.AdvNpcFollowPlayer",
|
|
"MotionFlag": "Walk",
|
|
"WaitProtectTime": 1,
|
|
"TransferDistance": 10,
|
|
"EnterRushDistance": 4,
|
|
"ExitRushDistance": 3,
|
|
"RushChangeProtectTime": 1,
|
|
"KeepDistance": 1,
|
|
"FollowDistance": 3
|
|
},
|
|
"ScoreEvaluatorType": "DefaultDSE",
|
|
"Weight": {
|
|
"Value": 4
|
|
},
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByNPCStatus",
|
|
"NPCStatus": "FollowPlayer"
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "Follow By Player",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.AdvNpcFollowByPlayer",
|
|
"MotionFlag": "Walk",
|
|
"KeepDistance": 15,
|
|
"FollowDistance": 15,
|
|
"WaitActionTime": 6,
|
|
"Waypath": "TaskFollow"
|
|
},
|
|
"ScoreEvaluatorType": "DefaultDSE",
|
|
"Weight": {
|
|
"Value": 4
|
|
},
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByNPCStatus",
|
|
"NPCStatus": "FollowByPlayer"
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnDisable": {
|
|
"$type": "RPG.GameCore.AdvNPCIdle"
|
|
},
|
|
"OnInit": {
|
|
"$type": "RPG.GameCore.TaskConfig"
|
|
}
|
|
} |