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

871 lines
28 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.AdvOnButtonPressed",
"ButtonName": "InteractButton_Lift",
"OnPressedCallback": [
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"InteractButton_Lift"
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareSwitchHandGestureType"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SwitchHandForbidUIOperate",
"Forbid": true
},
{
"$type": "RPG.GameCore.SetGraphDynamicFloat",
"Name": "LiftMark_isOperating",
"TargetIDs": [],
"Value": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "CameraAnchor"
},
"WaitBlendFinish": true,
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Custom",
"CustomCurveName": "BlendCut01",
"BlendTime": 1
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.5
}
}
},
{
"$type": "RPG.GameCore.SwitchHandLiftToAnchor",
"Duration": 1,
"AnchorID": {
"Custom": true,
"Key": "LiftAnchor"
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.8
}
}
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvLocalPlayer"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Prop_NormalCube_01_RimHighlight_EraFlipperHint_Lod0.prefab",
"PositionOffset": {
"Y": -2
},
"SubObjectModifyDataList": [],
"SyncPropState": true
},
{
"$type": "RPG.GameCore.TriggerGroupEvent",
"EventName": {
"Value": "Tutorial_6319"
}
},
{
"$type": "RPG.GameCore.SwitchHandForbidUIOperate"
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "isLiftTutorial",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
"SuccessTaskList": [],
"FailedTaskList": [
{
"$type": "RPG.GameCore.ToastPile",
"DescTextID": {
"Hash": 5152113927260983043
}
},
{
"$type": "RPG.GameCore.ShowMiniGameFuncBtnEffect",
"CustomFuncBtnName": "SwitchHand_ExitGame"
}
]
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.ToastPile",
"DescTextID": {
"Hash": 15025983277985456775
}
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"InteractButton_Lift"
],
"IsEnable": true
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEventV2",
"EventName": {
"Value": "SwitchHandGesture_Lift_Exit"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "LiftMark_isOperating",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareSwitchHandGestureType",
"GestureType": "Lift"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SwitchHandForbidUIOperate",
"Forbid": true
},
{
"$type": "RPG.GameCore.SetGraphDynamicFloat",
"Name": "LiftMark_isOperating",
"TargetIDs": [],
"Value": {
"FixedValue": {
"Value": 0
}
}
},
{
"$type": "RPG.GameCore.ShowMiniGameFuncBtnEffect",
"IsShow": false,
"CustomFuncBtnName": "SwitchHand_ExitGame"
},
{
"$type": "RPG.GameCore.ShowMiniGameFuncBtnEffect",
"IsShow": false,
"CustomFuncBtnName": "SwitchHand_CancelGesture"
},
{
"$type": "RPG.GameCore.SwitchHandCancelLift"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "CameraAnchor"
},
"IsActive": false,
"BlendConfig": {
"ExportToJson": true,
"BlendType": "EaseIn",
"BlendTime": 2
},
"KeepMainCameraRotation": true,
"DisableProtectWhenBlending": true
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"InteractButton_Lift"
],
"IsEnable": true
},
{
"$type": "RPG.GameCore.SwitchHandForbidUIOperate"
}
]
}
]
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchOwnerEntity"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"ToState": "Open",
"FromAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "OpenCollider"
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Enter_Lift"
},
"InstanceID": {
"FixedValue": {
"Value": 0
}
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "Open",
"FromAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "ClosedCollider"
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Quit_Lift"
},
"InstanceID": {
"FixedValue": {
"Value": 0
}
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.AdvSetupButtonListTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"InteractButton_Lift"
],
"ButtonConfigs": [],
"IsOverrideValidGuestConfig": true,
"OverridedValidGuestConfig": {
"Teammember": false,
"FakePlayer": true
}
},
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "ClosedCollider"
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"InteractButton_Lift"
],
"IsEnable": true
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.SetGraphDynamicFloat",
"Name": "LiftMark_isOperating",
"TargetIDs": [],
"Value": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "OpenCollider"
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"InteractButton_Lift"
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitFloorCustomValueChange",
"Name": {
"Custom": true,
"Key": "FCV_isHand"
},
"OnChange": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareFloorCustomFloat",
"Name": {
"Custom": true,
"Key": "FCV_SwitchHand_PuzzleID"
},
"CompareValue": {
"FixedValue": {
"Value": 1
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByIsEraFlipperEntityShow"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "LiftMark_isOperating",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "CameraAnchor"
},
"WaitBlendFinish": true
},
{
"$type": "RPG.GameCore.ShowMiniGameFuncBtnEffect",
"CustomFuncBtnName": "SwitchHand_CancelGesture"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 2
}
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareFloorCustomFloatV2",
"Name": {
"Custom": true,
"Key": "FCV_isHand"
},
"CompareValue": {
"FixedValue": {
"Value": 1
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.ToastPile",
"DescTextID": {
"Hash": 2384080002362213746
}
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvLocalPlayer"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Prop_NormalCube_01_RimHighlight_EraFlipperHint_Lod0.prefab",
"PositionOffset": {
"Y": -2
},
"SubObjectModifyDataList": [],
"SyncPropState": true
}
]
}
]
}
]
}
]
}
]
}
]
}
],
"Condition": {
"$type": "RPG.GameCore.ByCompareFloorCustomFloat",
"Name": {
"Custom": true,
"Key": "FCV_isHand"
},
"CompareValue": {
"FixedValue": {
"Value": 1
}
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitFloorCustomValueChange",
"Name": {
"Custom": true,
"Key": "FCV_isHand"
},
"OnChange": [
{
"$type": "RPG.GameCore.ShowMiniGameFuncBtnEffect",
"IsShow": false,
"CustomFuncBtnName": "SwitchHand_ExitGame"
},
{
"$type": "RPG.GameCore.ShowMiniGameFuncBtnEffect",
"IsShow": false,
"CustomFuncBtnName": "SwitchHand_CancelGesture"
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByIsEraFlipperEntityShow"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "CameraAnchor"
},
"IsActive": false,
"WaitBlendFinish": true
}
]
}
]
}
]
}
],
"Condition": {
"$type": "RPG.GameCore.ByCompareFloorCustomFloat",
"Name": {
"Custom": true,
"Key": "FCV_isHand"
},
"CompareValue": {
"FixedValue": {
"Value": 0
}
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEventV2",
"EventName": {
"Value": "SwitchHand_LiftFinishToast"
},
"OnEvent": [
{
"$type": "RPG.GameCore.SetGraphDynamicFloat",
"Name": "isLiftTutorial",
"TargetIDs": [],
"Value": {
"FixedValue": {
"Value": 0
}
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchOwnerEntity"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEventV2",
"EventName": {
"Value": "Clt_TriggerClosed"
},
"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.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "CameraAnchor"
},
"IsActive": false,
"WaitBlendFinish": true
},
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "ClosedCollider"
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"InteractButton_Lift"
],
"IsEnable": true
},
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Open"
}
]
}
]
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "CameraAnchor"
},
"IsActive": false,
"WaitBlendFinish": true
},
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "ClosedCollider"
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"InteractButton_Lift"
],
"IsEnable": true
},
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1100
}
}
}
]
}
]
}
]
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEventV2",
"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"
}
]
}
]
}
],
"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
}
}
}
]
}
]
}
]
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Key": "LiftAnchor"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "CameraAnchor"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "FCV_isHand",
"Key": "FCV_isHand"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Key": "LiftMark_isOperating"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "FCV_SwitchHand_P01",
"Key": "FCV_SwitchHand_PuzzleID"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Key": "isLiftTutorial"
}
]
},
"Type": "Entity",
"EntityEventList": [
{
"Name": "SwitchHand_LiftFinishToast"
},
{
"Name": "SwitchHandGesture_Lift_Exit"
},
{
"Name": "Enter_Lift"
},
{
"Name": "Quit_Lift"
},
{
"Name": "Clt_TriggerClosed"
},
{
"Name": "Clt_TriggerOpen"
}
]
}