添加配置表

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 = -1540.6, z = -1429.8 },
size = { x = 2905.5, z = 2704.5 },
born_pos = { x = 13.660, y = 39.795, z = -77.300 },
born_rot = { x = 0.000, y = 270.000, z = 0.000 },
die_y = -10,
city_id = 2,
vision_anchor = { x = -1540.6, z = -1429.8 }
}
-- 所有的区块
blocks = { 20104 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -1540.6, z = -1429.8 }, max = { x = 1364.8, z = 1274.7 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { "routes" }
@@ -0,0 +1,254 @@
{
"sceneId": 20104,
"routes": [
{
"localId": 1,
"name": "Platform_001",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -48.0,
"y": 41.0,
"z": -87.0
},
"waitTime": 1.4,
"targetVelocity": 8.0
},
{
"pos": {
"x": -47.9483376,
"y": 33.5,
"z": -83.7
},
"waitTime": 0.0,
"targetVelocity": 6.0
},
{
"pos": {
"x": -130.289474,
"y": 5.277115,
"z": -83.7
},
"waitTime": 0.0,
"targetVelocity": 6.0
},
{
"pos": {
"x": -140.555542,
"y": 5.31524658,
"z": -83.6999054
},
"waitTime": 0.0,
"targetVelocity": 6.0
}
]
},
{
"localId": 4,
"name": "Platform_004",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -125.6992,
"y": 31.2713,
"z": 23.0
},
"waitTime": 1.4,
"targetVelocity": 3.0
},
{
"pos": {
"x": -125.4,
"y": 28.0,
"z": 20.0
},
"waitTime": 0.0,
"targetVelocity": 4.0
},
{
"pos": {
"x": -60.0,
"y": 28.0,
"z": 20.0
},
"waitTime": 0.0,
"targetVelocity": 4.0
}
]
},
{
"localId": 5,
"name": "Platform_005",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -125.6992,
"y": 31.2713,
"z": 23.0
},
"waitTime": 1.4,
"targetVelocity": 3.0
},
{
"pos": {
"x": -125.4109,
"y": 28.0,
"z": 23.0
},
"waitTime": 0.0,
"targetVelocity": 4.0
},
{
"pos": {
"x": -60.0,
"y": 28.0,
"z": 23.0
},
"waitTime": 0.0,
"targetVelocity": 4.0
}
]
},
{
"localId": 6,
"name": "Platform_006",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -125.6992,
"y": 31.2713,
"z": 23.0
},
"waitTime": 1.4,
"targetVelocity": 3.0
},
{
"pos": {
"x": -124.5182,
"y": 28.0,
"z": 26.0
},
"waitTime": 0.0,
"targetVelocity": 4.0
},
{
"pos": {
"x": -60.0,
"y": 28.0,
"z": 26.0
},
"waitTime": 0.0,
"targetVelocity": 4.0
}
]
},
{
"localId": 7,
"name": "Platform_001",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -48.0,
"y": 41.0,
"z": -87.0
},
"waitTime": 1.4,
"targetVelocity": 8.0
},
{
"pos": {
"x": -47.9283371,
"y": 33.5,
"z": -87.0
},
"waitTime": 0.0,
"targetVelocity": 6.0
},
{
"pos": {
"x": -130.289474,
"y": 5.29681253,
"z": -87.0
},
"waitTime": 0.0,
"targetVelocity": 6.0
},
{
"pos": {
"x": -141.357391,
"y": 6.32205772,
"z": -87.65796
},
"waitTime": 0.0,
"targetVelocity": 6.0
}
]
},
{
"localId": 8,
"name": "Platform_001",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -48.0,
"y": 41.0,
"z": -87.0
},
"waitTime": 1.4,
"targetVelocity": 8.0
},
{
"pos": {
"x": -47.8770065,
"y": 33.5,
"z": -90.3
},
"waitTime": 0.0,
"targetVelocity": 6.0
},
{
"pos": {
"x": -130.289474,
"y": 5.294158,
"z": -90.3
},
"waitTime": 0.0,
"targetVelocity": 6.0
},
{
"pos": {
"x": -141.26091,
"y": 5.285274,
"z": -91.36806
},
"waitTime": 0.0,
"targetVelocity": 6.0
}
]
}
]
}
@@ -0,0 +1,9 @@
-- 所有的group
groups = {
{ id = 220104001, refresh_id = 1, pos = { x = -158.781, y = 1.140, z = -60.585 } },
{ id = 220104002, refresh_id = 1002, pos = { x = -29.827, y = 44.520, z = -67.425 } },
{ id = 220104003, refresh_id = 1001, pos = { x = -26.212, y = 44.520, z = -55.196 } },
{ id = 220104004, refresh_id = 1, pos = { x = -105.858, y = 3.478, z = -80.633 } },
{ id = 220104005, refresh_id = 1, pos = { x = -38.472, y = 18.870, z = 16.975 } },
{ id = 220104006, refresh_id = 1, pos = { x = -130.894, y = 1.964, z = -87.620 } }
}
@@ -0,0 +1,11 @@
dummy_points = {
["Q8000AbyssInvoker"] = { pos = { x = -28.568, y = 44.815, z = -71.036 }, rot = { x = 0.000, y = 184.578, z = 0.000 } },
["Q8000AbyssPower"] = { pos = { x = -157.701, y = 7.323, z = -70.961 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q8000Avatar"] = { pos = { x = -157.595, y = 1.210, z = -59.772 }, rot = { x = 0.000, y = 198.156, z = 0.000 } },
["Q8000Avatar2"] = { pos = { x = -28.785, y = 44.816, z = -80.527 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q8000Avatar3"] = { pos = { x = -157.711, y = -2.703, z = 0.199 }, rot = { x = 0.000, y = 181.221, z = 0.000 } },
["Q8000Invisible"] = { pos = { x = -157.781, y = -2.478, z = -0.251 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q8000Paimon"] = { pos = { x = -156.407, y = 1.213, z = -59.200 }, rot = { x = 0.000, y = 219.319, z = 0.000 } },
["Q8000Paimon2"] = { pos = { x = -26.730, y = 44.874, z = -79.679 }, rot = { x = 0.000, y = 328.190, z = 0.000 } },
["Q8000Thoarder"] = { pos = { x = -156.502, y = 3.072, z = -64.796 }, rot = { x = 0.000, y = 206.421, z = 0.000 } }
}
@@ -0,0 +1,99 @@
-- 基础信息
local base_info = {
group_id = 220104001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1001, gadget_id = 70350168, pos = { x = -158.348, y = 14.442, z = -71.590 }, rot = { x = 0.000, y = 0.000, z = 185.000 }, level = 1 },
{ config_id = 1003, gadget_id = 71700196, pos = { x = -158.348, y = 14.442, z = -71.590 }, rot = { x = 0.000, y = 0.000, z = 185.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 1002, shape = RegionShape.CUBIC, size = { x = 15.000, y = 15.000, z = 10.000 }, pos = { x = -157.280, y = 0.927, z = -3.484 } }
}
-- 触发器
triggers = {
{ config_id = 1001002, name = "ENTER_REGION_1002", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_1002", action = "action_EVENT_ENTER_REGION_1002" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1001, 1003 },
regions = { 1002 },
triggers = { "ENTER_REGION_1002" },
rand_weight = 100,
ban_refresh = true
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_1002(context, evt)
if evt.param1 ~= 1002 then return false end
-- 判断角色数量不少于0
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_1002(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "22010400101") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
@@ -0,0 +1,170 @@
-- 基础信息
local base_info = {
group_id = 220104002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 2005, monster_id = 22020102, pos = { x = -28.317, y = 44.815, z = -67.518 }, rot = { x = 0.000, y = 157.474, z = 0.000 }, level = 1, pose_id = 101, title_id = 10009, special_name_id = 10025 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
-- 废弃了,不招
{ config_id = 2004, gadget_id = 70211121, pos = { x = -18.823, y = 44.827, z = -66.702 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 11, drop_tag = "解谜高级璃月", isOneoff = true, persistent = true }
}
-- 区域
regions = {
{ config_id = 2001, shape = RegionShape.CUBIC, size = { x = 8.000, y = 10.000, z = 4.000 }, pos = { x = -28.074, y = 49.983, z = -82.124 } }
}
-- 触发器
triggers = {
{ config_id = 1002001, name = "ENTER_REGION_2001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2001", action = "action_EVENT_ENTER_REGION_2001", trigger_count = 0 },
{ config_id = 1002003, name = "SPECIFIC_MONSTER_HP_CHANGE_2003", event = EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE, source = "2005", condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_2003", action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_2003" },
{ config_id = 1002006, name = "ANY_MONSTER_LIVE_2006", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_2006", action = "action_EVENT_ANY_MONSTER_LIVE_2006" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 2001 },
triggers = { "ENTER_REGION_2001" },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 2,
-- description = ,
monsters = { 2005 },
gadgets = { },
regions = { },
triggers = { "SPECIFIC_MONSTER_HP_CHANGE_2003", "ANY_MONSTER_LIVE_2006" },
rand_weight = 100,
ban_refresh = true
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 2004 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_2001(context, evt)
if evt.param1 ~= 2001 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_2001(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "22010400201") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 220104003, 3)
return 0
end
-- 触发条件
function condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_2003(context, evt)
--[[判断指定configid的怪物的血量小于%30时触发指定后续操作]]--
if evt.type ~= EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE or evt.param3 > 30 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_2003(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "22010400202") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 移除指定monster
ScriptLib.RemoveEntityByConfigId(context, 220104002, EntityType.MONSTER, 2005)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_2006(context, evt)
if 2005 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_2006(context, evt)
-- 调用提示id为 201040109 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 201040109) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
@@ -0,0 +1,430 @@
-- 基础信息
local base_info = {
group_id = 220104003
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 3004, monster_id = 21010901, pos = { x = -32.756, y = 29.156, z = 16.437 }, rot = { x = 0.000, y = 93.139, z = 0.000 }, level = 1, disableWander = true, pose_id = 9002 },
{ config_id = 3005, monster_id = 21010301, pos = { x = -28.715, y = 29.200, z = 13.987 }, rot = { x = 0.000, y = 287.820, z = 0.000 }, level = 1, disableWander = true, pose_id = 9002 },
{ config_id = 3006, monster_id = 21010301, pos = { x = -27.575, y = 29.156, z = 16.213 }, rot = { x = 0.000, y = 268.150, z = 0.000 }, level = 1, disableWander = true, pose_id = 9003 },
{ config_id = 3007, monster_id = 21010301, pos = { x = -28.211, y = 29.214, z = 18.818 }, rot = { x = 0.000, y = 231.924, z = 0.000 }, level = 1, disableWander = true, pose_id = 9002 },
{ config_id = 3015, monster_id = 21030101, pos = { x = -32.536, y = 29.200, z = 14.736 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 9012 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
-- 左侧门初始关闭
{ config_id = 3002, gadget_id = 70350005, pos = { x = -28.156, y = 45.521, z = -84.122 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 战斗房间1小怪门
{ config_id = 3008, gadget_id = 70350005, pos = { x = -46.512, y = 29.214, z = 10.356 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
-- 右侧门初始开启
{ config_id = 3012, gadget_id = 70350005, pos = { x = -29.052, y = 44.609, z = -51.495 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3014, gadget_id = 70350169, pos = { x = -160.116, y = 1.000, z = -41.414 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3016, gadget_id = 70220013, pos = { x = -18.041, y = 29.302, z = -1.326 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3017, gadget_id = 70220013, pos = { x = -19.503, y = 29.302, z = 0.513 }, rot = { x = 0.000, y = 295.579, z = 0.000 }, level = 1 },
{ config_id = 3018, gadget_id = 70220013, pos = { x = -21.829, y = 29.156, z = -0.135 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3019, gadget_id = 70220013, pos = { x = -22.616, y = 29.280, z = -1.957 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3020, gadget_id = 70211101, pos = { x = -20.971, y = 29.325, z = -2.343 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true },
{ config_id = 3021, gadget_id = 70220026, pos = { x = -20.391, y = 29.401, z = -1.147 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3022, gadget_id = 70220025, pos = { x = -19.420, y = 29.373, z = -1.915 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3023, gadget_id = 70220025, pos = { x = -19.420, y = 29.382, z = -0.056 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3024, gadget_id = 70220025, pos = { x = -17.408, y = 29.324, z = -0.056 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3025, gadget_id = 70220025, pos = { x = -17.408, y = 29.324, z = -1.700 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3026, gadget_id = 70220025, pos = { x = -18.317, y = 29.292, z = -0.839 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3027, gadget_id = 70220025, pos = { x = -18.317, y = 29.292, z = -2.118 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3028, gadget_id = 70220025, pos = { x = -22.769, y = 29.362, z = -1.760 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3029, gadget_id = 70220025, pos = { x = -22.769, y = 29.181, z = 0.054 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3030, gadget_id = 70220025, pos = { x = -20.758, y = 29.156, z = 0.054 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3031, gadget_id = 70220025, pos = { x = -20.758, y = 29.373, z = -1.590 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3032, gadget_id = 70220025, pos = { x = -21.667, y = 29.156, z = -0.729 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3033, gadget_id = 70220025, pos = { x = -21.667, y = 29.280, z = -2.008 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3034, gadget_id = 70220014, pos = { x = -38.108, y = 29.258, z = 26.911 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3035, gadget_id = 70220014, pos = { x = -37.060, y = 29.258, z = 26.911 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3036, gadget_id = 70220014, pos = { x = -42.246, y = 29.210, z = 0.534 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3037, gadget_id = 70220014, pos = { x = -42.238, y = 29.156, z = -0.497 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3038, gadget_id = 70310004, pos = { x = -30.478, y = 29.156, z = 16.026 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 3039, gadget_id = 70220013, pos = { x = -20.389, y = 29.141, z = 21.031 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 3040, gadget_id = 70220013, pos = { x = -20.186, y = 29.142, z = 22.899 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 3041, gadget_id = 70220026, pos = { x = -21.796, y = 29.141, z = 22.874 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3042, gadget_id = 70220025, pos = { x = -21.653, y = 29.164, z = 21.127 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3043, gadget_id = 70220025, pos = { x = -21.763, y = 29.142, z = 22.942 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3044, gadget_id = 70220025, pos = { x = -19.589, y = 29.143, z = 22.934 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3045, gadget_id = 70220025, pos = { x = -19.752, y = 29.141, z = 21.298 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3046, gadget_id = 70220025, pos = { x = -20.661, y = 29.141, z = 22.159 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3047, gadget_id = 70220025, pos = { x = -20.660, y = 29.141, z = 20.880 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3048, gadget_id = 70220014, pos = { x = -100.749, y = 27.345, z = 31.794 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3049, gadget_id = 70220013, pos = { x = -101.460, y = 27.616, z = 11.278 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3050, gadget_id = 70220013, pos = { x = -99.722, y = 27.439, z = 12.118 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 11
{ config_id = 3051, gadget_id = 70211101, pos = { x = -99.950, y = 27.786, z = 10.208 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true },
{ config_id = 3052, gadget_id = 70220014, pos = { x = -100.749, y = 27.430, z = 32.844 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3053, gadget_id = 70220014, pos = { x = -93.350, y = 27.647, z = 9.784 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3054, gadget_id = 70220013, pos = { x = -92.645, y = 27.645, z = 12.058 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3055, gadget_id = 70900201, pos = { x = -134.079, y = 3.598, z = -79.605 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 11
{ config_id = 3057, gadget_id = 70211101, pos = { x = -99.817, y = 27.345, z = 32.472 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true },
{ config_id = 3058, gadget_id = 70220013, pos = { x = -100.069, y = 27.345, z = 34.369 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 11
{ config_id = 3059, gadget_id = 70211101, pos = { x = -66.528, y = 25.331, z = -76.428 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true },
{ config_id = 3060, gadget_id = 70220014, pos = { x = -67.113, y = 25.330, z = -77.947 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 11
{ config_id = 3061, gadget_id = 70211101, pos = { x = -103.797, y = 12.884, z = -76.602 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true },
{ config_id = 3062, gadget_id = 70220013, pos = { x = -104.493, y = 12.614, z = -78.159 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3063, gadget_id = 70220014, pos = { x = -66.073, y = 25.441, z = -77.947 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3064, gadget_id = 70350005, pos = { x = -157.704, y = 2.390, z = -12.890 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 3066, gadget_id = 70211101, pos = { x = -159.396, y = -8.084, z = 26.612 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true },
{ config_id = 3067, gadget_id = 70220014, pos = { x = -159.376, y = -8.257, z = 25.571 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3068, gadget_id = 70220013, pos = { x = -157.772, y = -8.330, z = 26.245 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3069, gadget_id = 70211101, pos = { x = -32.160, y = 32.511, z = -95.566 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 11, drop_tag = "解谜低级璃月", isOneoff = true, persistent = true },
{ config_id = 3070, gadget_id = 70220014, pos = { x = -33.240, y = 32.629, z = -96.265 }, rot = { x = 0.000, y = 0.000, z = 351.579 }, level = 1 },
{ config_id = 3071, gadget_id = 70220013, pos = { x = -33.247, y = 32.529, z = -94.462 }, rot = { x = 0.000, y = 20.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 3001, shape = RegionShape.CUBIC, size = { x = 5.000, y = 10.000, z = 30.000 }, pos = { x = -18.254, y = 48.058, z = -68.125 } },
{ config_id = 3003, shape = RegionShape.CUBIC, size = { x = 25.000, y = 15.000, z = 8.000 }, pos = { x = -22.300, y = 38.860, z = -8.148 } },
{ config_id = 3010, shape = RegionShape.SPHERE, radius = 10, pos = { x = -65.070, y = 27.353, z = 21.994 } },
{ config_id = 3013, shape = RegionShape.SPHERE, radius = 5, pos = { x = -26.119, y = 43.818, z = -96.313 } },
{ config_id = 3056, shape = RegionShape.SPHERE, radius = 5, pos = { x = -132.573, y = 1.932, z = -79.543 } },
{ config_id = 3065, shape = RegionShape.CUBIC, size = { x = 25.000, y = 15.000, z = 15.000 }, pos = { x = -25.201, y = 46.145, z = -75.737 } },
{ config_id = 3072, shape = RegionShape.CUBIC, size = { x = 10.000, y = 15.000, z = 15.000 }, pos = { x = -24.917, y = 40.627, z = -112.385 } }
}
-- 触发器
triggers = {
{ config_id = 1003001, name = "ENTER_REGION_3001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3001", action = "action_EVENT_ENTER_REGION_3001" },
{ config_id = 1003003, name = "ENTER_REGION_3003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3003", action = "action_EVENT_ENTER_REGION_3003" },
{ config_id = 1003009, name = "ANY_MONSTER_DIE_3009", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_3009", action = "action_EVENT_ANY_MONSTER_DIE_3009" },
{ config_id = 1003010, name = "ENTER_REGION_3010", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3010", action = "action_EVENT_ENTER_REGION_3010" },
{ config_id = 1003011, name = "QUEST_FINISH_3011", event = EventType.EVENT_QUEST_FINISH, source = "", condition = "condition_EVENT_QUEST_FINISH_3011", action = "action_EVENT_QUEST_FINISH_3011" },
{ config_id = 1003013, name = "ENTER_REGION_3013", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3013", action = "action_EVENT_ENTER_REGION_3013" },
{ config_id = 1003056, name = "ENTER_REGION_3056", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3056", action = "action_EVENT_ENTER_REGION_3056" },
{ config_id = 1003065, name = "ENTER_REGION_3065", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3065", action = "action_EVENT_ENTER_REGION_3065" },
{ config_id = 1003072, name = "ENTER_REGION_3072", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_3072", action = "action_EVENT_ENTER_REGION_3072" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 3004, 3005, 3006, 3007, 3015 },
gadgets = { 3002, 3008, 3012, 3014, 3016, 3017, 3018, 3019, 3020, 3021, 3022, 3023, 3024, 3025, 3026, 3027, 3028, 3029, 3030, 3031, 3032, 3033, 3034, 3035, 3036, 3037, 3038, 3039, 3040, 3041, 3042, 3043, 3044, 3045, 3046, 3047, 3048, 3049, 3050, 3051, 3052, 3053, 3054, 3057, 3058, 3059, 3060, 3061, 3062, 3063, 3064, 3066, 3067, 3068, 3069, 3070, 3071 },
regions = { 3001, 3003, 3010, 3013 },
triggers = { "ENTER_REGION_3001", "ENTER_REGION_3003", "ANY_MONSTER_DIE_3009", "ENTER_REGION_3010", "QUEST_FINISH_3011", "ENTER_REGION_3013" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 3055 },
regions = { 3056 },
triggers = { "ENTER_REGION_3056" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { },
regions = { 3065, 3072 },
triggers = { "ENTER_REGION_3065", "ENTER_REGION_3072" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_3001(context, evt)
if evt.param1 ~= 3001 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_3001(context, evt)
-- 调用提示id为 201040101 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 201040101) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 触发镜头注目,注目位置为坐标(-28,43,-53),持续时间为2秒,并且为强制注目形式,不广播其他玩家
local pos = {x=-28, y=43, z=-53}
local pos_follow = {x=0, y=0, z=0}
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 2, 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
-- 将configid为 3012 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3012, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_3003(context, evt)
if evt.param1 ~= 3003 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_3003(context, evt)
-- 调用提示id为 201040103 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 201040103) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 将configid为 3012 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3012, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_3009(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 220104003) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_3009(context, evt)
-- 将configid为 3008 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3008, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_3010(context, evt)
if evt.param1 ~= 3010 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_3010(context, evt)
-- 调用提示id为 201040105 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 201040105) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_QUEST_FINISH_3011(context, evt)
--检查ID为800004的任务的完成状态是否为1(1=完成,0=失败)
--此事件需要配合Quest表使用,在Quest表里的完成执行中配置“通知group脚本”,则该任务完成后服务端会向对应的group发送通知,参数1填写场景ID,参数2填写group ID(如果不填则会通知所有group)
--检查任务ID
if 800004 ~= evt.param1 then
return false
end
--检查任务成功状态
if 1 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_QUEST_FINISH_3011(context, evt)
-- 调用提示id为 201040108 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 201040108) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 改变指定group组220104003中, configid为3014的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220104003, 3014, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220104003, 2)
-- 将configid为 3064 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3064, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 延迟1秒后,向groupId为:220104004的对象,请求一次调用,并将string参数:"AA1" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104004, "AA1", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_3013(context, evt)
if evt.param1 ~= 3013 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_3013(context, evt)
-- 将configid为 3002 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3002, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_3056(context, evt)
if evt.param1 ~= 3056 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_3056(context, evt)
-- 永久关闭CongfigId的Gadget,需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 3055 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_3065(context, evt)
if evt.param1 ~= 3065 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_3065(context, evt)
-- 将configid为 3002 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3002, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_3072(context, evt)
if evt.param1 ~= 3072 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_3072(context, evt)
-- 将configid为 3002 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3002, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
@@ -0,0 +1,410 @@
-- 基础信息
local base_info = {
group_id = 220104004
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 4002, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 1 },
{ config_id = 4003, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 7 },
{ config_id = 4004, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 8 },
{ config_id = 4006, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 1 },
{ config_id = 4007, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 7 },
{ config_id = 4008, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 7 },
{ config_id = 4009, gadget_id = 70350171, pos = { x = -47.388, y = 41.357, z = -87.015 }, rot = { x = 344.291, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 4011, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 1 },
{ config_id = 4013, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 8 },
{ config_id = 4015, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 7 },
{ config_id = 4019, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 8 },
{ config_id = 4020, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 7 },
{ config_id = 4022, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 8 },
{ config_id = 4023, gadget_id = 70010006, pos = { x = -110.698, y = 6.760, z = -95.906 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 4024, gadget_id = 70010006, pos = { x = -96.074, y = 13.219, z = -79.365 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 4025, gadget_id = 70010006, pos = { x = -77.698, y = 20.090, z = -94.236 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 4026, gadget_id = 70010006, pos = { x = -54.925, y = 28.460, z = -79.537 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 4027, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 1 },
{ config_id = 4029, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 7 },
{ config_id = 4032, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 1 },
{ config_id = 4034, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 8 },
{ config_id = 4037, gadget_id = 70350170, pos = { x = -48.000, y = 41.000, z = -87.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 90, route_id = 8 }
}
-- 区域
regions = {
{ config_id = 4001, shape = RegionShape.SPHERE, radius = 5, pos = { x = -134.364, y = 1.928, z = -78.386 } },
{ config_id = 4005, shape = RegionShape.CUBIC, size = { x = 8.000, y = 10.000, z = 12.000 }, pos = { x = -41.060, y = 36.521, z = -88.995 } }
}
-- 触发器
triggers = {
{ config_id = 1004001, name = "ENTER_REGION_4001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_4001", action = "action_EVENT_ENTER_REGION_4001", trigger_count = 0 },
{ config_id = 1004005, name = "ENTER_REGION_4005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_4005", action = "action_EVENT_ENTER_REGION_4005" },
{ config_id = 1004010, name = "TIMER_EVENT_4010", event = EventType.EVENT_TIMER_EVENT, source = "AAA1", condition = "", action = "action_EVENT_TIMER_EVENT_4010", trigger_count = 0 },
{ config_id = 1004012, name = "TIMER_EVENT_4012", event = EventType.EVENT_TIMER_EVENT, source = "AA6", condition = "", action = "action_EVENT_TIMER_EVENT_4012", trigger_count = 0 },
{ config_id = 1004014, name = "TIMER_EVENT_4014", event = EventType.EVENT_TIMER_EVENT, source = "AA1", condition = "", action = "action_EVENT_TIMER_EVENT_4014", trigger_count = 0 },
{ config_id = 1004016, name = "TIMER_EVENT_4016", event = EventType.EVENT_TIMER_EVENT, source = "AA2", condition = "", action = "action_EVENT_TIMER_EVENT_4016", trigger_count = 0 },
{ config_id = 1004017, name = "TIMER_EVENT_4017", event = EventType.EVENT_TIMER_EVENT, source = "AA3", condition = "", action = "action_EVENT_TIMER_EVENT_4017", trigger_count = 0 },
{ config_id = 1004018, name = "TIMER_EVENT_4018", event = EventType.EVENT_TIMER_EVENT, source = "AA4", condition = "", action = "action_EVENT_TIMER_EVENT_4018", trigger_count = 0 },
{ config_id = 1004021, name = "TIMER_EVENT_4021", event = EventType.EVENT_TIMER_EVENT, source = "AA5", condition = "", action = "action_EVENT_TIMER_EVENT_4021", trigger_count = 0 },
{ config_id = 1004028, name = "TIMER_EVENT_4028", event = EventType.EVENT_TIMER_EVENT, source = "AAA2", condition = "", action = "action_EVENT_TIMER_EVENT_4028", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 4009 },
regions = { 4001, 4005 },
triggers = { "ENTER_REGION_4001", "ENTER_REGION_4005", "TIMER_EVENT_4010", "TIMER_EVENT_4012", "TIMER_EVENT_4014", "TIMER_EVENT_4016", "TIMER_EVENT_4017", "TIMER_EVENT_4018", "TIMER_EVENT_4021", "TIMER_EVENT_4028" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 4002, 4003, 4004 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 4023, 4024, 4025, 4026 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 4011, 4013 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { 4015 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { },
gadgets = { 4006, 4019 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 7,
-- description = ,
monsters = { },
gadgets = { 4020, 4022 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 8,
-- description = ,
monsters = { },
gadgets = { 4007, 4027 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 9,
-- description = ,
monsters = { },
gadgets = { 4029, 4032, 4034 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 10,
-- description = ,
monsters = { },
gadgets = { 4008, 4037 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_4001(context, evt)
if evt.param1 ~= 4001 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_4001(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220104006, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_4005(context, evt)
if evt.param1 ~= 4005 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_4005(context, evt)
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104004, "AA1") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104004, "AA2") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104004, "AA3") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104004, "AA4") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104004, "AA5") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104004, "AA6") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104004, "AAA1") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104004, "AAA2") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_4010(context, evt)
-- 延迟2秒后,向groupId为:220104004的对象,请求一次调用,并将string参数:"AAA2" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104004, "AAA2", 2) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 改变指定group组220104004中, configid为4009的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220104004, 4009, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_4012(context, evt)
-- 添加suite9的新内容
ScriptLib.AddExtraGroupSuite(context, 220104004, 9)
-- 延迟4秒后,向groupId为:220104004的对象,请求一次调用,并将string参数:"AA1" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104004, "AA1", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite4的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104004, 4)
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_4014(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 220104004, 4)
-- 延迟4秒后,向groupId为:220104004的对象,请求一次调用,并将string参数:"AA2" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104004, "AA2", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite5的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104004, 5)
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_4016(context, evt)
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 220104004, 5)
-- 延迟4秒后,向groupId为:220104004的对象,请求一次调用,并将string参数:"AA3" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104004, "AA3", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite6的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104004, 6)
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_4017(context, evt)
-- 添加suite6的新内容
ScriptLib.AddExtraGroupSuite(context, 220104004, 6)
-- 延迟4秒后,向groupId为:220104004的对象,请求一次调用,并将string参数:"AA4" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104004, "AA4", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite7的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104004, 7)
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_4018(context, evt)
-- 添加suite7的新内容
ScriptLib.AddExtraGroupSuite(context, 220104004, 7)
-- 延迟4秒后,向groupId为:220104004的对象,请求一次调用,并将string参数:"AA5" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104004, "AA5", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite8的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104004, 8)
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_4021(context, evt)
-- 添加suite8的新内容
ScriptLib.AddExtraGroupSuite(context, 220104004, 8)
-- 延迟4秒后,向groupId为:220104004的对象,请求一次调用,并将string参数:"AA6" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104004, "AA6", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite9的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104004, 9)
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_4028(context, evt)
-- 延迟2秒后,向groupId为:220104004的对象,请求一次调用,并将string参数:"AAA1" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104004, "AAA1", 2) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 改变指定group组220104004中, configid为4009的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220104004, 4009, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end
@@ -0,0 +1,324 @@
-- 基础信息
local base_info = {
group_id = 220104005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 5001, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 4 },
{ config_id = 5002, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 4 },
{ config_id = 5003, gadget_id = 70350171, pos = { x = -127.519, y = 31.549, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 5004, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 6 },
{ config_id = 5005, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 5 },
{ config_id = 5006, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 6 },
{ config_id = 5007, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 4 },
{ config_id = 5008, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 5 },
{ config_id = 5009, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 6 },
{ config_id = 5010, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 4 },
{ config_id = 5012, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 6 },
{ config_id = 5013, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 4 },
{ config_id = 5014, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 5 },
{ config_id = 5022, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 6 },
{ config_id = 5024, gadget_id = 70350170, pos = { x = -125.699, y = 31.271, z = 23.000 }, rot = { x = 351.320, y = 270.000, z = 0.000 }, level = 90, route_id = 5 }
}
-- 区域
regions = {
{ config_id = 5021, shape = RegionShape.CUBIC, size = { x = 15.000, y = 15.000, z = 15.000 }, pos = { x = -120.706, y = 15.793, z = 23.086 } },
{ config_id = 5030, shape = RegionShape.SPHERE, radius = 10, pos = { x = -57.955, y = 28.471, z = 11.002 } }
}
-- 触发器
triggers = {
{ config_id = 1005011, name = "TIMER_EVENT_5011", event = EventType.EVENT_TIMER_EVENT, source = "SSS1", condition = "", action = "", trigger_count = 0 },
{ config_id = 1005015, name = "TIMER_EVENT_5015", event = EventType.EVENT_TIMER_EVENT, source = "SSS2", condition = "", action = "", trigger_count = 0 },
{ config_id = 1005016, name = "TIMER_EVENT_5016", event = EventType.EVENT_TIMER_EVENT, source = "S1", condition = "", action = "action_EVENT_TIMER_EVENT_5016", trigger_count = 0 },
{ config_id = 1005017, name = "TIMER_EVENT_5017", event = EventType.EVENT_TIMER_EVENT, source = "S2", condition = "", action = "action_EVENT_TIMER_EVENT_5017", trigger_count = 0 },
{ config_id = 1005018, name = "TIMER_EVENT_5018", event = EventType.EVENT_TIMER_EVENT, source = "S3", condition = "", action = "action_EVENT_TIMER_EVENT_5018", trigger_count = 0 },
{ config_id = 1005019, name = "TIMER_EVENT_5019", event = EventType.EVENT_TIMER_EVENT, source = "S4", condition = "", action = "action_EVENT_TIMER_EVENT_5019", trigger_count = 0 },
{ config_id = 1005020, name = "TIMER_EVENT_5020", event = EventType.EVENT_TIMER_EVENT, source = "S5", condition = "", action = "action_EVENT_TIMER_EVENT_5020", trigger_count = 0 },
{ config_id = 1005021, name = "ENTER_REGION_5021", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5021", action = "action_EVENT_ENTER_REGION_5021" },
{ config_id = 1005030, name = "ENTER_REGION_5030", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5030", action = "action_EVENT_ENTER_REGION_5030" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 5003 },
regions = { 5021, 5030 },
triggers = { "TIMER_EVENT_5011", "TIMER_EVENT_5015", "TIMER_EVENT_5016", "TIMER_EVENT_5017", "TIMER_EVENT_5018", "TIMER_EVENT_5019", "TIMER_EVENT_5020", "ENTER_REGION_5021", "ENTER_REGION_5030" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 5002, 5004 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 5006, 5007, 5008 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 5009, 5010 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { 5012, 5013, 5014 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { },
gadgets = { 5001, 5005 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 7,
-- description = ,
monsters = { },
gadgets = { 5022, 5024 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 8,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_TIMER_EVENT_5016(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 220104005, 3)
-- 延迟5秒后,向groupId为:220104005的对象,请求一次调用,并将string参数:"S2" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104005, "S2", 5) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite4的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104005, 4)
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5017(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 220104005, 4)
-- 延迟5秒后,向groupId为:220104005的对象,请求一次调用,并将string参数:"S3" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104005, "S3", 5) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite5的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104005, 5)
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5018(context, evt)
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 220104005, 5)
-- 延迟5秒后,向groupId为:220104005的对象,请求一次调用,并将string参数:"S4" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104005, "S4", 5) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite6的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104005, 6)
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5019(context, evt)
-- 添加suite6的新内容
ScriptLib.AddExtraGroupSuite(context, 220104005, 6)
-- 延迟5秒后,向groupId为:220104005的对象,请求一次调用,并将string参数:"S5" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104005, "S5", 5) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite7的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104005, 7)
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5020(context, evt)
-- 添加suite7的新内容
ScriptLib.AddExtraGroupSuite(context, 220104005, 7)
-- 延迟5秒后,向groupId为:220104005的对象,请求一次调用,并将string参数:"S1" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104005, "S1", 5) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 删除suite3的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220104005, 3)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_5021(context, evt)
if evt.param1 ~= 5021 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_5021(context, evt)
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104005, "S1") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104005, "S2") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104005, "S3") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104005, "S4") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104005, "S5") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 220104005, "SSS1") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_5030(context, evt)
if evt.param1 ~= 5030 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_5030(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220104005, 2)
-- 延迟4秒后,向groupId为:220104005的对象,请求一次调用,并将string参数:"S1" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220104005, "S1", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
@@ -0,0 +1,89 @@
-- 基础信息
local base_info = {
group_id = 220104006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 6001, gadget_id = 70350160, pos = { x = -49.979, y = 30.346, z = -87.173 }, rot = { x = 17.500, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 6002, gadget_id = 70350160, pos = { x = -59.375, y = 27.083, z = -87.173 }, rot = { x = 17.500, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 6003, gadget_id = 70350160, pos = { x = -68.779, y = 23.819, z = -87.173 }, rot = { x = 17.500, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 6004, gadget_id = 70350160, pos = { x = -78.202, y = 20.573, z = -87.173 }, rot = { x = 17.500, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 6005, gadget_id = 70350160, pos = { x = -87.636, y = 17.306, z = -87.173 }, rot = { x = 17.500, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 6006, gadget_id = 70350160, pos = { x = -97.109, y = 14.042, z = -87.173 }, rot = { x = 17.500, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 6007, gadget_id = 70350160, pos = { x = -106.585, y = 10.801, z = -87.173 }, rot = { x = 17.500, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 6008, gadget_id = 70350160, pos = { x = -115.986, y = 7.538, z = -87.173 }, rot = { x = 17.500, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 6009, gadget_id = 70350160, pos = { x = -124.867, y = 4.510, z = -87.173 }, rot = { x = 17.500, y = 270.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 6001, 6002, 6003, 6004, 6005, 6006, 6007, 6008, 6009 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,972 @@
{
"areas": {},
"doors": {},
"entities": {
"1": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": -107.9843,
"y": -9.342312,
"z": -87.2778
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 20.0,
"heightType": "Center",
"length": 60.0,
"useHeight": true,
"width": 50.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"10": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": 56.96577,
"y": 6.680752,
"z": -95.79207
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 200.0,
"heightType": "Center",
"length": 400.0,
"useHeight": true,
"width": 20.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "NoReviveRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"2": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": -60.4245,
"y": 6.802233,
"z": -91.11773
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 20.0,
"heightType": "Center",
"length": 60.0,
"useHeight": true,
"width": 50.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"3": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": -29.89947,
"y": 24.94533,
"z": -41.55669
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 20.0,
"heightType": "Center",
"length": 60.0,
"useHeight": true,
"width": 50.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"4": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": 4.793714,
"y": 25.25488,
"z": -62.8917
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 20.0,
"heightType": "Center",
"length": 60.0,
"useHeight": true,
"width": 50.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"5": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": -96.449,
"y": -21.09509,
"z": -66.37901
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 20.0,
"heightType": "Center",
"length": 300.0,
"useHeight": true,
"width": 300.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"6": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": -75.84145,
"y": 16.03042,
"z": -69.65884
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 50.0,
"heightType": "Center",
"length": 10.0,
"useHeight": true,
"width": 90.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"7": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": -91.25779,
"y": 14.75779,
"z": -105.9648
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 50.0,
"heightType": "Center",
"length": 10.0,
"useHeight": true,
"width": 90.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"8": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": -50.59397,
"y": 51.31892,
"z": -34.04901
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 50.0,
"heightType": "Center",
"length": 40.0,
"useHeight": true,
"width": 10.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"9": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": -61.26453,
"y": -25.77448,
"z": -66.39339
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 20.0,
"heightType": "Center",
"length": 300.0,
"useHeight": true,
"width": 300.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "NoReviveRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
}
},
"forces": {},
"points": {
"1": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": -14.28317,
"y": 44.82782,
"z": -66.75679
},
"rot": {
"x": 0.0,
"y": 270.0,
"z": 0.0
},
"size": {
"x": 3.0,
"y": 3.0,
"z": 3.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
},
"10": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": -158.0546,
"y": 3.073236,
"z": -63.62169
},
"rot": {
"x": 0.0,
"y": 90.0,
"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
},
"11": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": -134.0342,
"y": 1.413914,
"z": -72.79366
},
"rot": {
"x": 0.0,
"y": 180.0,
"z": 0.0
},
"size": {
"x": 10.0,
"y": 15.0,
"z": 15.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
},
"2": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 14.15971,
"y": 39.86392,
"z": -79.31551
},
"rot": {
"x": 0.0,
"y": 270.0,
"z": 0.0
},
"size": {
"x": 40.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
},
"3": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70120003,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": -34.70135,
"y": 39.88058,
"z": -6.318298
},
"rot": {
"x": 0.0,
"y": 90.0,
"z": 0.0
},
"size": {
"x": 45.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
},
"4": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70120003,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": -34.65502,
"y": 34.17808,
"z": -105.0331
},
"rot": {
"x": 0.0,
"y": 0.0,
"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
},
"5": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70120003,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": -64.20131,
"y": 27.03205,
"z": 4.624188
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 8.0,
"y": 8.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
},
"6": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": -28.69149,
"y": 44.73679,
"z": -49.7664
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 14.0,
"y": 8.0,
"z": 5.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": -134.3328,
"y": 1.405182,
"z": -72.65931
},
"rot": {
"x": 0.0,
"y": 180.0,
"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
},
"8": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": -116.0679,
"y": -4.805201,
"z": 22.44121
},
"rot": {
"x": 0.0,
"y": 270.0,
"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
},
"9": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": -121.6038,
"y": -6.755478,
"z": 22.24382
},
"rot": {
"x": 0.0,
"y": 270.0,
"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
}
},
"transRadius": 0.0
}
@@ -0,0 +1,72 @@
[
{
"area_id": 10006,
"points": [
{
"x": -205.654663,
"y": -20.3802013
},
{
"x": -196.3013,
"y": -112.67009
},
{
"x": -47.33104,
"y": -109.016541
},
{
"x": -45.19744,
"y": -75.95804
},
{
"x": -116.360474,
"y": -1.12417316
},
{
"x": -113.318985,
"y": 45.7049866
},
{
"x": -174.804642,
"y": 57.82412
}
]
},
{
"area_id": 10005,
"points": [
{
"x": -3.59121323,
"y": -134.613052
},
{
"x": -46.8686447,
"y": -134.008881
},
{
"x": -47.410717,
"y": -81.20856
},
{
"x": -59.6896667,
"y": -24.3009644
},
{
"x": -116.246796,
"y": -1.55200863
},
{
"x": -112.912605,
"y": 45.7825623
},
{
"x": 2.51742172,
"y": 46.1069069
},
{
"x": 102.673508,
"y": -87.8001556
}
]
}
]