417 lines
13 KiB
JSON
417 lines
13 KiB
JSON
//全局事件
|
|
|
|
{
|
|
|
|
"ID": 3010201,
|
|
|
|
"Events": {
|
|
|
|
"OnStart":{
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.5
|
|
|
|
},
|
|
|
|
//镜头拉远,观察地图
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMove",
|
|
|
|
"Type": "CustomBound",
|
|
|
|
"StretchKey": "Far",
|
|
|
|
"CanControl": false ,
|
|
|
|
"BoundIndexX":56,
|
|
|
|
"BoundIndexY":124
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 2.5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMove",
|
|
|
|
"Type": "Player"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigIf",
|
|
|
|
"OnSuccess": "OnNormal",
|
|
|
|
"OnFailure": "OnShortcut",
|
|
|
|
"Conditions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByRandom",
|
|
|
|
"Odds": 50
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnNormal": {
|
|
|
|
"Actions":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigOpenDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//根据选项模式选择选项
|
|
|
|
"$type": "Share.CConfigChoiceServer",
|
|
|
|
"OptionsMode": "Normal",
|
|
|
|
"Title":"Event3010201_1",
|
|
|
|
"Description": "Event3010201_2",
|
|
|
|
"QuestionDescription": "Event3010201_3",
|
|
|
|
"Choices": [
|
|
|
|
{
|
|
|
|
"OptionText": "Event3010201_4",
|
|
|
|
"OptionIcon1": 112,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_1_2"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event3010201_5",
|
|
|
|
"OptionIcon1": 113,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_2"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event3010201_6",
|
|
|
|
"OptionIcon1": 113,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_4"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnShortcut": {
|
|
|
|
"Actions":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigOpenDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
//根据选项模式选择选项
|
|
|
|
"$type": "Share.CConfigChoiceServer",
|
|
|
|
"OptionsMode": "Normal",
|
|
|
|
"Title":"Event3010201_1",
|
|
|
|
"Description": "Event3010201_2",
|
|
|
|
"QuestionDescription": "Event3010201_3",
|
|
|
|
"Choices": [
|
|
|
|
{
|
|
|
|
"OptionText": "Event3010201_4",
|
|
|
|
"OptionIcon1": 112,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event3010201_5",
|
|
|
|
"OptionIcon1": 113,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_2"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event3010201_6",
|
|
|
|
"OptionIcon1": 113,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_4"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"OptionText": "Event3010201_7",
|
|
|
|
"OptionIcon1": 107,
|
|
|
|
"OptionContents": [
|
|
|
|
{
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Op_3"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Op_1":{
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCloseDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.5
|
|
|
|
},
|
|
|
|
//镜头拉远,观察地图
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMove",
|
|
|
|
"Type": "CustomBound",
|
|
|
|
"StretchKey": "Far",
|
|
|
|
"CanControl": false ,
|
|
|
|
"BoundIndexX":56,
|
|
|
|
"BoundIndexY":124
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMove",
|
|
|
|
"Type": "Player"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnShortcut"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Op_1_2":{
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCloseDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.5
|
|
|
|
},
|
|
|
|
//镜头拉远,观察地图
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMove",
|
|
|
|
"Type": "CustomBound",
|
|
|
|
"StretchKey": "Far",
|
|
|
|
"CanControl": false ,
|
|
|
|
"BoundIndexX":56,
|
|
|
|
"BoundIndexY":124
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMove",
|
|
|
|
"Type": "Player"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "OnNormal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Op_2":{ //明雷
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCloseDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"NodeType": "All",
|
|
|
|
"X": 4,
|
|
|
|
"Y": 9,
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"NodeType": "All",
|
|
|
|
"X": 5,
|
|
|
|
"Y": 9,
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigFinishEvent"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Op_3":{ //中间
|
|
|
|
"Actions":[
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigSetHollowVariable",
|
|
|
|
// "Key": "Event.3010201",
|
|
|
|
// "Value":1
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigLogText",
|
|
|
|
"Messages": [
|
|
|
|
"Event3010201_8"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCloseDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMove",
|
|
|
|
"Type": "CustomBound",
|
|
|
|
"StretchKey": "Far",
|
|
|
|
"CanControl": false ,
|
|
|
|
"BoundIndexX":48,
|
|
|
|
"BoundIndexY":118
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"NodeType": "All",
|
|
|
|
"X": 6,
|
|
|
|
"Y": 8,
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"NodeType": "All",
|
|
|
|
"X": 6,
|
|
|
|
"Y": 7,
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"X": 6,
|
|
|
|
"Y": 6,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"NodeType": "All",
|
|
|
|
"X": 6,
|
|
|
|
"Y": 5,
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"NodeType": "All",
|
|
|
|
"X": 6,
|
|
|
|
"Y": 4,
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.8
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMove",
|
|
|
|
"Type": "Player"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigFinishEvent"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Op_4":{ //暗雷
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCloseDialog"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"NodeType": "All",
|
|
|
|
"X": 7,
|
|
|
|
"Y": 9,
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"NodeType": "All",
|
|
|
|
"X": 8,
|
|
|
|
"Y": 9,
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
],
|
|
|
|
"ToVisibleState": ["Visible"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigFinishEvent"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|