mirror of
https://gitlab.com/Dimbreath/turnbasedgamedata.git
synced 2026-03-05 15:55:55 +08:00
580 lines
18 KiB
JSON
580 lines
18 KiB
JSON
{
|
|
"OnInitSequece": [],
|
|
"OnStartSequece": [
|
|
{
|
|
"Order": 100,
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvSetupButtonListTrigger",
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"PrepareInteract",
|
|
"Option1",
|
|
"Option2",
|
|
"Option3",
|
|
"OptionExit"
|
|
],
|
|
"ButtonConfigs": []
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "UpdateInteractState"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PropStateExecute",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"State": "Locked",
|
|
"Execute": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvEnableButtons",
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"PrepareInteract"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.ParallelConfig",
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvOnButtonPressed",
|
|
"ButtonName": "PrepareInteract",
|
|
"OnPressedCallback": [
|
|
{
|
|
"$type": "RPG.GameCore.SetHudTemplate",
|
|
"TemplateID": 1011,
|
|
"EnableTemplate": true
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SetGraphDynamicFloat",
|
|
"Name": "CurrentOpenLight",
|
|
"TargetIDs": [],
|
|
"Value": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SetGraphDynamicFloat",
|
|
"Name": "InteractState",
|
|
"TargetIDs": [],
|
|
"Value": {
|
|
"FixedValue": {
|
|
"Value": 2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PerformanceTransition",
|
|
"SwitchInTime": 0,
|
|
"SwitchKeepTime": 0.1,
|
|
"SwitchOutTime": 0.1,
|
|
"CreateNpcList": [],
|
|
"CaptureNpcList": [],
|
|
"DestroyNpcList": [],
|
|
"CreateProp": {
|
|
"TaskEnabled": false
|
|
},
|
|
"DestroyProp": {
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"TaskEnabled": false
|
|
},
|
|
"AdvCreateGroupEntity": {
|
|
"TaskEnabled": false
|
|
},
|
|
"AdvDestroyGroupEntity": {
|
|
"TaskEnabled": false
|
|
},
|
|
"ActiveVirtualCamera": {
|
|
"TaskEnabled": false
|
|
},
|
|
"ActiveTemplateVirtualCamera": {
|
|
"TaskEnabled": false
|
|
},
|
|
"SwitchCharacterAnchor": {
|
|
"TaskEnabled": false
|
|
},
|
|
"AdvNpcFaceToPlayer": {
|
|
"SteerImmediately": true,
|
|
"FinishImmadiate": true,
|
|
"TaskEnabled": false
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ActiveVirtualCamera",
|
|
"LevelAreaCameraKey": {
|
|
"Custom": true,
|
|
"Key": "InteractVirtualCamera"
|
|
},
|
|
"BlendConfig": {
|
|
"ExportToJson": true,
|
|
"BlendType": "Cut",
|
|
"BlendTime": 0.5
|
|
},
|
|
"DynamicParams": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.WaitEntityEvent",
|
|
"EventName": {
|
|
"Value": "CommonExitInteract"
|
|
},
|
|
"OnEvent": [
|
|
{
|
|
"$type": "RPG.GameCore.SetHudTemplate",
|
|
"TemplateID": 1011
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PerformanceTransition",
|
|
"SwitchInTime": 0.1,
|
|
"SwitchKeepTime": 0.1,
|
|
"SwitchOutTime": 0.1,
|
|
"CreateNpcList": [],
|
|
"CaptureNpcList": [],
|
|
"DestroyNpcList": [],
|
|
"CreateProp": {
|
|
"TaskEnabled": false
|
|
},
|
|
"DestroyProp": {
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"TaskEnabled": false
|
|
},
|
|
"AdvCreateGroupEntity": {
|
|
"TaskEnabled": false
|
|
},
|
|
"AdvDestroyGroupEntity": {
|
|
"TaskEnabled": false
|
|
},
|
|
"ActiveVirtualCamera": {
|
|
"TaskEnabled": false
|
|
},
|
|
"ActiveTemplateVirtualCamera": {
|
|
"TaskEnabled": false
|
|
},
|
|
"SwitchCharacterAnchor": {
|
|
"TaskEnabled": false
|
|
},
|
|
"AdvNpcFaceToPlayer": {
|
|
"SteerImmediately": true,
|
|
"FinishImmadiate": true,
|
|
"TaskEnabled": false
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ActiveVirtualCamera",
|
|
"LevelAreaCameraKey": {
|
|
"Custom": true,
|
|
"Key": "InteractVirtualCamera"
|
|
},
|
|
"IsActive": false,
|
|
"BlendConfig": {
|
|
"ExportToJson": true,
|
|
"BlendType": "Cut"
|
|
},
|
|
"DynamicParams": {},
|
|
"ImmediatelyRefresh": true
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SetGraphDynamicFloat",
|
|
"Name": "InteractState",
|
|
"TargetIDs": [],
|
|
"Value": {
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TriggerGroupEvent",
|
|
"EventName": {
|
|
"Value": "LightDevice_HideMark"
|
|
}
|
|
}
|
|
],
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Order": 1000,
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.ParallelConfig",
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitGraphDynamicValueChange",
|
|
"Name": "InteractState",
|
|
"OnChange": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "UpdateInteractState"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.WaitEntityEvent",
|
|
"EventName": {
|
|
"Value": "UpdateInteractState"
|
|
},
|
|
"OnEvent": [
|
|
{
|
|
"$type": "RPG.GameCore.PropStateExecute",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"Execute": [
|
|
{
|
|
"$type": "RPG.GameCore.SwitchCaseByDynamicValue",
|
|
"Switch": {
|
|
"IsDynamic": true,
|
|
"PostfixExpr": {
|
|
"OpCodes": "AQAR",
|
|
"FixedValues": [],
|
|
"DynamicHashes": [
|
|
-713689755
|
|
]
|
|
}
|
|
},
|
|
"CaseTaskList": [
|
|
{
|
|
"Case": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
},
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvEnableButtons",
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"Option1",
|
|
"Option2",
|
|
"Option3",
|
|
"OptionExit",
|
|
"PrepareInteract"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Case": {
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
},
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvEnableButtons",
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"Option1",
|
|
"Option2",
|
|
"Option3",
|
|
"OptionExit",
|
|
"PrepareInteract"
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AdvEnableButtons",
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"PrepareInteract"
|
|
],
|
|
"IsEnable": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Case": {
|
|
"FixedValue": {
|
|
"Value": 2
|
|
}
|
|
},
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvEnableButtons",
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"Option1",
|
|
"Option2",
|
|
"Option3",
|
|
"OptionExit",
|
|
"PrepareInteract"
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AdvEnableButtons",
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"Option1",
|
|
"Option2",
|
|
"Option3",
|
|
"OptionExit"
|
|
],
|
|
"IsEnable": true
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TriggerGroupEvent",
|
|
"EventName": {
|
|
"Value": "LightDevice_ShowMark"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"DefaultTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitSecond",
|
|
"WaitTime": {
|
|
"FixedValue": {
|
|
"Value": 0.1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"IsLoop": true,
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitEntityEvent",
|
|
"EventName": {
|
|
"Value": "CloseAllDevice"
|
|
},
|
|
"OnEvent": [
|
|
{
|
|
"$type": "RPG.GameCore.SwitchOnPartialFlipDevice"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SwitchOnPartialFlipDevice"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SwitchOnPartialFlipDevice"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"IsLoop": true,
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvOnButtonPressed",
|
|
"ButtonName": "Option1",
|
|
"OnPressedCallback": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByPartialFlipDeviceState",
|
|
"IsOn": true
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "CloseAllDevice"
|
|
}
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "CloseAllDevice"
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.WaitSecond",
|
|
"WaitTime": {
|
|
"FixedValue": {
|
|
"Value": 0.1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SwitchOnPartialFlipDevice"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"IsLoop": true,
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvOnButtonPressed",
|
|
"ButtonName": "Option2",
|
|
"OnPressedCallback": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByPartialFlipDeviceState",
|
|
"IsOn": true
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "CloseAllDevice"
|
|
}
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "CloseAllDevice"
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.WaitSecond",
|
|
"WaitTime": {
|
|
"FixedValue": {
|
|
"Value": 0.1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SwitchOnPartialFlipDevice"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"IsLoop": true,
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvOnButtonPressed",
|
|
"ButtonName": "Option3",
|
|
"OnPressedCallback": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByPartialFlipDeviceState",
|
|
"IsOn": true
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "CloseAllDevice"
|
|
}
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "CloseAllDevice"
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.WaitSecond",
|
|
"WaitTime": {
|
|
"FixedValue": {
|
|
"Value": 0.1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SwitchOnPartialFlipDevice"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"IsLoop": true,
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvOnButtonPressed",
|
|
"ButtonName": "OptionExit",
|
|
"OnPressedCallback": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "CommonExitInteract"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ValueSource": {
|
|
"Values": [
|
|
{
|
|
"$type": "RPG.GameCore.SharedString",
|
|
"Key": "InteractVirtualCamera"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SharedFloat",
|
|
"Value": 1,
|
|
"Key": "InteractState"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SharedFloat",
|
|
"Key": "CurrentOpenLight"
|
|
}
|
|
]
|
|
},
|
|
"Type": "Entity"
|
|
} |