添加配置表

This commit is contained in:
flswld
2022-11-30 00:00:20 +08:00
parent f70a890338
commit d7f3f3b866
33382 changed files with 8476601 additions and 0 deletions
@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = 380.0, z = -380.0 },
size = { x = 1000.0, z = 600.0 },
born_pos = { x = 555.191, y = 51.402, z = -255.593 },
born_rot = { x = 0.000, y = 0.000, z = 0.000 },
die_y = 17,
city_id = 102,
vision_anchor = { x = 0.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 20137 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = 380.0, z = -380.0 }, max = { x = 1380.0, z = 220.0 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { "routes" }
@@ -0,0 +1,98 @@
{
"sceneId": 20137,
"routes": [
{
"localId": 1,
"name": "Route_001",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 650.8026,
"y": 74.00944,
"z": -141.693741
},
"waitTime": 2.0,
"speedLevel": 1
},
{
"pos": {
"x": 666.7241,
"y": 74.00944,
"z": -141.749863
},
"waitTime": 2.0,
"speedLevel": 1
}
]
},
{
"localId": 2,
"name": "Route_002",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 695.195251,
"y": 78.55,
"z": -127.272194
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 695.372131,
"y": 73.81,
"z": -141.26
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 3,
"name": "Route_003",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 687.2263,
"y": 73.81,
"z": -149.34024
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 688.1975,
"y": 73.81,
"z": -142.204041
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 643.0289,
"y": 74.08304,
"z": -141.8424
},
"waitTime": 0.0,
"speedLevel": 1
}
]
}
]
}
@@ -0,0 +1,36 @@
-- 所有的group
groups = {
{ id = 220137001, pos = { x = 668.558, y = 58.938, z = -45.430 } },
{ id = 220137002, pos = { x = 569.352, y = 47.657, z = -222.061 } },
{ id = 220137004, pos = { x = 696.238, y = 73.934, z = -88.398 } },
{ id = 220137005, pos = { x = 740.063, y = 139.121, z = 8.826 } },
{ id = 220137006, pos = { x = 544.905, y = 48.840, z = -245.669 } },
{ id = 220137007, pos = { x = 541.922, y = 62.422, z = -192.284 } },
{ id = 220137008, pos = { x = 596.575, y = 59.238, z = -163.103 } },
{ id = 220137009, pos = { x = 611.647, y = 59.192, z = -170.977 } },
{ id = 220137010, pos = { x = 694.636, y = 73.810, z = -116.434 } },
{ id = 220137011, pos = { x = 685.781, y = 73.791, z = -102.814 } },
{ id = 220137012, pos = { x = 700.882, y = 73.791, z = -94.883 } },
{ id = 220137013, pos = { x = 668.861, y = 58.420, z = -45.360 } },
{ id = 220137014, pos = { x = 536.617, y = 62.359, z = -203.151 } },
{ id = 220137015, pos = { x = 726.651, y = 86.732, z = -45.561 } },
{ id = 220137016, pos = { x = 694.912, y = 73.810, z = -144.120 } },
{ id = 220137017, pos = { x = 687.047, y = 73.810, z = -155.936 } },
{ id = 220137018, pos = { x = 731.127, y = 72.420, z = -141.985 } },
{ id = 220137019, pos = { x = 724.617, y = 72.370, z = -152.044 } },
{ id = 220137020, pos = { x = 552.623, y = 48.739, z = -255.138 } },
{ id = 220137021, pos = { x = 690.464, y = 57.328, z = -99.162 } },
{ id = 220137023, pos = { x = 695.800, y = 73.810, z = -157.586 } },
{ id = 220137024, pos = { x = 695.749, y = 49.430, z = -104.806 } },
{ id = 220137025, refresh_id = 1001, pos = { x = 569.895, y = 74.090, z = -163.055 } },
{ id = 220137026, refresh_id = 1002, pos = { x = 648.920, y = 74.025, z = -141.901 } },
{ id = 220137027, refresh_id = 1001, pos = { x = 695.898, y = 78.550, z = -126.141 } },
{ id = 220137028, refresh_id = 1001, pos = { x = 672.630, y = 58.420, z = -50.330 } },
{ id = 220137029, pos = { x = 589.840, y = 73.959, z = -141.823 } },
{ id = 220137030, refresh_id = 1002, pos = { x = 735.286, y = 86.249, z = -141.954 } },
{ id = 220137031, pos = { x = 551.588, y = 48.594, z = -258.862 } },
{ id = 220137032, pos = { x = 697.680, y = 73.810, z = -158.076 } },
{ id = 220137033, pos = { x = 739.418, y = 139.286, z = -33.060 } },
{ id = 220137034, pos = { x = 695.352, y = 78.550, z = -126.719 } },
{ id = 220137035, refresh_id = 1, pos = { x = 710.037, y = 86.349, z = -140.272 } }
}
@@ -0,0 +1,37 @@
dummy_points = {
["guide_Q4007104"] = { pos = { x = 544.086, y = 51.313, z = -242.934 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["guide_Q4007105"] = { pos = { x = 545.498, y = 74.158, z = -187.454 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["guide_Q4007106"] = { pos = { x = 540.218, y = 64.779, z = -190.174 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["guide_Q4007107"] = { pos = { x = 553.680, y = 74.131, z = -178.956 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["guide_Q4007108"] = { pos = { x = 603.036, y = 60.385, z = -166.094 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["guide_Q4007109"] = { pos = { x = 695.265, y = 73.716, z = -142.129 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["guide_Q4007111"] = { pos = { x = 694.776, y = 75.996, z = -105.519 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007103_guide"] = { pos = { x = 555.073, y = 48.739, z = -255.423 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007103_N10095"] = { pos = { x = 553.969, y = 49.613, z = -256.378 }, rot = { x = 0.000, y = 108.166, z = 0.000 } },
["Q4007103_N1032"] = { pos = { x = 554.848, y = 49.613, z = -257.326 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007103_N1042"] = { pos = { x = 555.778, y = 49.613, z = -257.155 }, rot = { x = 0.000, y = 300.000, z = 0.000 } },
["Q4007110_guide"] = { pos = { x = 694.063, y = 73.810, z = -116.273 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007110_N10095"] = { pos = { x = 697.674, y = 73.810, z = -116.310 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007110_N1032"] = { pos = { x = 695.553, y = 73.810, z = -116.185 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007110_N1042"] = { pos = { x = 696.649, y = 73.810, z = -116.220 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007110_N12626"] = { pos = { x = 694.433, y = 73.810, z = -113.581 }, rot = { x = 0.000, y = 180.000, z = 0.000 } },
["Q4007112_guide"] = { pos = { x = 690.103, y = 75.370, z = -115.587 }, rot = { x = 0.000, y = 178.206, z = 0.000 } },
["Q4007112_N10095"] = { pos = { x = 688.132, y = 73.791, z = -118.260 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007112_N1032"] = { pos = { x = 690.402, y = 73.791, z = -118.138 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007112_N1042"] = { pos = { x = 689.434, y = 73.791, z = -118.262 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007112_N12626"] = { pos = { x = 690.103, y = 73.828, z = -115.586 }, rot = { x = 0.000, y = 178.000, z = 0.000 } },
["Q4007113_guide"] = { pos = { x = 739.537, y = 139.121, z = 5.455 }, rot = { x = 0.000, y = 180.000, z = 0.000 } },
["Q4007113_N10095"] = { pos = { x = 741.102, y = 139.350, z = 7.046 }, rot = { x = 0.000, y = 300.000, z = 0.000 } },
["Q4007113_N1032"] = { pos = { x = 737.681, y = 139.121, z = 7.997 }, rot = { x = 0.000, y = 90.000, z = 0.000 } },
["Q4007113_N1042"] = { pos = { x = 737.823, y = 139.286, z = 6.735 }, rot = { x = 0.000, y = 60.000, z = 0.000 } },
["Q4007116_guide"] = { pos = { x = 669.019, y = 60.902, z = -45.045 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q4007118_guide"] = { pos = { x = 739.537, y = 140.934, z = 9.222 }, rot = { x = 0.000, y = 180.000, z = 0.000 } },
["T4007103_paimon"] = { pos = { x = 555.902, y = 49.613, z = -256.168 }, rot = { x = 0.000, y = 246.432, z = 0.000 } },
["T4007103_player"] = { pos = { x = 555.032, y = 49.613, z = -255.869 }, rot = { x = 0.000, y = 180.000, z = 0.000 } },
["T4007110_paimon"] = { pos = { x = 691.095, y = 73.810, z = -117.567 }, rot = { x = 0.000, y = 90.000, z = 0.000 } },
["T4007110_player"] = { pos = { x = 690.758, y = 73.810, z = -118.784 }, rot = { x = 0.000, y = 90.000, z = 0.000 } },
["T4007112_N10000005"] = { pos = { x = 688.804, y = 73.791, z = -116.344 }, rot = { x = 0.000, y = 90.000, z = 0.000 } },
["T4007112_N1005"] = { pos = { x = 688.009, y = 73.791, z = -117.110 }, rot = { x = 0.000, y = 90.000, z = 0.000 } },
["T4007113_paimon"] = { pos = { x = 740.020, y = 139.286, z = 6.187 }, rot = { x = 0.000, y = 330.000, z = 0.000 } },
["T4007113_player"] = { pos = { x = 739.157, y = 139.286, z = 5.761 }, rot = { x = 0.000, y = 0.000, z = 0.000 } }
}
@@ -0,0 +1,115 @@
-- 基础信息
local base_info = {
group_id = 220137001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- Group013_4007116
{ config_id = 1001001, name = "GROUP_LOAD_1001", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "condition_EVENT_GROUP_LOAD_1001", action = "action_EVENT_GROUP_LOAD_1001", trigger_count = 0 },
-- Group013_4007116
{ config_id = 1001002, name = "QUEST_START_1002", event = EventType.EVENT_QUEST_START, source = "4007116", condition = "condition_EVENT_QUEST_START_1002", action = "action_EVENT_QUEST_START_1002", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "GROUP_LOAD_1001", "QUEST_START_1002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GROUP_LOAD_1001(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137013, 13002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_GROUP_LOAD_1001(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007116") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_QUEST_START_1002(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137013, 13002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_QUEST_START_1002(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007116") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
@@ -0,0 +1,211 @@
-- 基础信息
local base_info = {
group_id = 220137002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- Group006_4007104
{ config_id = 1002001, name = "QUEST_START_2001", event = EventType.EVENT_QUEST_START, source = "4007104", condition = "condition_EVENT_QUEST_START_2001", action = "action_EVENT_QUEST_START_2001", trigger_count = 0 },
-- Group006_4007104
{ config_id = 1002002, name = "GROUP_LOAD_2002", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "condition_EVENT_GROUP_LOAD_2002", action = "action_EVENT_GROUP_LOAD_2002", trigger_count = 0 },
-- Group008&009_4007108
{ config_id = 1002003, name = "QUEST_START_2003", event = EventType.EVENT_QUEST_START, source = "4007108", condition = "condition_EVENT_QUEST_START_2003", action = "action_EVENT_QUEST_START_2003", trigger_count = 0 },
-- Group008&009_4007108
{ config_id = 1002004, name = "GROUP_LOAD_2004", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "condition_EVENT_GROUP_LOAD_2004", action = "action_EVENT_GROUP_LOAD_2004", trigger_count = 0 },
-- Group006_4007104
{ config_id = 1002005, name = "QUEST_START_2005", event = EventType.EVENT_QUEST_START, source = "4007104", condition = "condition_EVENT_QUEST_START_2005", action = "action_EVENT_QUEST_START_2005", trigger_count = 0 },
-- Group006_4007104
{ config_id = 1002006, name = "GROUP_LOAD_2006", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "condition_EVENT_GROUP_LOAD_2006", action = "action_EVENT_GROUP_LOAD_2006", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "QUEST_START_2001", "GROUP_LOAD_2002", "QUEST_START_2003", "GROUP_LOAD_2004", "QUEST_START_2005", "GROUP_LOAD_2006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_QUEST_START_2001(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137006, 6002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_QUEST_START_2001(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007104") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GROUP_LOAD_2002(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137006, 6002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_GROUP_LOAD_2002(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007104") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_QUEST_START_2003(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137008, 8002) then
return false
end
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137009, 9002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_QUEST_START_2003(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007108") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GROUP_LOAD_2004(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137008, 8002) then
return false
end
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137009, 9002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_GROUP_LOAD_2004(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007108") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_QUEST_START_2005(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137013, 13002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_QUEST_START_2005(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007116") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GROUP_LOAD_2006(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137013, 13002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_GROUP_LOAD_2006(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007116") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
@@ -0,0 +1,248 @@
-- 基础信息
local base_info = {
group_id = 220137004
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 4001, gadget_id = 70290428, pos = { x = 696.297, y = 73.772, z = -88.929 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 4007, gadget_id = 70360001, pos = { x = 694.383, y = 73.961, z = -89.029 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 4秒后杀门
{ config_id = 1004002, name = "TIME_AXIS_PASS_4002", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "condition_EVENT_TIME_AXIS_PASS_4002", action = "action_EVENT_TIME_AXIS_PASS_4002", trigger_count = 0 },
-- timePass保底
{ config_id = 1004003, name = "GROUP_LOAD_4003", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_4003", trigger_count = 0 },
-- 8秒后刷suite
{ config_id = 1004004, name = "TIME_AXIS_PASS_4004", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "condition_EVENT_TIME_AXIS_PASS_4004", action = "action_EVENT_TIME_AXIS_PASS_4004", trigger_count = 0 },
{ config_id = 1004005, name = "GADGET_CREATE_4005", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_4005", action = "action_EVENT_GADGET_CREATE_4005", trigger_count = 0 },
{ config_id = 1004006, name = "SELECT_OPTION_4006", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_4006", action = "action_EVENT_SELECT_OPTION_4006", trigger_count = 0 },
-- 刷新后设置电梯状态
{ config_id = 1004008, name = "GROUP_LOAD_4008", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_4008", trigger_count = 0 },
-- 刷新后设置电梯状态
{ config_id = 1004009, name = "GROUP_REFRESH_4009", event = EventType.EVENT_GROUP_REFRESH, source = "", condition = "", action = "action_EVENT_GROUP_REFRESH_4009", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "doorOpen", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 4001 },
regions = { },
triggers = { "GROUP_LOAD_4003" },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 4001, 4007 },
regions = { },
triggers = { "TIME_AXIS_PASS_4002", "GROUP_LOAD_4003", "TIME_AXIS_PASS_4004", "GADGET_CREATE_4005", "SELECT_OPTION_4006" },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "GROUP_LOAD_4008", "GROUP_REFRESH_4009" },
rand_weight = 100,
ban_refresh = true
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_TIME_AXIS_PASS_4002(context, evt)
if "dooropen" ~= evt.source_name or 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_4002(context, evt)
-- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 4001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_4003(context, evt)
if ScriptLib.GetHostQuestState(context,4007116) == 3 or ScriptLib.GetGroupVariableValue(context, "doorOpen") == 1 then
ScriptLib.RefreshGroup(context, { suite=3})
end
return 0
end
-- 触发条件
function condition_EVENT_TIME_AXIS_PASS_4004(context, evt)
if "dooropen" ~= evt.source_name or 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_4004(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220137004, suite = 3 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_4005(context, evt)
if 4007 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_4005(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 220137004, 4007, {197}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_4006(context, evt)
-- 判断是gadgetid 4007 option_id 197
if 4007 ~= evt.param1 then
return false
end
if 197 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_4006(context, evt)
-- 调用提示id为 60010367 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 60010367) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220137004, EntityType.GADGET, 4007 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
-- 创建标识为"dooropen",时间节点为{4,8}的时间轴,false用于控制该时间轴是否循环
ScriptLib.InitTimeAxis(context, "dooropen", {4,8}, false)
-- 将本组内变量名为 "DoorOpen" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "DoorOpen", 1, 220137015) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group")
return -1
end
-- 改变指定group组220137015中, configid为15001的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220137015, 15001, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 将本组内变量名为 "doorOpen" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "doorOpen", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_4008(context, evt)
if ScriptLib.GetHostQuestState(context,4007116) == 3 then
ScriptLib.SetGroupVariableValueByGroup(context, "DoorOpen", 1, 220137015)
ScriptLib.SetGroupGadgetStateByConfigId(context, 220137015, 15001, GadgetState.Default)
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_REFRESH_4009(context, evt)
if ScriptLib.GetHostQuestState(context,4007116) == 3 then
ScriptLib.SetGroupVariableValueByGroup(context, "DoorOpen", 1, 220137015)
ScriptLib.SetGroupGadgetStateByConfigId(context, 220137015, 15001, GadgetState.Default)
end
return 0
end
@@ -0,0 +1,226 @@
-- 基础信息
local base_info = {
group_id = 220137005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 5001, gadget_id = 71700418, pos = { x = 739.518, y = 139.121, z = 9.262 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 5002, gadget_id = 70710745, pos = { x = 739.537, y = 140.498, z = 9.222 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 5003, gadget_id = 70360001, pos = { x = 739.537, y = 139.121, z = 9.222 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 5006, gadget_id = 71700418, pos = { x = 759.506, y = 159.671, z = 24.697 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 5007, gadget_id = 70710745, pos = { x = 759.525, y = 161.047, z = 24.657 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1005004, name = "GADGET_CREATE_5004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_5004", action = "action_EVENT_GADGET_CREATE_5004", trigger_count = 0 },
{ config_id = 1005005, name = "SELECT_OPTION_5005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_5005", action = "action_EVENT_SELECT_OPTION_5005", trigger_count = 0 },
-- 13002.201切到下方
{ config_id = 1005008, name = "GROUP_LOAD_5008", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "condition_EVENT_GROUP_LOAD_5008", action = "action_EVENT_GROUP_LOAD_5008", trigger_count = 0 },
-- 13002.201切到下方
{ config_id = 1005009, name = "VARIABLE_CHANGE_5009", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_5009", action = "action_EVENT_VARIABLE_CHANGE_5009", trigger_count = 0 },
{ config_id = 1005010, name = "GROUP_LOAD_5010", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_5010", trigger_count = 0 },
{ config_id = 1005011, name = "GROUP_LOAD_5011", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "condition_EVENT_GROUP_LOAD_5011", action = "action_EVENT_GROUP_LOAD_5011", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "towerPosition", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 3,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 5001, 5002 },
regions = { },
triggers = { "GROUP_LOAD_5010" },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 5001, 5002, 5003 },
regions = { },
triggers = { "GADGET_CREATE_5004", "SELECT_OPTION_5005", "GROUP_LOAD_5011" },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 5006, 5007 },
regions = { },
triggers = { "GROUP_LOAD_5008", "VARIABLE_CHANGE_5009" },
rand_weight = 100,
ban_refresh = true
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_5004(context, evt)
if 5003 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_5004(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 220137005, 5003, {195}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_5005(context, evt)
-- 判断是gadgetid 5003 option_id 195
if 5003 ~= evt.param1 then
return false
end
if 195 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_5005(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007118") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GROUP_LOAD_5008(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137013, 13002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_GROUP_LOAD_5008(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220137005, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_5009(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"towerPosition"为1
if ScriptLib.GetGroupVariableValue(context, "towerPosition") ~= 1 then
return false
end
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137013, 13002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_5009(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220137005, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_5010(context, evt)
if ScriptLib.GetHostQuestState(context,4007118)==2 then
ScriptLib.RefreshGroup(context, { group_id = 220137005, suite = 2 })
end
return 0
end
-- 触发条件
function condition_EVENT_GROUP_LOAD_5011(context, evt)
if GadgetState.GearStart ~= ScriptLib.GetGadgetStateByConfigId(context, 220137013, 13002) then
return false
end
return true
end
-- 触发操作
function action_EVENT_GROUP_LOAD_5011(context, evt)
if ScriptLib.GetHostQuestState(context,4007118)==3 then
ScriptLib.RefreshGroup(context, { group_id = 220137005, suite = 1 })
end
return 0
end
@@ -0,0 +1,126 @@
-- 基础信息
local base_info = {
group_id = 220137006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 6001, gadget_id = 70310251, pos = { x = 544.169, y = 48.740, z = -242.822 }, rot = { x = 0.000, y = 222.358, z = 0.000 }, level = 1, persistent = true, arguments = { 3 } },
{ config_id = 6002, gadget_id = 70310354, pos = { x = 568.133, y = 47.764, z = -218.784 }, rot = { x = 0.000, y = 45.036, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
{ config_id = 6006, shape = RegionShape.SPHERE, radius = 4, pos = { x = 544.169, y = 48.840, z = -242.822 } }
}
-- 触发器
triggers = {
{ config_id = 1006003, name = "OBSERVATION_POINT_NOTIFY_6003", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_6003", trigger_count = 0 },
{ config_id = 1006004, name = "GADGET_STATE_CHANGE_6004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_6004", action = "action_EVENT_GADGET_STATE_CHANGE_6004", trigger_count = 0 },
{ config_id = 1006005, name = "OBSERVATION_POINT_NOTIFY_6005", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_6005", trigger_count = 0 },
{ config_id = 1006006, name = "ENTER_REGION_6006", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_6006" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 6001, 6002 },
regions = { 6006 },
triggers = { "OBSERVATION_POINT_NOTIFY_6003", "GADGET_STATE_CHANGE_6004", "OBSERVATION_POINT_NOTIFY_6005", "ENTER_REGION_6006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_6003(context, evt)
if 6001 == evt.param1 and 405 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,6002, GadgetState.GearStart)
ScriptLib.AddQuestProgress(context, "4007104")
ScriptLib.SetGadgetStateByConfigId(context,6001, 405)
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_6004(context, evt)
if 6002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_6004(context, evt)
-- 运营数据埋点,匹配LD定义的规则使用
if 0 ~= ScriptLib.MarkPlayerAction(context, 2802, 1, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_6005(context, evt)
if 6001 == evt.param1 and 0 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,6002, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,6001, GadgetState.Default)
end
return 0
end
-- 触发操作
function action_EVENT_ENTER_REGION_6006(context, evt)
if ScriptLib.GetRegionEntityCount(context, {region_eid = evt.source_eid, entity_type = EntityType.AVATAR}) == 1 then
ScriptLib.TryRecordActivityPushTips(context, 2014013)
ScriptLib.ShowClientTutorial(context, 1188, {})
end
return 0
end
@@ -0,0 +1,129 @@
-- 基础信息
local base_info = {
group_id = 220137007
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7001, gadget_id = 70310251, pos = { x = 550.410, y = 62.420, z = -200.620 }, rot = { x = 0.000, y = 133.591, z = 0.000 }, level = 1, persistent = true, arguments = { 4 } },
{ config_id = 7002, gadget_id = 70310359, pos = { x = 535.372, y = 64.336, z = -182.366 }, rot = { x = 0.000, y = 44.568, z = 0.000 }, level = 1, persistent = true },
{ config_id = 7003, gadget_id = 70310360, pos = { x = 539.074, y = 70.672, z = -193.781 }, rot = { x = 0.000, y = 314.959, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1007004, name = "OBSERVATION_POINT_NOTIFY_7004", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_7004", trigger_count = 0 },
{ config_id = 1007005, name = "OBSERVATION_POINT_NOTIFY_7005", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_7005", trigger_count = 0 },
{ config_id = 1007006, name = "OBSERVATION_POINT_NOTIFY_7006", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_7006", trigger_count = 0 },
-- 运营埋点-连接道路
{ config_id = 1007007, name = "GADGET_STATE_CHANGE_7007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_7007", action = "action_EVENT_GADGET_STATE_CHANGE_7007", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 7001, 7002, 7003 },
regions = { },
triggers = { "OBSERVATION_POINT_NOTIFY_7004", "OBSERVATION_POINT_NOTIFY_7005", "OBSERVATION_POINT_NOTIFY_7006", "GADGET_STATE_CHANGE_7007" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_7004(context, evt)
if 7001 == evt.param1 and 305 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,7002, GadgetState.GearStart)
ScriptLib.SetGadgetStateByConfigId(context,7003, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,7001, 305)
end
return 0
end
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_7005(context, evt)
if 7001 == evt.param1 and 205 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,7003, GadgetState.GearStart)
ScriptLib.SetGadgetStateByConfigId(context,7002, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,7001, 205)
end
return 0
end
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_7006(context, evt)
if 7001 == evt.param1 and 0 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,7003, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,7002, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,7001, GadgetState.Default)
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_7007(context, evt)
if 7003 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_7007(context, evt)
-- 运营数据埋点,匹配LD定义的规则使用
if 0 ~= ScriptLib.MarkPlayerAction(context, 2802, 1, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction")
return -1
end
return 0
end
@@ -0,0 +1,117 @@
-- 基础信息
local base_info = {
group_id = 220137008
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 8001, gadget_id = 70310251, pos = { x = 597.699, y = 59.172, z = -163.350 }, rot = { x = 0.000, y = 234.997, z = 0.000 }, level = 1, persistent = true, arguments = { 5 } },
{ config_id = 8002, gadget_id = 70310353, pos = { x = 632.714, y = 59.072, z = -142.178 }, rot = { x = 0.000, y = 359.920, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1008003, name = "OBSERVATION_POINT_NOTIFY_8003", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_8003", trigger_count = 0 },
{ config_id = 1008004, name = "OBSERVATION_POINT_NOTIFY_8004", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_8004", trigger_count = 0 },
-- 运营埋点-连接道路
{ config_id = 1008005, name = "GADGET_STATE_CHANGE_8005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_8005", action = "action_EVENT_GADGET_STATE_CHANGE_8005", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 8001, 8002 },
regions = { },
triggers = { "OBSERVATION_POINT_NOTIFY_8003", "OBSERVATION_POINT_NOTIFY_8004", "GADGET_STATE_CHANGE_8005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_8003(context, evt)
if 8001 == evt.param1 and 205 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,8002, GadgetState.GearStart)
ScriptLib.SetGroupGadgetStateByConfigId(context, 220137009, 9001, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,8001, 205)
end
return 0
end
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_8004(context, evt)
if 8001 == evt.param1 and 0 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,8002, GadgetState.Default)
ScriptLib.SetGroupGadgetStateByConfigId(context, 220137009, 9001, GadgetState.ChestLocked)
ScriptLib.SetGadgetStateByConfigId(context,8001, GadgetState.Default)
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_8005(context, evt)
if 8002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_8005(context, evt)
-- 运营数据埋点,匹配LD定义的规则使用
if 0 ~= ScriptLib.MarkPlayerAction(context, 2802, 1, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction")
return -1
end
return 0
end
@@ -0,0 +1,116 @@
-- 基础信息
local base_info = {
group_id = 220137009
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 9001, gadget_id = 70310251, pos = { x = 611.177, y = 59.192, z = -169.046 }, rot = { x = 0.000, y = 181.893, z = 0.000 }, level = 1, state = GadgetState.ChestLocked, persistent = true, arguments = { 6 } },
{ config_id = 9002, gadget_id = 70310358, pos = { x = 612.047, y = 59.082, z = -142.162 }, rot = { x = 0.000, y = 0.131, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1009003, name = "OBSERVATION_POINT_NOTIFY_9003", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_9003", trigger_count = 0 },
{ config_id = 1009004, name = "OBSERVATION_POINT_NOTIFY_9004", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_9004", trigger_count = 0 },
-- 运营埋点-连接道路
{ config_id = 1009005, name = "GADGET_STATE_CHANGE_9005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_9005", action = "action_EVENT_GADGET_STATE_CHANGE_9005", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 9001, 9002 },
regions = { },
triggers = { "OBSERVATION_POINT_NOTIFY_9003", "OBSERVATION_POINT_NOTIFY_9004", "GADGET_STATE_CHANGE_9005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_9003(context, evt)
if 9001 == evt.param1 and 205 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,9002, GadgetState.GearStart)
ScriptLib.AddQuestProgress(context, "4007108")
ScriptLib.SetGadgetStateByConfigId(context,9001, 205)
end
return 0
end
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_9004(context, evt)
if 9001 == evt.param1 and 0 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,9002, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,9001, GadgetState.Default)
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_9005(context, evt)
if 9002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_9005(context, evt)
-- 运营数据埋点,匹配LD定义的规则使用
if 0 ~= ScriptLib.MarkPlayerAction(context, 2802, 1, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction")
return -1
end
return 0
end
@@ -0,0 +1,107 @@
-- 基础信息
local base_info = {
group_id = 220137010
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 10001, gadget_id = 70310251, pos = { x = 694.707, y = 73.785, z = -112.140 }, rot = { x = 0.000, y = 180.579, z = 0.000 }, level = 1, persistent = true, arguments = { 7 } },
{ config_id = 10002, gadget_id = 70310355, pos = { x = 702.130, y = 62.935, z = -102.153 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1010003, name = "OBSERVATION_POINT_NOTIFY_10003", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_10003", trigger_count = 0 },
-- 运营埋点-连接道路
{ config_id = 1010005, name = "GADGET_STATE_CHANGE_10005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10005", action = "action_EVENT_GADGET_STATE_CHANGE_10005", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "duankou1", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 10001, 10002 },
regions = { },
triggers = { "OBSERVATION_POINT_NOTIFY_10003", "GADGET_STATE_CHANGE_10005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_10003(context, evt)
if 10001 == evt.param1 and 605 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,10002, GadgetState.GearStart)
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish1", 1, 220137021)
ScriptLib.SetGadgetStateByConfigId(context,10001, 102)
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_10005(context, evt)
if 10002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_10005(context, evt)
-- 运营数据埋点,匹配LD定义的规则使用
if 0 ~= ScriptLib.MarkPlayerAction(context, 2802, 1, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction")
return -1
end
return 0
end
@@ -0,0 +1,106 @@
-- 基础信息
local base_info = {
group_id = 220137011
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 11001, gadget_id = 70310251, pos = { x = 687.056, y = 73.752, z = -102.519 }, rot = { x = 0.000, y = 265.868, z = 0.000 }, level = 1, persistent = true, arguments = { 8 } },
{ config_id = 11002, gadget_id = 70310356, pos = { x = 698.735, y = 59.860, z = -92.032 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1011003, name = "OBSERVATION_POINT_NOTIFY_11003", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_11003", trigger_count = 0 },
-- 运营埋点-连接道路
{ config_id = 1011005, name = "GADGET_STATE_CHANGE_11005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_11005", action = "action_EVENT_GADGET_STATE_CHANGE_11005", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 11001, 11002 },
regions = { },
triggers = { "OBSERVATION_POINT_NOTIFY_11003", "GADGET_STATE_CHANGE_11005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_11003(context, evt)
if 11001 == evt.param1 and 605 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,11002, GadgetState.GearStart)
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish2", 1, 220137021)
ScriptLib.SetGadgetStateByConfigId(context,11001, 102)
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_11005(context, evt)
if 11002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_11005(context, evt)
-- 运营数据埋点,匹配LD定义的规则使用
if 0 ~= ScriptLib.MarkPlayerAction(context, 2802, 1, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction")
return -1
end
return 0
end
@@ -0,0 +1,106 @@
-- 基础信息
local base_info = {
group_id = 220137012
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 12001, gadget_id = 70310251, pos = { x = 700.749, y = 73.752, z = -96.011 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true, arguments = { 9 } },
{ config_id = 12002, gadget_id = 70310357, pos = { x = 694.087, y = 60.607, z = -92.059 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1012003, name = "OBSERVATION_POINT_NOTIFY_12003", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_12003", trigger_count = 0 },
-- 运营埋点-连接道路
{ config_id = 1012005, name = "GADGET_STATE_CHANGE_12005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_12005", action = "action_EVENT_GADGET_STATE_CHANGE_12005", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 12001, 12002 },
regions = { },
triggers = { "OBSERVATION_POINT_NOTIFY_12003", "GADGET_STATE_CHANGE_12005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_12003(context, evt)
if 12001 == evt.param1 and 605 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,12002, GadgetState.GearStart)
ScriptLib.SetGroupVariableValueByGroup(context, "eyefinish3", 1, 220137021)
ScriptLib.SetGadgetStateByConfigId(context,12001, 102)
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_12005(context, evt)
if 12002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_12005(context, evt)
-- 运营数据埋点,匹配LD定义的规则使用
if 0 ~= ScriptLib.MarkPlayerAction(context, 2802, 1, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction")
return -1
end
return 0
end
@@ -0,0 +1,107 @@
-- 基础信息
local base_info = {
group_id = 220137013
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 13001, gadget_id = 70310251, pos = { x = 669.019, y = 58.420, z = -45.045 }, rot = { x = 0.000, y = 243.699, z = 0.000 }, level = 1, persistent = true, arguments = { 10 } },
{ config_id = 13002, gadget_id = 70310361, pos = { x = 739.638, y = 78.834, z = 18.430 }, rot = { x = 0.000, y = 359.899, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1013003, name = "OBSERVATION_POINT_NOTIFY_13003", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_13003", trigger_count = 0 },
-- 运营埋点-连接道路
{ config_id = 1013005, name = "GADGET_STATE_CHANGE_13005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_13005", action = "action_EVENT_GADGET_STATE_CHANGE_13005", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 13001, 13002 },
regions = { },
triggers = { "OBSERVATION_POINT_NOTIFY_13003", "GADGET_STATE_CHANGE_13005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_13003(context, evt)
if 13001 == evt.param1 and 205 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,13002, GadgetState.GearStart)
ScriptLib.AddQuestProgress(context, "4007116")
ScriptLib.SetGadgetStateByConfigId(context,13001, 102)
ScriptLib.SetGroupVariableValueByGroup(context, "towerPosition", 1, 220137005)
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_13005(context, evt)
if 13002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_13005(context, evt)
-- 运营数据埋点,匹配LD定义的规则使用
if 0 ~= ScriptLib.MarkPlayerAction(context, 2802, 1, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction")
return -1
end
return 0
end
@@ -0,0 +1,223 @@
-- 基础信息
local base_info = {
group_id = 220137014
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 14001, gadget_id = 70380319, pos = { x = 536.601, y = 73.892, z = -203.276 }, rot = { x = 0.000, y = 316.027, z = 0.000 }, level = 1, is_use_point_array = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 电梯在楼上被踩后
{ config_id = 1014002, name = "GADGET_STATE_CHANGE_14002", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_14002", action = "action_EVENT_GADGET_STATE_CHANGE_14002", trigger_count = 0 },
-- 电梯在楼下被踩后
{ config_id = 1014003, name = "GADGET_STATE_CHANGE_14003", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_14003", action = "action_EVENT_GADGET_STATE_CHANGE_14003", trigger_count = 0 },
-- 电梯到楼下时设变量为0
{ config_id = 1014004, name = "PLATFORM_ARRIVAL_14004", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_14004", action = "action_EVENT_PLATFORM_ARRIVAL_14004", trigger_count = 0 },
-- 电梯到楼上时设变量为1
{ config_id = 1014005, name = "PLATFORM_ARRIVAL_14005", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_14005", action = "action_EVENT_PLATFORM_ARRIVAL_14005", trigger_count = 0 },
-- Load时重置变量
{ config_id = 1014006, name = "GADGET_CREATE_14006", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_14006", action = "action_EVENT_GADGET_CREATE_14006", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "lifter_pos_mark", value = 1, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 14001 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_14002", "GADGET_STATE_CHANGE_14003", "PLATFORM_ARRIVAL_14004", "PLATFORM_ARRIVAL_14005", "GADGET_CREATE_14006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_14002(context, evt)
-- 检测config_id为14001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 14001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
-- 判断变量"lifter_pos_mark"为1
if ScriptLib.GetGroupVariableValue(context, "lifter_pos_mark") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_14002(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 14001, 8, {1}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_14003(context, evt)
-- 检测config_id为14001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 14001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
-- 判断变量"lifter_pos_mark"为0
if ScriptLib.GetGroupVariableValue(context, "lifter_pos_mark") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_14003(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 14001, 8, {2}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_14004(context, evt)
-- 判断是gadgetid 为 14001的移动平台,是否到达了8 的点集中的 1 点
if 14001 ~= evt.param1 then
return false
end
if 8 ~= evt.param2 then
return false
end
if 1 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_14004(context, evt)
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 0
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_14005(context, evt)
-- 判断是gadgetid 为 14001的移动平台,是否到达了8 的点集中的 2 点
if 14001 ~= evt.param1 then
return false
end
if 8 ~= evt.param2 then
return false
end
if 2 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_14005(context, evt)
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_14006(context, evt)
if 14001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_14006(context, evt)
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
@@ -0,0 +1,352 @@
-- 基础信息
local base_info = {
group_id = 220137015
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 15001, gadget_id = 70380319, pos = { x = 726.922, y = 86.707, z = -45.491 }, rot = { x = 0.000, y = 270.404, z = 0.000 }, level = 1, state = GadgetState.GearStop, start_route = false, mark_flag = 2, is_use_point_array = true },
-- 电梯按钮 楼下
{ config_id = 15003, gadget_id = 70310380, pos = { x = 724.350, y = 86.505, z = -47.363 }, rot = { x = 0.000, y = 310.977, z = 0.000 }, level = 1, state = GadgetState.GearStop, mark_flag = 1 },
-- 电梯按钮 楼上
{ config_id = 15004, gadget_id = 70310380, pos = { x = 732.417, y = 139.365, z = -48.786 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, mark_flag = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- Load时重置变量
{ config_id = 1015002, name = "GADGET_CREATE_15002", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_15002", action = "action_EVENT_GADGET_CREATE_15002", trigger_count = 0 },
-- 按钮被踩 楼下
{ config_id = 1015005, name = "GADGET_STATE_CHANGE_15005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_15005", action = "action_EVENT_GADGET_STATE_CHANGE_15005", trigger_count = 0 },
-- 电梯到楼上 解锁楼下按钮、锁定楼上按钮
{ config_id = 1015006, name = "PLATFORM_ARRIVAL_15006", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_15006", action = "action_EVENT_PLATFORM_ARRIVAL_15006", trigger_count = 0 },
-- 按钮被踩 楼上
{ config_id = 1015007, name = "GADGET_STATE_CHANGE_15007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_15007", action = "action_EVENT_GADGET_STATE_CHANGE_15007", trigger_count = 0 },
-- 电梯到楼下 解锁楼上按钮、锁定楼下按钮
{ config_id = 1015008, name = "PLATFORM_ARRIVAL_15008", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_15008", action = "action_EVENT_PLATFORM_ARRIVAL_15008", trigger_count = 0 },
-- 按钮被踩 电梯内 电梯在楼下时
{ config_id = 1015009, name = "GADGET_STATE_CHANGE_15009", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_15009", action = "action_EVENT_GADGET_STATE_CHANGE_15009", trigger_count = 0 },
-- 按钮被踩 电梯内 电梯在楼上时
{ config_id = 1015010, name = "GADGET_STATE_CHANGE_15010", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_15010", action = "action_EVENT_GADGET_STATE_CHANGE_15010", trigger_count = 0 },
{ config_id = 1015011, name = "GADGET_CREATE_15011", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_15011", action = "action_EVENT_GADGET_CREATE_15011", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "lifter_pos_mark", value = 0, no_refresh = false },
{ config_id = 2, name = "DoorOpen", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 15001, 15003, 15004 },
regions = { },
triggers = { "GADGET_CREATE_15002", "GADGET_STATE_CHANGE_15005", "PLATFORM_ARRIVAL_15006", "GADGET_STATE_CHANGE_15007", "PLATFORM_ARRIVAL_15008", "GADGET_STATE_CHANGE_15009", "GADGET_STATE_CHANGE_15010", "GADGET_CREATE_15011" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_15002(context, evt)
if 15001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_15002(context, evt)
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 0
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_15005(context, evt)
-- 检测config_id为15003的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 15003 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_15005(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 15001, 1, {1}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 0
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_15006(context, evt)
-- 判断是gadgetid 为 15001的移动平台,是否到达了1 的点集中的 2 点
if 15001 ~= evt.param1 then
return false
end
if 1 ~= evt.param2 then
return false
end
if 2 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_15006(context, evt)
-- 将configid为 15003 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 15003, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 15004 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 15004, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_15007(context, evt)
-- 检测config_id为15004的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 15004 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_15007(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 15001, 1, {2}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_15008(context, evt)
-- 判断是gadgetid 为 15001的移动平台,是否到达了1 的点集中的 1 点
if 15001 ~= evt.param1 then
return false
end
if 1 ~= evt.param2 then
return false
end
if 1 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_15008(context, evt)
-- 将configid为 15004 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 15004, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 15003 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 15003, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_15009(context, evt)
-- 检测config_id为15001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 15001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
-- 判断变量"lifter_pos_mark"为0
if ScriptLib.GetGroupVariableValue(context, "lifter_pos_mark") ~= 0 then
return false
end
-- 判断变量"DoorOpen"为1
if ScriptLib.GetGroupVariableValue(context, "DoorOpen") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_15009(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 15001, 1, {2}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_15010(context, evt)
-- 检测config_id为15001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 15001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
-- 判断变量"lifter_pos_mark"为1
if ScriptLib.GetGroupVariableValue(context, "lifter_pos_mark") ~= 1 then
return false
end
-- 判断变量"DoorOpen"为1
if ScriptLib.GetGroupVariableValue(context, "DoorOpen") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_15010(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 15001, 1, {1}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 0
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_15011(context, evt)
-- 判断变量"DoorOpen"为1
if ScriptLib.GetGroupVariableValue(context, "DoorOpen") ~= 1 then
return false
end
if 15001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_15011(context, evt)
-- 将configid为 15001 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 15001, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
@@ -0,0 +1,144 @@
-- 基础信息
local base_info = {
group_id = 220137016
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 16001, gadget_id = 70310251, pos = { x = 700.984, y = 73.810, z = -134.529 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, arguments = { 29 } },
{ config_id = 16002, gadget_id = 70310251, pos = { x = 701.147, y = 73.810, z = -150.323 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, arguments = { 30 } },
{ config_id = 16003, gadget_id = 70310435, pos = { x = 698.916, y = 82.201, z = -142.631 }, rot = { x = 0.000, y = 270.839, z = 0.000 }, level = 1 },
{ config_id = 16004, gadget_id = 70211101, pos = { x = 706.149, y = 95.503, z = -134.040 }, rot = { x = 0.000, y = 269.713, z = 0.000 }, level = 16, drop_tag = "解谜低级群岛", isOneoff = true, persistent = true },
{ config_id = 16005, gadget_id = 70211101, pos = { x = 706.205, y = 95.628, z = -150.841 }, rot = { x = 0.000, y = 270.250, z = 0.000 }, level = 16, drop_tag = "解谜低级群岛", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 鸦眼1成功切物件到201
{ config_id = 1016006, name = "OBSERVATION_POINT_NOTIFY_16006", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_16006", trigger_count = 0 },
-- 鸦眼2成功切物件到202
{ config_id = 1016007, name = "OBSERVATION_POINT_NOTIFY_16007", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_16007", trigger_count = 0 },
{ config_id = 1016008, name = "OBSERVATION_POINT_NOTIFY_16008", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_16008", trigger_count = 0 },
{ config_id = 1016009, name = "OBSERVATION_POINT_NOTIFY_16009", event = EventType.EVENT_OBSERVATION_POINT_NOTIFY, source = "", condition = "", action = "action_EVENT_OBSERVATION_POINT_NOTIFY_16009", trigger_count = 0 },
-- 运营埋点-连接道路
{ config_id = 1016010, name = "GADGET_STATE_CHANGE_16010", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_16010", action = "action_EVENT_GADGET_STATE_CHANGE_16010", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 16001, 16002, 16003, 16004, 16005 },
regions = { },
triggers = { "OBSERVATION_POINT_NOTIFY_16006", "OBSERVATION_POINT_NOTIFY_16007", "OBSERVATION_POINT_NOTIFY_16008", "OBSERVATION_POINT_NOTIFY_16009", "GADGET_STATE_CHANGE_16010" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_16006(context, evt)
if 16001 == evt.param1 or 205 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,16003, GadgetState.GearStop)
ScriptLib.SetGadgetStateByConfigId(context,16002, GadgetState.ChestLocked)
ScriptLib.SetGadgetStateByConfigId(context,16001, 205)
end
return 0
end
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_16007(context, evt)
if 16002 == evt.param1 and 205 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,16003, GadgetState.GearStart)
ScriptLib.SetGadgetStateByConfigId(context,16001, GadgetState.ChestLocked)
ScriptLib.SetGadgetStateByConfigId(context,16002, 205)
end
return 0
end
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_16008(context, evt)
if 16001 == evt.param1 and 0 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,16002, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,16003, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,16001, GadgetState.Default)
end
return 0
end
-- 触发操作
function action_EVENT_OBSERVATION_POINT_NOTIFY_16009(context, evt)
if 16002 == evt.param1 and 0 == evt.param2 then
ScriptLib.SetGadgetStateByConfigId(context,16001, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,16003, GadgetState.Default)
ScriptLib.SetGadgetStateByConfigId(context,16002, GadgetState.Default)
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_16010(context, evt)
if 16003 ~= evt.param2 or GadgetState.GearStop ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_16010(context, evt)
-- 运营数据埋点,匹配LD定义的规则使用
if 0 ~= ScriptLib.MarkPlayerAction(context, 2802, 1, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : mark_playerAction")
return -1
end
return 0
end
@@ -0,0 +1,289 @@
-- 基础信息
local base_info = {
group_id = 220137017
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 17001, gadget_id = 70380319, pos = { x = 685.993, y = 73.788, z = -156.194 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, is_use_point_array = true },
{ config_id = 17002, gadget_id = 70310380, pos = { x = 688.679, y = 73.553, z = -158.818 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 踩上电梯在楼下时
{ config_id = 1017003, name = "GADGET_STATE_CHANGE_17003", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_17003", action = "action_EVENT_GADGET_STATE_CHANGE_17003", trigger_count = 0 },
-- 踩上电梯在楼上时
{ config_id = 1017004, name = "GADGET_STATE_CHANGE_17004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_17004", action = "action_EVENT_GADGET_STATE_CHANGE_17004", trigger_count = 0 },
-- 电梯到楼下时变量为0
{ config_id = 1017005, name = "PLATFORM_ARRIVAL_17005", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_17005", action = "action_EVENT_PLATFORM_ARRIVAL_17005", trigger_count = 0 },
-- 电梯到楼上时变量为1
{ config_id = 1017006, name = "PLATFORM_ARRIVAL_17006", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_17006", action = "action_EVENT_PLATFORM_ARRIVAL_17006", trigger_count = 0 },
-- 踩上按钮,电梯在楼下时
{ config_id = 1017007, name = "GADGET_STATE_CHANGE_17007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_17007", action = "action_EVENT_GADGET_STATE_CHANGE_17007", trigger_count = 0 },
-- 电梯到达楼上是解锁按钮
{ config_id = 1017008, name = "PLATFORM_ARRIVAL_17008", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_17008", action = "action_EVENT_PLATFORM_ARRIVAL_17008", trigger_count = 0 },
-- 创生时重置变量
{ config_id = 1017009, name = "GADGET_CREATE_17009", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_17009", action = "action_EVENT_GADGET_CREATE_17009", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "lifter_pos_mark", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 17001, 17002 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_17003", "GADGET_STATE_CHANGE_17004", "PLATFORM_ARRIVAL_17005", "PLATFORM_ARRIVAL_17006", "GADGET_STATE_CHANGE_17007", "PLATFORM_ARRIVAL_17008", "GADGET_CREATE_17009" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_17003(context, evt)
-- 检测config_id为17001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 17001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
-- 判断变量"lifter_pos_mark"为0
if ScriptLib.GetGroupVariableValue(context, "lifter_pos_mark") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_17003(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 17001, 9, {2}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_17004(context, evt)
-- 检测config_id为17001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 17001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
-- 判断变量"lifter_pos_mark"为1
if ScriptLib.GetGroupVariableValue(context, "lifter_pos_mark") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_17004(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 17001, 9, {1}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_17005(context, evt)
-- 判断是gadgetid 为 17001的移动平台,是否到达了9 的点集中的 1 点
if 17001 ~= evt.param1 then
return false
end
if 9 ~= evt.param2 then
return false
end
if 1 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_17005(context, evt)
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 0
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 将configid为 17002 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 17002, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_17006(context, evt)
-- 判断是gadgetid 为 17001的移动平台,是否到达了9 的点集中的 2 点
if 17001 ~= evt.param1 then
return false
end
if 9 ~= evt.param2 then
return false
end
if 2 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_17006(context, evt)
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_17007(context, evt)
-- 检测config_id为17002的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 17002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_17007(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 17001, 9, {1}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_17008(context, evt)
-- 判断是gadgetid 为 17001的移动平台,是否到达了9 的点集中的 2 点
if 17001 ~= evt.param1 then
return false
end
if 9 ~= evt.param2 then
return false
end
if 2 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_17008(context, evt)
-- 将configid为 17002 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 17002, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_17009(context, evt)
if 17001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_17009(context, evt)
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 0
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
@@ -0,0 +1,72 @@
-- 基础信息
local base_info = {
group_id = 220137018
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 18001, gadget_id = 70211121, pos = { x = 728.195, y = 72.369, z = -141.011 }, rot = { x = 0.000, y = 89.223, z = 0.000 }, level = 16, chest_drop_id = 1050208, drop_count = 1, isOneoff = true, persistent = true, autopick = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 18001 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,289 @@
-- 基础信息
local base_info = {
group_id = 220137019
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 19001, gadget_id = 70380319, pos = { x = 724.095, y = 72.415, z = -155.337 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
{ config_id = 19002, gadget_id = 70310380, pos = { x = 720.772, y = 72.318, z = -153.050 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 电梯被踩,楼下
{ config_id = 1019003, name = "GADGET_STATE_CHANGE_19003", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_19003", action = "action_EVENT_GADGET_STATE_CHANGE_19003", trigger_count = 0 },
-- 电梯被踩,楼上
{ config_id = 1019004, name = "GADGET_STATE_CHANGE_19004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_19004", action = "action_EVENT_GADGET_STATE_CHANGE_19004", trigger_count = 0 },
-- 电梯到楼上变量为1
{ config_id = 1019005, name = "PLATFORM_ARRIVAL_19005", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_19005", action = "action_EVENT_PLATFORM_ARRIVAL_19005", trigger_count = 0 },
-- 电梯到楼下变量为0
{ config_id = 1019006, name = "PLATFORM_ARRIVAL_19006", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_19006", action = "action_EVENT_PLATFORM_ARRIVAL_19006", trigger_count = 0 },
-- 按钮被踩,在楼下
{ config_id = 1019007, name = "GADGET_STATE_CHANGE_19007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_19007", action = "action_EVENT_GADGET_STATE_CHANGE_19007", trigger_count = 0 },
-- 电梯到楼上解锁楼下按钮
{ config_id = 1019008, name = "PLATFORM_ARRIVAL_19008", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_19008", action = "action_EVENT_PLATFORM_ARRIVAL_19008", trigger_count = 0 },
-- 创生时重置变量
{ config_id = 1019009, name = "GADGET_CREATE_19009", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_19009", action = "action_EVENT_GADGET_CREATE_19009", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "lifter_pos_mark", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 19001, 19002 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_19003", "GADGET_STATE_CHANGE_19004", "PLATFORM_ARRIVAL_19005", "PLATFORM_ARRIVAL_19006", "GADGET_STATE_CHANGE_19007", "PLATFORM_ARRIVAL_19008", "GADGET_CREATE_19009" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_19003(context, evt)
-- 检测config_id为19001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 19001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
-- 判断变量"lifter_pos_mark"为0
if ScriptLib.GetGroupVariableValue(context, "lifter_pos_mark") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_19003(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 19001, 10, {2}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_19004(context, evt)
-- 检测config_id为19001的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 19001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
-- 判断变量"lifter_pos_mark"为1
if ScriptLib.GetGroupVariableValue(context, "lifter_pos_mark") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_19004(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 19001, 10, {1}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_19005(context, evt)
-- 判断是gadgetid 为 19001的移动平台,是否到达了10 的点集中的 2 点
if 19001 ~= evt.param1 then
return false
end
if 10 ~= evt.param2 then
return false
end
if 2 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_19005(context, evt)
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_19006(context, evt)
-- 判断是gadgetid 为 19001的移动平台,是否到达了10 的点集中的 1 点
if 19001 ~= evt.param1 then
return false
end
if 10 ~= evt.param2 then
return false
end
if 1 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_19006(context, evt)
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 0
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 将configid为 19002 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 19002, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_19007(context, evt)
-- 检测config_id为19002的gadget是否从GadgetState.Default变为GadgetState.GearStart
if 19002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 or GadgetState.Default ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_19007(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 19001, 10, {1}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_19008(context, evt)
-- 判断是gadgetid 为 19001的移动平台,是否到达了10 的点集中的 2 点
if 19001 ~= evt.param1 then
return false
end
if 10 ~= evt.param2 then
return false
end
if 2 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_19008(context, evt)
-- 将configid为 19002 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 19002, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_19009(context, evt)
if 19001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_19009(context, evt)
-- 将本组内变量名为 "lifter_pos_mark" 的变量设置为 0
if 0 ~= ScriptLib.SetGroupVariableValue(context, "lifter_pos_mark", 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
@@ -0,0 +1,72 @@
-- 基础信息
local base_info = {
group_id = 220137020
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 20001, gadget_id = 70310342, pos = { x = 551.588, y = 48.594, z = -258.862 }, rot = { x = 0.000, y = 45.254, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 20001 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,652 @@
-- 基础信息
local base_info = {
group_id = 220137021
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 21001, gadget_id = 70380001, pos = { x = 700.125, y = 56.357, z = -94.634 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
{ config_id = 21002, gadget_id = 70310313, pos = { x = 690.443, y = 57.328, z = -98.605 }, rot = { x = 0.000, y = 180.394, z = 0.000 }, level = 1 },
{ config_id = 21003, gadget_id = 70310314, pos = { x = 690.448, y = 57.328, z = -96.113 }, rot = { x = 0.000, y = 179.622, z = 0.000 }, level = 1 },
{ config_id = 21004, gadget_id = 70310316, pos = { x = 690.500, y = 57.323, z = -95.207 }, rot = { x = 0.000, y = 270.624, z = 0.000 }, level = 1 },
{ config_id = 21005, gadget_id = 70310314, pos = { x = 691.681, y = 57.328, z = -95.115 }, rot = { x = 0.000, y = 89.854, z = 0.000 }, level = 1 },
-- 任务表现终点莱昂
{ config_id = 21007, gadget_id = 70310266, pos = { x = 690.103, y = 73.828, z = -115.586 }, rot = { x = 0.000, y = 178.206, z = 0.000 }, level = 1, persistent = true, is_use_point_array = true },
{ config_id = 21008, gadget_id = 70310444, pos = { x = 698.984, y = 57.328, z = -95.111 }, rot = { x = 0.000, y = 269.992, z = 0.000 }, level = 1 },
{ config_id = 21009, gadget_id = 70310443, pos = { x = 701.416, y = 57.328, z = -95.103 }, rot = { x = 0.000, y = 89.854, z = 0.000 }, level = 1 },
{ config_id = 21010, gadget_id = 70310313, pos = { x = 704.575, y = 65.655, z = -97.009 }, rot = { x = 0.000, y = 0.134, z = 0.000 }, level = 1 },
{ config_id = 21011, gadget_id = 70310314, pos = { x = 703.274, y = 65.640, z = -95.098 }, rot = { x = 0.000, y = 89.854, z = 0.000 }, level = 1 },
{ config_id = 21012, gadget_id = 70310316, pos = { x = 704.493, y = 65.628, z = -95.155 }, rot = { x = 0.000, y = 0.183, z = 0.000 }, level = 1 },
{ config_id = 21013, gadget_id = 70310314, pos = { x = 704.558, y = 65.655, z = -99.344 }, rot = { x = 0.000, y = 180.631, z = 0.000 }, level = 1 },
{ config_id = 21014, gadget_id = 70380001, pos = { x = 690.243, y = 72.800, z = -112.289 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
{ config_id = 21015, gadget_id = 70310443, pos = { x = 690.173, y = 73.800, z = -113.058 }, rot = { x = 0.000, y = 181.094, z = 0.000 }, level = 1 },
{ config_id = 21016, gadget_id = 70310314, pos = { x = 704.500, y = 65.655, z = -108.959 }, rot = { x = 0.000, y = 180.631, z = 0.000 }, level = 1 },
{ config_id = 21017, gadget_id = 70310313, pos = { x = 704.517, y = 65.655, z = -106.624 }, rot = { x = 0.000, y = 0.134, z = 0.000 }, level = 1 },
{ config_id = 21018, gadget_id = 70310314, pos = { x = 703.254, y = 65.606, z = -111.722 }, rot = { x = 0.000, y = 270.475, z = 0.000 }, level = 1 },
{ config_id = 21019, gadget_id = 70310316, pos = { x = 704.429, y = 65.601, z = -111.635 }, rot = { x = 0.000, y = 88.766, z = 0.000 }, level = 1 },
{ config_id = 21020, gadget_id = 70310314, pos = { x = 704.486, y = 65.606, z = -110.724 }, rot = { x = 0.000, y = 0.484, z = 0.000 }, level = 1 },
{ config_id = 21021, gadget_id = 70310445, pos = { x = 690.247, y = 73.800, z = -111.844 }, rot = { x = 0.000, y = 270.624, z = 0.000 }, level = 1 },
{ config_id = 21022, gadget_id = 70310443, pos = { x = 691.457, y = 73.800, z = -111.752 }, rot = { x = 0.000, y = 89.854, z = 0.000 }, level = 1 },
{ config_id = 21023, gadget_id = 70310313, pos = { x = 695.279, y = 65.617, z = -111.726 }, rot = { x = 0.000, y = 269.992, z = 0.000 }, level = 1 },
{ config_id = 21024, gadget_id = 70310314, pos = { x = 696.676, y = 65.617, z = -111.731 }, rot = { x = 0.000, y = 89.854, z = 0.000 }, level = 1 },
{ config_id = 21025, gadget_id = 70310314, pos = { x = 693.222, y = 65.617, z = -111.740 }, rot = { x = 0.000, y = 269.329, z = 0.000 }, level = 1 },
{ config_id = 21026, gadget_id = 70380001, pos = { x = 690.243, y = 64.626, z = -112.289 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
{ config_id = 21027, gadget_id = 70310443, pos = { x = 690.199, y = 65.620, z = -113.058 }, rot = { x = 0.000, y = 181.094, z = 0.000 }, level = 1 },
{ config_id = 21028, gadget_id = 70310445, pos = { x = 690.275, y = 65.615, z = -111.843 }, rot = { x = 0.000, y = 270.624, z = 0.000 }, level = 1 },
{ config_id = 21029, gadget_id = 70310443, pos = { x = 691.457, y = 65.620, z = -111.752 }, rot = { x = 0.000, y = 89.854, z = 0.000 }, level = 1 },
{ config_id = 21030, gadget_id = 70310314, pos = { x = 690.173, y = 73.800, z = -114.847 }, rot = { x = 0.000, y = 179.914, z = 0.000 }, level = 1 },
{ config_id = 21031, gadget_id = 70310314, pos = { x = 690.173, y = 73.800, z = -116.629 }, rot = { x = 0.000, y = 179.914, z = 0.000 }, level = 1 },
{ config_id = 21032, gadget_id = 70310266, pos = { x = 690.431, y = 57.360, z = -99.986 }, rot = { x = 0.000, y = 116.947, z = 0.000 }, level = 1, persistent = true, is_use_point_array = true },
{ config_id = 21043, gadget_id = 70310443, pos = { x = 701.416, y = 65.616, z = -95.103 }, rot = { x = 0.000, y = 89.854, z = 0.000 }, level = 1 },
{ config_id = 21045, gadget_id = 70310444, pos = { x = 698.984, y = 65.616, z = -95.111 }, rot = { x = 0.000, y = 269.992, z = 0.000 }, level = 1 },
{ config_id = 21046, gadget_id = 70380001, pos = { x = 700.125, y = 64.645, z = -94.634 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true },
{ config_id = 21053, gadget_id = 70310489, pos = { x = 700.020, y = 57.360, z = -95.256 }, rot = { x = 0.000, y = 90.998, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 初见洋葱哥后开始关卡逻辑
{ config_id = 1021006, name = "GROUP_LOAD_21006", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "condition_EVENT_GROUP_LOAD_21006", action = "action_EVENT_GROUP_LOAD_21006", trigger_count = 0 },
-- 到第一个断口处变量设为1
{ config_id = 1021033, name = "PLATFORM_ARRIVAL_21033", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_21033", action = "action_EVENT_PLATFORM_ARRIVAL_21033", trigger_count = 0 },
-- 初见洋葱哥后开始关卡逻辑
{ config_id = 1021034, name = "QUEST_FINISH_21034", event = EventType.EVENT_QUEST_FINISH, source = "4007110", condition = "", action = "action_EVENT_QUEST_FINISH_21034", trigger_count = 0 },
-- 到第2个断口处变量设为1
{ config_id = 1021035, name = "PLATFORM_ARRIVAL_21035", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_21035", action = "action_EVENT_PLATFORM_ARRIVAL_21035", trigger_count = 0 },
-- 鸦眼1完成且葱哥达到断口
{ config_id = 1021036, name = "VARIABLE_CHANGE_21036", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_21036", action = "action_EVENT_VARIABLE_CHANGE_21036", trigger_count = 0 },
-- 鸦眼3完成且葱哥达到断口
{ config_id = 1021037, name = "VARIABLE_CHANGE_21037", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_21037", action = "action_EVENT_VARIABLE_CHANGE_21037", trigger_count = 0 },
-- 鸦眼2完成且葱哥达到断口
{ config_id = 1021038, name = "VARIABLE_CHANGE_21038", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_21038", action = "action_EVENT_VARIABLE_CHANGE_21038", trigger_count = 0 },
-- 到第3个断口处变量设为1
{ config_id = 1021039, name = "PLATFORM_ARRIVAL_21039", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_21039", action = "action_EVENT_PLATFORM_ARRIVAL_21039", trigger_count = 0 },
-- 完成+任务完成
{ config_id = 1021040, name = "PLATFORM_ARRIVAL_21040", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_21040", action = "action_EVENT_PLATFORM_ARRIVAL_21040", trigger_count = 0 },
{ config_id = 1021041, name = "PLATFORM_ARRIVAL_21041", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_21041", action = "action_EVENT_PLATFORM_ARRIVAL_21041", trigger_count = 0 },
{ config_id = 1021042, name = "PLATFORM_ARRIVAL_21042", event = EventType.EVENT_PLATFORM_ARRIVAL, source = "", condition = "condition_EVENT_PLATFORM_ARRIVAL_21042", action = "action_EVENT_PLATFORM_ARRIVAL_21042", trigger_count = 0 },
-- 已完成刷suite保底
{ config_id = 1021044, name = "GROUP_LOAD_21044", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_21044", trigger_count = 0 },
-- 重进地城后重刷莱昂
{ config_id = 1021047, name = "GROUP_LOAD_21047", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_21047", trigger_count = 0 },
-- 断线重连重刷莱昂
{ config_id = 1021048, name = "QUEST_START_21048", event = EventType.EVENT_QUEST_START, source = "4007119", condition = "", action = "action_EVENT_QUEST_START_21048", trigger_count = 0 },
-- 切换suite重刷莱昂
{ config_id = 1021049, name = "GROUP_REFRESH_21049", event = EventType.EVENT_GROUP_REFRESH, source = "", condition = "", action = "action_EVENT_GROUP_REFRESH_21049", trigger_count = 0 },
-- 删除莱昂
{ config_id = 1021050, name = "QUEST_FINISH_21050", event = EventType.EVENT_QUEST_FINISH, source = "4007119", condition = "", action = "action_EVENT_QUEST_FINISH_21050", trigger_count = 0 },
-- 4007111 任务保底
{ config_id = 1021051, name = "GROUP_LOAD_21051", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "condition_EVENT_GROUP_LOAD_21051", action = "action_EVENT_GROUP_LOAD_21051", trigger_count = 0 },
-- 4007111 任务保底
{ config_id = 1021052, name = "QUEST_START_21052", event = EventType.EVENT_QUEST_START, source = "4007111", condition = "condition_EVENT_QUEST_START_21052", action = "action_EVENT_QUEST_START_21052", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "start1", value = 0, no_refresh = true },
{ config_id = 2, name = "duankou", value = 0, no_refresh = false },
{ config_id = 5, name = "eyefinish1", value = 0, no_refresh = true },
{ config_id = 6, name = "eyefinish2", value = 0, no_refresh = true },
{ config_id = 7, name = "eyefinish3", value = 0, no_refresh = true },
{ config_id = 8, name = "missionComplete", value = 0, no_refresh = true },
{ config_id = 9, name = "TalkDone", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 21001, 21002, 21003, 21004, 21005, 21008, 21009, 21010, 21011, 21012, 21013, 21016, 21017, 21018, 21019, 21020, 21023, 21024, 21025, 21026, 21027, 21028, 21029, 21030, 21031, 21032 },
regions = { },
triggers = { "GROUP_LOAD_21006", "PLATFORM_ARRIVAL_21033", "QUEST_FINISH_21034", "PLATFORM_ARRIVAL_21035", "VARIABLE_CHANGE_21036", "VARIABLE_CHANGE_21037", "VARIABLE_CHANGE_21038", "PLATFORM_ARRIVAL_21039", "PLATFORM_ARRIVAL_21040", "PLATFORM_ARRIVAL_21041", "PLATFORM_ARRIVAL_21042", "GROUP_LOAD_21044", "GROUP_LOAD_21051", "QUEST_START_21052" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 21002, 21003, 21004, 21005, 21010, 21011, 21012, 21013, 21014, 21015, 21016, 21017, 21018, 21019, 21020, 21021, 21022, 21023, 21024, 21025, 21030, 21031, 21043, 21045, 21046 },
regions = { },
triggers = { "GROUP_LOAD_21047", "QUEST_START_21048", "GROUP_REFRESH_21049", "QUEST_FINISH_21050", "GROUP_LOAD_21051", "QUEST_START_21052" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GROUP_LOAD_21006(context, evt)
-- 判断变量"missionComplete"为0
if ScriptLib.GetGroupVariableValue(context, "missionComplete") ~= 0 then
return false
end
-- 判断变量"TalkDone"为1
if ScriptLib.GetGroupVariableValue(context, "TalkDone") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GROUP_LOAD_21006(context, evt)
-- 将本组内变量名为 "duankou" 的变量设置为 0
if 0 ~= ScriptLib.SetGroupVariableValue(context, "duankou", 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 21032, 2, {1,2,3,4,5}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
-- 将configid为 21032 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 21032, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_21033(context, evt)
-- 判断是gadgetid 为 21032的移动平台,是否到达了2 的点集中的 5 点
if 21032 ~= evt.param1 then
return false
end
if 2 ~= evt.param2 then
return false
end
if 5 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_21033(context, evt)
-- 将本组内变量名为 "duankou" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "duankou", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_QUEST_FINISH_21034(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 21032, 2, {1,2,3,4,5}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
-- 将configid为 21032 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 21032, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将本组内变量名为 "TalkDone" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "TalkDone", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_21035(context, evt)
-- 判断是gadgetid 为 21032的移动平台,是否到达了12 的点集中的 4 点
if 21032 ~= evt.param1 then
return false
end
if 12 ~= evt.param2 then
return false
end
if 4 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_21035(context, evt)
-- 将本组内变量名为 "duankou" 的变量设置为 2
if 0 ~= ScriptLib.SetGroupVariableValue(context, "duankou", 2) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_21036(context, evt)
if evt.param1 == evt.param2 then return false end
if evt.param1 == evt.param2 then return false end
if evt.source_name ~= "eyefinish1" and evt.source_name ~="duankou" then
return false
end
-- 判断变量"eyefinish1"为1
if ScriptLib.GetGroupVariableValue(context, "eyefinish1") ~= 1 then
return false
end
-- 判断变量"duankou"为1
if ScriptLib.GetGroupVariableValue(context, "duankou") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_21036(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 21032, 3, {1,2}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_21037(context, evt)
if evt.param1 == evt.param2 then return false end
if evt.param1 == evt.param2 then return false end
if evt.source_name ~= "eyefinish3" and evt.source_name ~="duankou" then
return false
end
-- 判断变量"eyefinish3"为1
if ScriptLib.GetGroupVariableValue(context, "eyefinish3") ~= 1 then
return false
end
-- 判断变量"duankou"为3
if ScriptLib.GetGroupVariableValue(context, "duankou") ~= 3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_21037(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 21032, 5, {1,2,3}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_21038(context, evt)
if evt.param1 == evt.param2 then return false end
if evt.param1 == evt.param2 then return false end
if evt.source_name ~= "eyefinish2" and evt.source_name ~="duankou" then
return false
end
-- 判断变量"eyefinish2"为1
if ScriptLib.GetGroupVariableValue(context, "eyefinish2") ~= 1 then
return false
end
-- 判断变量"duankou"为2
if ScriptLib.GetGroupVariableValue(context, "duankou") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_21038(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 21032, 4, {1,2,3,4}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_21039(context, evt)
-- 判断是gadgetid 为 21032的移动平台,是否到达了4 的点集中的 4 点
if 21032 ~= evt.param1 then
return false
end
if 4 ~= evt.param2 then
return false
end
if 4 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_21039(context, evt)
-- 将本组内变量名为 "duankou" 的变量设置为 3
if 0 ~= ScriptLib.SetGroupVariableValue(context, "duankou", 3) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_21040(context, evt)
-- 判断是gadgetid 为 21032的移动平台,是否到达了13 的点集中的 2 点
if 21032 ~= evt.param1 then
return false
end
if 13 ~= evt.param2 then
return false
end
if 2 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_21040(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007111") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 将configid为 21032 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 21032, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220137021, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 将本组内变量名为 "missionComplete" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "missionComplete", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_21041(context, evt)
-- 判断是gadgetid 为 21032的移动平台,是否到达了3 的点集中的 2 点
if 21032 ~= evt.param1 then
return false
end
if 3 ~= evt.param2 then
return false
end
if 2 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_21041(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 21001, 6, {2}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 21032, 12, {1,2,3,4}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_ARRIVAL_21042(context, evt)
-- 判断是gadgetid 为 21032的移动平台,是否到达了5 的点集中的 3 点
if 21032 ~= evt.param1 then
return false
end
if 5 ~= evt.param2 then
return false
end
if 3 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_ARRIVAL_21042(context, evt)
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 21026, 7, {2}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
-- 设置移动平台点阵,点阵id为point_array_id
-- route_type = 0,1,2 [OneWay 单向/Reciprocate 往复/Loop 循环]
-- turn_mode = true/false 开启/关闭
local tempParam = {route_type = 0, turn_mode = false}
if 0 ~= ScriptLib.SetPlatformPointArray(context, 21032, 13, {1,2}, tempParam) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_pointArray")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_21044(context, evt)
if ScriptLib.GetHostQuestState(context,4007111)==3 then
ScriptLib.RefreshGroup(context, { group_id = 220137021, suite = 2 })
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_LOAD_21047(context, evt)
if ScriptLib.GetHostQuestState(context,4007119)==2 then
ScriptLib.CreateGadget(context, { config_id = 21007 })
end
return 0
end
-- 触发操作
function action_EVENT_QUEST_START_21048(context, evt)
-- 创建id为21007的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 21007 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_GROUP_REFRESH_21049(context, evt)
if ScriptLib.GetHostQuestState(context,4007119)==2 then
ScriptLib.CreateGadget(context, { config_id = 21007 })
end
return 0
end
-- 触发操作
function action_EVENT_QUEST_FINISH_21050(context, evt)
-- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 21007 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GROUP_LOAD_21051(context, evt)
-- 判断变量"missionComplete"为1
if ScriptLib.GetGroupVariableValue(context, "missionComplete") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GROUP_LOAD_21051(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007111") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_QUEST_START_21052(context, evt)
-- 判断变量"missionComplete"为1
if ScriptLib.GetGroupVariableValue(context, "missionComplete") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_QUEST_START_21052(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "4007111") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
@@ -0,0 +1,72 @@
-- 基础信息
local base_info = {
group_id = 220137023
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 23001, gadget_id = 70310342, pos = { x = 697.680, y = 73.810, z = -158.076 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 23001 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,192 @@
-- 基础信息
local base_info = {
group_id = 220137024
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 24001, gadget_id = 70690011, pos = { x = 696.771, y = 49.430, z = -102.029 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 24002, gadget_id = 70360002, pos = { x = 696.288, y = 42.589, z = -103.608 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 24003, shape = RegionShape.CUBIC, size = { x = 25.000, y = 20.000, z = 25.000 }, pos = { x = 695.749, y = 59.277, z = -104.806 } },
{ config_id = 24004, shape = RegionShape.CUBIC, size = { x = 30.000, y = 30.000, z = 10.000 }, pos = { x = 695.749, y = 86.069, z = -91.851 } },
{ config_id = 24005, shape = RegionShape.CUBIC, size = { x = 30.000, y = 30.000, z = 10.000 }, pos = { x = 695.749, y = 89.603, z = -115.964 } },
{ config_id = 24006, shape = RegionShape.CUBIC, size = { x = 10.000, y = 30.000, z = 30.000 }, pos = { x = 682.745, y = 87.617, z = -109.816 } },
{ config_id = 24007, shape = RegionShape.CUBIC, size = { x = 10.000, y = 30.000, z = 30.000 }, pos = { x = 707.921, y = 87.617, z = -109.816 } }
}
-- 触发器
triggers = {
{ config_id = 1024003, name = "ENTER_REGION_24003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_24003", action = "action_EVENT_ENTER_REGION_24003", trigger_count = 0 },
{ config_id = 1024004, name = "ENTER_REGION_24004", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_24004", action = "action_EVENT_ENTER_REGION_24004", trigger_count = 0 },
{ config_id = 1024005, name = "ENTER_REGION_24005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_24005", action = "action_EVENT_ENTER_REGION_24005", trigger_count = 0 },
{ config_id = 1024006, name = "ENTER_REGION_24006", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_24006", action = "action_EVENT_ENTER_REGION_24006", trigger_count = 0 },
{ config_id = 1024007, name = "ENTER_REGION_24007", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_24007", action = "action_EVENT_ENTER_REGION_24007", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 24002 },
regions = { 24003, 24004, 24005, 24006, 24007 },
triggers = { "ENTER_REGION_24003", "ENTER_REGION_24004", "ENTER_REGION_24005", "ENTER_REGION_24006", "ENTER_REGION_24007" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 24001 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_24003(context, evt)
if evt.param1 ~= 24003 then return false end
-- 判断角色数量不少于0
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_24003(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220137024, 2)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_24004(context, evt)
if evt.param1 ~= 24004 then return false end
-- 判断角色数量不少于0
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_24004(context, evt)
-- 删除suite2的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220137024, 2)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_24005(context, evt)
if evt.param1 ~= 24005 then return false end
-- 判断角色数量不少于0
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_24005(context, evt)
-- 删除suite2的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220137024, 2)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_24006(context, evt)
if evt.param1 ~= 24006 then return false end
-- 判断角色数量不少于0
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_24006(context, evt)
-- 删除suite2的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220137024, 2)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_24007(context, evt)
if evt.param1 ~= 24007 then return false end
-- 判断角色数量不少于0
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_24007(context, evt)
-- 删除suite2的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220137024, 2)
return 0
end
@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 220137025
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 25002, monster_id = 21010401, pos = { x = 579.946, y = 74.089, z = -149.904 }, rot = { x = 0.000, y = 328.899, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 402 },
{ config_id = 25004, monster_id = 21010201, pos = { x = 574.191, y = 74.090, z = -160.341 }, rot = { x = 0.000, y = 285.317, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9013 },
{ config_id = 25005, monster_id = 21010201, pos = { x = 571.676, y = 74.092, z = -159.562 }, rot = { x = 0.000, y = 92.671, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9013 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 25002, 25004, 25005 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 220137026
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 26001, monster_id = 21010901, pos = { x = 669.821, y = 74.009, z = -144.090 }, rot = { x = 0.000, y = 286.315, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 32 },
{ config_id = 26002, monster_id = 21010901, pos = { x = 669.946, y = 74.009, z = -140.038 }, rot = { x = 0.000, y = 247.053, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 32 },
{ config_id = 26003, monster_id = 21020201, pos = { x = 686.728, y = 74.031, z = -141.774 }, rot = { x = 0.000, y = 264.997, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 26001, 26002, 26003 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,73 @@
-- 基础信息
local base_info = {
group_id = 220137027
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 27002, monster_id = 21010501, pos = { x = 697.046, y = 78.526, z = -128.531 }, rot = { x = 0.000, y = 191.331, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9013 },
{ config_id = 27004, monster_id = 21010701, pos = { x = 695.429, y = 78.505, z = -126.675 }, rot = { x = 0.000, y = 172.720, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9013 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 27002, 27004 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 220137028
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 28001, monster_id = 21010301, pos = { x = 661.689, y = 58.420, z = -53.932 }, rot = { x = 0.000, y = 70.907, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9012 },
{ config_id = 28002, monster_id = 21010501, pos = { x = 663.305, y = 58.420, z = -49.987 }, rot = { x = 0.000, y = 132.282, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9012 },
{ config_id = 28003, monster_id = 21010301, pos = { x = 666.825, y = 58.420, z = -47.938 }, rot = { x = 0.000, y = 165.831, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9012 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 28001, 28002, 28003 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,97 @@
-- 基础信息
local base_info = {
group_id = 220137029
}
-- DEFS_MISCS
--激活梦境复苏之门
--key填regionid
--value为pointid
local Check_Point_List = {
[29001] = 9
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
-- 进入此区域触发梦境复苏之门
{ config_id = 29001, shape = RegionShape.SPHERE, radius = 10, pos = { x = 589.840, y = 73.959, z = -141.823 } }
}
-- 触发器
triggers = {
-- 进入此区域触发梦境复苏之门
{ config_id = 1029001, name = "ENTER_REGION_29001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_29001", action = "", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 29001 },
triggers = { "ENTER_REGION_29001" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_29001(context, evt)
if evt.param1 ~= 29001 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
require "CheckPoint_Handler"
@@ -0,0 +1,75 @@
-- 基础信息
local base_info = {
group_id = 220137030
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 30001, monster_id = 21020101, pos = { x = 741.089, y = 86.249, z = -143.020 }, rot = { x = 0.000, y = 70.995, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 401 },
{ config_id = 30002, monster_id = 21010201, pos = { x = 741.545, y = 86.249, z = -140.754 }, rot = { x = 0.000, y = 93.913, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9003 },
{ config_id = 30003, monster_id = 21010201, pos = { x = 742.285, y = 86.249, z = -151.239 }, rot = { x = 0.000, y = 134.160, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, pose_id = 9011 },
{ config_id = 30005, monster_id = 21010601, pos = { x = 738.210, y = 86.249, z = -138.356 }, rot = { x = 0.000, y = 107.737, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 30001, 30002, 30003, 30005 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,97 @@
-- 基础信息
local base_info = {
group_id = 220137031
}
-- DEFS_MISCS
--激活梦境复苏之门
--key填regionid
--value为pointid
local Check_Point_List = {
[31001] = 2
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
-- 进入此区域触发梦境复苏之门
{ config_id = 31001, shape = RegionShape.SPHERE, radius = 10, pos = { x = 551.588, y = 48.594, z = -258.862 } }
}
-- 触发器
triggers = {
-- 进入此区域触发梦境复苏之门
{ config_id = 1031001, name = "ENTER_REGION_31001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_31001", action = "", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 31001 },
triggers = { "ENTER_REGION_31001" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_31001(context, evt)
if evt.param1 ~= 31001 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
require "CheckPoint_Handler"
@@ -0,0 +1,97 @@
-- 基础信息
local base_info = {
group_id = 220137032
}
-- DEFS_MISCS
--激活梦境复苏之门
--key填regionid
--value为pointid
local Check_Point_List = {
[32001] = 12
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
-- 进入此区域触发梦境复苏之门
{ config_id = 32001, shape = RegionShape.SPHERE, radius = 10, pos = { x = 697.680, y = 73.810, z = -158.076 } }
}
-- 触发器
triggers = {
-- 进入此区域触发梦境复苏之门
{ config_id = 1032001, name = "ENTER_REGION_32001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_32001", action = "", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 32001 },
triggers = { "ENTER_REGION_32001" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_32001(context, evt)
if evt.param1 ~= 32001 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
require "CheckPoint_Handler"
@@ -0,0 +1,97 @@
-- 基础信息
local base_info = {
group_id = 220137033
}
-- DEFS_MISCS
--激活梦境复苏之门
--key填regionid
--value为pointid
local Check_Point_List = {
[33001] = 11
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
-- 进入此区域触发梦境复苏之门
{ config_id = 33001, shape = RegionShape.SPHERE, radius = 10, pos = { x = 739.418, y = 139.286, z = -33.060 } }
}
-- 触发器
triggers = {
-- 进入此区域触发梦境复苏之门
{ config_id = 1033001, name = "ENTER_REGION_33001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_33001", action = "", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 33001 },
triggers = { "ENTER_REGION_33001" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_33001(context, evt)
if evt.param1 ~= 33001 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
require "CheckPoint_Handler"
@@ -0,0 +1,97 @@
-- 基础信息
local base_info = {
group_id = 220137034
}
-- DEFS_MISCS
--激活梦境复苏之门
--key填regionid
--value为pointid
local Check_Point_List = {
[34001] = 10
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
-- 进入此区域触发梦境复苏之门
{ config_id = 34001, shape = RegionShape.SPHERE, radius = 10, pos = { x = 695.352, y = 78.550, z = -126.719 } }
}
-- 触发器
triggers = {
-- 进入此区域触发梦境复苏之门
{ config_id = 1034001, name = "ENTER_REGION_34001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_34001", action = "", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 34001 },
triggers = { "ENTER_REGION_34001" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_34001(context, evt)
if evt.param1 ~= 34001 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
require "CheckPoint_Handler"
@@ -0,0 +1,72 @@
-- 基础信息
local base_info = {
group_id = 220137035
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 35001, gadget_id = 70310490, pos = { x = 711.250, y = 89.940, z = -133.450 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 35001 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,424 @@
{
"areas": {},
"doors": {},
"entities": {
"1": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 500.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 594.1799,
"y": -60.0,
"z": -116.5212
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 20.0,
"heightType": "Center",
"length": 500.0,
"useHeight": true,
"width": 500.0
},
"stringParam": "",
"tranPos": {
"x": 538.8703,
"y": 85.10318,
"z": -213.6435
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
}
},
"forces": {},
"points": {
"1": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": 547.9871,
"y": 18.28766,
"z": -257.9739
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 3.0,
"y": 3.0,
"z": 3.0
},
"tranPos": {
"x": 547.987061,
"y": 18.2876625,
"z": -257.973877
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"10": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": 695.3516,
"y": 78.55,
"z": -126.7188
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 30.0,
"y": 20.0,
"z": 30.0
},
"tranPos": {
"x": 695.3516,
"y": 78.55,
"z": -126.718842
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"11": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": 739.4178,
"y": 139.2864,
"z": -33.0597
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 30.0,
"y": 20.0,
"z": 30.0
},
"tranPos": {
"x": 739.4178,
"y": 139.286377,
"z": -33.0597038
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"12": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70310387,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": 697.6804,
"y": 73.81,
"z": -158.0756
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 30.0,
"y": 20.0,
"z": 30.0
},
"tranPos": {
"x": 697.2938,
"y": 73.81,
"z": -152.1079
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"2": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70310387,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": 551.5875,
"y": 48.59435,
"z": -258.8618
},
"rot": {
"x": 0.0,
"y": 45.2541,
"z": 0.0
},
"size": {
"x": 20.0,
"y": 20.0,
"z": 20.0
},
"tranPos": {
"x": 553.7919,
"y": 48.73868,
"z": -256.3698
},
"tranRot": {
"x": 0.0,
"y": 39.776,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"3": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 590.1442,
"y": 73.95935,
"z": -141.2712
},
"rot": {
"x": 0.0,
"y": 94.4313,
"z": 0.0
},
"size": {
"x": 30.0,
"y": 20.0,
"z": 30.0
},
"tranPos": {
"x": 590.1442,
"y": 73.95935,
"z": -141.2712
},
"tranRot": {
"x": 0.0,
"y": 94.43131,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"4": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 551.6467,
"y": 62.40812,
"z": -201.3462
},
"rot": {
"x": 0.0,
"y": 325.9417,
"z": 0.0
},
"size": {
"x": 30.0,
"y": 20.0,
"z": 30.0
},
"tranPos": {
"x": 551.6467,
"y": 62.40812,
"z": -201.787491
},
"tranRot": {
"x": 0.0,
"y": 325.9417,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"5": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 679.5389,
"y": 73.90812,
"z": -141.8214
},
"rot": {
"x": 0.0,
"y": 83.5538,
"z": 0.0
},
"size": {
"x": 15.0,
"y": 10.0,
"z": 15.0
},
"tranPos": {
"x": 679.5389,
"y": 73.90812,
"z": -141.8214
},
"tranRot": {
"x": 0.0,
"y": 83.55382,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"9": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": 589.8397,
"y": 73.95935,
"z": -141.8234
},
"rot": {
"x": 0.0,
"y": 91.2034,
"z": 0.0
},
"size": {
"x": 30.0,
"y": 20.0,
"z": 30.0
},
"tranPos": {
"x": 589.839661,
"y": 73.95935,
"z": -141.823364
},
"tranRot": {
"x": 0.0,
"y": 91.20337,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
}
},
"transRadius": 0.0
}
@@ -0,0 +1,752 @@
[
{
"pointArrayId": 1,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 726.9224,
"y": 86.70725,
"z": -45.49092
},
"rotation": {
"x": 0.0,
"y": 270.4044,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 2,
"position": {
"x": 726.0498,
"y": 139.684769,
"z": -45.48476
},
"rotation": {
"x": 0.0,
"y": 90.0,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 2,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 690.4313,
"y": 57.3604,
"z": -99.98555
},
"rotation": {
"x": 0.0,
"y": 116.9472,
"z": 0.0
},
"velocity": 0.0,
"time": 1.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 2,
"position": {
"x": 690.4313,
"y": 57.3604,
"z": -99.98555
},
"rotation": {
"x": 0.0,
"y": 0.364182264,
"z": 0.0
},
"velocity": 0.0,
"time": 1.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 3,
"position": {
"x": 690.499756,
"y": 57.3604,
"z": -95.08984
},
"rotation": {
"x": 0.0,
"y": 0.364182264,
"z": 0.0
},
"velocity": 0.0,
"time": 4.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 4,
"position": {
"x": 690.499756,
"y": 57.3604,
"z": -95.08984
},
"rotation": {
"x": 0.0,
"y": 90.99843,
"z": 0.0
},
"velocity": 0.0,
"time": 1.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 5,
"position": {
"x": 692.5278,
"y": 57.3604,
"z": -95.12519
},
"rotation": {
"x": 0.0,
"y": 90.99843,
"z": 0.0
},
"velocity": 0.0,
"time": 2.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 3,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 692.5278,
"y": 57.3604,
"z": -95.12519
},
"rotation": {
"x": 0.0,
"y": 90.99843,
"z": 0.0
},
"velocity": 0.0,
"time": 1.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 2,
"position": {
"x": 700.0203,
"y": 57.3604,
"z": -95.25577
},
"rotation": {
"x": 0.0,
"y": 90.99843,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 4,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 704.505859,
"y": 65.6517639,
"z": -99.9532242
},
"rotation": {
"x": 0.0,
"y": 179.682449,
"z": 0.0
},
"velocity": 0.0,
"time": 1.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 2,
"position": {
"x": 704.440857,
"y": 65.6517639,
"z": -111.749115
},
"rotation": {
"x": 0.0,
"y": 179.682449,
"z": 0.0
},
"velocity": 0.0,
"time": 4.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 3,
"position": {
"x": 704.442139,
"y": 65.6517639,
"z": -111.670853
},
"rotation": {
"x": 0.0,
"y": 268.8423,
"z": 0.0
},
"velocity": 0.0,
"time": 1.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 4,
"position": {
"x": 702.541,
"y": 65.6517639,
"z": -111.709274
},
"rotation": {
"x": 0.0,
"y": 268.8423,
"z": 0.0
},
"velocity": 0.0,
"time": 1.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 5,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 702.541,
"y": 65.6517639,
"z": -111.709274
},
"rotation": {
"x": 0.0,
"y": 268.8423,
"z": 0.0
},
"velocity": 0.0,
"time": 1.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 2,
"position": {
"x": 690.1689,
"y": 65.6517639,
"z": -111.75415
},
"rotation": {
"x": 0.0,
"y": 268.8423,
"z": 0.0
},
"velocity": 0.0,
"time": 4.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 3,
"position": {
"x": 690.1712,
"y": 65.6517639,
"z": -111.827812
},
"rotation": {
"x": 0.0,
"y": 178.206055,
"z": 0.0
},
"velocity": 0.0,
"time": 1.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 6,
"platformPointList": [
{
"pointId": 2,
"position": {
"x": 700.1245,
"y": 64.61919,
"z": -94.63444
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 7,
"platformPointList": [
{
"pointId": 2,
"position": {
"x": 690.2429,
"y": 72.7916,
"z": -112.2888
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 8,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 536.6008,
"y": 62.3494339,
"z": -203.2756
},
"rotation": {
"x": 0.0,
"y": 45.011158,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 2,
"position": {
"x": 536.6008,
"y": 73.89171,
"z": -203.275635
},
"rotation": {
"x": 0.0,
"y": 316.0266,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 9,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 685.9926,
"y": 73.78788,
"z": -156.1936
},
"rotation": {
"x": 0.0,
"y": 90.0,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 2,
"position": {
"x": 685.9926,
"y": 85.98616,
"z": -156.1936
},
"rotation": {
"x": 0.0,
"y": 357.467743,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 10,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 724.0934,
"y": 72.35137,
"z": -155.3178
},
"rotation": {
"x": 0.0,
"y": 356.0777,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 2,
"position": {
"x": 724.0934,
"y": 86.24786,
"z": -155.3178
},
"rotation": {
"x": 0.0,
"y": 356.0777,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 12,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 700.0206,
"y": 65.6517639,
"z": -95.23673
},
"rotation": {
"x": 0.0,
"y": 90.99843,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 2,
"position": {
"x": 704.5782,
"y": 65.6517639,
"z": -95.19446
},
"rotation": {
"x": 0.0,
"y": 90.99843,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 3,
"position": {
"x": 704.5782,
"y": 65.6517639,
"z": -95.19446
},
"rotation": {
"x": 0.0,
"y": 179.682449,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 4,
"position": {
"x": 704.5081,
"y": 65.6517639,
"z": -99.95321
},
"rotation": {
"x": 0.0,
"y": 179.682449,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
},
{
"pointArrayId": 13,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 690.1712,
"y": 73.82828,
"z": -111.827812
},
"rotation": {
"x": 0.0,
"y": 178.206055,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 2,
"position": {
"x": 690.1027,
"y": 73.82828,
"z": -115.586372
},
"rotation": {
"x": 0.0,
"y": 178.206055,
"z": 0.0
},
"velocity": 2.2,
"time": 0.0,
"isReachEvent": false,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
}
]