添加配置表

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 = -512.0, z = -512.0 },
size = { x = 1024.0, z = 1024.0 },
born_pos = { x = -33.000, y = -255.900, z = 57.500 },
born_rot = { x = 0.000, y = 188.193, z = 0.000 },
die_y = -620,
city_id = 2,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 20121 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -512.0, z = -512.0 }, max = { x = 512.0, z = 512.0 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { "routes" }
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,15 @@
-- 所有的group
groups = {
{ id = 220121002, pos = { x = -35.171, y = -258.541, z = -30.917 } },
{ id = 220121004, pos = { x = -45.028, y = -582.955, z = -173.756 } },
{ id = 220121005, pos = { x = -33.670, y = -577.024, z = -300.962 } },
{ id = 220121006, pos = { x = -35.714, y = -257.192, z = -29.792 } },
{ id = 220121007, pos = { x = -35.918, y = -395.675, z = -29.010 } },
{ id = 220121008, pos = { x = -37.212, y = -256.802, z = 42.427 } },
{ id = 220121009, pos = { x = -35.674, y = -395.352, z = -29.849 } },
{ id = 220121010, pos = { x = -45.085, y = -583.152, z = -172.736 } },
{ id = 220121011, pos = { x = -34.740, y = -259.590, z = -32.514 } },
{ id = 220121012, pos = { x = -36.041, y = -395.890, z = -29.823 } },
{ id = 220121013, pos = { x = -47.258, y = -562.983, z = -345.991 } },
{ id = 220121014, pos = { x = -45.089, y = -583.152, z = -172.733 } }
}
@@ -0,0 +1,18 @@
dummy_points = {
["Q11013DungeonEndPaimon"] = { pos = { x = -49.484, y = -563.127, z = -342.331 }, rot = { x = 0.000, y = 148.244, z = 0.000 } },
["Q11013DungeonEndPlayer"] = { pos = { x = -47.832, y = -563.125, z = -341.110 }, rot = { x = 0.000, y = 177.148, z = 0.000 } },
["Q11013DungeonEndShenhe"] = { pos = { x = -46.261, y = -563.137, z = -341.779 }, rot = { x = 0.000, y = 175.828, z = 0.000 } },
["Q11013DungeonLevel1Paimon"] = { pos = { x = -33.080, y = -258.769, z = -36.475 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q11013DungeonLevel1Player"] = { pos = { x = -35.443, y = -258.755, z = -36.927 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q11013DungeonLevel1Shenhe"] = { pos = { x = -38.469, y = -258.756, z = -35.256 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q11013DungeonLevel2Monster"] = { pos = { x = -23.472, y = -395.946, z = -30.202 }, rot = { x = 0.000, y = 268.518, z = 0.000 } },
["Q11013DungeonLevel2Paimon"] = { pos = { x = -38.997, y = -395.704, z = -28.397 }, rot = { x = 0.000, y = 137.468, z = 0.000 } },
["Q11013DungeonLevel2Player"] = { pos = { x = -41.040, y = -395.600, z = -29.870 }, rot = { x = 0.000, y = 161.858, z = 0.000 } },
["Q11013DungeonLevel2Shenhe"] = { pos = { x = -34.865, y = -395.702, z = -27.078 }, rot = { x = 0.000, y = 186.983, z = 0.000 } },
["Q11013DungeonLevel3Paimon"] = { pos = { x = -47.583, y = -583.180, z = -171.278 }, rot = { x = 0.000, y = 176.034, z = 0.000 } },
["Q11013DungeonLevel3Player"] = { pos = { x = -45.841, y = -583.182, z = -170.868 }, rot = { x = 0.000, y = 177.370, z = 0.000 } },
["Q11013DungeonLevel3Shenhe"] = { pos = { x = -43.245, y = -583.184, z = -170.599 }, rot = { x = 0.000, y = 212.214, z = 0.000 } },
["Q11013DungeonStartPaimon"] = { pos = { x = -40.220, y = -255.686, z = 46.254 }, rot = { x = 0.000, y = 168.091, z = 0.000 } },
["Q11013DungeonStartPlayer"] = { pos = { x = -37.788, y = -255.707, z = 47.035 }, rot = { x = 0.000, y = 177.136, z = 0.000 } },
["Q11013DungeonStartShenhe"] = { pos = { x = -35.592, y = -255.699, z = 45.975 }, rot = { x = 0.000, y = 188.397, z = 0.000 } }
}
@@ -0,0 +1,391 @@
-- 基础信息
local base_info = {
group_id = 220121002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 2023, monster_id = 20011201, pos = { x = -79.811, y = -249.566, z = -27.534 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 2024, monster_id = 20011201, pos = { x = -84.961, y = -249.576, z = -26.294 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 2025, monster_id = 20011201, pos = { x = -81.558, y = -250.257, z = -21.983 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 2027, monster_id = 21011201, pos = { x = 5.148, y = -256.882, z = -18.710 }, rot = { x = 0.000, y = 175.657, z = 0.000 }, level = 1, pose_id = 9013 },
{ config_id = 2028, monster_id = 21010501, pos = { x = 17.031, y = -254.876, z = -17.025 }, rot = { x = 0.000, y = 271.509, z = 0.000 }, level = 1, pose_id = 32 },
{ config_id = 2029, monster_id = 21011201, pos = { x = 11.315, y = -256.878, z = -19.285 }, rot = { x = 0.000, y = 293.991, z = 0.000 }, level = 1, pose_id = 9003 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2001, gadget_id = 70330019, pos = { x = 5.266, y = -256.883, z = -20.486 }, rot = { x = 0.000, y = 26.075, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2002, gadget_id = 70330019, pos = { x = -6.520, y = -243.035, z = -57.530 }, rot = { x = 0.000, y = 76.540, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2003, gadget_id = 70330019, pos = { x = -89.477, y = -258.909, z = -22.329 }, rot = { x = 0.000, y = 359.169, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2004, gadget_id = 70330021, pos = { x = 18.282, y = -253.795, z = -20.739 }, rot = { x = 27.541, y = 185.172, z = 320.234 }, level = 1, persistent = true },
{ config_id = 2005, gadget_id = 70330021, pos = { x = -3.348, y = -242.812, z = -53.623 }, rot = { x = 0.000, y = 146.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2006, gadget_id = 70330021, pos = { x = -80.398, y = -256.224, z = -36.072 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2011, gadget_id = 70900201, pos = { x = 5.288, y = -254.784, z = -20.505 }, rot = { x = 0.000, y = 3.532, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2012, gadget_id = 70900201, pos = { x = -6.513, y = -240.862, z = -57.536 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2013, gadget_id = 70900201, pos = { x = -89.349, y = -256.746, z = -22.304 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2014, gadget_id = 70690011, pos = { x = 3.514, y = -259.570, z = -29.949 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2015, gadget_id = 70310013, pos = { x = -17.161, y = -243.867, z = -55.828 }, rot = { x = 0.000, y = 351.963, z = 0.000 }, level = 1 },
{ config_id = 2017, gadget_id = 70310013, pos = { x = -23.052, y = -243.867, z = -57.219 }, rot = { x = 0.000, y = 346.715, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2018, gadget_id = 70690011, pos = { x = -56.294, y = -259.570, z = -65.725 }, rot = { x = 0.000, y = 332.326, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2019, gadget_id = 70310013, pos = { x = -29.101, y = -243.867, z = -58.648 }, rot = { x = 0.000, y = 346.715, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2020, gadget_id = 70211101, pos = { x = -65.637, y = -235.743, z = -68.980 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true, autopick = true },
{ config_id = 2021, gadget_id = 70690011, pos = { x = -35.947, y = -259.570, z = -61.005 }, rot = { x = 0.000, y = 347.043, z = 0.000 }, level = 1, persistent = true },
{ config_id = 2026, gadget_id = 70900201, pos = { x = -35.531, y = -256.831, z = -30.997 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
{ config_id = 2016, shape = RegionShape.SPHERE, radius = 2.4, pos = { x = -17.002, y = -243.244, z = -55.967 } },
{ config_id = 2022, shape = RegionShape.SPHERE, radius = 10, pos = { x = -81.926, y = -259.590, z = -22.366 } },
{ config_id = 2034, shape = RegionShape.SPHERE, radius = 2.4, pos = { x = -22.972, y = -243.244, z = -57.416 } }
}
-- 触发器
triggers = {
{ config_id = 1002007, name = "GADGET_STATE_CHANGE_2007", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_2007", action = "action_EVENT_GADGET_STATE_CHANGE_2007", trigger_count = 0 },
{ config_id = 1002008, name = "GADGET_STATE_CHANGE_2008", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_2008", action = "action_EVENT_GADGET_STATE_CHANGE_2008", trigger_count = 0 },
{ config_id = 1002009, name = "GADGET_STATE_CHANGE_2009", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_2009", action = "action_EVENT_GADGET_STATE_CHANGE_2009", trigger_count = 0 },
{ config_id = 1002010, name = "VARIABLE_CHANGE_2010", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_2010", action = "action_EVENT_VARIABLE_CHANGE_2010" },
{ config_id = 1002016, name = "ENTER_REGION_2016", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2016", action = "action_EVENT_ENTER_REGION_2016" },
{ config_id = 1002022, name = "ENTER_REGION_2022", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2022", action = "action_EVENT_ENTER_REGION_2022" },
{ config_id = 1002030, name = "GADGET_STATE_CHANGE_2030", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_2030", action = "action_EVENT_GADGET_STATE_CHANGE_2030" },
{ config_id = 1002034, name = "ENTER_REGION_2034", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2034", action = "action_EVENT_ENTER_REGION_2034" }
}
-- 变量
variables = {
{ config_id = 1, name = "box1", value = 0, no_refresh = false },
{ config_id = 2, name = "box2", value = 0, no_refresh = false },
{ config_id = 3, name = "box3", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 2027, 2028, 2029 },
gadgets = { 2001, 2002, 2003, 2004, 2005, 2006, 2011, 2012, 2013, 2020 },
regions = { 2022 },
triggers = { "GADGET_STATE_CHANGE_2007", "GADGET_STATE_CHANGE_2008", "GADGET_STATE_CHANGE_2009", "VARIABLE_CHANGE_2010", "ENTER_REGION_2022", "GADGET_STATE_CHANGE_2030" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 2015 },
regions = { 2016 },
triggers = { "ENTER_REGION_2016" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 2017 },
regions = { 2034 },
triggers = { "ENTER_REGION_2034" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 2018, 2019, 2021 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = 岩片小怪,
monsters = { 2023, 2024, 2025 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_2007(context, evt)
if 2001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_2007(context, evt)
-- 触发镜头注目,注目位置为坐标{x=-5.6, y=-243, z=-49.2},持续时间为1.5秒,并且为强制注目形式,不广播其他玩家
local pos = {x=-5.6, y=-243, z=-49.2}
local pos_follow = {x=0, y=0, z=0}
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 1.5, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0,
is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false,
is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin")
return -1
end
-- 将本组内变量名为 "box1" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "box1", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 创建id为2014的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 2014 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121002, EntityType.GADGET, 2011 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_2008(context, evt)
if 2002 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_2008(context, evt)
-- 将本组内变量名为 "box2" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "box2", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121002, EntityType.GADGET, 2012 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220121002, 2)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_2009(context, evt)
if 2003 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_2009(context, evt)
-- 将本组内变量名为 "box3" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "box3", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121002, EntityType.GADGET, 2013 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_2010(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"box1"为1
if ScriptLib.GetGroupVariableValue(context, "box1") ~= 1 then
return false
end
-- 判断变量"box2"为1
if ScriptLib.GetGroupVariableValue(context, "box2") ~= 1 then
return false
end
-- 判断变量"box3"为1
if ScriptLib.GetGroupVariableValue(context, "box3") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_2010(context, evt)
-- 改变指定group组220121006中, configid为6010的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220121006, 6010, GadgetState.ChestLocked) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "2201210021") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 创建id为2026的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 2026 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
-- 触发镜头注目,注目位置为坐标{x=-35.53051, y=-256.1645, z=-30.99733},持续时间为3秒,并且为强制注目形式,不广播其他玩家
local pos = {x=-35.53051, y=-256.1645, z=-30.99733}
local pos_follow = {x=0, y=0, z=0}
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 3, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0,
is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false,
is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_2016(context, evt)
if evt.param1 ~= 2016 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
-- 触发操作
function action_EVENT_ENTER_REGION_2016(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 220121002, 3)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_2022(context, evt)
if evt.param1 ~= 2022 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
-- 触发操作
function action_EVENT_ENTER_REGION_2022(context, evt)
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 220121002, 5)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_2030(context, evt)
if 2020 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_2030(context, evt)
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121002, EntityType.GADGET, 2018 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121002, EntityType.GADGET, 2021 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_2034(context, evt)
if evt.param1 ~= 2034 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
-- 触发操作
function action_EVENT_ENTER_REGION_2034(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 220121002, 4)
return 0
end
@@ -0,0 +1,307 @@
-- 基础信息
local base_info = {
group_id = 220121004
}
-- DEFS_MISCS
local defs = {
box_gadget_id = 70290241,
point_array_id = 1,
option_id = 98,
reminder_level_boarder = 400119,
reminder_array_boarder = 400119,
reminder_box_conflict = 400119,
}
--地形信息:0-墙面,1-地面,2-空气墙
local level_map = {
{0,0,2,1,1,1,1,0,0},
{0,0,2,0,1,1,1,1,0},
{2,1,1,0,1,2,2,2,2},
{0,0,1,0,1,0,0,0,0},
{2,2,1,0,1,0,0,0,0}
}
--点阵id信息
local point_map = {
{ 0, 0, 0, 1, 2, 3, 4, 0, 0},
{ 0, 0, 0, 0, 5, 6, 7, 8, 0},
{ 0, 9,10, 0,11, 0, 0, 0, 0},
{ 0, 0,12, 0,13, 0, 0, 0, 0},
{ 0, 0,14, 0,15, 0, 0, 0, 0}
}
--箱子起始信息
local box_config = {
[1] = {config_id = 4005, pos = {x=2,z=3}},
[2] = {config_id = 4006, pos = {x=4,z=1}},
[3] = {config_id = 4008, pos = {x=5,z=2}},
[4] = {config_id = 4009, pos = {x=6,z=2}}
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[4001] = { config_id = 4001, gadget_id = 70290298, pos = { x = -37.485, y = -440.673, z = -29.602 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
[4002] = { config_id = 4002, gadget_id = 70710199, pos = { x = -28.930, y = -575.680, z = -22.630 }, rot = { x = 348.076, y = 353.295, z = 11.700 }, level = 1 },
-- 石块1
[4005] = { config_id = 4005, gadget_id = 70290241, pos = { x = -45.218, y = -578.950, z = -89.134 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true, is_use_point_array = true },
-- 石块2
[4006] = { config_id = 4006, gadget_id = 70290241, pos = { x = -35.230, y = -578.920, z = -101.043 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true, is_use_point_array = true },
-- 石块3
[4008] = { config_id = 4008, gadget_id = 70290241, pos = { x = -40.289, y = -578.950, z = -106.604 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true, is_use_point_array = true },
-- 石块4
[4009] = { config_id = 4009, gadget_id = 70290241, pos = { x = -40.189, y = -578.942, z = -111.786 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true, is_use_point_array = true },
[4010] = { config_id = 4010, gadget_id = 70211101, pos = { x = -59.097, y = -578.912, z = -86.402 }, rot = { x = 0.000, y = 174.519, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true },
[4011] = { config_id = 4011, gadget_id = 70211101, pos = { x = -50.354, y = -578.949, z = -110.418 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true },
[4012] = { config_id = 4012, gadget_id = 70360022, pos = { x = -42.007, y = -568.552, z = -68.879 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, persistent = true },
[4013] = { config_id = 4013, gadget_id = 70710010, pos = { x = -40.901, y = -572.827, z = -47.481 }, rot = { x = 0.000, y = 158.311, z = 0.000 }, level = 1, route_id = 7, start_route = false },
[4014] = { config_id = 4014, gadget_id = 70211101, pos = { x = -32.684, y = -575.990, z = -17.428 }, rot = { x = 0.000, y = 249.739, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true },
[4015] = { config_id = 4015, gadget_id = 70360021, pos = { x = -39.506, y = -577.335, z = -65.806 }, rot = { x = 270.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 5, persistent = true },
[4016] = { config_id = 4016, gadget_id = 70360021, pos = { x = -42.192, y = -571.049, z = -74.173 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 6, persistent = true },
[4019] = { config_id = 4019, gadget_id = 70800107, pos = { x = -41.125, y = -503.470, z = -28.450 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
[4020] = { config_id = 4020, gadget_id = 70900201, pos = { x = -40.810, y = -575.990, z = -29.686 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
-- 删除过渡云完成任务解锁控制
[4003] = { config_id = 4003, shape = RegionShape.SPHERE, radius = 20, pos = { x = -40.635, y = -575.990, z = -29.781 } },
-- 下层天气1切换
[4004] = { config_id = 4004, shape = RegionShape.CUBIC, size = { x = 50.000, y = 140.000, z = 70.000 }, pos = { x = -36.610, y = -509.304, z = -25.238 } },
-- 下层天气2切换
[4007] = { config_id = 4007, shape = RegionShape.CUBIC, size = { x = 15.000, y = 20.000, z = 140.000 }, pos = { x = -42.239, y = -577.500, z = -133.236 } },
-- 靠近石壁开车
[4018] = { config_id = 4018, shape = RegionShape.SPHERE, radius = 7, pos = { x = -44.710, y = -578.937, z = -84.722 } }
}
-- 触发器
triggers = {
-- 删除过渡云完成任务解锁控制
{ config_id = 1004003, name = "ENTER_REGION_4003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_4003", action = "action_EVENT_ENTER_REGION_4003" },
-- 下层天气1切换
{ config_id = 1004004, name = "ENTER_REGION_4004", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_4004", action = "action_EVENT_ENTER_REGION_4004", trigger_count = 0 },
-- 下层天气2切换
{ config_id = 1004007, name = "ENTER_REGION_4007", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_4007", action = "action_EVENT_ENTER_REGION_4007", trigger_count = 0 },
{ config_id = 1004017, name = "PLATFORM_REACH_POINT_4017", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_4017", action = "action_EVENT_PLATFORM_REACH_POINT_4017" },
-- 靠近石壁开车
{ config_id = 1004018, name = "ENTER_REGION_4018", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_4018", action = "action_EVENT_ENTER_REGION_4018" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 4001, 4002, 4005, 4006, 4008, 4009, 4010, 4011, 4012, 4013, 4014, 4015, 4016, 4020 },
regions = { 4003, 4004, 4007, 4018 },
triggers = { "ENTER_REGION_4003", "ENTER_REGION_4004", "ENTER_REGION_4007", "PLATFORM_REACH_POINT_4017", "ENTER_REGION_4018" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_4003(context, evt)
if evt.param1 ~= 4003 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
-- 触发操作
function action_EVENT_ENTER_REGION_4003(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "2201210041") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121004, EntityType.GADGET, 4001 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 4013) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121004, EntityType.GADGET, 4020 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121010, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_4004(context, evt)
if evt.param1 ~= 4004 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
-- 触发操作
function action_EVENT_ENTER_REGION_4004(context, evt)
ScriptLib.SetWeatherAreaState(context, 10069,1)
ScriptLib.SetWeatherAreaState(context, 10070,0)
ScriptLib.EnterWeatherArea(context, 10069)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_4007(context, evt)
if evt.param1 ~= 4007 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
-- 触发操作
function action_EVENT_ENTER_REGION_4007(context, evt)
ScriptLib.SetWeatherAreaState(context, 10070,1)
ScriptLib.SetWeatherAreaState(context, 10069,0)
ScriptLib.SetWeatherAreaState(context, 10071,0)
ScriptLib.EnterWeatherArea(context, 10070)
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_REACH_POINT_4017(context, evt)
-- 判断是gadgetid 为 4013的移动平台,是否到达了7 的路线中的 14 点
if 4013 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
if 14 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_REACH_POINT_4017(context, evt)
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121004, EntityType.GADGET, 4013 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_4018(context, evt)
if evt.param1 ~= 4018 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
-- 触发操作
function action_EVENT_ENTER_REGION_4018(context, evt)
-- 在指定位置对应半径范围播放reminder
local pos = {x=-44,y=-578,z=-84}
if 0 ~= ScriptLib.ShowReminderRadius(context, 500660180, pos, 80) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
require "V2_4/BoxPusher"
@@ -0,0 +1,313 @@
-- 基础信息
local base_info = {
group_id = 220121005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 5001, gadget_id = 70710010, pos = { x = -44.199, y = -581.399, z = -212.265 }, rot = { x = 0.000, y = 175.667, z = 0.000 }, level = 1, route_id = 1, start_route = false, persistent = true },
{ config_id = 5003, gadget_id = 70710006, pos = { x = -16.989, y = -577.131, z = -303.790 }, rot = { x = 0.000, y = 318.257, z = 0.000 }, level = 1, state = GadgetState.GearAction1, persistent = true },
{ config_id = 5004, gadget_id = 70710006, pos = { x = -17.840, y = -577.127, z = -299.401 }, rot = { x = 0.000, y = 175.848, z = 0.000 }, level = 1, persistent = true },
{ config_id = 5005, gadget_id = 70350061, pos = { x = -32.627, y = -570.266, z = -324.413 }, rot = { x = 272.394, y = 326.644, z = 61.870 }, level = 1 },
{ config_id = 5007, gadget_id = 70900201, pos = { x = -46.495, y = -557.812, z = -349.414 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 5011, gadget_id = 70290268, pos = { x = -36.512, y = -583.057, z = -472.862 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5012, gadget_id = 70211111, pos = { x = -16.611, y = -577.129, z = -301.450 }, rot = { x = 0.000, y = 260.357, z = 0.000 }, level = 11, drop_tag = "解谜中级璃月", isOneoff = true, persistent = true }
}
-- 区域
regions = {
{ config_id = 5006, shape = RegionShape.SPHERE, radius = 10, pos = { x = -47.154, y = -563.300, z = -349.673 } },
{ config_id = 5008, shape = RegionShape.SPHERE, radius = 17, pos = { x = -25.503, y = -577.142, z = -308.122 } },
{ config_id = 5009, shape = RegionShape.SPHERE, radius = 64, pos = { x = -48.644, y = -578.676, z = -275.630 } },
-- 提示开车
{ config_id = 5014, shape = RegionShape.SPHERE, radius = 8, pos = { x = -48.658, y = -580.976, z = -240.201 } }
}
-- 触发器
triggers = {
{ config_id = 1005002, name = "AVATAR_NEAR_PLATFORM_5002", event = EventType.EVENT_AVATAR_NEAR_PLATFORM, source = "", condition = "condition_EVENT_AVATAR_NEAR_PLATFORM_5002", action = "action_EVENT_AVATAR_NEAR_PLATFORM_5002", trigger_count = 0 },
{ config_id = 1005006, name = "ENTER_REGION_5006", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5006", action = "action_EVENT_ENTER_REGION_5006", trigger_count = 0 },
{ config_id = 1005008, name = "ENTER_REGION_5008", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5008", action = "action_EVENT_ENTER_REGION_5008" },
{ config_id = 1005009, name = "ENTER_REGION_5009", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5009", action = "action_EVENT_ENTER_REGION_5009", trigger_count = 0 },
{ config_id = 1005010, name = "PLATFORM_REACH_POINT_5010", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_5010", action = "action_EVENT_PLATFORM_REACH_POINT_5010", trigger_count = 0 },
{ config_id = 1005013, name = "GADGET_STATE_CHANGE_5013", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_5013", action = "action_EVENT_GADGET_STATE_CHANGE_5013", trigger_count = 0 },
-- 提示开车
{ config_id = 1005014, name = "ENTER_REGION_5014", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5014", action = "action_EVENT_ENTER_REGION_5014" },
-- 设置初始灯柱
{ config_id = 1005015, name = "GADGET_CREATE_5015", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_5015", action = "action_EVENT_GADGET_CREATE_5015", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 5001, 5003, 5004, 5005, 5007, 5011 },
regions = { 5006, 5008, 5009, 5014 },
triggers = { "AVATAR_NEAR_PLATFORM_5002", "ENTER_REGION_5006", "ENTER_REGION_5008", "ENTER_REGION_5009", "PLATFORM_REACH_POINT_5010", "GADGET_STATE_CHANGE_5013", "ENTER_REGION_5014", "GADGET_CREATE_5015" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 5012 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_AVATAR_NEAR_PLATFORM_5002(context, evt)
if 5001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_AVATAR_NEAR_PLATFORM_5002(context, evt)
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 5001) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_5006(context, evt)
if evt.param1 ~= 5006 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
-- 触发操作
function action_EVENT_ENTER_REGION_5006(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "2201210051") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121005, EntityType.GADGET, 5007 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_5008(context, evt)
if evt.param1 ~= 5008 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
-- 触发操作
function action_EVENT_ENTER_REGION_5008(context, evt)
-- 将configid为 5005 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5005, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_5009(context, evt)
if evt.param1 ~= 5009 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
-- 触发操作
function action_EVENT_ENTER_REGION_5009(context, evt)
ScriptLib.SetWeatherAreaState(context, 10071,1)
ScriptLib.SetWeatherAreaState(context, 10070,0)
ScriptLib.SetWeatherAreaState(context, 10069,0)
ScriptLib.EnterWeatherArea(context, 10071)
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_REACH_POINT_5010(context, evt)
-- 判断是gadgetid 为 5001的移动平台,是否到达了1 的路线中的 14 点
if 5001 ~= evt.param1 then
return false
end
if 1 ~= evt.param2 then
return false
end
if 14 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_REACH_POINT_5010(context, evt)
-- 将configid为 5004 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5004, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 5001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_5013(context, evt)
if 5004 ~= evt.param2 or GadgetState.GearAction1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_5013(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 220121005, 3)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_5014(context, evt)
if evt.param1 ~= 5014 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
-- 触发操作
function action_EVENT_ENTER_REGION_5014(context, evt)
-- 触发镜头注目,注目位置为坐标{x=-47.15369, y=-563.3, z=-349.6734},持续时间为3秒,并且为强制注目形式,不广播其他玩家
local pos = {x=-47.15369, y=-563.3, z=-349.6734}
local pos_follow = {x=0, y=0, z=0}
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 3, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 1,
is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false,
is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin")
return -1
end
-- 在指定位置对应半径范围播放reminder
local pos = {x=-48,y=-580,z=-240}
if 0 ~= ScriptLib.ShowReminderRadius(context, 500660185, pos, 80) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_5015(context, evt)
if 5003 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_5015(context, evt)
-- 将configid为 5003 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5003, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
@@ -0,0 +1,434 @@
-- 基础信息
local base_info = {
group_id = 220121006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 6001, monster_id = 20010501, pos = { x = -41.345, y = -259.570, z = -37.436 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6002, monster_id = 20010501, pos = { x = -35.272, y = -259.570, z = -41.041 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6003, monster_id = 20010501, pos = { x = -28.689, y = -259.570, z = -37.269 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6005, monster_id = 20011201, pos = { x = -29.002, y = -259.570, z = -22.713 }, rot = { x = 0.000, y = 180.829, z = 0.000 }, level = 1 },
{ config_id = 6006, monster_id = 20011201, pos = { x = -35.022, y = -259.570, z = -19.020 }, rot = { x = 0.000, y = 180.829, z = 0.000 }, level = 1 },
{ config_id = 6007, monster_id = 20011201, pos = { x = -41.659, y = -259.570, z = -22.697 }, rot = { x = 0.000, y = 180.829, z = 0.000 }, level = 1 },
{ config_id = 6008, monster_id = 20011301, pos = { x = -38.138, y = -259.570, z = -24.527 }, rot = { x = 0.000, y = 180.829, z = 0.000 }, level = 1 },
{ config_id = 6009, monster_id = 20011301, pos = { x = -32.051, y = -259.570, z = -25.023 }, rot = { x = 0.000, y = 180.829, z = 0.000 }, level = 1 },
{ config_id = 6011, monster_id = 20011201, pos = { x = -35.244, y = -259.570, z = -22.713 }, rot = { x = 0.000, y = 180.829, z = 0.000 }, level = 1 },
{ config_id = 6027, monster_id = 20010601, pos = { x = -32.236, y = -259.570, z = -35.490 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6028, monster_id = 20010701, pos = { x = -38.330, y = -259.570, z = -35.082 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 6010, gadget_id = 70290254, pos = { x = -35.481, y = -259.592, z = -31.183 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6020, gadget_id = 70290256, pos = { x = -35.418, y = -259.570, z = -31.133 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
-- 玩家进入范围,解开机关封印
{ config_id = 6013, shape = RegionShape.SPHERE, radius = 20, pos = { x = -35.728, y = -258.384, z = -30.990 } },
-- 开局提醒要激活机关
{ config_id = 6023, shape = RegionShape.SPHERE, radius = 20, pos = { x = -35.668, y = -259.570, z = -31.142 } }
}
-- 触发器
triggers = {
{ config_id = 1006004, name = "VARIABLE_CHANGE_6004", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_6004", action = "action_EVENT_VARIABLE_CHANGE_6004", trigger_count = 0 },
-- 对话结束清场1层
{ config_id = 1006012, name = "QUEST_FINISH_6012", event = EventType.EVENT_QUEST_FINISH, source = "1101311", condition = "", action = "action_EVENT_QUEST_FINISH_6012" },
-- 玩家进入范围,解开机关封印
{ config_id = 1006013, name = "ENTER_REGION_6013", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_6013" },
{ config_id = 1006014, name = "ANY_MONSTER_DIE_6014", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_6014", trigger_count = 0 },
{ config_id = 1006015, name = "VARIABLE_CHANGE_6015", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_6015", action = "action_EVENT_VARIABLE_CHANGE_6015", trigger_count = 0 },
-- 监听转到101召唤第一波怪
{ config_id = 1006016, name = "GADGET_STATE_CHANGE_6016", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_6016", action = "action_EVENT_GADGET_STATE_CHANGE_6016", trigger_count = 0 },
-- 监听转到103,召唤第二波怪
{ config_id = 1006017, name = "GADGET_STATE_CHANGE_6017", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_6017", action = "action_EVENT_GADGET_STATE_CHANGE_6017", trigger_count = 0 },
-- 监听转到201,召唤第三波怪
{ config_id = 1006018, name = "GADGET_STATE_CHANGE_6018", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_6018", action = "action_EVENT_GADGET_STATE_CHANGE_6018", trigger_count = 0 },
{ config_id = 1006019, name = "GADGET_CREATE_6019", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_6019", action = "action_EVENT_GADGET_CREATE_6019", trigger_count = 0 },
{ config_id = 1006021, name = "TIME_AXIS_PASS_6021", event = EventType.EVENT_TIME_AXIS_PASS, source = "_wave_tick", condition = "", action = "action_EVENT_TIME_AXIS_PASS_6021", trigger_count = 0 },
-- 监听变为可攻击状态。
{ config_id = 1006022, name = "GADGET_STATE_CHANGE_6022", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_6022", action = "action_EVENT_GADGET_STATE_CHANGE_6022", trigger_count = 0 },
-- 开局提醒要激活机关
{ config_id = 1006023, name = "ENTER_REGION_6023", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_6023", action = "action_EVENT_ENTER_REGION_6023", trigger_count = 0 },
-- 机关被摧毁,通知任务摧毁机关与触发器
{ config_id = 1006026, name = "ANY_GADGET_DIE_6026", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_6026", action = "action_EVENT_ANY_GADGET_DIE_6026" }
}
-- 变量
variables = {
{ config_id = 1, name = "_stage1_monster", value = 0, no_refresh = false },
{ config_id = 2, name = "_stage2_monster", value = 0, no_refresh = false },
{ config_id = 3, name = "_stage3_monster", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 6010 },
regions = { 6023 },
triggers = { "QUEST_FINISH_6012", "GADGET_STATE_CHANGE_6016", "GADGET_STATE_CHANGE_6017", "GADGET_STATE_CHANGE_6018", "GADGET_CREATE_6019", "GADGET_STATE_CHANGE_6022", "ENTER_REGION_6023", "ANY_GADGET_DIE_6026" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = 阶段1-怪物,
monsters = { 6001, 6002, 6003, 6027, 6028 },
gadgets = { 6020 },
regions = { },
triggers = { "VARIABLE_CHANGE_6004", "ANY_MONSTER_DIE_6014", "VARIABLE_CHANGE_6015", "TIME_AXIS_PASS_6021" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = 阶段2-怪物,
monsters = { 6005, 6006, 6007, 6008, 6009, 6011 },
gadgets = { 6020 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { },
gadgets = { },
regions = { 6013 },
triggers = { "ENTER_REGION_6013" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_6004(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"_stage1_monster"为5
if ScriptLib.GetGroupVariableValue(context, "_stage1_monster") ~= 5 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_6004(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 220121006, 3)
return 0
end
-- 触发操作
function action_EVENT_QUEST_FINISH_6012(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121006, suite = 5 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121002, suite = 6 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121007, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121011, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121012, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ENTER_REGION_6013(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220121006, 2)
-- 创建标识为"_wave_tick",时间节点为{4}的时间轴,true用于控制该时间轴是否循环
ScriptLib.InitTimeAxis(context, "_wave_tick", {4}, true)
-- 在指定位置对应半径范围播放reminder
local pos = {x=-35,y=-258,z=-30}
if 0 ~= ScriptLib.ShowReminderRadius(context, 500660110, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
-- 在指定位置对应半径范围播放reminder
local pos = {x=-35,y=-258,z=-30}
if 0 ~= ScriptLib.ShowReminderRadius(context, 400121, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_6014(context, evt)
-- 针对当前group内变量名为 "_stage1_monster" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "_stage1_monster", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_6015(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"_stage1_monster"为11
if ScriptLib.GetGroupVariableValue(context, "_stage1_monster") ~= 11 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_6015(context, evt)
-- 将configid为 6010 的物件更改为状态 GadgetState.ChestOpened
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 6010, GadgetState.ChestOpened) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_6016(context, evt)
if 6010 ~= evt.param2 or GadgetState.ChestLocked ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_6016(context, evt)
-- 添加suite6的新内容
ScriptLib.AddExtraGroupSuite(context, 220121006, 6)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_6017(context, evt)
if 6010 ~= evt.param2 or GadgetState.ChestTrap ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_6017(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 220121006, 3)
-- 创建标识为"_thunder_tick",时间节点为{5}的时间轴,true用于控制该时间轴是否循环
ScriptLib.InitTimeAxis(context, "_thunder_tick", {5}, true)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_6018(context, evt)
if 6010 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_6018(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 220121006, 4)
-- 创建标识为"_wave_tick",时间节点为{8}的时间轴,true用于控制该时间轴是否循环
ScriptLib.InitTimeAxis(context, "_wave_tick", {8}, true)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_6019(context, evt)
if 6010 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_6019(context, evt)
ScriptLib.SetEntityServerGlobalValueByConfigId(context, 6010, "SGV_Mechanic_Type", 0)
return 0
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_6021(context, evt)
-- 将configid为 6020 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 6020, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_6022(context, evt)
if 6010 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_6022(context, evt)
-- 在指定位置对应半径范围播放reminder
local pos = {x=-35.61409,y=-259.57,z=-29.9867}
if 0 ~= ScriptLib.ShowReminderRadius(context, 500660120, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
-- 在指定位置对应半径范围播放reminder
local pos = {x=-35.61409,y=-259.57,z=-29.9867}
if 0 ~= ScriptLib.ShowReminderRadius(context, 400122, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_6023(context, evt)
if evt.param1 ~= 6023 then return false end
if GadgetState.Default ~= ScriptLib.GetGadgetStateByConfigId(context, 220121006, 6010) then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_6023(context, evt)
-- 在指定位置对应半径范围播放reminder
local pos = {x=-35,y=-259,z=-30}
if 0 ~= ScriptLib.ShowReminderRadius(context, 400120, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_6026(context, evt)
if 6010 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_6026(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "2201210061") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121006, EntityType.GADGET, 6020 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
return 0
end
@@ -0,0 +1,506 @@
-- 基础信息
local base_info = {
group_id = 220121007
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 7001, monster_id = 21010701, pos = { x = -40.965, y = -396.120, z = -38.189 }, rot = { x = 0.250, y = 351.267, z = 0.430 }, level = 1, drop_id = 1000100 },
{ config_id = 7002, monster_id = 21020201, pos = { x = -34.684, y = -396.120, z = -40.307 }, rot = { x = 0.250, y = 351.267, z = 0.430 }, level = 1, drop_id = 1000100 },
{ config_id = 7003, monster_id = 21010701, pos = { x = -29.410, y = -396.120, z = -36.370 }, rot = { x = 0.250, y = 351.267, z = 0.430 }, level = 1, drop_id = 1000100 },
{ config_id = 7005, monster_id = 20011201, pos = { x = -42.402, y = -396.120, z = -24.706 }, rot = { x = 0.000, y = 144.765, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7006, monster_id = 20011301, pos = { x = -35.670, y = -396.120, z = -21.642 }, rot = { x = 0.000, y = 184.587, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7009, monster_id = 21020501, pos = { x = -45.073, y = -396.120, z = -30.928 }, rot = { x = 0.000, y = 90.072, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7032, monster_id = 20011201, pos = { x = -29.195, y = -396.120, z = -23.256 }, rot = { x = 0.000, y = 207.702, z = 0.000 }, level = 1, drop_id = 1000100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7010, gadget_id = 70290296, pos = { x = -35.849, y = -395.987, z = -30.705 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7011, gadget_id = 70290255, pos = { x = -36.116, y = -395.679, z = -30.744 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7012, gadget_id = 70290256, pos = { x = -35.849, y = -395.987, z = -30.705 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7027, gadget_id = 70900201, pos = { x = -35.849, y = -393.035, z = -30.705 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
-- 玩家进入范围,解开机关封印
{ config_id = 7013, shape = RegionShape.SPHERE, radius = 10, pos = { x = -35.932, y = -395.503, z = -29.972 } },
{ config_id = 7026, shape = RegionShape.CUBIC, size = { x = 130.000, y = 135.000, z = 130.000 }, pos = { x = -35.164, y = -335.410, z = -31.060 } },
-- 下落完成
{ config_id = 7029, shape = RegionShape.CUBIC, size = { x = 40.000, y = 15.000, z = 40.000 }, pos = { x = -35.833, y = -397.860, z = -30.686 } }
}
-- 触发器
triggers = {
-- 监听变为可攻击状态。
{ config_id = 1007004, name = "GADGET_STATE_CHANGE_7004", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_7004", action = "action_EVENT_GADGET_STATE_CHANGE_7004", trigger_count = 0 },
-- 玩家进入范围,解开机关封印
{ config_id = 1007013, name = "ENTER_REGION_7013", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_7013", action = "action_EVENT_ENTER_REGION_7013" },
{ config_id = 1007014, name = "ANY_MONSTER_DIE_7014", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_7014", trigger_count = 0 },
{ config_id = 1007015, name = "VARIABLE_CHANGE_7015", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_7015", action = "action_EVENT_VARIABLE_CHANGE_7015", trigger_count = 0 },
-- 监听转到101召唤第一波怪
{ config_id = 1007016, name = "GADGET_STATE_CHANGE_7016", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_7016", action = "action_EVENT_GADGET_STATE_CHANGE_7016", trigger_count = 0 },
-- 监听转到103,召唤第二波怪
{ config_id = 1007017, name = "GADGET_STATE_CHANGE_7017", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_7017", action = "action_EVENT_GADGET_STATE_CHANGE_7017", trigger_count = 0 },
-- 监听转到201,召唤第三波怪
{ config_id = 1007018, name = "GADGET_STATE_CHANGE_7018", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_7018", action = "action_EVENT_GADGET_STATE_CHANGE_7018", trigger_count = 0 },
{ config_id = 1007019, name = "GADGET_CREATE_7019", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_7019", action = "action_EVENT_GADGET_CREATE_7019", trigger_count = 0 },
{ config_id = 1007020, name = "ANY_MONSTER_DIE_7020", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_7020", trigger_count = 0 },
{ config_id = 1007021, name = "VARIABLE_CHANGE_7021", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_7021", action = "action_EVENT_VARIABLE_CHANGE_7021", trigger_count = 0 },
{ config_id = 1007022, name = "ANY_MONSTER_DIE_7022", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_7022", trigger_count = 0 },
{ config_id = 1007023, name = "VARIABLE_CHANGE_7023", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_7023", action = "action_EVENT_VARIABLE_CHANGE_7023", trigger_count = 0 },
{ config_id = 1007024, name = "TIME_AXIS_PASS_7024", event = EventType.EVENT_TIME_AXIS_PASS, source = "_wave_tick", condition = "", action = "action_EVENT_TIME_AXIS_PASS_7024", trigger_count = 0 },
{ config_id = 1007025, name = "TIME_AXIS_PASS_7025", event = EventType.EVENT_TIME_AXIS_PASS, source = "_wave_tick", condition = "", action = "action_EVENT_TIME_AXIS_PASS_7025", trigger_count = 0 },
{ config_id = 1007026, name = "ENTER_REGION_7026", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_7026", action = "action_EVENT_ENTER_REGION_7026" },
-- 下落完成
{ config_id = 1007029, name = "ENTER_REGION_7029", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_7029", action = "action_EVENT_ENTER_REGION_7029" },
-- 机关被摧毁逻辑处理
{ config_id = 1007031, name = "ANY_GADGET_DIE_7031", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_7031", action = "action_EVENT_ANY_GADGET_DIE_7031" },
-- 对话结束清场2层
{ config_id = 1007034, name = "QUEST_FINISH_7034", event = EventType.EVENT_QUEST_FINISH, source = "1101313", condition = "", action = "action_EVENT_QUEST_FINISH_7034" }
}
-- 变量
variables = {
{ config_id = 1, name = "_stage1_monster", value = 0, no_refresh = false },
{ config_id = 2, name = "_stage2_monster", value = 0, no_refresh = false },
{ config_id = 3, name = "_stage3_monster", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 5,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 7010, 7027 },
regions = { 7013, 7026, 7029 },
triggers = { "GADGET_STATE_CHANGE_7004", "ENTER_REGION_7013", "GADGET_STATE_CHANGE_7016", "GADGET_STATE_CHANGE_7017", "GADGET_STATE_CHANGE_7018", "GADGET_CREATE_7019", "ENTER_REGION_7026", "ENTER_REGION_7029", "ANY_GADGET_DIE_7031", "QUEST_FINISH_7034" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = 阶段1-怪物,
monsters = { 7001, 7002, 7003, 7005, 7006, 7032 },
gadgets = { 7011, 7012 },
regions = { },
triggers = { "ANY_MONSTER_DIE_7014", "VARIABLE_CHANGE_7015", "TIME_AXIS_PASS_7024" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = 阶段2-怪物,
monsters = { 7009 },
gadgets = { 7012 },
regions = { },
triggers = { "ANY_MONSTER_DIE_7020", "VARIABLE_CHANGE_7021" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 7011, 7012 },
regions = { },
triggers = { "ANY_MONSTER_DIE_7022", "VARIABLE_CHANGE_7023", "TIME_AXIS_PASS_7024", "TIME_AXIS_PASS_7025" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_7004(context, evt)
if 7010 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_7004(context, evt)
-- 在指定位置对应半径范围播放reminder
local pos = {x=-36,y=-395,z=-37}
if 0 ~= ScriptLib.ShowReminderRadius(context, 400122, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_7013(context, evt)
if evt.param1 ~= 7013 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
-- 触发操作
function action_EVENT_ENTER_REGION_7013(context, evt)
-- 将configid为 7010 的物件更改为状态 GadgetState.ChestLocked
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 7010, GadgetState.ChestLocked) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 在指定位置对应半径范围播放reminder
local pos = {x=-35,y=-395,z=-29}
if 0 ~= ScriptLib.ShowReminderRadius(context, 400121, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_7014(context, evt)
-- 针对当前group内变量名为 "_stage1_monster" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "_stage1_monster", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_7015(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"_stage1_monster"为6
if ScriptLib.GetGroupVariableValue(context, "_stage1_monster") ~= 6 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_7015(context, evt)
-- 将configid为 7010 的物件更改为状态 GadgetState.ChestOpened
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 7010, GadgetState.ChestOpened) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_7016(context, evt)
if 7010 ~= evt.param2 or GadgetState.ChestLocked ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_7016(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220121007, 2)
-- 创建标识为"_wave_tick",时间节点为{4}的时间轴,true用于控制该时间轴是否循环
ScriptLib.InitTimeAxis(context, "_wave_tick", {4}, true)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_7017(context, evt)
if 7010 ~= evt.param2 or GadgetState.ChestTrap ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_7017(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 220121007, 3)
-- 在指定位置对应半径范围播放reminder
local pos = {x=-36,y=-395,z=-33}
if 0 ~= ScriptLib.ShowReminderRadius(context, 400121, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_7018(context, evt)
if 7010 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_7018(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 220121007, 4)
-- 创建标识为"_wave_tick",时间节点为{8}的时间轴,true用于控制该时间轴是否循环
ScriptLib.InitTimeAxis(context, "_wave_tick", {8}, true)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_7019(context, evt)
if 7010 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_7019(context, evt)
ScriptLib.SetEntityServerGlobalValueByConfigId(context, 7010, "SGV_Mechanic_Type", 1)
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_7020(context, evt)
-- 针对当前group内变量名为 "_stage2_monster" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "_stage2_monster", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_7021(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"_stage2_monster"为1
if ScriptLib.GetGroupVariableValue(context, "_stage2_monster") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_7021(context, evt)
-- 将configid为 7010 的物件更改为状态 GadgetState.ChestBramble
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 7010, GadgetState.ChestBramble) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_7022(context, evt)
-- 针对当前group内变量名为 "_stage3_monster" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "_stage3_monster", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_7023(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"_stage3_monster"为3
if ScriptLib.GetGroupVariableValue(context, "_stage3_monster") ~= 3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_7023(context, evt)
-- 将configid为 7010 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 7010, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_7024(context, evt)
-- 将configid为 7012 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 7012, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_7025(context, evt)
-- 将configid为 7012 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 7012, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_7026(context, evt)
if evt.param1 ~= 7026 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
-- 触发操作
function action_EVENT_ENTER_REGION_7026(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
ScriptLib.SetWeatherAreaState(context, 10068,1)
ScriptLib.EnterWeatherArea(context, 10068)
if 0 ~= ScriptLib.AddQuestProgress(context, "2201210072") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_7029(context, evt)
if evt.param1 ~= 7029 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
-- 触发操作
function action_EVENT_ENTER_REGION_7029(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "2201210071") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_7031(context, evt)
if 7010 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_7031(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "2201210071") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121007, EntityType.GADGET, 7012 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_QUEST_FINISH_7034(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121007, suite = 5 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121004, suite = 3 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121012, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
@@ -0,0 +1,142 @@
-- 基础信息
local base_info = {
group_id = 220121008
}
-- Trigger变量
local defs = {
point_sum = 11,
route_2 = 2,
gadget_seelie = 8002
}
-- DEFS_MISCS
defs.final_point = defs.point_sum - 1
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 8002, gadget_id = 70710010, pos = { x = -34.518, y = -255.698, z = 40.379 }, rot = { x = 0.000, y = 183.424, z = 0.000 }, level = 1, route_id = 2, start_route = false }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1008005, name = "PLATFORM_REACH_POINT_8005", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_8005", action = "action_EVENT_PLATFORM_REACH_POINT_8005", trigger_count = 0 },
{ config_id = 1008007, name = "QUEST_FINISH_8007", event = EventType.EVENT_QUEST_FINISH, source = "1101329", condition = "", action = "action_EVENT_QUEST_FINISH_8007", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = suite_1,
monsters = { },
gadgets = { 8002 },
regions = { },
triggers = { "PLATFORM_REACH_POINT_8005", "QUEST_FINISH_8007" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_PLATFORM_REACH_POINT_8005(context, evt)
-- 判断是gadgetid 为 8002的移动平台,是否到达了2 的路线中的 8 点
if 8002 ~= evt.param1 then
return false
end
if 2 ~= evt.param2 then
return false
end
if 8 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_REACH_POINT_8005(context, evt)
-- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 8002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121008, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_QUEST_FINISH_8007(context, evt)
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 8002) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
return 0
end
@@ -0,0 +1,138 @@
-- 基础信息
local base_info = {
group_id = 220121009
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 9001, gadget_id = 70710010, pos = { x = -35.764, y = -390.327, z = -49.429 }, rot = { x = 0.000, y = 352.234, z = 0.000 }, level = 1, route_id = 4, start_route = false }
}
-- 区域
regions = {
{ config_id = 9002, shape = RegionShape.CUBIC, size = { x = 100.000, y = 50.000, z = 100.000 }, pos = { x = -35.107, y = -375.586, z = -30.218 } }
}
-- 触发器
triggers = {
{ config_id = 1009002, name = "ENTER_REGION_9002", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_9002", action = "action_EVENT_ENTER_REGION_9002" },
{ config_id = 1009003, name = "PLATFORM_REACH_POINT_9003", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_9003", action = "action_EVENT_PLATFORM_REACH_POINT_9003" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 9001 },
regions = { 9002 },
triggers = { "ENTER_REGION_9002", "PLATFORM_REACH_POINT_9003" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_9002(context, evt)
if evt.param1 ~= 9002 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
-- 触发操作
function action_EVENT_ENTER_REGION_9002(context, evt)
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 9001) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_PLATFORM_REACH_POINT_9003(context, evt)
-- 判断是gadgetid 为 9001的移动平台,是否到达了4 的路线中的 14 点
if 9001 ~= evt.param1 then
return false
end
if 4 ~= evt.param2 then
return false
end
if 14 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_REACH_POINT_9003(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121009, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
@@ -0,0 +1,424 @@
-- 基础信息
local base_info = {
group_id = 220121010
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 10001, monster_id = 21020201, pos = { x = -48.523, y = -583.177, z = -176.408 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 10002, monster_id = 21020201, pos = { x = -41.058, y = -583.203, z = -176.013 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 10003, monster_id = 20011101, pos = { x = -43.239, y = -583.194, z = -180.278 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 10004, monster_id = 26040101, pos = { x = -45.358, y = -583.207, z = -181.169 }, rot = { x = 359.557, y = 2.282, z = 0.002 }, level = 1, drop_id = 1000100 },
{ config_id = 10008, monster_id = 24010101, pos = { x = -52.412, y = -583.304, z = -174.896 }, rot = { x = 0.000, y = 72.216, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 100 },
{ config_id = 10009, monster_id = 24010101, pos = { x = -37.874, y = -583.302, z = -172.562 }, rot = { x = 0.000, y = 257.205, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 100 },
{ config_id = 10034, monster_id = 20011101, pos = { x = -47.021, y = -583.161, z = -179.902 }, rot = { x = 356.843, y = 9.429, z = 359.518 }, level = 1, drop_id = 1000100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 10010, gadget_id = 70290297, pos = { x = -45.058, y = -583.157, z = -173.841 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10011, gadget_id = 70290255, pos = { x = -45.283, y = -583.150, z = -173.555 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10012, gadget_id = 70290256, pos = { x = -45.058, y = -583.157, z = -173.841 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10026, gadget_id = 70900201, pos = { x = -45.006, y = -580.544, z = -173.841 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
-- 玩家进入范围,解开机关封印
{ config_id = 10013, shape = RegionShape.SPHERE, radius = 10, pos = { x = -45.099, y = -583.150, z = -173.698 } }
}
-- 触发器
triggers = {
-- 玩家进入范围,解开机关封印
{ config_id = 1010013, name = "ENTER_REGION_10013", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_10013" },
{ config_id = 1010014, name = "ANY_MONSTER_DIE_10014", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_10014", trigger_count = 0 },
{ config_id = 1010015, name = "VARIABLE_CHANGE_10015", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_10015", action = "action_EVENT_VARIABLE_CHANGE_10015", trigger_count = 0 },
-- 监听转到101,召唤第一波怪
{ config_id = 1010016, name = "GADGET_STATE_CHANGE_10016", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10016", action = "action_EVENT_GADGET_STATE_CHANGE_10016", trigger_count = 0 },
-- 监听转到103,召唤第二波怪
{ config_id = 1010017, name = "GADGET_STATE_CHANGE_10017", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10017", action = "action_EVENT_GADGET_STATE_CHANGE_10017", trigger_count = 0 },
-- 监听转到201,召唤第三波怪
{ config_id = 1010018, name = "GADGET_STATE_CHANGE_10018", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10018", action = "action_EVENT_GADGET_STATE_CHANGE_10018", trigger_count = 0 },
-- 设置战斗类型
{ config_id = 1010019, name = "GADGET_CREATE_10019", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_10019", action = "action_EVENT_GADGET_CREATE_10019", trigger_count = 0 },
{ config_id = 1010020, name = "ANY_MONSTER_DIE_10020", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_10020", trigger_count = 0 },
{ config_id = 1010021, name = "VARIABLE_CHANGE_10021", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_10021", action = "action_EVENT_VARIABLE_CHANGE_10021", trigger_count = 0 },
{ config_id = 1010022, name = "ANY_MONSTER_DIE_10022", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_10022", trigger_count = 0 },
{ config_id = 1010023, name = "VARIABLE_CHANGE_10023", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_10023", action = "action_EVENT_VARIABLE_CHANGE_10023", trigger_count = 0 },
-- 机关被摧毁逻辑处理
{ config_id = 1010030, name = "ANY_GADGET_DIE_10030", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_10030", action = "action_EVENT_ANY_GADGET_DIE_10030" },
-- 监听变为可攻击状态。
{ config_id = 1010032, name = "GADGET_STATE_CHANGE_10032", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10032", action = "action_EVENT_GADGET_STATE_CHANGE_10032", trigger_count = 0 },
{ config_id = 1010033, name = "TIME_AXIS_PASS_10033", event = EventType.EVENT_TIME_AXIS_PASS, source = "_wave_tick", condition = "", action = "action_EVENT_TIME_AXIS_PASS_10033", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "_stage1_monster", value = 0, no_refresh = false },
{ config_id = 2, name = "_stage2_monster", value = 0, no_refresh = false },
{ config_id = 3, name = "_stage3_monster", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 6,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 10010, 10026 },
regions = { 10013 },
triggers = { "ENTER_REGION_10013", "GADGET_STATE_CHANGE_10016", "GADGET_STATE_CHANGE_10017", "GADGET_STATE_CHANGE_10018", "GADGET_CREATE_10019", "ANY_GADGET_DIE_10030", "GADGET_STATE_CHANGE_10032" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = 阶段1-怪物,
monsters = { 10001, 10002, 10003, 10034 },
gadgets = { 10011, 10012 },
regions = { },
triggers = { "ANY_MONSTER_DIE_10014", "VARIABLE_CHANGE_10015", "TIME_AXIS_PASS_10033" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = 阶段2-怪物,
monsters = { 10004 },
gadgets = { 10011, 10012 },
regions = { },
triggers = { "ANY_MONSTER_DIE_10020", "VARIABLE_CHANGE_10021", "TIME_AXIS_PASS_10033" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 10008, 10009 },
gadgets = { 10011, 10012 },
regions = { },
triggers = { "ANY_MONSTER_DIE_10022", "VARIABLE_CHANGE_10023", "TIME_AXIS_PASS_10033" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_10013(context, evt)
-- 将configid为 10010 的物件更改为状态 GadgetState.ChestLocked
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10010, GadgetState.ChestLocked) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "2201210102") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_10014(context, evt)
-- 针对当前group内变量名为 "_stage1_monster" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "_stage1_monster", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_10015(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"_stage1_monster"为4
if ScriptLib.GetGroupVariableValue(context, "_stage1_monster") ~= 4 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_10015(context, evt)
-- 将configid为 10010 的物件更改为状态 GadgetState.ChestOpened
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10010, GadgetState.ChestOpened) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_10016(context, evt)
if 10010 ~= evt.param2 or GadgetState.ChestLocked ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_10016(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220121010, 2)
-- 创建标识为"_wave_tick",时间节点为{4}的时间轴,true用于控制该时间轴是否循环
ScriptLib.InitTimeAxis(context, "_wave_tick", {4}, true)
-- 在指定位置对应半径范围播放reminder
local pos = {x=-45,y=-583,z=-173}
if 0 ~= ScriptLib.ShowReminderRadius(context, 400121, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_10017(context, evt)
if 10010 ~= evt.param2 or GadgetState.ChestTrap ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_10017(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 220121010, 3)
-- 在指定位置对应半径范围播放reminder
local pos = {x=-45,y=-583,z=-177}
if 0 ~= ScriptLib.ShowReminderRadius(context, 400121, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_10018(context, evt)
if 10010 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_10018(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 220121010, 4)
-- 在指定位置对应半径范围播放reminder
local pos = {x=-45,y=-583,z=-180}
if 0 ~= ScriptLib.ShowReminderRadius(context, 400121, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_10019(context, evt)
if 10010 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_10019(context, evt)
ScriptLib.SetEntityServerGlobalValueByConfigId(context, 10010, "SGV_Mechanic_Type", 2)
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_10020(context, evt)
-- 针对当前group内变量名为 "_stage2_monster" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "_stage2_monster", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_10021(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"_stage2_monster"为1
if ScriptLib.GetGroupVariableValue(context, "_stage2_monster") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_10021(context, evt)
-- 将configid为 10010 的物件更改为状态 GadgetState.ChestBramble
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10010, GadgetState.ChestBramble) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_10022(context, evt)
-- 针对当前group内变量名为 "_stage3_monster" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "_stage3_monster", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_10023(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"_stage3_monster"为2
if ScriptLib.GetGroupVariableValue(context, "_stage3_monster") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_10023(context, evt)
-- 将configid为 10010 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10010, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_10030(context, evt)
if 10010 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_10030(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "2201210101") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 卸载指定gadget
ScriptLib.RemoveEntityByConfigId(context, 220121010, EntityType.GADGET, 10026 )
-- 卸载指定gadget
ScriptLib.RemoveEntityByConfigId(context, 220121010, EntityType.GADGET, 10011 )
-- 卸载指定gadget
ScriptLib.RemoveEntityByConfigId(context, 220121010, EntityType.GADGET, 10012 )
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_10032(context, evt)
if 10010 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_10032(context, evt)
-- 在指定位置对应半径范围播放reminder
local pos = {x=-36,y=-395,z=-37}
if 0 ~= ScriptLib.ShowReminderRadius(context, 400122, pos, 100) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui_bypos")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_10033(context, evt)
-- 将configid为 10012 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10012, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
@@ -0,0 +1,94 @@
-- 基础信息
local base_info = {
group_id = 220121011
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 11001, gadget_id = 70290237, pos = { x = -35.467, y = -259.570, z = -30.568 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 对话中切平台状态(待云层)
{ config_id = 1011002, name = "QUEST_FINISH_11002", event = EventType.EVENT_QUEST_FINISH, source = "1101330", condition = "", action = "action_EVENT_QUEST_FINISH_11002" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 11001 },
regions = { },
triggers = { "QUEST_FINISH_11002" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_QUEST_FINISH_11002(context, evt)
-- 将configid为 11001 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 11001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
@@ -0,0 +1,108 @@
-- 基础信息
local base_info = {
group_id = 220121012
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 12001, gadget_id = 70290267, pos = { x = -36.132, y = -396.120, z = -29.682 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12002, gadget_id = 70710199, pos = { x = -35.340, y = -396.120, z = -47.872 }, rot = { x = 0.000, y = 99.944, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 对话中切平台状态(待云层)
{ config_id = 1012003, name = "QUEST_FINISH_12003", event = EventType.EVENT_QUEST_FINISH, source = "1101331", condition = "", action = "action_EVENT_QUEST_FINISH_12003" },
-- 对话中切小宝显示
{ config_id = 1012004, name = "QUEST_FINISH_12004", event = EventType.EVENT_QUEST_FINISH, source = "1101334", condition = "", action = "action_EVENT_QUEST_FINISH_12004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 12001, 12002 },
regions = { },
triggers = { "QUEST_FINISH_12003", "QUEST_FINISH_12004" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_QUEST_FINISH_12003(context, evt)
-- 将configid为 12001 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 12001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_QUEST_FINISH_12004(context, evt)
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121012, EntityType.GADGET, 12002 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
return 0
end
@@ -0,0 +1,82 @@
-- 基础信息
local base_info = {
group_id = 220121013
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 13001, gadget_id = 70710630, pos = { x = -47.180, y = -552.270, z = -349.550 }, rot = { x = 0.000, y = 19.463, z = 0.000 }, level = 1 },
{ config_id = 13002, gadget_id = 70211121, pos = { x = -47.581, y = -562.975, z = -344.648 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, drop_tag = "解谜高级璃月", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 13001 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 13002 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,117 @@
-- 基础信息
local base_info = {
group_id = 220121014
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 14001, gadget_id = 70350005, pos = { x = -44.449, y = -584.057, z = -190.121 }, rot = { x = 330.430, y = 0.000, z = 0.000 }, level = 1, persistent = true },
{ config_id = 14002, gadget_id = 70710622, pos = { x = -43.950, y = -571.973, z = -194.690 }, rot = { x = 314.693, y = 234.750, z = 337.241 }, level = 1, persistent = true },
{ config_id = 14003, gadget_id = 70710622, pos = { x = -42.902, y = -586.572, z = -189.693 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
-- 对话结束开门和移动石头
{ config_id = 1014004, name = "QUEST_FINISH_14004", event = EventType.EVENT_QUEST_FINISH, source = "1101332", condition = "", action = "action_EVENT_QUEST_FINISH_14004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 14001, 14002 },
regions = { },
triggers = { "QUEST_FINISH_14004" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 14003 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_QUEST_FINISH_14004(context, evt)
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121014, EntityType.GADGET, 14002 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
-- 卸载指定gadget
if 0 ~= ScriptLib.RemoveEntityByConfigId(context, 220121014, EntityType.GADGET, 14001 ) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : remove_gadget_by_configid")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220121014, 2)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121005, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220121010, suite = 5 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
@@ -0,0 +1,322 @@
{
"areas": {},
"doors": {},
"entities": {},
"forces": {},
"points": {
"1": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": -38.90269,
"y": -563.1326,
"z": -347.3213
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 3.0,
"y": 3.0,
"z": 3.0
},
"tranPos": {
"x": -39.917057,
"y": -563.132568,
"z": -349.1395
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "TOWER",
"unlocked": true
},
"2": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": -41.04,
"y": -395.6,
"z": -29.87
},
"rot": {
"x": 0.0,
"y": 175.7398,
"z": 0.0
},
"size": {
"x": 45.0,
"y": 30.0,
"z": 45.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
},
"3": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": -35.57112,
"y": -396.12,
"z": -36.2703
},
"rot": {
"x": 0.0,
"y": 175.0978,
"z": 0.0
},
"size": {
"x": 40.0,
"y": 40.0,
"z": 40.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
},
"4": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": -36.39178,
"y": -255.6971,
"z": 45.56313
},
"rot": {
"x": 0.0,
"y": 175.7398,
"z": 0.0
},
"size": {
"x": 45.0,
"y": 20.76,
"z": 45.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
},
"5": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": -36.67422,
"y": -255.6965,
"z": 45.24661
},
"rot": {
"x": 0.0,
"y": 175.0978,
"z": 0.0
},
"size": {
"x": 25.0,
"y": 25.0,
"z": 25.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
},
"6": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": -45.26545,
"y": -580.9456,
"z": -135.8896
},
"rot": {
"x": 0.0,
"y": 175.7398,
"z": 0.0
},
"size": {
"x": 20.0,
"y": 20.0,
"z": 20.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
},
"7": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": -40.84987,
"y": -575.99,
"z": -40.15088
},
"rot": {
"x": 0.0,
"y": 176.6178,
"z": 0.0
},
"size": {
"x": 45.0,
"y": 40.0,
"z": 45.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
},
"8": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": -40.92923,
"y": -575.7887,
"z": -26.22721
},
"rot": {
"x": 0.0,
"y": 175.7398,
"z": 0.0
},
"size": {
"x": 45.0,
"y": 45.0,
"z": 45.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
}
},
"transRadius": 0.0
}
@@ -0,0 +1,352 @@
[
{
"pointArrayId": 1,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": -35.22969,
"y": -578.9429,
"z": -101.0429
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"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": -35.23052,
"y": -578.9429,
"z": -106.5069
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 3,
"position": {
"x": -35.23052,
"y": -578.942932,
"z": -111.7932
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 4,
"position": {
"x": -35.2693,
"y": -578.9429,
"z": -116.7635
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 5,
"position": {
"x": -40.28923,
"y": -578.9429,
"z": -106.6039
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 6,
"position": {
"x": -40.1893,
"y": -578.9429,
"z": -111.7857
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 7,
"position": {
"x": -40.1893,
"y": -578.9429,
"z": -116.7635
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 8,
"position": {
"x": -40.14032,
"y": -578.9429,
"z": -122.2505
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 9,
"position": {
"x": -45.21785,
"y": -578.9429,
"z": -89.13399
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 10,
"position": {
"x": -45.68407,
"y": -578.9429,
"z": -97.29646
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 11,
"position": {
"x": -45.0267258,
"y": -578.9429,
"z": -106.477654
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 12,
"position": {
"x": -50.76067,
"y": -578.95,
"z": -97.29646
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 13,
"position": {
"x": -50.08209,
"y": -578.95,
"z": -106.6214
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 14,
"position": {
"x": -59.5816841,
"y": -578.9498,
"z": -97.34646
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
},
{
"pointId": 15,
"position": {
"x": -55.26106,
"y": -578.9498,
"z": -106.6214
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 3.0,
"time": 0.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 2.0
}
]
}
]
@@ -0,0 +1,252 @@
[
{
"area_id": 20121,
"isAccurateBorder": true,
"points": [
{
"x": 6.992609,
"y": -485.826874
},
{
"x": 102.929031,
"y": -344.962341
},
{
"x": -177.178818,
"y": -390.83783
},
{
"x": -191.722534,
"y": -245.3382
},
{
"x": -321.6022,
"y": 89.45958
},
{
"x": -254.0082,
"y": 190.820831
},
{
"x": -145.099747,
"y": 272.279053
},
{
"x": 70.6496,
"y": 267.2627
},
{
"x": 127.383827,
"y": 117.749649
},
{
"x": 204.010849,
"y": 4.784727
},
{
"x": 181.05014,
"y": -189.2189
}
]
},
{
"area_id": 20122,
"isAccurateBorder": true,
"points": [
{
"x": 6.992609,
"y": -485.826874
},
{
"x": 102.929031,
"y": -344.962341
},
{
"x": -177.178818,
"y": -390.83783
},
{
"x": -191.722534,
"y": -245.3382
},
{
"x": -321.6022,
"y": 89.45958
},
{
"x": -254.0082,
"y": 190.820831
},
{
"x": -145.099747,
"y": 272.279053
},
{
"x": 70.6496,
"y": 267.2627
},
{
"x": 127.383827,
"y": 117.749649
},
{
"x": 204.010849,
"y": 4.784727
},
{
"x": 181.05014,
"y": -189.2189
}
]
},
{
"area_id": 20123,
"isAccurateBorder": true,
"points": [
{
"x": 6.992609,
"y": -485.826874
},
{
"x": 102.929031,
"y": -344.962341
},
{
"x": -177.178818,
"y": -390.83783
},
{
"x": -191.722534,
"y": -245.3382
},
{
"x": -321.6022,
"y": 89.45958
},
{
"x": -254.0082,
"y": 190.820831
},
{
"x": -145.099747,
"y": 272.279053
},
{
"x": 70.6496,
"y": 267.2627
},
{
"x": 127.383827,
"y": 117.749649
},
{
"x": 204.010849,
"y": 4.784727
},
{
"x": 181.05014,
"y": -189.2189
}
]
},
{
"area_id": 20124,
"isAccurateBorder": true,
"points": [
{
"x": 6.992609,
"y": -485.826874
},
{
"x": 102.929031,
"y": -344.962341
},
{
"x": -177.178818,
"y": -390.83783
},
{
"x": -191.722534,
"y": -245.3382
},
{
"x": -321.6022,
"y": 89.45958
},
{
"x": -254.0082,
"y": 190.820831
},
{
"x": -145.099747,
"y": 272.279053
},
{
"x": 70.6496,
"y": 267.2627
},
{
"x": 127.383827,
"y": 117.749649
},
{
"x": 204.010849,
"y": 4.784727
},
{
"x": 181.05014,
"y": -189.2189
}
]
},
{
"area_id": 20125,
"isAccurateBorder": true,
"points": [
{
"x": 6.992609,
"y": -485.826874
},
{
"x": 102.929031,
"y": -344.962341
},
{
"x": -177.178818,
"y": -390.83783
},
{
"x": -191.722534,
"y": -245.3382
},
{
"x": -321.6022,
"y": 89.45958
},
{
"x": -254.0082,
"y": 190.820831
},
{
"x": -145.099747,
"y": 272.279053
},
{
"x": 70.6496,
"y": 267.2627
},
{
"x": 127.383827,
"y": 117.749649
},
{
"x": 204.010849,
"y": 4.784727
},
{
"x": 181.05014,
"y": -189.2189
}
]
}
]