mirror of
https://gitlab.com/Dimbreath/turnbasedgamedata.git
synced 2026-03-05 15:55:55 +08:00
114 lines
2.9 KiB
JSON
114 lines
2.9 KiB
JSON
{
|
|
"AIName": "MazeNPC_FollowPlayer",
|
|
"VariableList": [],
|
|
"DecisionList": [
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "Follow Player",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.AdvNpcFollowPlayer",
|
|
"WaitActionTime": 5,
|
|
"TransferDistance": 10,
|
|
"EnterRushDistance": 5,
|
|
"ExitRushDistance": 4,
|
|
"RushChangeProtectTime": 1,
|
|
"ProtectTransferDistance": 3,
|
|
"KeepDistance": 2,
|
|
"FollowDistance": 2
|
|
},
|
|
"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",
|
|
"KeepDistance": 10,
|
|
"FollowDistance": 4,
|
|
"WaitProtectTime": 1,
|
|
"WaitActionTime": 5,
|
|
"Waypath": "TaskFollow"
|
|
},
|
|
"ScoreEvaluatorType": "DefaultDSE",
|
|
"Weight": {
|
|
"Value": 4
|
|
},
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByNPCStatus",
|
|
"NPCStatus": "FollowByPlayer"
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "Searching",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.AdvNpcPetSearch",
|
|
"OnStartSearchCallback": [
|
|
{
|
|
"$type": "RPG.GameCore.AnimSetParameter",
|
|
"ParameterName": "TriggerSearch",
|
|
"ParameterType": "Bool",
|
|
"Value": {
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"OnFoundTreatureString": {
|
|
"Value": "Maze_Puppy_FoundChest_Success"
|
|
},
|
|
"OnFoundTreatureCallback": [],
|
|
"OnLeaveSearchString": {
|
|
"Value": "SpecialVisionClose"
|
|
},
|
|
"OnLeaveSearchCallback": [],
|
|
"DistanceProtection": 6,
|
|
"TransferDistance": 2,
|
|
"ToFarLeaveDistance": 5
|
|
},
|
|
"ScoreEvaluatorType": "DefaultDSE",
|
|
"Weight": {
|
|
"Value": 5
|
|
},
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByNPCStatus",
|
|
"NPCStatus": "PetSearch"
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnDisable": {
|
|
"$type": "RPG.GameCore.AdvNPCIdle"
|
|
}
|
|
} |