HollowPS_TV_experiments/extras/zzz-0.1-jsons/Event2011000.json

325 lines
No EOL
12 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"ID": 2011000, //推箱子 全局事件1
"Specials": {
"turnlock":0
},
"Events":{
"OnHollowCreated":{
"Actions":[
{
"$type": "Share.CConfigSwitchServer",
"Switch": [
{
"Weight": 10,
"Actions": [
{
"$type": "Share.CConfigJump",
"Jump": "OnCreateBox1"
}
]
},
{
"Weight": 10,
"Actions": [
{
"$type": "Share.CConfigJump",
"Jump": "OnCreateBox2"
}
]
},
{
"Weight": 10,
"Actions": [
{
"$type": "Share.CConfigJump",
"Jump": "OnCreateBox3"
}
]
},
{
"Weight": 10,
"Actions": [
{
"$type": "Share.CConfigJump",
"Jump": "OnCreateBox4"
}
]
}
]
}
]
},
"OnCreateBox1":{
"Actions":[
{
"$type": "Share.CConfigEventModification",
"X":2,
"Y":1,
"Position":"Absolute",
"Radius":0,
"ModificationNum":1,
"ModificationType":1,
"TargetEventID": [
1003
],
"TargetEventType":1,
"EventID":[
2011003
],
"EventState":"ShowEvent",
"VisibleState":"Visible"
}
]
},
"OnCreateBox2":{
"Actions":[
{
"$type": "Share.CConfigEventModification",
"X":2,
"Y":2,
"Position":"Absolute",
"Radius":0,
"ModificationNum":1,
"ModificationType":1,
"TargetEventID": [
1003
],
"TargetEventType":1,
"EventID":[
2011003
],
"EventState":"ShowEvent",
"VisibleState":"Visible"
}
]
},
"OnCreateBox3":{
"Actions":[
{
"$type": "Share.CConfigEventModification",
"X":3,
"Y":1,
"Position":"Absolute",
"Radius":0,
"ModificationNum":1,
"ModificationType":1,
"TargetEventID": [
1003
],
"TargetEventType":1,
"EventID":[
2011003
],
"EventState":"ShowEvent",
"VisibleState":"Visible"
}
]
},
"OnCreateBox4":{
"Actions":[
{
"$type": "Share.CConfigEventModification",
"X":3,
"Y":2,
"Position":"Absolute",
"Radius":0,
"ModificationNum":1,
"ModificationType":1,
"TargetEventID": [
1003
],
"TargetEventType":1,
"EventID":[
2011003
],
"EventState":"ShowEvent",
"VisibleState":"Visible"
}
]
},
"OnPlayerMove":{
"Actions":[
//刚才走过的格子设置为unstable
{
"$type": "Share.CConfigSetMapState",
"X": "scenevar(playerPos_x2)",
"Y": "scenevar(playerPos_y2)",
"Position": "Absolute",
"NodeType": "All",
"Radius": 0,
"Count": 1,
"FromState": ["Finished"],
"ToState": ["Unstable"],
"ExcludePlayerPos":true
}
]
},
"OnNextHollow":{
"Actions":[
{
"$type":"Share.CConfigSetSpecial",
"SpecialName":"turnlock",
"SpecialValue":1
},
//把箱子改成终点
{
"$type": "Share.CConfigCameraMoveV2",
"StretchKey": "Target",
"Type": "TriggerPosition",
"PositionOffsetType":"Absolute",
"PositionOffsetX":5,
"PositionOffsetY":2,
"RadiusX":0,
"RadiusY":0,
"CanControl":false,
"UseStretchZ":true,
"FreezeZ":true
},
{
"$type": "Share.CConfigWaitSeconds",
"Time": 1
},
{
"$type": "Share.CConfigEventModification",
"ModificationNum":1,
"ModificationType":1,
"Position":"Absolute",
"X":5,
"Y":2,
"TargetEventID": [ 2011003 ],
"TargetCoreNode":0,
"TargetEventType":1,
"EventID":[
2011002
],
"EventState":"ShowEvent",
"VisibleState":"Visible"
},
{
"$type": "Share.CConfigWaitSeconds",
"Time": 0.5
},
{
"$type": "Share.CConfigCameraMoveV2",
"StretchKey": "Back",
"Type": "Back",
"CanControl":true,
"UseStretchZ":false
}
]
},
"OnTurn":{
"Actions":[
//更新玩家的坐标
{
"$type":"Share.CConfigSetHollowVariable",
"Key":"playerPos_x2",
"Value": "playerpos(X)"
},
{
"$type":"Share.CConfigSetHollowVariable",
"Key":"playerPos_y2",
"Value": "playerpos(Y)"
},
//设置过终点了走OnEnd
{
"$type": "Share.CConfigJump",
"Predicates":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "turnlock",
"Param": 0,
"CompareType":"NotEqual"
}
],
"Jump": "OnEnd"
},
{
"$type": "Share.CConfigJump",
"Jump": "OnEnd",
"Predicates":[
{
"$type":"Share.CConfigEventBySpecials",
"ParamName":"Y",
"Param":"playerpos(Y)",
"CompareType":"NotEqual"
}
]
},
//在给定的位置创建1个箱子包括终点
{
"$type": "Share.CConfigEventModification",
"X":"scenevar(boxPos_x1)",
"Y":"scenevar(boxPos_y1)",
"Position":"Absolute",
"Radius":0,
"ModificationNum":1,
"ModificationType":1,
"TargetEventID": [
//2011005,
1003,2011003,2011002
],
"TargetEventType":1,
"EventID":[
2011003
],
"EventState":"ShowEvent",
"VisibleState":"Visible"
},
//创建终点相关
{
"$type":"Share.CConfigSetHollowVariable",
"Key":"Delta_Final_X",
"Value": 0
},
{
"$type":"Share.CConfigSetHollowVariable",
"Key":"Delta_Final_Y",
"Value": 0
},
{
"$type":"Share.CConfigSetHollowVariable",
"Key":"Delta_Final_X",
"Value": "scenevar(boxPos_x1)-scenevar(finalPos_x3)"
},
{
"$type":"Share.CConfigSetHollowVariable",
"Key":"Delta_Final_Y",
"Value": "scenevar(boxPos_y1)-scenevar(finalPos_y3)"
},
{
"$type": "Share.CConfigJump",
"Predicates":[
{
"$type": "Share.CConfigEventByHollowVariable",
"Key": "Delta_Final_X",
"CompareType": "Equal",
"Count": 0
},
{
"$type": "Share.CConfigEventByHollowVariable",
"Key": "Delta_Final_Y",
"CompareType": "Equal",
"Count": 0
},
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "turnlock",
"Param": 0,
"CompareType":"Equal"
}
],
"Jump": "OnNextHollow"
}
]
},
"OnEnd":{
"Actions":[]
}
}
}