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

947 lines
28 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Self_Use"
},
"OnEvent": [
{
"$type": "RPG.GameCore.StartPropInteractMode",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Mode": "UsePose02"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.7
}
}
},
{
"$type": "RPG.GameCore.EndPropInteract"
}
]
}
]
},
{
"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.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "OpenState",
"ParameterType": "Int",
"Value": {
"FixedValue": {
"Value": 2
}
}
},
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "MouthState",
"ParameterType": "Int",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "EyeState",
"ParameterType": "Int",
"Value": {
"FixedValue": {
"Value": 1
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerBite"
},
"OnEvent": [
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "OpenState",
"ParameterType": "Int",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "OpenState",
"ParameterType": "Int",
"Value": {
"FixedValue": {
"Value": 2
}
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerBright"
},
"OnEvent": [
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "MouthState",
"ParameterType": "Int",
"Value": {
"FixedValue": {
"Value": 2
}
}
},
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "EyeState",
"ParameterType": "Int",
"Value": {
"FixedValue": {
"Value": 2
}
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerDark"
},
"OnEvent": [
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "MouthState",
"ParameterType": "Int",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "EyeState",
"ParameterType": "Int",
"Value": {
"FixedValue": {
"Value": 1
}
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerBreath"
},
"OnEvent": [
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "TriggerBreath",
"ParameterType": "Trigger",
"Value": {
"FixedValue": {
"Value": 4
}
}
}
]
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitAnimStateChangeV2",
"StateName": "MouthClosed01",
"IsListenAllLayer": true,
"OnEvent": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_amphoreus_prop_truthlion_mouth_open"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.AddTimelineEntityEventListener",
"Target": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"StateEnterListener": [
{
"ListenState": [
"L0_Idle01"
],
"Callback": [
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_TriggerLock"
}
}
]
},
{
"ListenState": [
"L1_Broken01"
],
"Callback": [
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_TriggerOpen"
}
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.AdvOnButtonPressed",
"ButtonName": "Interact",
"OnPressedCallback": [
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Self_Use"
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.5
}
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "Clt_TriggerClose"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitPropStateChangeV2",
"FromAnyState": true,
"ToAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Locked",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "Intact"
},
{
"$type": "RPG.GameCore.SetNavMeshState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Name": {
"Value": "Intact"
}
},
{
"$type": "RPG.GameCore.AdvTriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ConfigNameList": [
"Ball"
]
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
],
"IsEnable": true
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "Intact"
},
{
"$type": "RPG.GameCore.SetNavMeshState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Name": {
"Value": "Intact"
}
},
{
"$type": "RPG.GameCore.AdvRemoveEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ConfigNameList": [
"Ball"
]
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
]
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "Broken"
},
{
"$type": "RPG.GameCore.SetNavMeshState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Name": {
"Value": "Broken"
}
},
{
"$type": "RPG.GameCore.AdvRemoveEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ConfigNameList": [
"Ball"
]
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
]
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.AdvSetupButtonListTrigger",
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
],
"ButtonConfigs": [],
"ConsiderAngleLimit": true,
"ConsiderOwnerForwardAngleLimit": true
},
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Locked",
"OnSuccess": [
{
"$type": "RPG.GameCore.SetTimelineEntityState",
"Target": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"StateName": {
"Value": "L0_Idle01"
}
},
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "Intact"
},
{
"$type": "RPG.GameCore.SetNavMeshState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Name": {
"Value": "Intact"
}
},
{
"$type": "RPG.GameCore.AdvTriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ConfigNameList": [
"Ball"
]
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
],
"IsEnable": true
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "Intact"
},
{
"$type": "RPG.GameCore.SetNavMeshState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Name": {
"Value": "Intact"
}
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
]
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.SetTimelineEntityState",
"Target": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"StateName": {
"Value": "L1_Broken01"
}
},
{
"$type": "RPG.GameCore.AdvSetColliderGroupState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"GroupName": "Broken"
},
{
"$type": "RPG.GameCore.SetNavMeshState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Name": {
"Value": "Broken"
}
},
{
"$type": "RPG.GameCore.AdvEnableButtons",
"TriggerName": "InteractTrigger",
"ButtonsByName": [
"Interact"
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitServerTimelineStateChange"
}
]
}
],
"ValueSource": {
"Values": []
},
"Type": "Entity",
"EntityEventList": [
{
"Name": "Clt_TriggerOpen"
},
{
"Name": "Clt_TriggerClose"
},
{
"Name": "Srv_TriggerOpen",
"IsClient": false
},
{
"Name": "Srv_TriggerClose",
"IsClient": false
},
{
"Name": "Clt_TriggerBite"
},
{
"Name": "Clt_TriggerBright"
},
{
"Name": "Clt_TriggerDark"
},
{
"Name": "Clt_TriggerBreath"
},
{
"Name": "Clt_TriggerLock"
},
{
"Name": "Srv_TriggerLock",
"IsClient": false
},
{
"Name": "Self_Use",
"IsPrivate": true
}
]
}