Files
turnbasedgamedata/Config/ConfigAI/Adventure/MazeNPC_FollowPlayer_Special_MaintainRobot_3010.json
2025-07-03 10:50:43 +02:00

115 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": {
"IsDynamic": false,
"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"
}
}