更新配置表

This commit is contained in:
flswld
2023-01-29 13:00:55 +08:00
parent 0ab4fd1d18
commit 5fbe66113e
3108 changed files with 587829 additions and 26766 deletions

View File

@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -330.8, z = -319.0 },
size = { x = 1024.0, z = 1024.0 },
born_pos = { x = 589.000, y = 157.000, z = 333.000 },
born_rot = { x = 0.000, y = 0.000, z = 0.000 },
die_y = -20,
city_id = 4,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 20173 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -330.8, z = -319.0 }, max = { x = 693.2, z = 705.0 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { "routes" }

View File

@@ -0,0 +1,88 @@
{
"sceneId": 20173,
"routes": [
{
"localId": 3,
"name": "Platform_003",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"isSimulateTempRouteByTime": true,
"points": [
{
"pos": {
"x": 595.7301,
"y": 114.6961,
"z": 507.2385
},
"waitTime": 5.0,
"targetVelocity": 5.0
},
{
"pos": {
"x": 565.2665,
"y": 123.755318,
"z": 517.1897
},
"waitTime": 2.0,
"targetVelocity": 5.0
},
{
"pos": {
"x": 542.8099,
"y": 127.473183,
"z": 478.231873
},
"waitTime": 2.0,
"targetVelocity": 5.0
},
{
"pos": {
"x": 514.1233,
"y": 153.4757,
"z": 486.571075
},
"waitTime": 0.5,
"targetVelocity": 5.0
},
{
"pos": {
"x": 506.5939,
"y": 175.9094,
"z": 486.0354
},
"waitTime": 0.5,
"targetVelocity": 5.0
},
{
"pos": {
"x": 487.093933,
"y": 175.497543,
"z": 505.573669
},
"waitTime": 0.5,
"targetVelocity": 5.0
},
{
"pos": {
"x": 474.513641,
"y": 165.481155,
"z": 502.548157
},
"waitTime": 0.5,
"targetVelocity": 5.0
},
{
"pos": {
"x": 452.883179,
"y": 159.373108,
"z": 505.3563
},
"waitTime": 5.0,
"targetVelocity": 5.0
}
]
}
]
}

View File

@@ -0,0 +1,9 @@
-- 所有的group
groups = {
{ id = 220173001, refresh_id = 1003, pos = { x = 2.159, y = 193.630, z = 355.640 } },
{ id = 220173002, refresh_id = 1, pos = { x = 2.475, y = 204.715, z = 418.468 } },
{ id = 220173004, refresh_id = 1001, pos = { x = 650.143, y = 114.007, z = 483.787 } },
{ id = 220173005, refresh_id = 1, pos = { x = 588.595, y = 113.567, z = 504.871 } },
{ id = 220173006, refresh_id = 1, pos = { x = 427.613, y = 161.247, z = 515.904 } },
{ id = 220173007, refresh_id = 1001, pos = { x = 628.994, y = 126.894, z = 340.247 } }
}

View File

@@ -0,0 +1,9 @@
dummy_points = {
["Q1302204_N1053_T1302204"] = { pos = { x = 636.529, y = 127.008, z = 334.852 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q1302206_N1053"] = { pos = { x = 608.788, y = 114.032, z = 498.020 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q1302208_N1053_T1302208"] = { pos = { x = 490.211, y = 172.527, z = 602.491 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q1302210_Q1302212_Q1302214_N13004"] = { pos = { x = 639.093, y = 123.123, z = 397.359 }, rot = { x = 0.000, y = 230.926, z = 0.000 } },
["Q1302215_N1053"] = { pos = { x = 7.137, y = 193.730, z = 362.236 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q1302219_N13003"] = { pos = { x = 13.252, y = 193.630, z = 355.244 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q1302220_N1053"] = { pos = { x = 5.012, y = 193.630, z = 351.965 }, rot = { x = 0.000, y = 0.000, z = 0.000 } }
}

View File

@@ -0,0 +1,275 @@
-- 基础信息
local base_info = {
group_id = 220173001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 1001, monster_id = 26120301, pos = { x = 3.357, y = 193.878, z = 357.952 }, rot = { x = 0.000, y = 217.235, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 101 },
{ config_id = 1002, monster_id = 26010101, pos = { x = 0.509, y = 248.853, z = 365.664 }, rot = { x = 0.000, y = 204.448, z = 0.000 }, level = 40, drop_id = 1000100 },
{ config_id = 1003, monster_id = 28060203, pos = { x = -0.190, y = 193.630, z = 358.579 }, rot = { x = 0.000, y = 135.382, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 1 },
{ config_id = 1007, monster_id = 20010801, pos = { x = 6.419, y = 248.833, z = 356.281 }, rot = { x = 0.000, y = 237.165, z = 0.000 }, level = 40, drop_id = 1000100 },
{ config_id = 1008, monster_id = 20010801, pos = { x = 0.149, y = 250.127, z = 357.747 }, rot = { x = 0.000, y = 140.933, z = 0.000 }, level = 40, drop_id = 1000100 },
{ config_id = 1009, monster_id = 26010101, pos = { x = 9.354, y = 193.630, z = 364.783 }, rot = { x = 0.000, y = 212.071, z = 0.000 }, level = 40, drop_id = 1000100 },
{ config_id = 1010, monster_id = 20011101, pos = { x = 12.285, y = 193.630, z = 358.836 }, rot = { x = 0.000, y = 185.361, z = 0.000 }, level = 40, drop_id = 1000100, affix = { 1026 } },
{ config_id = 1011, monster_id = 26091001, pos = { x = 3.638, y = 193.630, z = 364.007 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 101 },
{ config_id = 1012, monster_id = 26091001, pos = { x = 11.133, y = 193.635, z = 363.138 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 101 },
{ config_id = 1013, monster_id = 26010301, pos = { x = 16.251, y = 193.664, z = 354.342 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 40, drop_id = 1000100 },
{ config_id = 1014, monster_id = 26010301, pos = { x = 3.503, y = 193.630, z = 350.908 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 40, drop_id = 1000100 },
{ config_id = 1016, monster_id = 26110101, pos = { x = 10.115, y = 193.630, z = 352.528 }, rot = { x = 0.000, y = 286.438, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 101 },
{ config_id = 1017, monster_id = 28060203, pos = { x = 7.641, y = 193.696, z = 349.432 }, rot = { x = 0.000, y = 319.856, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 1 },
{ config_id = 1019, monster_id = 28060203, pos = { x = 11.052, y = 193.635, z = 361.619 }, rot = { x = 0.000, y = 258.020, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 1 },
{ config_id = 1020, monster_id = 26120201, pos = { x = 2.110, y = 193.635, z = 353.204 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 201 },
{ config_id = 1021, monster_id = 26120201, pos = { x = -4.959, y = 252.215, z = 356.380 }, rot = { x = 0.000, y = 31.491, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 201 },
{ config_id = 1022, monster_id = 26120301, pos = { x = 3.742, y = 193.730, z = 361.118 }, rot = { x = 0.000, y = 218.525, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 101 },
{ config_id = 1023, monster_id = 26120301, pos = { x = 6.844, y = 193.630, z = 364.274 }, rot = { x = 0.000, y = 153.447, z = 0.000 }, level = 40, drop_id = 1000100, pose_id = 101 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1001004, name = "ANY_MONSTER_DIE_1004", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1004", action = "action_EVENT_ANY_MONSTER_DIE_1004" },
{ config_id = 1001005, name = "ANY_MONSTER_DIE_1005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1005", action = "action_EVENT_ANY_MONSTER_DIE_1005" },
{ config_id = 1001006, name = "ANY_MONSTER_DIE_1006", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1006", action = "action_EVENT_ANY_MONSTER_DIE_1006" },
{ config_id = 1001015, name = "ANY_MONSTER_DIE_1015", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1015", action = "action_EVENT_ANY_MONSTER_DIE_1015" },
{ config_id = 1001018, name = "ANY_MONSTER_DIE_1018", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1018", action = "action_EVENT_ANY_MONSTER_DIE_1018" },
{ config_id = 1001024, name = "ANY_MONSTER_DIE_1024", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1024", action = "action_EVENT_ANY_MONSTER_DIE_1024" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 1011, 1012, 1013, 1014 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_1015" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 1001, 1007, 1008 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_1004" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 1003, 1017, 1019 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_1018" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 1002, 1009, 1010 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_1005" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 1020, 1021, 1022, 1023 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_1024" },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { 1016 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_1006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_1004(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_1004(context, evt)
-- 通知任务系统完成条件类型"LUA通知"复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "1302209") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_1005(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_1005(context, evt)
-- 通知任务系统完成条件类型"LUA通知"复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "1302211") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_1006(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_1006(context, evt)
-- 通知任务系统完成条件类型"LUA通知"复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "1302213") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_1015(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_1015(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220173001, 2)
-- 调用提示id为 1000220000 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 1000220000) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_1018(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_1018(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 220173001, 4)
-- 调用提示id为 1000220002 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 1000220002) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_1024(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_1024(context, evt)
-- 添加suite6的新内容
ScriptLib.AddExtraGroupSuite(context, 220173001, 6)
-- 调用提示id为 1000220005 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 1000220005) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,72 @@
-- 基础信息
local base_info = {
group_id = 220173002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2002, gadget_id = 70220070, pos = { x = 4.598, y = 204.715, z = 414.657 }, rot = { x = 0.000, y = 7.266, 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 = { 2002 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,173 @@
-- 基础信息
local base_info = {
group_id = 220173004
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 4002, monster_id = 26120301, pos = { x = 653.835, y = 114.007, z = 481.470 }, rot = { x = 0.000, y = 133.860, z = 0.000 }, level = 1, pose_id = 101 },
{ config_id = 4003, monster_id = 26091001, pos = { x = 654.863, y = 114.007, z = 487.950 }, rot = { x = 0.000, y = 186.569, z = 0.000 }, level = 1, pose_id = 101 },
{ config_id = 4004, monster_id = 26091001, pos = { x = 651.075, y = 114.007, z = 488.910 }, rot = { x = 0.000, y = 125.634, z = 0.000 }, level = 1, pose_id = 101 },
{ config_id = 4005, monster_id = 26090601, pos = { x = 649.222, y = 114.007, z = 480.612 }, rot = { x = 0.000, y = 139.201, z = 0.000 }, level = 1, pose_id = 101 },
{ config_id = 4006, monster_id = 26090601, pos = { x = 654.543, y = 114.151, z = 478.380 }, rot = { x = 0.000, y = 111.542, z = 0.000 }, level = 1, pose_id = 101 },
{ config_id = 4009, monster_id = 26010301, pos = { x = 646.900, y = 114.007, z = 484.296 }, rot = { x = 0.000, y = 91.563, z = 0.000 }, level = 1 },
{ config_id = 4010, monster_id = 20011001, pos = { x = 651.476, y = 114.007, z = 483.542 }, rot = { x = 0.000, y = 323.066, z = 0.000 }, level = 1 },
{ config_id = 4011, monster_id = 20011001, pos = { x = 648.176, y = 114.007, z = 491.032 }, rot = { x = 0.000, y = 191.082, z = 0.000 }, level = 1 },
{ config_id = 4012, monster_id = 20011001, pos = { x = 641.263, y = 114.007, z = 486.144 }, rot = { x = 0.000, y = 102.175, z = 0.000 }, level = 1 },
{ config_id = 4013, monster_id = 20011101, pos = { x = 643.730, y = 114.055, z = 478.398 }, rot = { x = 0.000, y = 14.128, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 4001, gadget_id = 70290544, pos = { x = 628.593, y = 119.394, z = 489.352 }, rot = { x = 0.000, y = 320.888, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 4007, shape = RegionShape.SPHERE, radius = 10, pos = { x = 655.418, y = 114.007, z = 479.790 } }
}
-- 触发器
triggers = {
{ config_id = 1004007, name = "ENTER_REGION_4007", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_4007", action = "action_EVENT_ENTER_REGION_4007" },
{ config_id = 1004008, name = "ANY_MONSTER_DIE_4008", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_4008", action = "action_EVENT_ANY_MONSTER_DIE_4008" },
{ config_id = 1004014, name = "ANY_MONSTER_DIE_4014", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_4014", action = "action_EVENT_ANY_MONSTER_DIE_4014" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 4001 },
regions = { 4007 },
triggers = { "ENTER_REGION_4007" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 4002, 4003, 4004, 4005, 4006 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_4008" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 4009, 4010, 4011, 4012, 4013 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_4014" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_4007(context, evt)
if evt.param1 ~= 4007 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_4007(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220173004, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_4008(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_4008(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 220173004, 3)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_4014(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_4014(context, evt)
-- 将configid为 4001 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 4001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 触发镜头注目注目位置为坐标{x=630, y=117, z=490}持续时间为2秒并且为强制注目形式不广播其他玩家
local pos = {x=630, y=117, z=490}
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 = 1,
is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false,
is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin")
return -1
end
return 0
end

View File

@@ -0,0 +1,152 @@
-- 基础信息
local base_info = {
group_id = 220173005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 5001, gadget_id = 70380003, pos = { x = 595.730, y = 114.696, z = 507.239 }, rot = { x = 0.000, y = 304.539, z = 0.000 }, level = 1, route_id = 3, start_route = false },
{ config_id = 5005, gadget_id = 70290517, pos = { x = 457.665, y = 166.462, z = 504.062 }, rot = { x = 0.000, y = 298.231, z = 0.000 }, level = 1, state = GadgetState.GearStart }
}
-- 区域
regions = {
{ config_id = 5002, shape = RegionShape.SPHERE, radius = 3, pos = { x = 596.039, y = 115.024, z = 507.534 } },
{ config_id = 5003, shape = RegionShape.SPHERE, radius = 5, pos = { x = 608.307, y = 114.034, z = 498.568 } },
{ config_id = 5004, shape = RegionShape.SPHERE, radius = 6, pos = { x = 450.818, y = 159.185, z = 505.730 } }
}
-- 触发器
triggers = {
{ config_id = 1005002, name = "ENTER_REGION_5002", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5002", action = "action_EVENT_ENTER_REGION_5002" },
{ config_id = 1005003, name = "ENTER_REGION_5003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5003", action = "action_EVENT_ENTER_REGION_5003" },
{ config_id = 1005004, name = "ENTER_REGION_5004", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5004", action = "action_EVENT_ENTER_REGION_5004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 5001, 5005 },
regions = { 5002, 5003, 5004 },
triggers = { "ENTER_REGION_5002", "ENTER_REGION_5003", "ENTER_REGION_5004" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_5002(context, evt)
if evt.param1 ~= 5002 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_5002(context, evt)
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 5001) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_5003(context, evt)
if evt.param1 ~= 5003 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_5003(context, evt)
-- 触发镜头注目注目位置为坐标{x=590, y=123, z=503}持续时间为2秒并且为强制注目形式不广播其他玩家
local pos = {x=590, y=123, z=503}
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
-- 触发条件
function condition_EVENT_ENTER_REGION_5004(context, evt)
if evt.param1 ~= 5004 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_5004(context, evt)
-- 将configid为 5005 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5005, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 220173006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 6001, gadget_id = 70220103, pos = { x = 421.953, y = 164.025, z = 554.054 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 30 },
{ config_id = 6002, gadget_id = 70220103, pos = { x = 448.734, y = 172.855, z = 558.735 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 30 },
{ config_id = 6003, gadget_id = 70220103, pos = { x = 458.888, y = 175.843, z = 582.427 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 30 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 6001, 6002, 6003 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,101 @@
-- 基础信息
local base_info = {
group_id = 220173007
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 7002, monster_id = 26091001, pos = { x = 626.302, y = 127.702, z = 334.507 }, rot = { x = 0.000, y = 279.184, z = 0.000 }, level = 1, pose_id = 102 },
{ config_id = 7003, monster_id = 26091001, pos = { x = 630.625, y = 126.797, z = 342.786 }, rot = { x = 0.000, y = 333.551, z = 0.000 }, level = 1, pose_id = 102 },
{ config_id = 7004, monster_id = 26091001, pos = { x = 637.072, y = 127.010, z = 330.407 }, rot = { x = 0.000, y = 300.207, z = 0.000 }, level = 1, pose_id = 102 },
{ config_id = 7005, monster_id = 26120101, pos = { x = 630.666, y = 127.978, z = 337.187 }, rot = { x = 0.000, y = 296.309, z = 0.000 }, level = 1, pose_id = 201 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7001, gadget_id = 70211002, pos = { x = 644.144, y = 127.660, z = 327.429 }, rot = { x = 7.056, y = 319.515, z = 358.665 }, level = 1, drop_tag = "战斗低级须弥", state = GadgetState.ChestLocked, isOneoff = true, persistent = true },
{ config_id = 7007, gadget_id = 70290577, pos = { x = 644.778, y = 126.054, z = 360.796 }, rot = { x = 0.000, y = 42.331, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 7008, shape = RegionShape.SPHERE, radius = 5, pos = { x = 628.994, y = 126.894, z = 340.247 } }
}
-- 触发器
triggers = {
{ config_id = 1007006, name = "ANY_MONSTER_DIE_7006", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_7006", action = "action_EVENT_ANY_MONSTER_DIE_7006" },
{ config_id = 1007008, name = "ENTER_REGION_7008", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 7002, 7003, 7004, 7005 },
gadgets = { 7001, 7007 },
regions = { 7008 },
triggers = { "ANY_MONSTER_DIE_7006", "ENTER_REGION_7008" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_7006(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_7006(context, evt)
-- 将configid为 7001 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 7001, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,45 @@
{
"areas": {},
"doors": {},
"entities": {},
"forces": {},
"points": {
"1": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": 0.7295542,
"y": 193.6351,
"z": 362.2273
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 5.0,
"y": 5.0,
"z": 5.0
},
"tranPos": {
"x": -5.385487,
"y": 80.05,
"z": -1.678977
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
}
},
"transRadius": 0.0
}