turnbasedgamedata/Config/Level/Props/Chap03/InitLevelGraph_Prop_Chap03_ClockToyBoxEvent_01.json
2024-10-21 03:16:22 -03:00

459 lines
14 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Locked",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvSetupButtonListTrigger",
"TriggerName": "InteractTrigger",
"ButtonsByName": [],
"ButtonConfigs": [
{
"ID": "EventButton",
"IconType": "SecretMissionIcon",
"ButtonText": {
"Value": "MazeText_Maze_GamePlay_ClockBox_Enter"
}
}
],
"ConsiderAngleLimit": true,
"InteractAngleRange": 90,
"ConsiderOwnerForwardAngleLimit": true,
"IsOverrideValidGuestConfig": true,
"OverridedValidGuestConfig": {
"FakePlayer": true
},
"MustNotInDanger": true
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "CustomState01",
"OnSuccess": [
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "Talk_434010401"
}
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.AdvOnButtonPressed",
"ButtonName": "EventButton",
"OnPressedCallback": [
{
"$type": "RPG.GameCore.AdvEntityFaceTo",
"SourceType": {
"$type": "RPG.GameCore.TargetFetchAdvLocalPlayer"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EnableSteer": true
},
{
"$type": "RPG.GameCore.TriggerPerformance",
"ValueSource": {},
"PerformanceType": "E",
"PerformanceID": 434010401
},
{
"$type": "RPG.GameCore.StartPropInteractMode",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Mode": "UsePose02"
},
{
"$type": "RPG.GameCore.LockPlayerControl",
"LockCameraControl": false
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Self_TriggerStartPuzzle"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Self_TriggerStartPuzzle"
},
"OnEvent": [
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "IsActivating",
"ParameterType": "Bool",
"Value": 1
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"EventButton"
]
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.SetGameplayBGMEmotionState",
"StateName": "State_Gameplay_ClockBoy"
},
{
"$type": "RPG.GameCore.CartoonScreenTransfer",
"TargetEntity": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByOwnerGroupAndID",
"SinglePropID": {},
"MultiPropID": [],
"PropIDInOwnerGroup": {
"IsDynamic": false,
"FixedValue": {
"Value": 300001
}
}
},
"AttachPoint": "Root",
"Duration": 1,
"AnimationCurvePath": "Camera/BlendCurve/WolfBro_CartoonFadeIn.asset"
},
{
"$type": "RPG.GameCore.EnablePlayerPlayIdleShow",
"Enable": false
},
{
"$type": "RPG.GameCore.PropInitPuzzle",
"BoardPath": {
"Custom": true,
"Key": "PuzzlePrefabRef"
},
"LocalPosition": {
"X": 0,
"Y": -100,
"Z": 0
},
"PuzzleArea": {
"Custom": true,
"Key": "PuzzleArea"
}
},
{
"$type": "RPG.GameCore.TakenMazePuzzleChallenge",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MazePuzzleChallengeID": {
"Value": "1031"
},
"AutoClosePuzzle": false,
"AutoResetPuzzle": false,
"AutoFinishChallenge": false,
"PrepareTime": 0
},
{
"$type": "RPG.GameCore.PropStartPuzzle",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"OnStart": [
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.1
}
}
},
{
"$type": "RPG.GameCore.CartoonScreenTransfer",
"TargetEntity": {
"$type": "RPG.GameCore.TargetFetchPuzzleEntity"
},
"AttachPoint": "Root",
"Duration": 1,
"AnimationCurvePath": "Camera/BlendCurve/WolfBro_CartoonFadeOut.asset",
"Close": true
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.2
}
}
},
{
"$type": "RPG.GameCore.TutorialTaskUnlock",
"TriggerParam": {
"Value": "6051"
}
},
{
"$type": "RPG.GameCore.BlockInputController",
"ActionNameList": []
}
]
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.OpticalIllusionPuzzleEventListener",
"FinishCallback": [
{
"$type": "RPG.GameCore.FinishMazePuzzleChallenge",
"MazePuzzleChallengeID": {
"Value": "1031"
}
},
{
"$type": "RPG.GameCore.PlayScreenTransfer",
"Mode": "SwitchOut",
"CustomTime": 0.2
},
{
"$type": "RPG.GameCore.PropClosePuzzle"
},
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "IsActivating",
"ParameterType": "Bool"
},
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 12101
}
}
},
{
"$type": "RPG.GameCore.WaitStreamingJobFinished"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.1
}
}
},
{
"$type": "RPG.GameCore.EnablePlayerPlayIdleShow"
},
{
"$type": "RPG.GameCore.SetGameplayBGMEmotionState",
"StateName": "State_Gameplay_ClockBoy",
"Reset": true
},
{
"$type": "RPG.GameCore.EndPropInteract"
},
{
"$type": "RPG.GameCore.UnLockPlayerControl",
"UnLockCameraControl": false
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "Talk_434010401"
}
}
],
"QuitCallback": [
{
"$type": "RPG.GameCore.FinishMazePuzzleChallenge",
"MazePuzzleChallengeID": {
"Value": "1031"
}
},
{
"$type": "RPG.GameCore.PlayScreenTransfer",
"Mode": "SwitchOut",
"CustomTime": 0.2
},
{
"$type": "RPG.GameCore.PropClosePuzzle"
},
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "IsActivating",
"ParameterType": "Bool"
},
{
"$type": "RPG.GameCore.WaitStreamingJobFinished"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.1
}
}
},
{
"$type": "RPG.GameCore.PlayScreenTransfer",
"CustomTime": 0.2
},
{
"$type": "RPG.GameCore.EnablePlayerPlayIdleShow"
},
{
"$type": "RPG.GameCore.SetGameplayBGMEmotionState",
"StateName": "State_Gameplay_ClockBoy",
"Reset": true
},
{
"$type": "RPG.GameCore.EndPropInteract"
},
{
"$type": "RPG.GameCore.UnLockPlayerControl",
"UnLockCameraControl": false
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"EventButton"
],
"IsEnable": true
}
],
"WayPassCallback": [],
"RotateBlockCallback": [],
"ReachCallback": [],
"ResetCallback": [
{
"$type": "RPG.GameCore.PlayScreenTransfer",
"Mode": "SwitchOut",
"CustomTime": 0.2,
"KeepDisplay": true,
"TextEnabled": true,
"TalkSentenceID": 100000004
},
{
"$type": "RPG.GameCore.PropResetPuzzle"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.1
}
}
},
{
"$type": "RPG.GameCore.PlayScreenTransfer",
"CustomTime": 0.2,
"KeepDisplay": true,
"TextEnabled": true,
"TalkSentenceID": 100000004
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Value": "Stages/DesignerBackup/Chapter03/_dependencies/Prefab/MirrormentValley/ClockBox01_Art.prefab",
"Key": "PuzzlePrefabRef"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "ClockBoxPuzzleBG",
"Key": "PuzzleArea"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "ControlledPawnKey"
}
]
},
"Type": "Entity"
}