Files
turnbasedgamedata/Config/Level/Props/Chap04/InitLevelGraph_Prop_Chap04_KindlingLockBox_01.json
2025-05-20 21:34:22 -03:00

848 lines
26 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerOpen"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareEntityAuthoritySide"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ToState": "Open"
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Locked",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Locked",
"ToState": "Open"
}
]
}
]
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1010
}
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Locked",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1210
}
}
}
]
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerClose"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareEntityAuthoritySide"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Open"
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Locked",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Locked"
}
]
}
]
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1100
}
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Locked",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1200
}
}
}
]
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerLock"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareEntityAuthoritySide"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Open",
"ToState": "Locked"
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ToState": "Locked"
}
]
}
]
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1120
}
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1020
}
}
}
]
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Self_MoveTo"
},
"OnEvent": [
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_OnMoveStart"
}
},
{
"$type": "RPG.GameCore.PropMoveToV2",
"MoveToTarget": {
"$type": "RPG.GameCore.PropMoveToV2TargetAnchor",
"DynamicAnchor": {
"Custom": true,
"Key": "MoveTargetPos"
}
},
"WaitFinish": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Duration": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAR",
"FixedValues": [],
"DynamicHashes": [
-1333226913
]
}
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_OnMoveStop"
}
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_amphoreus_timeline_fireseedbox_land"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Self_JumpTo"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PropMoveToV2",
"MoveToTarget": {
"$type": "RPG.GameCore.PropMoveToV2TargetAnchor",
"DynamicAnchor": {
"Custom": true,
"Key": "MoveTargetPos"
}
},
"WaitFinish": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "Locked",
"OnChange": [
{
"$type": "RPG.GameCore.SetGraphDynamicString",
"Name": "MoveTargetPos",
"TargetIDs": [],
"Value": {
"Custom": true,
"Key": "Pos02"
}
},
{
"$type": "RPG.GameCore.SetupEffectTransformParams",
"OverrideFloating": true,
"FloatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"FloatingDistance": {
"FixedValue": {
"Value": 0
}
},
"RotatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"RotatingSpeed": {
"FixedValue": {
"Value": 0
}
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Self_MoveTo"
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"ToState": "Open",
"OnChange": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_amphoreus_timeline_fireseedbox_disappear"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap04_Prop_KindlingLockBox_01_Resident_Lod0.prefab",
"Flags": []
},
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerInVisible"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"ToState": "Locked",
"FromAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.SetGraphDynamicString",
"Name": "MoveTargetPos",
"TargetIDs": [],
"Value": {
"Custom": true,
"Key": "Pos01"
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Self_JumpTo"
}
},
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap04_Prop_KindlingLockBox_01_Resident_Lod0.prefab",
"IsAttachToTargetEntity": true,
"AttachPoint": "EffectPoint"
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "NeedDefaultRotate",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetupEffectTransformParams",
"OverrideFloating": true,
"FloatingFrequency": {
"FixedValue": {
"Value": 0.1
}
},
"FloatingDistance": {
"FixedValue": {
"Value": 0.1
}
},
"RotatingFrequency": {
"FixedValue": {
"Value": 0.1
}
},
"RotatingSpeed": {
"FixedValue": {
"Value": 10
}
}
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_amphoreus_prop_fireseed_box_idle"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Locked",
"OnSuccess": [
{
"$type": "RPG.GameCore.SetGraphDynamicString",
"Name": "MoveTargetPos",
"TargetIDs": [],
"Value": {
"Custom": true,
"Key": "Pos01"
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Self_JumpTo"
}
},
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap04_Prop_KindlingLockBox_01_Resident_Lod0.prefab",
"IsAttachToTargetEntity": true,
"AttachPoint": "EffectPoint"
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "NeedDefaultRotate",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetupEffectTransformParams",
"OverrideFloating": true,
"FloatingFrequency": {
"FixedValue": {
"Value": 0.1
}
},
"FloatingDistance": {
"FixedValue": {
"Value": 0.1
}
},
"RotatingFrequency": {
"FixedValue": {
"Value": 0.1
}
},
"RotatingSpeed": {
"FixedValue": {
"Value": 10
}
}
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_amphoreus_prop_fireseed_box_idle"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.SetGraphDynamicString",
"Name": "MoveTargetPos",
"TargetIDs": [],
"Value": {
"Custom": true,
"Key": "Pos02"
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Self_JumpTo"
}
},
{
"$type": "RPG.GameCore.SetupEffectTransformParams",
"OverrideFloating": true,
"FloatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"FloatingDistance": {
"FixedValue": {
"Value": 0
}
},
"OverrideRotating": true,
"RotatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"RotatingSpeed": {
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.SetupEffectTransformParams",
"OverrideFloating": true,
"FloatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"FloatingDistance": {
"FixedValue": {
"Value": 0
}
},
"OverrideRotating": true,
"RotatingFrequency": {
"FixedValue": {
"Value": 0
}
},
"RotatingSpeed": {
"FixedValue": {
"Value": 0
}
}
},
{
"$type": "RPG.GameCore.TriggerEntityEventV2",
"EventName": {
"Value": "Clt_TriggerInVisible"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Key": "Pos01"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "Pos02"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "MoveTargetPos"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Key": "MoveDuration"
},
{
"$type": "RPG.GameCore.SharedInt",
"Key": "NeedDefaultRotate"
}
]
},
"Type": "Entity",
"EntityEventList": [
{
"Name": "Clt_TriggerLock"
},
{
"Name": "Clt_TriggerOpen"
},
{
"Name": "Clt_TriggerClose"
},
{
"Name": "Srv_TriggerOpen"
},
{
"Name": "Srv_TriggerLock"
},
{
"Name": "Srv_TriggerClose"
},
{
"Name": "Self_MoveTo"
},
{
"Name": "Self_JumpTo"
},
{
"Name": "Clt_OnMoveStart"
},
{
"Name": "Clt_OnMoveStop"
},
{
"Name": "Clt_TriggerInVisible"
}
]
}