turnbasedgamedata/Config/Level/TestLevel/JigsawPuzzle_JigsawSir_New_V2.json
2025-02-24 07:50:34 -03:00

711 lines
22 KiB
JSON

{
"OnInitSequece": [
{
"TaskList": []
}
],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.SelectorConfig",
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Locked",
"Execute": [
{
"$type": "RPG.GameCore.PropInitPuzzle",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"BoardPath": {
"Custom": true,
"Key": "PuzzleBoardPath"
},
"LocalPosition": {},
"LocalRotation": {
"Y": 180
}
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_JigsawFrame_01_PuzzlePiece01_Lod0.prefab",
"UniqueEffectName": "Piece1",
"AttachPoint": "PieceEffect1",
"SubObjectModifyDataList": []
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_JigsawFrame_01_PuzzlePiece02_Lod0.prefab",
"UniqueEffectName": "Piece2",
"AttachPoint": "PieceEffect2",
"SubObjectModifyDataList": []
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_JigsawFrame_01_PuzzlePiece03_Lod0.prefab",
"UniqueEffectName": "Piece3",
"AttachPoint": "PieceEffect3",
"SubObjectModifyDataList": []
},
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonCallback": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1210
}
}
}
],
"InteractAngleRange": 90,
"OverrideTargetTypes": [],
"SkipFakeAvatar": false,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Open",
"Execute": [
{
"$type": "RPG.GameCore.PropInitPuzzle",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"BoardPath": {
"Custom": true,
"Key": "PuzzleBoardPath"
},
"LocalPosition": {},
"LocalRotation": {
"Y": 180
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "TriggerEnable",
"Execute": [
{
"$type": "RPG.GameCore.PropInitPuzzle",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"BoardPath": {
"Custom": true,
"Key": "PuzzleBoardPath"
},
"LocalPosition": {},
"LocalRotation": {
"Y": 180
}
},
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonCallback": [
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.35
}
}
},
{
"$type": "RPG.GameCore.LockPlayerControl"
},
{
"$type": "RPG.GameCore.PropStartPuzzle",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.SetLocalPlayerDitherAlpha"
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "PuzzleCameraAnchor"
},
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Custom",
"CustomCurveName": "BlendCut_08to1",
"BlendTime": 0.3
},
"DynamicParams": {}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"TriggerSelect": "PropInteractionTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"InteractAngleRange": 90,
"OverrideTargetTypes": [],
"SkipFakeAvatar": false,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Execute": [
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "TriggerDisable",
"Execute": [
{
"$type": "RPG.GameCore.PropInitPuzzle",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"BoardPath": {
"Custom": true,
"Key": "PuzzleBoardPath"
},
"LocalPosition": {},
"LocalRotation": {
"Y": 180
}
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_JigsawFrame_01_PuzzlePiece01_Lod0.prefab",
"UniqueEffectName": "Piece1",
"AttachPoint": "PieceEffect1",
"SubObjectModifyDataList": []
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_JigsawFrame_01_PuzzlePiece02_Lod0.prefab",
"UniqueEffectName": "Piece2",
"AttachPoint": "PieceEffect2",
"SubObjectModifyDataList": []
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_JigsawFrame_01_PuzzlePiece03_Lod0.prefab",
"UniqueEffectName": "Piece3",
"AttachPoint": "PieceEffect3",
"SubObjectModifyDataList": []
},
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Custom": true,
"Key": "UnlockWhenDisableCustomString"
}
},
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1920
}
}
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropPuzzleEventListener",
"FinishCallback": [
{
"$type": "RPG.GameCore.SetGraphDynamicFloat",
"Name": "Finished",
"TargetIDs": [],
"Value": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 11000
}
}
}
],
"QuitCallback": [
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.5
}
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "Finished",
"Value": {
"FixedValue": {
"Value": 0.9
}
},
"CompareType": "Less"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetLocalPlayerDitherAlpha",
"DitherAlpha": 1,
"Duration": 0.2
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "PuzzleCameraAnchor"
},
"IsActive": false,
"DynamicParams": {}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"Enabled": true,
"TriggerSelect": "PropInteractionTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.UnLockPlayerControl"
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [
"Chap03_GameplayProp_Jigsaw_01"
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeServerListenerConfig"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "Open",
"ToState": "TriggerEnable",
"OnChange": [
{
"$type": "RPG.GameCore.ToastPage",
"MessageOne": {
"Hash": 9585984743816504301
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"Enabled": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonCallback": [
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.35
}
}
},
{
"$type": "RPG.GameCore.LockPlayerControl"
},
{
"$type": "RPG.GameCore.PropStartPuzzle",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.SetLocalPlayerDitherAlpha"
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "PuzzleCameraAnchor"
},
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Custom",
"CustomCurveName": "BlendCut_08to1",
"BlendTime": 0.6
},
"DynamicParams": {}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"TriggerSelect": "PropInteractionTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"InteractAngleRange": 90,
"OverrideTargetTypes": [],
"SkipFakeAvatar": false,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "TriggerEnable",
"OnChange": [
{
"$type": "RPG.GameCore.TriggerGroupEvent",
"EventName": {
"Custom": true,
"Key": "JigsawResult_String"
}
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Custom": true,
"Key": "CompleteCustomString"
}
},
{
"$type": "RPG.GameCore.ToastPage",
"MessageOne": {
"Hash": 2012001348524219443
},
"MessageTwo_DS": {
"Custom": true,
"Key": "CompleteHintString"
},
"CanInterrupt": true
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "SnapCamera"
},
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Linear",
"BlendTime": 0.6
},
"DynamicParams": {}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 2
}
},
"IsRealtime": true
},
{
"$type": "RPG.GameCore.PropClosePuzzle",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 1
}
},
"IsRealtime": true
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "PuzzleCameraAnchor"
},
"IsActive": false,
"DynamicParams": {}
},
{
"$type": "RPG.GameCore.SetLocalPlayerDitherAlpha",
"DitherAlpha": 1,
"Duration": 0.2
},
{
"$type": "RPG.GameCore.UnLockPlayerControl"
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "Locked",
"ToState": "Open",
"OnChange": [
{
"$type": "RPG.GameCore.ToastPage",
"MessageOne": {
"Hash": 5878208160311136032
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "PuzzleCameraAnchor"
},
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Custom",
"CustomCurveName": "BlendCut_08to1",
"BlendTime": 0.6
},
"DynamicParams": {}
},
{
"$type": "RPG.GameCore.SetEffectAnimatorState",
"UniqueEffectName": "Piece1",
"StateName": "FadeOut"
},
{
"$type": "RPG.GameCore.SetEffectAnimatorState",
"UniqueEffectName": "Piece2",
"StateName": "FadeOut"
},
{
"$type": "RPG.GameCore.SetEffectAnimatorState",
"UniqueEffectName": "Piece3",
"StateName": "FadeOut"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 3
}
}
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "PuzzleCameraAnchor"
},
"IsActive": false,
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Custom",
"CustomCurveName": "BlendCut_08to1",
"BlendTime": 0.6
},
"DynamicParams": {}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeServerListenerConfig"
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Key": "PuzzleBoardPath"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "PuzzleCameraAnchor"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "Jigsaw_Fake_CompleteCustomString",
"Key": "JigsawResult_String"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "Dev_JigsawPuzzleResultHint_NewTreasureBox",
"Key": "CompleteHintString"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "SnapCamera"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Key": "NeedPieces"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Key": "CollectedPieces"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Key": "Finished"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "Jigsaw_Fake_CompleteCustomString",
"Key": "CompleteCustomString"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "Jigsaw_Fake_UnlockWhenDisableCustomString",
"Key": "UnlockWhenDisableCustomString"
}
]
}
}