189 lines
No EOL
6.6 KiB
JSON
189 lines
No EOL
6.6 KiB
JSON
{
|
|
|
|
"ID": 2020851, //区域入口
|
|
|
|
"Events": {
|
|
|
|
"OnStart": {
|
|
|
|
"Actions": [
|
|
|
|
//镜头
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMove",
|
|
|
|
"StretchKey": "Far",
|
|
|
|
"Type": "CustomBound",
|
|
|
|
"BoundIndexX":261,
|
|
|
|
"BoundIndexY":351
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": "0.5"
|
|
|
|
},
|
|
|
|
//关门
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"X": 6,
|
|
|
|
"Y": 19,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"Visible"
|
|
|
|
],
|
|
|
|
"ToVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetMapState",
|
|
|
|
"X": 11,
|
|
|
|
"Y": 16,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"Count": 1,
|
|
|
|
"FromVisibleState": [
|
|
|
|
"Visible"
|
|
|
|
],
|
|
|
|
"ToVisibleState": [
|
|
|
|
"VisibleByTriggerEvent"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": "0.5"
|
|
|
|
},
|
|
|
|
//敌人1
|
|
|
|
//下一步出现
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": 8,
|
|
|
|
"Y": 16,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"EventID": [
|
|
|
|
2020852
|
|
|
|
], //移动敌人
|
|
|
|
"EventState": "ShowEvent",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
//上一步还原
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": 7,
|
|
|
|
"Y": 16,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
"TargetEventID": [
|
|
|
|
2020852
|
|
|
|
],
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"EventID": [
|
|
|
|
1000
|
|
|
|
],
|
|
|
|
"EventState": "Unstable",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
//敌人2
|
|
|
|
//下一步出现
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": 9,
|
|
|
|
"Y": 19,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"EventID": [
|
|
|
|
2020852
|
|
|
|
], //移动敌人
|
|
|
|
"EventState": "ShowEvent",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
//上一步还原
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": 10,
|
|
|
|
"Y": 19,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
"TargetEventID": [
|
|
|
|
2020852
|
|
|
|
],
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"EventID": [
|
|
|
|
1000
|
|
|
|
],
|
|
|
|
"EventState": "Unstable",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
//入口格子失效
|
|
|
|
//拿到玩家坐标
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Player_X",
|
|
|
|
"SpecialValue":"playerpos(X)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Player_Y",
|
|
|
|
"SpecialValue":"playerpos(Y)"
|
|
|
|
},
|
|
|
|
//判断玩家在哪
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigJump",
|
|
|
|
"Jump":"switch_1",
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "Player_X",
|
|
|
|
"Param": 7,
|
|
|
|
"CompareType": "Equal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "Player_Y",
|
|
|
|
"Param": 19,
|
|
|
|
"CompareType": "Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"switch_1":{
|
|
|
|
"Actions":[
|
|
|
|
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigShowTip",
|
|
|
|
"TipID": 202080508
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigShowTip",
|
|
|
|
"TipID": 202080509
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": "1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigCameraMove",
|
|
|
|
"StretchKey": "Back",
|
|
|
|
"Type": "Player"
|
|
|
|
},
|
|
|
|
//关门标记
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetHollowVariable",
|
|
|
|
"Key": "CloseDoor.2020834",
|
|
|
|
"Value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigFinishEvent"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} |