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

989 lines
28 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.AdvSetupButtonListTrigger",
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
],
"ButtonConfigs": [],
"IsOverrideValidGuestConfig": true,
"OverridedValidGuestConfig": {}
},
{
"$type": "RPG.GameCore.SelectorConfig",
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Open",
"Execute": [
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
]
},
{
"$type": "RPG.GameCore.SetGraphDynamicFloat",
"Name": "Loc_CanInteract",
"TargetIDs": [],
"Value": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Locked",
"Execute": [
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Enable": true
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
],
"IsEnable": true
},
{
"$type": "RPG.GameCore.SetGraphDynamicFloat",
"Name": "Loc_CanInteract",
"TargetIDs": [],
"Value": {
"IsDynamic": false,
"FixedValue": {
"Value": 1
}
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Execute": [
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Enable": true
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
],
"IsEnable": true
},
{
"$type": "RPG.GameCore.SetGraphDynamicFloat",
"Name": "Loc_CanInteract",
"TargetIDs": [],
"Value": {
"IsDynamic": false,
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Scene_Static/Eff_Chap03_Prop_Controller_02_Lod0.prefab",
"IsAttachToTargetEntity": true,
"AttachPoint": "EffectRoot",
"Scale": {
"X": 1,
"Y": 1,
"Z": 1
}
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.AdvOverridePropButtonConfig",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ButtonConfigs": [
{
"ID": "Interact",
"IconType": "TriggerProp",
"ButtonText": {
"Value": "PropInteractTitle_318"
}
}
],
"Refresh": true
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.AdvOnButtonPressed",
"ButtonName": "Interact",
"OnPressedCallback": [
{
"$type": "RPG.GameCore.SelectorConfig",
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Locked",
"Execute": [
{
"$type": "RPG.GameCore.ToastPile",
"DescTextID": {
"Hash": -1402109945
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Execute": [
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Self_Use"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
}
]
}
]
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Self_Use"
},
"OnEvent": [
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_OnUseStart"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
},
{
"$type": "RPG.GameCore.StartPropInteractMode",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Mode": "UsePose02"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.2
}
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_OnUseFinish"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.5
}
}
},
{
"$type": "RPG.GameCore.EndPropInteract"
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerLock"
},
"OnEvent": [
{
"$type": "RPG.GameCore.SelectorConfig",
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Execute": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ToState": "Locked"
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Open",
"Execute": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Open",
"ToState": "Locked"
}
]
}
]
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerClose"
},
"OnEvent": [
{
"$type": "RPG.GameCore.SelectorConfig",
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Open",
"Execute": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Open"
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Locked",
"Execute": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Locked"
}
]
}
]
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerOpen"
},
"OnEvent": [
{
"$type": "RPG.GameCore.SelectorConfig",
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Execute": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ToState": "Open"
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Locked",
"Execute": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Locked",
"ToState": "Open"
}
]
}
]
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "CltSrv_TriggerOpen"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1010
}
},
"OnUICancel": [
{
"$type": "RPG.GameCore.ToastPile",
"DescTextKey": {
"Custom": true,
"Key": "LockedText"
}
}
],
"OnCheckItemFail": [
{
"$type": "RPG.GameCore.ToastPile",
"DescTextKey": {
"Custom": true,
"Key": "LockedText"
}
}
],
"EnableAdvanceInteract": true
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "CltSrv_TriggerClose"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1100
}
},
"OnUICancel": [
{
"$type": "RPG.GameCore.ToastPile",
"DescTextKey": {
"Custom": true,
"Key": "LockedText"
}
}
],
"OnCheckItemFail": [
{
"$type": "RPG.GameCore.ToastPile",
"DescTextKey": {
"Custom": true,
"Key": "LockedText"
}
}
],
"EnableAdvanceInteract": true
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerToggle"
},
"OnEvent": [
{
"$type": "RPG.GameCore.SelectorConfig",
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Execute": [
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_TriggerOpen"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Open",
"Execute": [
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_TriggerLock"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Locked",
"Execute": [
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_TriggerClose"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
}
]
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"ToState": "Locked",
"FromAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Enable": true
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_TriggerEnableInteract"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_OnLocked"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Enable": true
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_TriggerEnableInteract"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_OnClosed"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"ToState": "Open",
"FromAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_TriggerDisableInteract"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_OnOpened"
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
},
{
"$type": "RPG.GameCore.RemoveEffect",
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Scene_Static/Eff_Chap03_Prop_Controller_02_Lod0.prefab",
"AttachPointName": "EffectRoot",
"Flags": []
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitServerPropStateChange"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitServerPropStateChange"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitServerPropStateChange"
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerEnableInteract"
},
"OnEvent": [
{
"$type": "RPG.GameCore.SetGraphDynamicFloat",
"Name": "Loc_CanInteract",
"TargetIDs": [],
"Value": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAAAAIK",
"FixedValues": [
{
"Value": 1
}
],
"DynamicHashes": [
-816050735
]
}
}
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerDisableInteract"
},
"OnEvent": [
{
"$type": "RPG.GameCore.SetGraphDynamicFloat",
"Name": "Loc_CanInteract",
"TargetIDs": [],
"Value": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAAAAMK",
"FixedValues": [
{
"Value": 1
}
],
"DynamicHashes": [
-816050735
]
}
}
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitGraphDynamicValueChange",
"Name": "Loc_CanInteract",
"OnChange": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "Loc_CanInteract",
"Value": {
"IsDynamic": false,
"FixedValue": {
"Value": 1
}
},
"CompareType": "GreaterEqual"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
],
"IsEnable": true
},
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Enable": true
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
]
},
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedInt",
"Key": "Loc_CanInteract"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "PropInteractTitle_317",
"Key": "LockedText"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "ControllerCam"
}
]
},
"Type": "Entity"
}