mirror of
https://gitlab.com/Dimbreath/turnbasedgamedata.git
synced 2026-03-05 15:55:55 +08:00
292 lines
9.9 KiB
JSON
292 lines
9.9 KiB
JSON
{
|
|
"AIName": "ST_NPCMonster_Master_Base",
|
|
"VariableList": [],
|
|
"GlobalVariableList": [],
|
|
"DecisionList": [],
|
|
"TransitionTable": [],
|
|
"RootState": {
|
|
"Name": "Root",
|
|
"TaskList": [],
|
|
"TransitionList": [],
|
|
"SubStateList": [
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeStateConfig",
|
|
"SubStateList": [
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeStateConfig",
|
|
"EnterCondition": {
|
|
"$type": "RPG.GameCore.ByAny",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByHasAbnormalState",
|
|
"States": [
|
|
"HangUp",
|
|
"Confine"
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByOnHit"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ByAnd",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByCompareVariableFloat",
|
|
"VarName": "Int_StateMemory",
|
|
"CompareType": "GreaterEqual",
|
|
"CompareValue": 200
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByCompareVariableFloat",
|
|
"VarName": "Int_StateMemory",
|
|
"CompareType": "LessEqual",
|
|
"CompareValue": 299
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"SubStateList": [
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeSubTreeConfig",
|
|
"EnterCondition": {
|
|
"$type": "RPG.GameCore.ByAny",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByHasAbnormalState",
|
|
"States": [
|
|
"HangUp"
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByOnHit"
|
|
}
|
|
]
|
|
},
|
|
"TransitionList": [
|
|
{
|
|
"Trigger": "OnStateSucceeded",
|
|
"TransitionToType": "TreeSucceed",
|
|
"BoolVariableList": [],
|
|
"FloatVariableList": []
|
|
}
|
|
],
|
|
"FilePath": "Config/ConfigAI/Adventure/NPCMonster/ST_NPCMonster_Sub_Controlled.json",
|
|
"Name": "Ctrl_HangUp"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeStateConfig",
|
|
"EnterCondition": {
|
|
"$type": "RPG.GameCore.ByAny",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByHasAbnormalState",
|
|
"States": [
|
|
"Confine"
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByCompareVariableFloat",
|
|
"VarName": "Int_StateMemory",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 201
|
|
}
|
|
]
|
|
},
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_Side_SetVariableFloat",
|
|
"OnEnter": true,
|
|
"EnterName": "Int_StateMemory",
|
|
"EnterValue": 201
|
|
}
|
|
],
|
|
"SubStateList": [
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeSubTreeConfig",
|
|
"TransitionList": [
|
|
{
|
|
"TransitionToState": "SpecialExitCombatState",
|
|
"BoolVariableList": [],
|
|
"FloatVariableList": [
|
|
{
|
|
"VariableName": "Int_StateMemory",
|
|
"Value": 901
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"FilePath": "Config/ConfigAI/Adventure/NPCMonster/ST_NPCMonster_Sub_Confine.json",
|
|
"OverrideVariableList": [],
|
|
"Name": "Ctrl_Confine_Sub"
|
|
}
|
|
],
|
|
"Name": "Ctrl_Confine"
|
|
}
|
|
],
|
|
"Name": "ControlledState"
|
|
}
|
|
],
|
|
"Name": "AbnormalLayer"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeStateConfig",
|
|
"TransitionList": [
|
|
{
|
|
"Trigger": "OnTick",
|
|
"TransitionToType": "TreeFail",
|
|
"Condition": {
|
|
"$type": "RPG.GameCore.ByAny",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByHasAbnormalState",
|
|
"States": [
|
|
"HangUp",
|
|
"Confine"
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByOnHit"
|
|
}
|
|
]
|
|
},
|
|
"BoolVariableList": [],
|
|
"FloatVariableList": []
|
|
}
|
|
],
|
|
"SubStateList": [
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeStateConfig",
|
|
"EnterCondition": {
|
|
"$type": "RPG.GameCore.ST_ByAIHangUp"
|
|
},
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_Main_HangUpByLevel"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ST_Side_OverrideVision",
|
|
"VisionSetName": "DefaultVision",
|
|
"Visions": []
|
|
}
|
|
],
|
|
"TransitionList": [
|
|
{
|
|
"Trigger": "OnTick",
|
|
"TransitionToState": "SystemicState",
|
|
"Condition": {
|
|
"$type": "RPG.GameCore.ST_ByAIHangUp",
|
|
"Inverse": true
|
|
},
|
|
"BoolVariableList": [],
|
|
"FloatVariableList": []
|
|
},
|
|
{
|
|
"Trigger": "OnTick",
|
|
"TransitionToState": "ControlledState",
|
|
"Condition": {
|
|
"$type": "RPG.GameCore.ByAny",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByOnHit"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByHasAbnormalState",
|
|
"States": [
|
|
"HangUp"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"BoolVariableList": [],
|
|
"FloatVariableList": []
|
|
}
|
|
],
|
|
"Name": "HangUpState"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeStateConfig",
|
|
"TransitionList": [
|
|
{
|
|
"Trigger": "OnTick",
|
|
"TransitionToState": "HangUpState",
|
|
"Condition": {
|
|
"$type": "RPG.GameCore.ST_ByAIHangUp"
|
|
},
|
|
"BoolVariableList": [],
|
|
"FloatVariableList": []
|
|
}
|
|
],
|
|
"SubStateList": [
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeStateConfig",
|
|
"TransitionList": [],
|
|
"SubStateList": [
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeSubTreeConfig",
|
|
"EnterCondition": {
|
|
"$type": "RPG.GameCore.ByAnd",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByCompareVariableFloat",
|
|
"VarName": "Int_AIStrategy",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 301
|
|
}
|
|
]
|
|
},
|
|
"TransitionList": [],
|
|
"FilePath": "Config/ConfigAI/Adventure/NPCMonster/NPCMonster_XP_Minion04/ST_NPCMonster_XP_Minion04_Sub.json",
|
|
"Name": "AIStrategyState301"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeSubTreeConfig",
|
|
"EnterCondition": {
|
|
"$type": "RPG.GameCore.ByAnd",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByCompareVariableFloat",
|
|
"VarName": "Int_AIStrategy",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 302
|
|
}
|
|
]
|
|
},
|
|
"TransitionList": [],
|
|
"FilePath": "Config/ConfigAI/Adventure/NPCMonster/NPCMonster_XP_Minion04/ST_NPCMonster_XP_Minion04_Sub.json",
|
|
"Name": "AIStrategyState302"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeSubTreeConfig",
|
|
"EnterCondition": {
|
|
"$type": "RPG.GameCore.ByAnd",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_ByCompareVariableFloat",
|
|
"VarName": "Int_AIStrategy",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 303
|
|
}
|
|
]
|
|
},
|
|
"FilePath": "Config/ConfigAI/Adventure/NPCMonster/NPCMonster_Monkey_00/ST_NPCMonster_Monkey_00_Sub.json",
|
|
"Name": "AIStrategyState303"
|
|
}
|
|
],
|
|
"Name": "AIStrategyState"
|
|
}
|
|
],
|
|
"Name": "SystemicLayer"
|
|
}
|
|
],
|
|
"Name": "NormalLayer"
|
|
}
|
|
]
|
|
},
|
|
"OnDisable": {
|
|
"$type": "RPG.GameCore.TaskConfig"
|
|
},
|
|
"OnInit": {
|
|
"$type": "RPG.GameCore.TaskConfig"
|
|
}
|
|
} |