添加配置表

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

View File

@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -288.5, z = -108.7 },
size = { x = 454.3, z = 410.9 },
born_pos = { x = -98.525, y = 33.250, z = 21.512 },
born_rot = { x = 0.000, y = 320.560, z = 0.000 },
die_y = 0,
city_id = 2,
vision_anchor = { x = -288.5, z = -108.7 }
}
-- 所有的区块
blocks = { 1017 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -288.5, z = -108.7 }, max = { x = 165.8, z = 302.2 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,21 @@
-- 所有的group
groups = {
{ id = 201017001, refresh_id = 1, pos = { x = -101.126, y = 30.466, z = 16.592 } },
{ id = 201017002, refresh_id = 1, pos = { x = -137.785, y = 36.476, z = 84.767 } },
{ id = 201017003, refresh_id = 1001, pos = { x = -136.468, y = 37.294, z = 82.202 } },
{ id = 201017004, pos = { x = -137.137, y = 37.289, z = 82.086 } },
{ id = 201017005, pos = { x = -113.229, y = 47.042, z = 151.108 } },
{ id = 201017006, refresh_id = 1001, pos = { x = -121.748, y = 37.406, z = 138.076 } },
{ id = 201017007, pos = { x = -117.091, y = 37.406, z = 160.482 } },
{ id = 201017008, refresh_id = 1, pos = { x = -91.564, y = 60.155, z = 154.140 } },
{ id = 201017009, refresh_id = 1001, pos = { x = -24.646, y = 63.100, z = 113.550 } },
{ id = 201017010, refresh_id = 1, pos = { x = -2.529, y = 65.580, z = 79.600 } },
{ id = 201017011, refresh_id = 1001, pos = { x = -3.750, y = 65.580, z = 80.226 } },
{ id = 201017012, refresh_id = 1001, pos = { x = -0.097, y = 65.580, z = 82.717 } },
{ id = 201017013, refresh_id = 1, pos = { x = -17.765, y = 111.700, z = 67.492 } },
{ id = 201017014, refresh_id = 1001, pos = { x = -100.952, y = 111.814, z = 35.020 } },
{ id = 201017015, refresh_id = 1001, pos = { x = -90.405, y = 117.548, z = 108.210 } },
{ id = 201017016, refresh_id = 1, pos = { x = -67.329, y = 125.590, z = 74.567 } },
{ id = 201017017, refresh_id = 1, pos = { x = -44.840, y = 60.528, z = 163.270 } },
{ id = 201017018, refresh_id = 1, pos = { x = -136.603, y = 37.293, z = 82.153 } }
}

View File

@@ -0,0 +1,140 @@
-- 基础信息
local base_info = {
group_id = 201017001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1001, gadget_id = 70900201, pos = { x = -128.923, y = 34.846, z = 48.907 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1003, gadget_id = 70350070, pos = { x = -116.620, y = 33.180, z = 39.140 }, rot = { x = 294.700, y = 308.808, z = 178.700 }, level = 1 },
{ config_id = 1005, gadget_id = 70220036, pos = { x = -118.860, y = 36.360, z = 40.840 }, rot = { x = 352.342, y = 121.046, z = 354.958 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 1002, shape = RegionShape.SPHERE, radius = 8, pos = { x = -104.891, y = 33.351, z = 27.995 } },
{ config_id = 1004, shape = RegionShape.SPHERE, radius = 10, pos = { x = -129.358, y = 38.668, z = 48.732 } }
}
-- 触发器
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" },
{ config_id = 1001004, name = "ENTER_REGION_1004", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_1004", action = "action_EVENT_ENTER_REGION_1004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = 区域1,
monsters = { },
gadgets = { 1001, 1003, 1005 },
regions = { 1002, 1004 },
triggers = { "ENTER_REGION_1002", "ENTER_REGION_1004" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_1002(context, evt)
if evt.param1 ~= 1002 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_1002(context, evt)
-- 将configid为 1003 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1003, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 调用提示id为 101700101 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 101700101) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_1004(context, evt)
if evt.param1 ~= 1004 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_1004(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 1001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,197 @@
-- 基础信息
local base_info = {
group_id = 201017002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2001, gadget_id = 70350072, pos = { x = -126.481, y = 39.680, z = 105.403 }, rot = { x = 281.340, y = 72.541, z = 182.299 }, level = 1 },
{ config_id = 2002, gadget_id = 70900201, pos = { x = -136.560, y = 38.532, z = 102.621 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2004, gadget_id = 70350070, pos = { x = -119.400, y = 44.010, z = 123.390 }, rot = { x = 282.700, y = 349.531, z = 179.640 }, level = 1 },
{ config_id = 2006, gadget_id = 70360002, pos = { x = -136.595, y = 37.367, z = 102.594 }, rot = { x = 0.000, y = 187.649, z = 0.000 }, level = 1, state = GadgetState.GearStop }
}
-- 区域
regions = {
{ config_id = 2003, shape = RegionShape.SPHERE, radius = 8, pos = { x = -121.700, y = 40.933, z = 106.801 } },
{ config_id = 2005, shape = RegionShape.SPHERE, radius = 10, pos = { x = -118.951, y = 37.241, z = 37.301 } }
}
-- 触发器
triggers = {
{ config_id = 1002003, name = "ENTER_REGION_2003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2003", action = "action_EVENT_ENTER_REGION_2003" },
{ config_id = 1002005, name = "ENTER_REGION_2005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2005", action = "" },
{ config_id = 1002013, name = "SELECT_OPTION_2013", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2013", action = "action_EVENT_SELECT_OPTION_2013" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 2001, 2004, 2006 },
regions = { 2005 },
triggers = { "ENTER_REGION_2005", "SELECT_OPTION_2013" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 2002 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { },
regions = { 2003 },
triggers = { "ENTER_REGION_2003" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_2003(context, evt)
if evt.param1 ~= 2003 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_2003(context, evt)
-- 将configid为 2004 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2004, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_2005(context, evt)
if evt.param1 ~= 2005 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 condition_EVENT_SELECT_OPTION_2013(context, evt)
-- 判断是gadgetid 2006 option_id 7
if 2006 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2013(context, evt)
-- 将configid为 2001 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 2006 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2006, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201017002 指定config2006物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201017002, 2006, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017006, 2)
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 201017006, 5)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 2002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 触发镜头注目,注目位置为坐标(-12639105持续时间为2秒并且为强制注目形式不广播其他玩家
local pos = {x=-126, y=39, z=105}
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
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 201017002, 3)
return 0
end

View File

@@ -0,0 +1,119 @@
-- 基础信息
local base_info = {
group_id = 201017003
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 3001, monster_id = 20010701, pos = { x = -136.230, y = 37.227, z = 89.372 }, rot = { x = 0.000, y = 161.393, z = 0.000 }, level = 1 },
{ config_id = 3002, monster_id = 20010501, pos = { x = -142.778, y = 37.240, z = 84.021 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3003, monster_id = 20010701, pos = { x = -132.674, y = 37.242, z = 86.156 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3004, monster_id = 20010501, pos = { x = -139.702, y = 37.234, z = 80.020 }, rot = { x = 0.000, y = 139.798, z = 0.000 }, level = 1 },
{ config_id = 3005, monster_id = 20010501, pos = { x = -133.394, y = 37.259, z = 81.889 }, rot = { x = 0.000, y = 175.192, z = 0.000 }, level = 1 },
{ config_id = 3006, monster_id = 20010501, pos = { x = -140.025, y = 37.231, z = 87.754 }, rot = { x = 0.000, y = 143.057, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 3008, gadget_id = 70300116, pos = { x = -140.874, y = 37.216, z = 77.111 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1003007, name = "ANY_MONSTER_DIE_3007", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_3007", action = "action_EVENT_ANY_MONSTER_DIE_3007" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 3001, 3002, 3003, 3004, 3005, 3006 },
gadgets = { 3008 },
regions = { },
triggers = { "ANY_MONSTER_DIE_3007" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_3007(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 201017003) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_3007(context, evt)
-- 改变指定group组201017002中 configid为2006的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 201017002, 2006, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 201017002, 2006, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
-- 触发镜头注目,注目位置为坐标(-13637132持续时间为2秒并且为强制注目形式不广播其他玩家
local pos = {x=-136, y=37, z=132}
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
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017002, 2)
return 0
end

View File

@@ -0,0 +1,80 @@
-- 基础信息
local base_info = {
group_id = 201017004
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
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
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,71 @@
-- 基础信息
local base_info = {
group_id = 201017005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,251 @@
-- 基础信息
local base_info = {
group_id = 201017006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 6013, monster_id = 20011501, pos = { x = -114.389, y = 47.049, z = 149.189 }, rot = { x = 0.000, y = 119.355, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 6001, gadget_id = 70900201, pos = { x = -120.937, y = 48.324, z = 156.556 }, rot = { x = 0.000, y = 11.778, z = 0.000 }, level = 1 },
{ config_id = 6002, gadget_id = 70360002, pos = { x = -120.899, y = 47.042, z = 156.520 }, rot = { x = 0.000, y = 119.633, z = 0.000 }, level = 1, state = GadgetState.GearStop },
{ config_id = 6004, gadget_id = 70900201, pos = { x = -125.231, y = 47.073, z = 148.525 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6005, gadget_id = 70220036, pos = { x = -113.990, y = 48.878, z = 152.680 }, rot = { x = 342.623, y = 154.935, z = 354.045 }, level = 1 },
{ config_id = 6006, gadget_id = 70690008, pos = { x = -124.927, y = 44.510, z = 148.663 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 6003, shape = RegionShape.SPHERE, radius = 8, pos = { x = -125.233, y = 54.074, z = 148.554 } },
{ config_id = 6012, shape = RegionShape.SPHERE, radius = 10, pos = { x = -121.558, y = 47.374, z = 137.699 } }
}
-- 触发器
triggers = {
{ config_id = 1006003, name = "ENTER_REGION_6003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_6003", action = "action_EVENT_ENTER_REGION_6003" },
{ config_id = 1006007, name = "ANY_MONSTER_DIE_6007", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_6007", action = "action_EVENT_ANY_MONSTER_DIE_6007" },
{ config_id = 1006011, name = "SELECT_OPTION_6011", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_6011", action = "action_EVENT_SELECT_OPTION_6011" },
{ config_id = 1006012, name = "ENTER_REGION_6012", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_6012", action = "action_EVENT_ENTER_REGION_6012" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 6013 },
gadgets = { 6002, 6005 },
regions = { 6012 },
triggers = { "ANY_MONSTER_DIE_6007", "SELECT_OPTION_6011", "ENTER_REGION_6012" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 6001 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 6006 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 6004 },
regions = { 6003 },
triggers = { "ENTER_REGION_6003" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_6003(context, evt)
if evt.param1 ~= 6003 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_6003(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 6004 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017008, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_6007(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_6007(context, evt)
-- 将configid为 6002 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 6002, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 201017006, 6002, {2}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_6011(context, evt)
-- 判断是gadgetid 6002 option_id 2
if 6002 ~= evt.param1 then
return false
end
if 2 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_6011(context, evt)
-- 创建id为6006的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 6006 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 6001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 删除指定group 201017006 指定config6002物件身上指定option2
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201017006, 6002, 2) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 将configid为 6002 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 6002, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 201017006, 4)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 6010 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_6012(context, evt)
if evt.param1 ~= 6012 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_6012(context, evt)
-- 调用提示id为 101700301 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 101700301) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,80 @@
-- 基础信息
local base_info = {
group_id = 201017007
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
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
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,323 @@
-- 基础信息
local base_info = {
group_id = 201017008
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 8001, gadget_id = 70310013, pos = { x = -46.768, y = 66.533, z = 124.087 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8002, gadget_id = 70310013, pos = { x = -42.452, y = 66.339, z = 120.631 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8003, gadget_id = 70310013, pos = { x = -37.990, y = 66.047, z = 117.754 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8004, gadget_id = 70310013, pos = { x = -33.660, y = 65.766, z = 115.106 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8010, gadget_id = 70900201, pos = { x = -97.742, y = 64.095, z = 153.214 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8016, gadget_id = 70350061, pos = { x = -66.060, y = 64.460, z = 136.630 }, rot = { x = 291.100, y = 120.516, z = 179.704 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 8009, shape = RegionShape.SPHERE, radius = 10, pos = { x = -94.918, y = 64.586, z = 151.389 } },
{ config_id = 8015, shape = RegionShape.SPHERE, radius = 5, pos = { x = -124.696, y = 63.393, z = 148.597 } }
}
-- 触发器
triggers = {
{ config_id = 1008005, name = "ANY_GADGET_DIE_8005", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_8005", action = "action_EVENT_ANY_GADGET_DIE_8005", trigger_count = 0 },
{ config_id = 1008006, name = "ANY_GADGET_DIE_8006", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_8006", action = "action_EVENT_ANY_GADGET_DIE_8006", trigger_count = 0 },
{ config_id = 1008007, name = "ANY_GADGET_DIE_8007", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_8007", action = "action_EVENT_ANY_GADGET_DIE_8007", trigger_count = 0 },
{ config_id = 1008008, name = "ANY_GADGET_DIE_8008", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_8008", action = "action_EVENT_ANY_GADGET_DIE_8008", trigger_count = 0 },
{ config_id = 1008009, name = "ENTER_REGION_8009", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_8009", action = "action_EVENT_ENTER_REGION_8009" },
{ config_id = 1008011, name = "TIMER_EVENT_8011", event = EventType.EVENT_TIMER_EVENT, source = "time1", condition = "", action = "action_EVENT_TIMER_EVENT_8011", trigger_count = 0 },
{ config_id = 1008012, name = "TIMER_EVENT_8012", event = EventType.EVENT_TIMER_EVENT, source = "time2", condition = "", action = "action_EVENT_TIMER_EVENT_8012", trigger_count = 0 },
{ config_id = 1008013, name = "TIMER_EVENT_8013", event = EventType.EVENT_TIMER_EVENT, source = "time3", condition = "", action = "action_EVENT_TIMER_EVENT_8013", trigger_count = 0 },
{ config_id = 1008014, name = "TIMER_EVENT_8014", event = EventType.EVENT_TIMER_EVENT, source = "time4", condition = "", action = "action_EVENT_TIMER_EVENT_8014", trigger_count = 0 },
{ config_id = 1008015, name = "ENTER_REGION_8015", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_8015", action = "action_EVENT_ENTER_REGION_8015" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 8016 },
regions = { 8009 },
triggers = { "ENTER_REGION_8009" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 8001, 8002, 8003, 8004, 8010 },
regions = { 8015 },
triggers = { "ANY_GADGET_DIE_8005", "ANY_GADGET_DIE_8006", "ANY_GADGET_DIE_8007", "ANY_GADGET_DIE_8008", "TIMER_EVENT_8011", "TIMER_EVENT_8012", "TIMER_EVENT_8013", "TIMER_EVENT_8014", "ENTER_REGION_8015" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_8005(context, evt)
if 8001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_8005(context, evt)
-- 延迟3秒后,向groupId为201017008的对象,请求一次调用,并将string参数"time1" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 201017008, "time1", 3) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_8006(context, evt)
if 8002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_8006(context, evt)
-- 延迟3秒后,向groupId为201017008的对象,请求一次调用,并将string参数"time2" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 201017008, "time2", 3) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_8007(context, evt)
if 8003 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_8007(context, evt)
-- 延迟3秒后,向groupId为201017008的对象,请求一次调用,并将string参数"time3" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 201017008, "time3", 3) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_8008(context, evt)
if 8004 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_8008(context, evt)
-- 延迟3秒后,向groupId为201017008的对象,请求一次调用,并将string参数"time4" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 201017008, "time4", 3) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_8009(context, evt)
if evt.param1 ~= 8009 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_8009(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 8010 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 8001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017009, 2)
-- 调用提示id为 101700401 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 101700401) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 将configid为 8016 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 8016, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_8011(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
-- 创建id为8001的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 8001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_8012(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 8003 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 创建id为8002的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 8002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_8013(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 8004 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 创建id为8003的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 8003 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_8014(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 8001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 创建id为8004的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 8004 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_8015(context, evt)
if evt.param1 ~= 8015 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_8015(context, evt)
-- 触发镜头注目,注目位置为坐标(-9864153持续时间为1秒并且为强制注目形式不广播其他玩家
local pos = {x=-98, y=64, z=153}
local pos_follow = {x=0, y=0, z=0}
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 1, 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

View File

@@ -0,0 +1,117 @@
-- 基础信息
local base_info = {
group_id = 201017009
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 9005, monster_id = 20011001, pos = { x = -23.158, y = 65.503, z = 103.087 }, rot = { x = 0.000, y = 352.117, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 9006, monster_id = 20011001, pos = { x = -15.868, y = 65.476, z = 110.633 }, rot = { x = 0.000, y = 307.168, z = 0.000 }, level = 1 },
{ config_id = 9008, monster_id = 20010701, pos = { x = -17.651, y = 65.531, z = 104.841 }, rot = { x = 0.000, y = 293.165, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 9001, gadget_id = 70220036, pos = { x = -10.830, y = 71.832, z = 93.450 }, rot = { x = 354.861, y = 322.289, z = 335.049 }, level = 1 },
{ config_id = 9002, gadget_id = 70900201, pos = { x = -22.330, y = 63.100, z = 104.708 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 9003, shape = RegionShape.SPHERE, radius = 15, pos = { x = -20.248, y = 63.100, z = 105.324 } }
}
-- 触发器
triggers = {
{ config_id = 1009003, name = "ENTER_REGION_9003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_9003", action = "action_EVENT_ENTER_REGION_9003" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 9005, 9006, 9008 },
gadgets = { 9001 },
regions = { 9003 },
triggers = { "ENTER_REGION_9003" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 9002 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_9003(context, evt)
if evt.param1 ~= 9003 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_9003(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 9002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 调用提示id为 101700501 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 101700501) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,178 @@
-- 基础信息
local base_info = {
group_id = 201017010
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 10001, gadget_id = 70690008, pos = { x = -1.537, y = 69.508, z = 78.128 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10008, gadget_id = 70690010, pos = { x = -1.745, y = 25.000, z = 78.737 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10010, gadget_id = 70360002, pos = { x = -1.941, y = 69.504, z = 78.598 }, rot = { x = 0.000, y = 327.695, z = 0.000 }, level = 1, state = GadgetState.GearStop }
}
-- 区域
regions = {
{ config_id = 10009, shape = RegionShape.SPHERE, radius = 8, pos = { x = -3.112, y = 114.776, z = 77.049 } }
}
-- 触发器
triggers = {
{ config_id = 1010005, name = "GADGET_STATE_CHANGE_10005", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_10005", action = "action_EVENT_GADGET_STATE_CHANGE_10005" },
{ config_id = 1010007, name = "SELECT_OPTION_10007", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_10007", action = "action_EVENT_SELECT_OPTION_10007" },
{ config_id = 1010009, name = "ENTER_REGION_10009", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_10009", action = "action_EVENT_ENTER_REGION_10009" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 10010 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_10005", "SELECT_OPTION_10007" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 10001, 10008 },
regions = { 10009 },
triggers = { "ENTER_REGION_10009" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_10005(context, evt)
if 10010 ~= evt.param2 or GadgetState.Default ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_10005(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 201017010, 10010, {2}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_10007(context, evt)
-- 判断是gadgetid 10010 option_id 2
if 10010 ~= evt.param1 then
return false
end
if 2 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_10007(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017010, 2)
-- 调用提示id为 101700601 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 101700601) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017013, 2)
-- 将configid为 10010 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10010, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除指定group 201017010 指定config10010物件身上指定option2
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201017010, 10010, 2) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_10009(context, evt)
if evt.param1 ~= 10009 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_10009(context, evt)
-- 触发镜头注目,注目位置为坐标(-1811268持续时间为1秒并且为强制注目形式不广播其他玩家
local pos = {x=-18, y=112, z=68}
local pos_follow = {x=0, y=0, z=0}
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 1, 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

View File

@@ -0,0 +1,96 @@
-- 基础信息
local base_info = {
group_id = 201017011
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 11001, monster_id = 20011101, pos = { x = 4.255, y = 69.432, z = 76.582 }, rot = { x = 0.000, y = 301.167, z = 0.000 }, level = 1 },
{ config_id = 11002, monster_id = 20010901, pos = { x = -6.758, y = 69.431, z = 75.375 }, rot = { x = 0.000, y = 301.167, z = 0.000 }, level = 1, affix = { 6101 } },
{ config_id = 11003, monster_id = 20010801, pos = { x = 5.072, y = 69.504, z = 82.916 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 11004, monster_id = 20011001, pos = { x = -3.469, y = 69.509, z = 76.118 }, rot = { x = 0.000, y = 301.167, z = 0.000 }, level = 1 },
{ config_id = 11005, monster_id = 20010801, pos = { x = 2.363, y = 69.507, z = 79.594 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 11006, monster_id = 20011001, pos = { x = -5.319, y = 69.434, z = 72.702 }, rot = { x = 0.000, y = 301.167, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1011007, name = "ANY_MONSTER_DIE_11007", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_11007", action = "action_EVENT_ANY_MONSTER_DIE_11007" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 11001, 11002, 11003, 11004, 11005, 11006 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_11007" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_11007(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_11007(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017012, 2)
return 0
end

View File

@@ -0,0 +1,105 @@
-- 基础信息
local base_info = {
group_id = 201017012
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 12001, monster_id = 20010901, pos = { x = 4.341, y = 69.435, z = 75.929 }, rot = { x = 0.000, y = 279.360, z = 0.000 }, level = 1 },
{ config_id = 12002, monster_id = 20010601, pos = { x = 1.303, y = 69.457, z = 71.880 }, rot = { x = 0.000, y = 333.870, z = 0.000 }, level = 1, affix = { 6104 } },
{ config_id = 12003, monster_id = 20010701, pos = { x = -4.669, y = 69.433, z = 71.470 }, rot = { x = 0.000, y = 14.264, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1012007, name = "ANY_MONSTER_DIE_12007", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_12007", action = "action_EVENT_ANY_MONSTER_DIE_12007" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_12007" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 12001, 12002, 12003 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_12007(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_12007(context, evt)
-- 改变指定group组201017010中 configid为10010的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 201017010, 10010, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end

View File

@@ -0,0 +1,410 @@
-- 基础信息
local base_info = {
group_id = 201017013
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 13001, gadget_id = 70900201, pos = { x = -18.278, y = 112.680, z = 68.650 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13002, gadget_id = 70690008, pos = { x = -37.833, y = 95.339, z = 56.017 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13003, gadget_id = 70690008, pos = { x = -76.060, y = 95.339, z = 36.160 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13004, gadget_id = 70690008, pos = { x = -101.776, y = 95.339, z = 56.820 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13005, gadget_id = 70690008, pos = { x = -90.604, y = 95.339, z = 87.506 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13006, gadget_id = 70690008, pos = { x = -69.194, y = 95.339, z = 109.659 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13007, gadget_id = 70690008, pos = { x = -31.169, y = 95.339, z = 85.632 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13008, gadget_id = 70690001, pos = { x = -38.598, y = 119.368, z = 92.594 }, rot = { x = 0.000, y = 307.991, z = 0.000 }, level = 1 },
{ config_id = 13009, gadget_id = 70690001, pos = { x = -52.586, y = 119.368, z = 103.816 }, rot = { x = 0.000, y = 304.694, z = 0.000 }, level = 1 },
{ config_id = 13010, gadget_id = 70690001, pos = { x = -50.402, y = 119.367, z = 48.111 }, rot = { x = 0.000, y = 245.880, z = 0.000 }, level = 1 },
{ config_id = 13011, gadget_id = 70690001, pos = { x = -64.345, y = 119.368, z = 40.850 }, rot = { x = 0.000, y = 249.922, z = 0.000 }, level = 1 },
{ config_id = 13012, gadget_id = 70690001, pos = { x = -93.877, y = 119.368, z = 77.114 }, rot = { x = 0.000, y = 189.529, z = 0.000 }, level = 1 },
{ config_id = 13013, gadget_id = 70690001, pos = { x = -98.128, y = 119.368, z = 64.569 }, rot = { x = 0.000, y = 193.113, z = 0.000 }, level = 1 },
{ config_id = 13015, gadget_id = 70360005, pos = { x = -89.947, y = 111.873, z = 35.343 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13016, gadget_id = 70360005, pos = { x = -78.711, y = 117.599, z = 111.110 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13020, gadget_id = 70350070, pos = { x = -39.244, y = 117.800, z = 71.630 }, rot = { x = 278.911, y = 86.249, z = 9.285 }, level = 1 },
{ config_id = 13021, gadget_id = 70350072, pos = { x = -79.360, y = 120.980, z = 94.620 }, rot = { x = 274.456, y = 338.583, z = 350.300 }, level = 1 },
{ config_id = 13022, gadget_id = 70350061, pos = { x = -84.930, y = 117.460, z = 52.020 }, rot = { x = 270.000, y = 219.210, z = 0.000 }, level = 1 },
{ config_id = 13023, gadget_id = 70360002, pos = { x = -18.394, y = 111.691, z = 68.548 }, rot = { x = 0.000, y = 99.723, z = 0.000 }, level = 1 },
{ config_id = 13025, gadget_id = 70360005, pos = { x = -26.196, y = 111.716, z = 62.158 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13026, gadget_id = 70360005, pos = { x = -21.291, y = 111.735, z = 78.701 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13029, gadget_id = 70360005, pos = { x = -102.682, y = 111.853, z = 44.389 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13030, gadget_id = 70360005, pos = { x = -88.464, y = 117.626, z = 100.099 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 13014, shape = RegionShape.SPHERE, radius = 10, pos = { x = -17.541, y = 116.709, z = 68.223 } }
}
-- 触发器
triggers = {
{ config_id = 1013014, name = "ENTER_REGION_13014", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_13014", action = "action_EVENT_ENTER_REGION_13014" },
{ config_id = 1013017, name = "GADGET_STATE_CHANGE_13017", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_13017", action = "action_EVENT_GADGET_STATE_CHANGE_13017" },
{ config_id = 1013018, name = "GADGET_STATE_CHANGE_13018", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_13018", action = "action_EVENT_GADGET_STATE_CHANGE_13018" },
{ config_id = 1013019, name = "VARIABLE_CHANGE_13019", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_13019", action = "action_EVENT_VARIABLE_CHANGE_13019" },
{ config_id = 1013027, name = "GADGET_STATE_CHANGE_13027", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_13027", action = "action_EVENT_GADGET_STATE_CHANGE_13027" },
{ config_id = 1013028, name = "GADGET_STATE_CHANGE_13028", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_13028", action = "action_EVENT_GADGET_STATE_CHANGE_13028" },
{ config_id = 1013031, name = "GADGET_STATE_CHANGE_13031", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_13031", action = "action_EVENT_GADGET_STATE_CHANGE_13031" },
{ config_id = 1013032, name = "GADGET_STATE_CHANGE_13032", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_13032", action = "action_EVENT_GADGET_STATE_CHANGE_13032" },
{ config_id = 1013036, name = "GADGET_CREATE_13036", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_13036", action = "action_EVENT_GADGET_CREATE_13036" },
{ config_id = 1013037, name = "SELECT_OPTION_13037", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_13037", action = "action_EVENT_SELECT_OPTION_13037" }
}
-- 变量
variables = {
{ config_id = 1, name = "deathCount", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 13020, 13021, 13022, 13023 },
regions = { 13014 },
triggers = { "ENTER_REGION_13014", "GADGET_CREATE_13036", "SELECT_OPTION_13037" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 13001 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { },
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 = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 7,
-- description = ,
monsters = { },
gadgets = { 13002, 13003, 13004, 13005, 13006, 13007, 13008, 13009, 13010, 13011, 13012, 13013, 13015, 13016, 13025, 13026, 13029, 13030 },
regions = { },
triggers = { "GADGET_STATE_CHANGE_13017", "GADGET_STATE_CHANGE_13018", "VARIABLE_CHANGE_13019", "GADGET_STATE_CHANGE_13027", "GADGET_STATE_CHANGE_13028", "GADGET_STATE_CHANGE_13031", "GADGET_STATE_CHANGE_13032" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_13014(context, evt)
if evt.param1 ~= 13014 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_13014(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 201017013, 3)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_13017(context, evt)
if 13015 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_13017(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 201017013, 4)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_13018(context, evt)
if 13016 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_13018(context, evt)
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 201017013, 5)
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_13019(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"deathCount"为2
if ScriptLib.GetGroupVariableValue(context, "deathCount") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_13019(context, evt)
-- 将configid为 13020 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 13020, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 13021 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 13021, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 13022 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 13022, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017016, 2)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_13027(context, evt)
if 13025 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_13027(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 201017013, 4)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_13028(context, evt)
if 13026 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_13028(context, evt)
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 201017013, 5)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_13031(context, evt)
if 13029 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_13031(context, evt)
-- 添加suite6的新内容
ScriptLib.AddExtraGroupSuite(context, 201017013, 6)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_13032(context, evt)
if 13030 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_STATE_CHANGE_13032(context, evt)
-- 添加suite6的新内容
ScriptLib.AddExtraGroupSuite(context, 201017013, 6)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_13036(context, evt)
if 13023 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_13036(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 201017013, 13023, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_13037(context, evt)
-- 判断是gadgetid 13023 option_id 7
if 13023 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_13037(context, evt)
-- 删除指定group 201017013 指定config13023物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 201017013, 13023, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 将configid为 13023 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 13023, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 13020 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 13020, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 13021 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 13021, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 13022 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 13022, 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 = 13001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017016, 2)
-- 触发镜头注目,注目位置为坐标(-3911771持续时间为2秒并且为强制注目形式不广播其他玩家
local pos = {x=-39, y=117, z=71}
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
return 0
end

View File

@@ -0,0 +1,207 @@
-- 基础信息
local base_info = {
group_id = 201017014
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 14001, monster_id = 20011501, pos = { x = -104.826, y = 111.802, z = 29.970 }, rot = { x = 0.000, y = 301.167, z = 0.000 }, level = 1 },
{ config_id = 14002, monster_id = 20011501, pos = { x = -104.314, y = 111.749, z = 37.565 }, rot = { x = 0.000, y = 301.167, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 14004, gadget_id = 70220036, pos = { x = -110.730, y = 112.600, z = 32.209 }, rot = { x = 305.707, y = 85.638, z = 349.994 }, level = 1 },
{ config_id = 14006, gadget_id = 70900201, pos = { x = -101.001, y = 111.722, z = 34.250 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 14009, gadget_id = 70900202, pos = { x = -112.339, y = 112.541, z = 32.936 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 14005, shape = RegionShape.SPHERE, radius = 12, pos = { x = -101.157, y = 111.824, z = 34.104 } }
}
-- 触发器
triggers = {
{ config_id = 1014003, name = "ANY_MONSTER_DIE_14003", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_14003", action = "action_EVENT_ANY_MONSTER_DIE_14003" },
{ config_id = 1014005, name = "ENTER_REGION_14005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_14005", action = "action_EVENT_ENTER_REGION_14005" },
{ config_id = 1014007, name = "ANY_GADGET_DIE_14007", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_14007", action = "action_EVENT_ANY_GADGET_DIE_14007" },
{ config_id = 1014008, name = "VARIABLE_CHANGE_14008", event = EventType.EVENT_VARIABLE_CHANGE, source = "deathCount", condition = "condition_EVENT_VARIABLE_CHANGE_14008", action = "action_EVENT_VARIABLE_CHANGE_14008" }
}
-- 变量
variables = {
{ config_id = 1, name = "deathCount", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
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 = { 14006 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 14001, 14002 },
gadgets = { 14004, 14009 },
regions = { 14005 },
triggers = { "ANY_MONSTER_DIE_14003", "ENTER_REGION_14005", "ANY_GADGET_DIE_14007", "VARIABLE_CHANGE_14008" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_14003(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_14003(context, evt)
-- 针对当前group内变量名为 "deathCount" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "deathCount", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_14005(context, evt)
if evt.param1 ~= 14005 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_14005(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017014, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_14007(context, evt)
if 14004 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_14007(context, evt)
-- 针对当前group内变量名为 "deathCount" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "deathCount", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 14009 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_14008(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"deathCount"为2
if ScriptLib.GetGroupVariableValue(context, "deathCount") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_14008(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 14006 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 针对当前group内变量名为 "deathCount" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "deathCount", 1, 201017013) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,207 @@
-- 基础信息
local base_info = {
group_id = 201017015
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 15001, monster_id = 20011101, pos = { x = -91.736, y = 117.568, z = 107.713 }, rot = { x = 0.000, y = 301.167, z = 0.000 }, level = 1 },
{ config_id = 15002, monster_id = 20010901, pos = { x = -89.533, y = 117.566, z = 110.755 }, rot = { x = 0.000, y = 301.167, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 15004, gadget_id = 70220036, pos = { x = -95.962, y = 118.648, z = 111.402 }, rot = { x = 334.337, y = 111.552, z = 347.407 }, level = 1 },
{ config_id = 15006, gadget_id = 70900201, pos = { x = -87.153, y = 117.508, z = 108.760 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 15009, gadget_id = 70900202, pos = { x = -96.696, y = 119.528, z = 111.998 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 15005, shape = RegionShape.SPHERE, radius = 12, pos = { x = -90.621, y = 117.538, z = 107.294 } }
}
-- 触发器
triggers = {
{ config_id = 1015003, name = "ANY_MONSTER_DIE_15003", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_15003", action = "action_EVENT_ANY_MONSTER_DIE_15003" },
{ config_id = 1015005, name = "ENTER_REGION_15005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_15005", action = "action_EVENT_ENTER_REGION_15005" },
{ config_id = 1015007, name = "ANY_GADGET_DIE_15007", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_15007", action = "action_EVENT_ANY_GADGET_DIE_15007" },
{ config_id = 1015008, name = "VARIABLE_CHANGE_15008", event = EventType.EVENT_VARIABLE_CHANGE, source = "deathCount", condition = "condition_EVENT_VARIABLE_CHANGE_15008", action = "action_EVENT_VARIABLE_CHANGE_15008" }
}
-- 变量
variables = {
{ config_id = 1, name = "deathCount", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
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 = { 15006 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 15001, 15002 },
gadgets = { 15004, 15009 },
regions = { 15005 },
triggers = { "ANY_MONSTER_DIE_15003", "ENTER_REGION_15005", "ANY_GADGET_DIE_15007", "VARIABLE_CHANGE_15008" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_15003(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_15003(context, evt)
-- 针对当前group内变量名为 "deathCount" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "deathCount", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_15005(context, evt)
if evt.param1 ~= 15005 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_15005(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017015, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_15007(context, evt)
if 15004 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_15007(context, evt)
-- 针对当前group内变量名为 "deathCount" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "deathCount", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 15009 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_15008(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"deathCount"为2
if ScriptLib.GetGroupVariableValue(context, "deathCount") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_15008(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 15006 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 针对当前group内变量名为 "deathCount" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "deathCount", 1, 201017013) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,143 @@
-- 基础信息
local base_info = {
group_id = 201017016
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 16001, gadget_id = 70900201, pos = { x = -71.284, y = 127.989, z = 75.019 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 16002, gadget_id = 71700099, pos = { x = -71.313, y = 127.459, z = 75.019 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1016003, name = "QUEST_FINISH_16003", event = EventType.EVENT_QUEST_FINISH, source = "", condition = "condition_EVENT_QUEST_FINISH_16003", action = "action_EVENT_QUEST_FINISH_16003" },
{ config_id = 1016004, name = "TIMER_EVENT_16004", event = EventType.EVENT_TIMER_EVENT, source = "outtime", condition = "", action = "action_EVENT_TIMER_EVENT_16004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "QUEST_FINISH_16003", "TIMER_EVENT_16004" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 16001, 16002 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_QUEST_FINISH_16003(context, evt)
--检查ID为101405的任务的完成状态是否为11=完成0=失败)
--此事件需要配合Quest表使用在Quest表里的完成执行中配置“通知group脚本”则该任务完成后服务端会向对应的group发送通知参数1填写场景ID参数2填写group ID如果不填则会通知所有group
--检查任务ID
if 101405 ~= evt.param1 then
return false
end
--检查任务成功状态
if 1 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_QUEST_FINISH_16003(context, evt)
-- 调用提示id为 101700801 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 101700801) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 延迟10秒后,向groupId为201017016的对象,请求一次调用,并将string参数"outtime" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 201017016, "outtime", 10) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 16001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_16004(context, evt)
-- 调用提示id为 101700803 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 101700803) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 通知任务系统完成条件类型"LUA通知"复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "101408") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end

View File

@@ -0,0 +1,104 @@
-- 基础信息
local base_info = {
group_id = 201017017
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 17001, gadget_id = 70211011, pos = { x = -41.940, y = 60.282, z = 164.408 }, rot = { x = 0.000, y = 190.287, z = 0.000 }, level = 11, drop_tag = "战斗中级璃月", isOneoff = true, persistent = true },
{ config_id = 17003, gadget_id = 70690008, pos = { x = -51.921, y = 43.855, z = 144.707 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 17002, shape = RegionShape.SPHERE, radius = 8, pos = { x = -46.512, y = 60.235, z = 167.070 } }
}
-- 触发器
triggers = {
{ config_id = 1017002, name = "ENTER_REGION_17002", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_17002", action = "action_EVENT_ENTER_REGION_17002" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 17001 },
regions = { 17002 },
triggers = { "ENTER_REGION_17002" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 17003 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_17002(context, evt)
if evt.param1 ~= 17002 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_17002(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 201017017, 2)
return 0
end

View File

@@ -0,0 +1,108 @@
-- 基础信息
local base_info = {
group_id = 201017018
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 18001, gadget_id = 70220020, pos = { x = -137.161, y = 46.178, z = 148.491 }, rot = { x = 351.162, y = 5.714, z = 354.062 }, level = 1, isOneoff = true, persistent = true },
{ config_id = 18002, gadget_id = 70220036, pos = { x = -13.528, y = 72.327, z = 59.001 }, rot = { x = -0.005, y = 3.739, z = 11.662 }, level = 1 },
{ config_id = 18020, gadget_id = 70310001, pos = { x = -4.162, y = 69.480, z = 51.137 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 18021, gadget_id = 70310001, pos = { x = -6.146, y = 69.460, z = 54.202 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 18022, gadget_id = 70220004, pos = { x = -137.524, y = 37.210, z = 73.822 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18023, gadget_id = 70220004, pos = { x = -125.473, y = 37.223, z = 80.040 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18024, gadget_id = 70220004, pos = { x = -129.922, y = 37.214, z = 85.674 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18025, gadget_id = 70220004, pos = { x = -142.006, y = 37.253, z = 80.397 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18026, gadget_id = 70220004, pos = { x = -147.840, y = 37.230, z = 77.036 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18027, gadget_id = 70220004, pos = { x = -22.597, y = 65.473, z = 112.386 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18028, gadget_id = 70220004, pos = { x = -21.539, y = 65.473, z = 103.832 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18029, gadget_id = 70220004, pos = { x = 1.898, y = 69.436, z = 87.227 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18030, gadget_id = 70220004, pos = { x = -4.769, y = 69.509, z = 79.546 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18031, gadget_id = 70220004, pos = { x = 6.138, y = 69.432, z = 75.183 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18032, gadget_id = 70220004, pos = { x = -3.220, y = 69.430, z = 66.208 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18033, gadget_id = 70220004, pos = { x = 11.239, y = 69.433, z = 62.868 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18034, gadget_id = 70220004, pos = { x = 8.109, y = 69.504, z = 85.446 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18035, gadget_id = 70220004, pos = { x = -14.902, y = 69.437, z = 75.562 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18036, gadget_id = 70220003, pos = { x = 21.716, y = 69.435, z = 76.009 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18037, gadget_id = 70220020, pos = { x = -145.659, y = 37.253, z = 93.759 }, rot = { x = 0.000, y = 271.200, z = 0.000 }, level = 1 },
{ config_id = 18038, gadget_id = 70220020, pos = { x = -127.877, y = 37.209, z = 71.061 }, rot = { x = 0.000, y = 271.200, z = 0.000 }, level = 1 },
{ config_id = 18039, gadget_id = 70220020, pos = { x = -130.871, y = 47.039, z = 158.869 }, rot = { x = 0.000, y = 245.093, z = 0.000 }, level = 1 },
{ config_id = 18041, gadget_id = 70220020, pos = { x = -135.394, y = 46.334, z = 150.494 }, rot = { x = 351.162, y = 5.714, z = 354.062 }, level = 1, isOneoff = true, persistent = true },
{ config_id = 18042, gadget_id = 70211001, pos = { x = -5.952, y = 69.432, z = 52.010 }, rot = { x = 0.000, y = 55.152, z = 0.000 }, level = 11, drop_tag = "战斗低级璃月", isOneoff = true, persistent = true },
{ config_id = 18043, gadget_id = 70220013, pos = { x = -123.794, y = 37.219, z = 89.738 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18044, gadget_id = 70220013, pos = { x = -122.407, y = 37.231, z = 87.154 }, rot = { x = 0.000, y = 325.589, z = 0.000 }, level = 1 },
{ config_id = 18045, gadget_id = 70220013, pos = { x = 22.430, y = 69.439, z = 80.958 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18046, gadget_id = 70220013, pos = { x = -23.592, y = 65.473, z = 97.728 }, rot = { x = 0.000, y = 347.677, z = 0.000 }, level = 1 },
{ config_id = 18047, gadget_id = 70220013, pos = { x = -25.842, y = 65.473, z = 99.459 }, rot = { x = 0.000, y = 308.302, z = 0.000 }, level = 1 },
{ config_id = 18048, gadget_id = 70220013, pos = { x = -88.884, y = 63.373, z = 160.218 }, rot = { x = 0.000, y = 348.058, z = 0.000 }, level = 1 },
{ config_id = 18049, gadget_id = 70220014, pos = { x = -91.483, y = 63.373, z = 160.645 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18050, gadget_id = 70220014, pos = { x = -130.235, y = 34.285, z = 44.273 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18051, gadget_id = 70220014, pos = { x = -124.537, y = 37.219, z = 87.549 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18052, gadget_id = 70220014, pos = { x = -20.854, y = 69.440, z = 73.537 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18053, gadget_id = 70220014, pos = { x = -19.167, y = 69.436, z = 75.668 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18054, gadget_id = 70220014, pos = { x = -21.330, y = 69.436, z = 75.283 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18059, gadget_id = 70220020, pos = { x = -122.753, y = 37.210, z = 79.229 }, rot = { x = 0.000, y = 307.571, 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 = { 18001, 18002, 18020, 18021, 18022, 18023, 18024, 18025, 18026, 18027, 18028, 18029, 18030, 18031, 18032, 18033, 18034, 18035, 18036, 18037, 18038, 18039, 18041, 18042, 18043, 18044, 18045, 18046, 18047, 18048, 18049, 18050, 18051, 18052, 18053, 18054, 18059 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,294 @@
{
"areas": {},
"doors": {},
"entities": {
"1": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 500.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": -98.82579,
"y": -6.619677,
"z": 21.49289
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 50.0,
"heightType": "Center",
"length": 600.0,
"useHeight": true,
"width": 600.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": true
}
},
"forces": {},
"points": {
"1": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": -66.5836,
"y": 126.4652,
"z": 74.64559
},
"rot": {
"x": 0.0,
"y": 104.379,
"z": 0.0
},
"size": {
"x": 6.0,
"y": 5.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
},
"2": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": -130.0146,
"y": 34.29082,
"z": 49.08125
},
"rot": {
"x": 0.0,
"y": 351.9456,
"z": 0.0
},
"size": {
"x": 15.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
},
"3": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": -122.9721,
"y": 47.03948,
"z": 137.9136
},
"rot": {
"x": 0.0,
"y": 41.9539,
"z": 0.0
},
"size": {
"x": 15.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
},
"4": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": -93.93446,
"y": 63.37762,
"z": 148.5941
},
"rot": {
"x": 0.0,
"y": 73.6318,
"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": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": -22.26535,
"y": 65.50019,
"z": 109.5347
},
"rot": {
"x": 0.0,
"y": 141.2115,
"z": 0.0
},
"size": {
"x": 15.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
},
"6": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": -11.84881,
"y": 111.6964,
"z": 68.45023
},
"rot": {
"x": 0.0,
"y": 263.7819,
"z": 0.0
},
"size": {
"x": 15.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
}
},
"transRadius": 0.0
}