添加配置表

This commit is contained in:
flswld
2022-11-30 00:00:20 +08:00
parent f70a890338
commit d7f3f3b866
33382 changed files with 8476601 additions and 0 deletions
@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -1024.0, z = 0.0 },
size = { x = 2048.0, z = 1024.0 },
born_pos = { x = 323.515, y = 17.138, z = 234.651 },
born_rot = { x = 0.000, y = 235.672, z = 0.000 },
die_y = 0,
city_id = 4,
vision_anchor = { x = -2000.0, z = 0.0 }
}
-- 所有的区块
blocks = { 20165 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -1024.0, z = 0.0 }, max = { x = 1024.0, z = 1024.0 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { "routes" }
@@ -0,0 +1,225 @@
{
"sceneId": 20165,
"routes": [
{
"localId": 6,
"name": "Platform_006",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 309.888062,
"y": 14.7846165,
"z": 229.510956
},
"waitTime": 0.0,
"targetVelocity": 2.0
},
{
"pos": {
"x": 302.1201,
"y": 23.5829868,
"z": 220.18605
},
"waitTime": 0.0,
"targetVelocity": 2.0,
"hasReachEvent": true,
"reachStop": true
}
]
},
{
"localId": 7,
"name": "Route_007",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 277.950928,
"y": 27.0516167,
"z": 211.61998
},
"waitTime": 0.0,
"speedLevel": 2,
"arriveRange": 2.0
},
{
"pos": {
"x": 282.276917,
"y": 27.34481,
"z": 213.606308
},
"waitTime": 0.0,
"speedLevel": 2,
"arriveRange": 2.0
},
{
"pos": {
"x": 281.8407,
"y": 27.14206,
"z": 218.664383
},
"waitTime": 0.0,
"speedLevel": 2,
"arriveRange": 2.0
},
{
"pos": {
"x": 281.024017,
"y": 27.654995,
"z": 222.4604
},
"waitTime": 0.0,
"speedLevel": 2,
"arriveRange": 2.0
},
{
"pos": {
"x": 275.312225,
"y": 27.41164,
"z": 227.013123
},
"waitTime": 0.0,
"speedLevel": 2,
"arriveRange": 2.0
},
{
"pos": {
"x": 268.299377,
"y": 27.2021236,
"z": 225.2856
},
"waitTime": 0.0,
"speedLevel": 2,
"arriveRange": 2.0
},
{
"pos": {
"x": 269.685577,
"y": 27.27797,
"z": 220.1242
},
"waitTime": 0.0,
"speedLevel": 2,
"arriveRange": 2.0
},
{
"pos": {
"x": 272.783356,
"y": 26.9594,
"z": 213.177261
},
"waitTime": 0.0,
"speedLevel": 2,
"arriveRange": 2.0
},
{
"pos": {
"x": 277.939972,
"y": 27.0417538,
"z": 211.6151
},
"waitTime": 0.0,
"speedLevel": 2,
"arriveRange": 2.0
}
]
},
{
"localId": 8,
"name": "Platform_006",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 302.1201,
"y": 23.5829868,
"z": 220.18605
},
"waitTime": 0.0,
"targetVelocity": 2.0
},
{
"pos": {
"x": 309.888062,
"y": 14.7846165,
"z": 229.510956
},
"waitTime": 0.0,
"targetVelocity": 2.0,
"hasReachEvent": true,
"reachStop": true
}
]
},
{
"localId": 9,
"name": "Route_009",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 277.1594,
"y": 25.8183441,
"z": 217.825378
},
"waitTime": 0.0,
"speedLevel": 1,
"arriveRange": 2.0
},
{
"pos": {
"x": 282.1638,
"y": 25.8231678,
"z": 219.056808
},
"waitTime": 0.0,
"speedLevel": 1,
"arriveRange": 2.0
},
{
"pos": {
"x": 280.7272,
"y": 25.89503,
"z": 227.240784
},
"waitTime": 0.0,
"speedLevel": 1,
"arriveRange": 2.0
},
{
"pos": {
"x": 273.423248,
"y": 26.06011,
"z": 227.585968
},
"waitTime": 0.0,
"speedLevel": 1,
"arriveRange": 2.0
},
{
"pos": {
"x": 276.6497,
"y": 25.7700577,
"z": 217.69278
},
"waitTime": 0.0,
"speedLevel": 1,
"arriveRange": 2.0
}
]
}
]
}
@@ -0,0 +1,15 @@
-- 所有的group
groups = {
{ id = 220165001, pos = { x = 284.204, y = 83.091, z = 218.175 } },
{ id = 220165002, refresh_id = 1001, pos = { x = 926.279, y = 14.557, z = 222.402 } },
{ id = 220165003, refresh_id = 1, pos = { x = 228.717, y = 13.000, z = 172.548 } },
{ id = 220165004, refresh_id = 1002, pos = { x = 882.483, y = 25.601, z = 215.722 } },
{ id = 220165005, refresh_id = 1002, pos = { x = 281.059, y = 25.980, z = 223.060 } },
{ id = 220165006, refresh_id = 1002, pos = { x = -556.964, y = 51.396, z = 764.240 } },
{ id = 220165007, refresh_id = 1002, pos = { x = -553.362, y = 51.396, z = 741.507 } },
{ id = 220165008, refresh_id = 1, pos = { x = -563.192, y = 22.600, z = 190.605 } },
{ id = 220165009, refresh_id = 1, pos = { x = -550.004, y = 51.396, z = 735.495 } },
{ id = 220165010, refresh_id = 1, pos = { x = 924.941, y = 14.478, z = 221.729 } },
{ id = 220165011, pos = { x = -550.748, y = 22.363, z = 190.206 } },
{ id = 220165012, refresh_id = 1, pos = { x = -544.520, y = 67.910, z = 768.480 } }
}
@@ -0,0 +1,70 @@
dummy_points = {
["Q13014Area1Nahida"] = { pos = { x = 325.018, y = 17.544, z = 235.314 }, rot = { x = 0.000, y = 232.715, z = 0.000 } },
["Q13014Area1Paimon"] = { pos = { x = 323.164, y = 17.353, z = 237.557 }, rot = { x = 0.000, y = 203.131, z = 0.000 } },
["Q13014Area1Player"] = { pos = { x = 322.632, y = 17.221, z = 235.639 }, rot = { x = 0.000, y = 206.942, z = 0.000 } },
["Q13014Area2Deby"] = { pos = { x = -562.834, y = 22.600, z = 190.889 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014Area2Friend1"] = { pos = { x = -562.847, y = 22.600, z = 193.713 }, rot = { x = 0.000, y = 165.863, z = 0.000 } },
["Q13014Area2Friend2"] = { pos = { x = -560.550, y = 22.600, z = 193.506 }, rot = { x = 0.000, y = 191.562, z = 0.000 } },
["Q13014Area2Nahida"] = { pos = { x = -552.404, y = 22.602, z = 180.713 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014Area2Nahida2"] = { pos = { x = -562.449, y = 22.600, z = 188.980 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014Area2OwnerFake"] = { pos = { x = -551.511, y = 22.570, z = 203.443 }, rot = { x = 0.000, y = 181.827, z = 0.000 } },
["Q13014Area2Paimon"] = { pos = { x = -550.500, y = 22.602, z = 180.685 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014Area2Paimon2"] = { pos = { x = -559.637, y = 22.600, z = 190.220 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014Area2Player"] = { pos = { x = -551.640, y = 22.602, z = 181.793 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014Area2Player2"] = { pos = { x = -560.729, y = 22.600, z = 189.413 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014Area3Nahida"] = { pos = { x = 926.098, y = 14.748, z = 219.651 }, rot = { x = 0.000, y = 256.403, z = 0.000 } },
["Q13014Area3Paimon"] = { pos = { x = 924.989, y = 14.212, z = 223.576 }, rot = { x = 0.000, y = 244.784, z = 0.000 } },
["Q13014Area4Haydar"] = { pos = { x = 555.014, y = 56.122, z = 775.636 }, rot = { x = 0.000, y = 288.525, z = 0.000 } },
["Q13014Area4Ilman"] = { pos = { x = 553.565, y = 56.119, z = 777.686 }, rot = { x = 0.000, y = 165.715, z = 0.000 } },
["Q13014Area4Maynar"] = { pos = { x = 553.348, y = 56.174, z = 775.827 }, rot = { x = 0.000, y = 39.461, z = 0.000 } },
["Q13014Area4Nahida"] = { pos = { x = 548.614, y = 51.019, z = 801.819 }, rot = { x = 0.000, y = 147.474, z = 0.000 } },
["Q13014Area4Nahida2"] = { pos = { x = 562.386, y = 53.818, z = 784.019 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014Area4Paimon"] = { pos = { x = 545.707, y = 51.048, z = 798.677 }, rot = { x = 0.000, y = 139.651, z = 0.000 } },
["Q13014Area4Paimon2"] = { pos = { x = 560.065, y = 53.380, z = 786.263 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014Area4Player2"] = { pos = { x = 561.130, y = 53.617, z = 785.012 }, rot = { x = 0.000, y = 206.400, z = 0.000 } },
["Q13014Area6Anisah"] = { pos = { x = -552.287, y = 49.483, z = 793.844 }, rot = { x = 0.000, y = 46.852, z = 0.000 } },
["Q13014Area6CSKian"] = { pos = { x = -555.905, y = 51.396, z = 739.607 }, rot = { x = 0.000, y = 263.246, z = 0.000 } },
["Q13014Area6CSShadiyah"] = { pos = { x = -556.906, y = 51.396, z = 733.723 }, rot = { x = 0.000, y = 285.237, z = 0.000 } },
["Q13014Area6Emir"] = { pos = { x = -555.616, y = 51.396, z = 740.270 }, rot = { x = 0.000, y = 55.302, z = 0.000 } },
["Q13014Area6Emir2"] = { pos = { x = -558.328, y = 49.483, z = 802.430 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014Area6Haydar"] = { pos = { x = -544.055, y = 51.396, z = 753.902 }, rot = { x = 0.000, y = 101.896, z = 0.000 } },
["Q13014Area6Ilman"] = { pos = { x = -546.149, y = 51.396, z = 758.105 }, rot = { x = 0.000, y = 128.895, z = 0.000 } },
["Q13014Area6Inas"] = { pos = { x = -553.630, y = 50.255, z = 784.085 }, rot = { x = 0.000, y = 140.451, z = 0.000 } },
["Q13014Area6Kian"] = { pos = { x = -551.176, y = 49.483, z = 795.641 }, rot = { x = 0.000, y = 204.820, z = 0.000 } },
["Q13014Area6Maynar"] = { pos = { x = -544.665, y = 51.396, z = 758.479 }, rot = { x = 0.000, y = 156.436, z = 0.000 } },
["Q13014Area6Moseis"] = { pos = { x = -554.178, y = 51.396, z = 741.465 }, rot = { x = 0.000, y = 233.388, z = 0.000 } },
["Q13014Area6MoseisFinAdded"] = { pos = { x = -560.253, y = 49.483, z = 803.353 }, rot = { x = 0.000, y = 6.287, z = 0.000 } },
["Q13014Area6Rakesh"] = { pos = { x = -568.826, y = 51.396, z = 745.862 }, rot = { x = 0.000, y = 346.195, z = 0.000 } },
["Q13014Area6Shadiyah"] = { pos = { x = -553.489, y = 50.255, z = 781.748 }, rot = { x = 0.000, y = 30.285, z = 0.000 } },
["Q13014Area6StartNahida"] = { pos = { x = -572.293, y = 45.743, z = 778.041 }, rot = { x = 0.000, y = 20.608, z = 0.000 } },
["Q13014Area6StartPaimon"] = { pos = { x = -575.526, y = 45.743, z = 779.936 }, rot = { x = 0.000, y = 20.608, z = 0.000 } },
["Q13014Area6Talk1Nahida"] = { pos = { x = -555.347, y = 49.483, z = 797.142 }, rot = { x = 0.000, y = 125.936, z = 0.000 } },
["Q13014Area6Talk1Paimon"] = { pos = { x = -556.415, y = 49.483, z = 795.411 }, rot = { x = 0.000, y = 115.043, z = 0.000 } },
["Q13014Area6Talk1Player"] = { pos = { x = -554.439, y = 49.483, z = 799.980 }, rot = { x = 0.000, y = 131.921, z = 0.000 } },
["Q13014Area6Talk2Nahida"] = { pos = { x = -558.786, y = 50.255, z = 781.418 }, rot = { x = 0.000, y = 84.081, z = 0.000 } },
["Q13014Area6Talk2Paimon"] = { pos = { x = -557.323, y = 50.255, z = 785.448 }, rot = { x = 0.000, y = 131.798, z = 0.000 } },
["Q13014Area6Talk2Player"] = { pos = { x = -558.435, y = 50.255, z = 784.144 }, rot = { x = 0.000, y = 114.366, z = 0.000 } },
["Q13014Area6Talk3Nahida"] = { pos = { x = -551.229, y = 51.396, z = 759.883 }, rot = { x = 0.000, y = 123.364, z = 0.000 } },
["Q13014Area6Talk3Paimon"] = { pos = { x = -549.233, y = 51.396, z = 763.179 }, rot = { x = 0.000, y = 163.477, z = 0.000 } },
["Q13014Area6Talk3Player"] = { pos = { x = -550.601, y = 51.396, z = 762.131 }, rot = { x = 0.000, y = 138.514, z = 0.000 } },
["Q13014Area6Talk4Nahida"] = { pos = { x = -565.484, y = 51.396, z = 753.588 }, rot = { x = 0.000, y = 144.422, z = 0.000 } },
["Q13014Area6Talk4Paimon"] = { pos = { x = -561.194, y = 51.396, z = 756.132 }, rot = { x = 0.000, y = 188.842, z = 0.000 } },
["Q13014Area6Talk4Player"] = { pos = { x = -563.525, y = 51.396, z = 756.123 }, rot = { x = 0.000, y = 166.909, z = 0.000 } },
["Q13014Area6Talk5Nahida"] = { pos = { x = -554.445, y = 51.396, z = 737.429 }, rot = { x = 0.000, y = 115.700, z = 0.000 } },
["Q13014Area6Talk5Paimon"] = { pos = { x = -552.974, y = 51.396, z = 739.469 }, rot = { x = 0.000, y = 147.411, z = 0.000 } },
["Q13014Area6Talk5Player"] = { pos = { x = -550.698, y = 51.396, z = 739.327 }, rot = { x = 0.000, y = 159.933, z = 0.000 } },
["Q13014Area6Thana"] = { pos = { x = -568.898, y = 51.396, z = 747.821 }, rot = { x = 0.000, y = 184.699, z = 0.000 } },
["Q13014DungeonArea15Start"] = { pos = { x = 322.222, y = 17.020, z = 231.875 }, rot = { x = 0.000, y = 258.216, z = 0.000 } },
["Q13014DungeonArea3Start"] = { pos = { x = 925.421, y = 14.528, z = 221.748 }, rot = { x = 0.000, y = 266.245, z = 0.000 } },
["Q13014DungeonArea4Start"] = { pos = { x = 546.263, y = 51.051, z = 801.487 }, rot = { x = 0.000, y = 131.707, z = 0.000 } },
["Q13014DungeonArea6Start"] = { pos = { x = -574.189, y = 45.743, z = 778.316 }, rot = { x = 0.000, y = 20.608, z = 0.000 } },
["Q13014FinAddAnesai"] = { pos = { x = -541.463, y = 51.396, z = 734.555 }, rot = { x = 358.904, y = 340.727, z = 353.552 } },
["Q13014FinAddHaydar"] = { pos = { x = -540.968, y = 51.396, z = 758.523 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q13014FinAddIlman"] = { pos = { x = -542.495, y = 51.396, z = 757.327 }, rot = { x = 0.000, y = 42.038, z = 0.000 } },
["Q13014FinAddInas"] = { pos = { x = -561.651, y = 51.396, z = 766.863 }, rot = { x = 0.000, y = 202.866, z = 0.000 } },
["Q13014FinAddKian"] = { pos = { x = -543.236, y = 51.396, z = 737.545 }, rot = { x = 0.000, y = 137.792, z = 0.000 } },
["Q13014FinAddMaynar"] = { pos = { x = -543.604, y = 51.396, z = 760.085 }, rot = { x = 0.000, y = 115.535, z = 0.000 } },
["Q13014FinAddRakesh"] = { pos = { x = -572.222, y = 51.396, z = 758.482 }, rot = { x = 0.000, y = 275.086, z = 0.000 } },
["Q13014FinAddSena"] = { pos = { x = -570.847, y = 51.396, z = 760.855 }, rot = { x = 0.000, y = 219.356, z = 0.000 } },
["Q13014FinAddShadiye"] = { pos = { x = -563.537, y = 51.396, z = 764.880 }, rot = { x = 0.000, y = 23.697, z = 0.000 } }
}
@@ -0,0 +1,79 @@
-- 基础信息
local base_info = {
group_id = 220165001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
-- 废弃数据
garbages = {
gadgets = {
{ config_id = 1001, gadget_id = 70320041, pos = { x = 284.272, y = 83.176, z = 207.512 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1002, gadget_id = 70320041, pos = { x = 883.426, y = 25.603, z = 208.748 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,451 @@
-- 基础信息
local base_info = {
group_id = 220165002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 2003, monster_id = 26090601, pos = { x = 274.349, y = 25.749, z = 215.707 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 2004, monster_id = 26090201, pos = { x = 276.818, y = 25.709, z = 212.228 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 2005, monster_id = 26090301, pos = { x = 278.195, y = 25.840, z = 211.776 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 2006, monster_id = 26090201, pos = { x = 275.185, y = 25.970, z = 214.221 }, rot = { x = 0.000, y = 298.602, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 2021, monster_id = 26090301, pos = { x = 276.008, y = 25.859, z = 213.315 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 2025, monster_id = 26090901, pos = { x = 278.546, y = 25.970, z = 215.830 }, rot = { x = 0.000, y = 24.180, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 2026, monster_id = 26090901, pos = { x = 275.976, y = 25.751, z = 220.356 }, rot = { x = 0.000, y = 51.196, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 2027, monster_id = 26090401, pos = { x = 279.283, y = 26.010, z = 217.446 }, rot = { x = 0.000, y = 24.180, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 2028, monster_id = 26090401, pos = { x = 277.927, y = 25.852, z = 219.215 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2001, gadget_id = 70350456, pos = { x = 315.707, y = 17.213, z = 230.837 }, rot = { x = 352.674, y = 181.649, z = 343.864 }, level = 1 },
{ config_id = 2002, gadget_id = 70690029, pos = { x = 314.295, y = 18.327, z = 218.361 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2007, gadget_id = 70290527, pos = { x = 231.659, y = 17.982, z = 177.181 }, rot = { x = 0.000, y = 30.458, z = 0.000 }, level = 1 },
{ config_id = 2009, gadget_id = 70950156, pos = { x = 279.717, y = 26.091, z = 222.119 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2011, gadget_id = 70290526, pos = { x = 259.905, y = 26.822, z = 218.537 }, rot = { x = 0.000, y = 20.278, z = 0.000 }, level = 1, state = GadgetState.GearStop },
{ config_id = 2012, gadget_id = 70360001, pos = { x = 260.152, y = 28.066, z = 218.592 }, rot = { x = 0.000, y = 20.586, z = 0.000 }, level = 1 },
{ config_id = 2014, gadget_id = 70350456, pos = { x = 245.377, y = 18.936, z = 209.762 }, rot = { x = 333.576, y = 350.051, z = 359.993 }, level = 1 },
{ config_id = 2015, gadget_id = 70350456, pos = { x = 238.579, y = 12.955, z = 187.381 }, rot = { x = 351.148, y = 30.571, z = 1.067 }, level = 1 },
{ config_id = 2016, gadget_id = 70290526, pos = { x = 313.081, y = 17.397, z = 233.791 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2017, gadget_id = 70360001, pos = { x = 313.390, y = 18.595, z = 233.955 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2020, gadget_id = 70290196, pos = { x = 263.634, y = 26.058, z = 209.968 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2022, gadget_id = 70320076, pos = { x = 255.941, y = 72.142, z = 155.388 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, vision_level = VisionLevelType.VISION_LEVEL_REMOTE },
{ config_id = 2023, gadget_id = 70320054, pos = { x = 274.113, y = 11.960, z = 215.281 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, vision_level = VisionLevelType.VISION_LEVEL_REMOTE },
{ config_id = 2030, gadget_id = 70290577, pos = { x = 244.380, y = 23.634, z = 223.871 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2031, gadget_id = 70290577, pos = { x = 245.750, y = 15.891, z = 200.031 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2032, gadget_id = 70290577, pos = { x = 232.434, y = 12.833, z = 182.306 }, rot = { x = 0.000, y = 57.430, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 2029, shape = RegionShape.SPHERE, radius = 5, pos = { x = 234.239, y = 12.888, z = 181.531 } }
}
-- 触发器
triggers = {
{ config_id = 1002008, name = "ANY_MONSTER_DIE_2008", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2008", action = "action_EVENT_ANY_MONSTER_DIE_2008" },
{ config_id = 1002010, name = "MONSTER_BATTLE_2010", event = EventType.EVENT_MONSTER_BATTLE, source = "", condition = "condition_EVENT_MONSTER_BATTLE_2010", action = "action_EVENT_MONSTER_BATTLE_2010" },
{ 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" },
{ config_id = 1002018, name = "GADGET_CREATE_2018", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_2018", action = "action_EVENT_GADGET_CREATE_2018" },
{ config_id = 1002019, name = "SELECT_OPTION_2019", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2019", action = "action_EVENT_SELECT_OPTION_2019" },
{ config_id = 1002024, name = "ANY_MONSTER_DIE_2024", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2024", action = "action_EVENT_ANY_MONSTER_DIE_2024" },
{ config_id = 1002029, name = "ENTER_REGION_2029", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2029", action = "action_EVENT_ENTER_REGION_2029" },
{ config_id = 1002033, name = "SELECT_OPTION_2033", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2033", action = "action_EVENT_SELECT_OPTION_2033" }
}
-- 变量
variables = {
{ config_id = 1, name = "monster", value = 0, no_refresh = false }
}
-- 废弃数据
garbages = {
triggers = {
{ config_id = 1002034, name = "ANY_MONSTER_DIE_2034", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2034", action = "action_EVENT_ANY_MONSTER_DIE_2034" },
{ config_id = 1002035, name = "ANY_MONSTER_DIE_2035", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2035", action = "action_EVENT_ANY_MONSTER_DIE_2035" }
}
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 2003, 2004, 2005, 2006, 2021 },
gadgets = { 2001, 2007, 2011, 2012, 2014, 2015, 2016, 2017, 2022, 2023, 2030, 2031, 2032 },
regions = { },
triggers = { "MONSTER_BATTLE_2010", "SELECT_OPTION_2013", "GADGET_CREATE_2018", "SELECT_OPTION_2019", "ANY_MONSTER_DIE_2024", "SELECT_OPTION_2033" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 2009 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 2020 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 2025, 2026, 2027, 2028 },
gadgets = { },
regions = { 2029 },
triggers = { "ANY_MONSTER_DIE_2008", "ENTER_REGION_2029" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { 2002 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_2008(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 220165002) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_2008(context, evt)
-- 删除suite2的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220165002, 2)
-- 将configid为 2011 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2011, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 220165002, 2012, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220165010, suite = 3 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 将本组内变量名为 "monster" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "monster", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_BATTLE_2010(context, evt)
if 2003 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_BATTLE_2010(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220165002, 2)
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_2013(context, evt)
-- 判断是gadgetid 2012 option_id 7
if 2012 ~= 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)
-- 删除指定group 220165002 ;指定config2012;物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220165002, 2012, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 将configid为 2011 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2011, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 2007 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2007, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 2015 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2015, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 2014 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2014, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
ScriptLib.BeginCameraSceneLookWithTemplate(context, 1, {look_configid=0, look_pos = {x = 231.6591,y = 18.98158,z = 177.1806}, follow_type =2, follow_pos = {x=261.1,y=30.14,z=217.6},is_broadcast =false, delay = 0, })
-- 删除suite1的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220165010, 1)
ScriptLib.RemoveExtraGroupSuite(context, 220165010, 2)
ScriptLib.RemoveExtraGroupSuite(context, 220165010, 3)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220165010, suite = 4 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_2018(context, evt)
if 2017 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_2018(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 220165002, 2017, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_2019(context, evt)
-- 判断是gadgetid 2017 option_id 7
if 2017 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
-- 判断变量"monster"为0
if ScriptLib.GetGroupVariableValue(context, "monster") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2019(context, evt)
-- 删除指定group 220165002 ;指定config2017;物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220165002, 2017, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 将configid为 2016 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2016, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将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
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220165010, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 220165002, 5)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_2024(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 220165002) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_2024(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 220165002, 4)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_2029(context, evt)
if evt.param1 ~= 2029 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_2029(context, evt)
-- 触发镜头注目,注目位置为坐标{x=225.8606, y=15.76743, z=167.0214},持续时间为2秒,并且为强制注目形式,不广播其他玩家
local pos = {x=225.8606, y=15.76743, z=167.0214}
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
-- 调用提示id为 201650101 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 201650101) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_2033(context, evt)
-- 判断是gadgetid 2017 option_id 7
if 2017 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
-- 判断变量"monster"为1
if ScriptLib.GetGroupVariableValue(context, "monster") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2033(context, evt)
-- 删除指定group 220165002 ;指定config2017;物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220165002, 2017, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 将configid为 2016 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 2016, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将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
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220165010, suite = 3 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 220165002, 5)
return 0
end
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,305 @@
-- 基础信息
local base_info = {
group_id = 220165006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 6001, monster_id = 22050101, pos = { x = -560.280, y = 49.483, z = 801.619 }, rot = { x = 0.000, y = 102.445, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 1110 }, isElite = true, pose_id = 101, title_id = 10140, special_name_id = 10191 },
{ config_id = 6002, monster_id = 22050201, pos = { x = -564.021, y = 51.396, z = 753.366 }, rot = { x = 0.000, y = 19.714, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 1110, 1047 }, pose_id = 101 },
{ config_id = 6003, monster_id = 26040104, pos = { x = -549.398, y = 51.396, z = 750.374 }, rot = { x = 0.000, y = 349.208, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 1110, 1047 } },
{ config_id = 6004, monster_id = 21020501, pos = { x = -553.937, y = 51.396, z = 757.404 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 1110, 1047 } },
{ config_id = 6009, monster_id = 21010201, pos = { x = -554.454, y = 51.396, z = 751.776 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 1110, 1047 } }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1006006, name = "GROUP_REFRESH_6006", event = EventType.EVENT_GROUP_REFRESH, source = "", condition = "", action = "action_EVENT_GROUP_REFRESH_6006" },
-- 一开始的开车+第一只增援怪
{ config_id = 1006007, name = "TIME_AXIS_PASS_6007", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "condition_EVENT_TIME_AXIS_PASS_6007", action = "action_EVENT_TIME_AXIS_PASS_6007" },
-- 第一个增援怪死亡
{ config_id = 1006008, name = "TIME_AXIS_PASS_6008", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "condition_EVENT_TIME_AXIS_PASS_6008", action = "action_EVENT_TIME_AXIS_PASS_6008" },
-- 第二波怪物死一只怪
{ config_id = 1006010, name = "ANY_MONSTER_DIE_6010", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_6010", action = "action_EVENT_ANY_MONSTER_DIE_6010" },
-- 第二波怪物死2只怪
{ config_id = 1006011, name = "ANY_MONSTER_DIE_6011", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_6011", action = "action_EVENT_ANY_MONSTER_DIE_6011" },
-- 第二波怪结束开车
{ config_id = 1006012, name = "TIME_AXIS_PASS_6012", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "condition_EVENT_TIME_AXIS_PASS_6012", action = "action_EVENT_TIME_AXIS_PASS_6012" },
-- 艾米尔死亡开车
{ config_id = 1006013, name = "ANY_MONSTER_DIE_6013", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_6013", action = "action_EVENT_ANY_MONSTER_DIE_6013" },
-- 通知任务
{ config_id = 1006014, name = "TIME_AXIS_PASS_6014", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "condition_EVENT_TIME_AXIS_PASS_6014", action = "action_EVENT_TIME_AXIS_PASS_6014" }
}
-- 变量
variables = {
{ config_id = 1, name = "secondwave", 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 = { 6001 },
gadgets = { },
regions = { },
triggers = { "GROUP_REFRESH_6006", "TIME_AXIS_PASS_6007", "TIME_AXIS_PASS_6008", "TIME_AXIS_PASS_6012", "ANY_MONSTER_DIE_6013", "TIME_AXIS_PASS_6014" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_GROUP_REFRESH_6006(context, evt)
-- 创建标识为"FinalBattle",时间节点为{5,40,70}的时间轴,false用于控制该时间轴是否循环
ScriptLib.InitTimeAxis(context, "FinalBattle", {5,40,70}, false)
return 0
end
-- 触发条件
function condition_EVENT_TIME_AXIS_PASS_6007(context, evt)
if "FinalBattle" ~= evt.source_name or 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_6007(context, evt)
-- 调用提示id为 500660260 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 500660260) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 6002, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 6009, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_TIME_AXIS_PASS_6008(context, evt)
if "FinalBattle" ~= evt.source_name or 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_6008(context, evt)
-- 调用提示id为 500660261 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 500660261) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 6003, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_6010(context, evt)
if 6002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_6010(context, evt)
-- 针对当前group内变量名为 "secondwave" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "secondwave", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_6011(context, evt)
if 6009 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_6011(context, evt)
-- 针对当前group内变量名为 "secondwave" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "secondwave", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_TIME_AXIS_PASS_6012(context, evt)
if "FinalBattle" ~= evt.source_name or 3 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_6012(context, evt)
-- 调用提示id为 500660265 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 500660265) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 6004, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_6013(context, evt)
if 6001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_6013(context, evt)
-- 调用提示id为 500660266 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 500660266) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220165006, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 创建标识为"FinalBattleFin",时间节点为{5}的时间轴,false用于控制该时间轴是否循环
ScriptLib.InitTimeAxis(context, "FinalBattleFin", {5}, false)
-- 停止标识为"FinalBattle"的时间轴
ScriptLib.EndTimeAxis(context, "FinalBattle")
return 0
end
-- 触发条件
function condition_EVENT_TIME_AXIS_PASS_6014(context, evt)
if "FinalBattleFin" ~= evt.source_name or 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_6014(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "2201650061") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220165006, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
@@ -0,0 +1,175 @@
-- 基础信息
local base_info = {
group_id = 220165007
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 7001, monster_id = 21020201, pos = { x = -562.010, y = 51.396, z = 741.942 }, rot = { x = 0.000, y = 219.620, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7002, monster_id = 26120401, pos = { x = -566.852, y = 51.396, z = 742.428 }, rot = { x = 0.000, y = 187.750, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 101 },
{ config_id = 7003, monster_id = 26120401, pos = { x = -560.318, y = 51.396, z = 738.267 }, rot = { x = 0.000, y = 238.709, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 101 },
{ config_id = 7004, monster_id = 21010701, pos = { x = -564.223, y = 51.396, z = 743.617 }, rot = { x = 0.000, y = 215.883, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7005, monster_id = 26090801, pos = { x = -565.005, y = 51.396, z = 740.322 }, rot = { x = 0.000, y = 222.428, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 101 },
{ config_id = 7006, monster_id = 26090801, pos = { x = -562.813, y = 51.396, z = 738.139 }, rot = { x = 0.000, y = 235.372, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 101 },
{ config_id = 7007, monster_id = 21010701, pos = { x = -558.559, y = 51.396, z = 739.846 }, rot = { x = 0.000, y = 234.360, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7008, monster_id = 21010201, pos = { x = -565.243, y = 51.396, z = 739.874 }, rot = { x = 0.000, y = 203.884, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7010, monster_id = 21010201, pos = { x = -561.933, y = 51.396, z = 737.220 }, rot = { x = 0.000, y = 225.759, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7011, monster_id = 21030301, pos = { x = -562.043, y = 51.396, z = 741.779 }, rot = { x = 0.000, y = 220.222, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7014, monster_id = 26091001, pos = { x = -565.088, y = 51.396, z = 740.235 }, rot = { x = 0.000, y = 224.356, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 101 },
{ config_id = 7015, monster_id = 26091001, pos = { x = -562.776, y = 51.396, z = 738.158 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, pose_id = 101 },
{ config_id = 7016, monster_id = 20010501, pos = { x = -566.976, y = 51.396, z = 742.155 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7017, monster_id = 20010501, pos = { x = -560.190, y = 51.396, z = 737.626 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100 },
{ config_id = 7018, monster_id = 21020201, pos = { x = -561.975, y = 51.396, z = 741.928 }, rot = { x = 0.000, y = 221.349, z = 0.000 }, level = 1, drop_id = 1000100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1007009, name = "ANY_MONSTER_DIE_7009", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_7009", action = "action_EVENT_ANY_MONSTER_DIE_7009" },
-- 第一波
{ config_id = 1007012, name = "ANY_MONSTER_DIE_7012", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_7012", action = "action_EVENT_ANY_MONSTER_DIE_7012" },
-- 第2波
{ config_id = 1007013, name = "ANY_MONSTER_DIE_7013", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_7013", action = "action_EVENT_ANY_MONSTER_DIE_7013" }
}
-- 变量
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 = { 7001, 7002, 7003, 7005, 7006 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_7012" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 7004, 7007, 7008, 7010, 7011 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_7013" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 7014, 7015, 7016, 7017, 7018 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_7009" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_7009(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_7009(context, evt)
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "2201650071") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_7012(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_7012(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 220165007, 3)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_7013(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_7013(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 220165007, 4)
return 0
end
@@ -0,0 +1,81 @@
-- 基础信息
local base_info = {
group_id = 220165008
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 8001, gadget_id = 71700554, pos = { x = -562.730, y = 22.600, z = 190.988 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 8001 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,81 @@
-- 基础信息
local base_info = {
group_id = 220165009
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 9001, gadget_id = 70710884, pos = { x = -551.501, y = 51.396, z = 743.308 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 9001 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,385 @@
-- 基础信息
local base_info = {
group_id = 220165010
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 10001, gadget_id = 70900201, pos = { x = 313.237, y = 18.914, z = 233.898 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10002, gadget_id = 70900201, pos = { x = 281.051, y = 28.157, z = 222.583 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10003, gadget_id = 70900201, pos = { x = 260.331, y = 28.451, z = 218.522 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10004, gadget_id = 70900201, pos = { x = 227.605, y = 16.675, z = 168.807 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10005, gadget_id = 70900201, pos = { x = -561.562, y = 23.967, z = 192.386 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10006, gadget_id = 70900201, pos = { x = -536.471, y = 24.674, z = 192.229 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10007, gadget_id = 70900201, pos = { x = 922.378, y = 16.100, z = 224.469 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10008, gadget_id = 70900201, pos = { x = 922.409, y = 16.328, z = 218.918 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10009, gadget_id = 70900201, pos = { x = 874.903, y = 28.699, z = 217.609 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10010, gadget_id = 70900201, pos = { x = 272.756, y = 28.747, z = 217.589 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10011, gadget_id = 70900201, pos = { x = 821.352, y = 15.290, z = 256.300 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10012, gadget_id = 70900201, pos = { x = 814.077, y = 17.256, z = 265.724 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10013, gadget_id = 70900201, pos = { x = 555.507, y = 59.230, z = 777.198 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10014, gadget_id = 70900201, pos = { x = 538.399, y = 53.942, z = 778.031 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10015, gadget_id = 70900201, pos = { x = 310.025, y = 18.389, z = 229.511 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10016, gadget_id = 70900201, pos = { x = 272.756, y = 28.747, z = 217.589 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10017, gadget_id = 70900201, pos = { x = 300.121, y = 9.713, z = 201.015 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10018, gadget_id = 70900201, pos = { x = 857.472, y = 27.077, z = 224.885 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10019, gadget_id = 70900201, pos = { x = 227.746, y = 16.683, z = 168.473 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10024, gadget_id = 70900201, pos = { x = 872.485, y = 27.077, z = 224.796 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10026, gadget_id = 70900201, pos = { x = 872.600, y = 27.327, z = 224.605 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10027, gadget_id = 70900201, pos = { x = 279.297, y = 29.121, z = 222.707 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 10020, shape = RegionShape.SPHERE, radius = 10, pos = { x = 277.192, y = 26.545, z = 220.527 } },
{ config_id = 10021, shape = RegionShape.SPHERE, radius = 5, pos = { x = -552.346, y = 22.363, z = 189.770 } },
{ config_id = 10022, shape = RegionShape.SPHERE, radius = 5, pos = { x = 556.654, y = 56.110, z = 774.461 } },
{ config_id = 10023, shape = RegionShape.SPHERE, radius = 5, pos = { x = 309.722, y = 17.330, z = 228.454 } }
}
-- 触发器
triggers = {
{ config_id = 1010020, name = "ENTER_REGION_10020", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_10020", action = "action_EVENT_ENTER_REGION_10020" },
{ config_id = 1010021, name = "ENTER_REGION_10021", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_10021", action = "action_EVENT_ENTER_REGION_10021" },
{ config_id = 1010022, name = "ENTER_REGION_10022", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_10022", action = "action_EVENT_ENTER_REGION_10022" },
{ config_id = 1010023, name = "ENTER_REGION_10023", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_10023", action = "action_EVENT_ENTER_REGION_10023" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = 第一次,
monsters = { },
gadgets = { 10001 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 10002 },
regions = { 10020 },
triggers = { "ENTER_REGION_10020" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 10003 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 10004 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = 咖啡馆(改成通知了再消失),
monsters = { },
gadgets = { 10005 },
regions = { 10021 },
triggers = { "ENTER_REGION_10021" },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { },
gadgets = { 10006 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 7,
-- description = 第二次,
monsters = { },
gadgets = { 10007 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 8,
-- description = ,
monsters = { },
gadgets = { 10008 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 9,
-- description = ,
monsters = { },
gadgets = { 10009 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 10,
-- description = ,
monsters = { },
gadgets = { 10010 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 11,
-- description = ,
monsters = { },
gadgets = { 10011 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 12,
-- description = ,
monsters = { },
gadgets = { 10012 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 13,
-- description = 野外(改成通知了再消失),
monsters = { },
gadgets = { 10013 },
regions = { 10022 },
triggers = { "ENTER_REGION_10022" },
rand_weight = 100
},
{
-- suite_id = 14,
-- description = ,
monsters = { },
gadgets = { 10014 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 15,
-- description = 第三次,
monsters = { },
gadgets = { 10015 },
regions = { 10023 },
triggers = { "ENTER_REGION_10023" },
rand_weight = 100
},
{
-- suite_id = 16,
-- description = ,
monsters = { },
gadgets = { 10016 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 17,
-- description = ,
monsters = { },
gadgets = { 10017 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 18,
-- description = ,
monsters = { },
gadgets = { 10018 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 19,
-- description = ,
monsters = { },
gadgets = { 10019 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 20,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 21,
-- description = 第二次9-10,
monsters = { },
gadgets = { 10026 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 22,
-- description = 第二次9-10,
monsters = { },
gadgets = { 10027 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 23,
-- description = 第三次传送门,
monsters = { },
gadgets = { 10024 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_10020(context, evt)
if evt.param1 ~= 10020 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_10020(context, evt)
-- 删除suite1的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220165010, 1)
-- 删除suite2的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220165010, 2)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_10021(context, evt)
if evt.param1 ~= 10021 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_10021(context, evt)
-- 删除suite5的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220165010, 5)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_10022(context, evt)
if evt.param1 ~= 10022 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_10022(context, evt)
-- 删除suite13的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 220165010, 13)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_10023(context, evt)
if evt.param1 ~= 10023 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_10023(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220165010, suite = 16 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
@@ -0,0 +1,111 @@
-- 基础信息
local base_info = {
group_id = 220165011
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1011001, name = "GROUP_REFRESH_11001", event = EventType.EVENT_GROUP_REFRESH, source = "", condition = "", action = "action_EVENT_GROUP_REFRESH_11001" },
{ config_id = 1011002, name = "TIME_AXIS_PASS_11002", event = EventType.EVENT_TIME_AXIS_PASS, source = "", condition = "condition_EVENT_TIME_AXIS_PASS_11002", action = "action_EVENT_TIME_AXIS_PASS_11002", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "GROUP_REFRESH_11001", "TIME_AXIS_PASS_11002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_GROUP_REFRESH_11001(context, evt)
-- 创建标识为"timer",时间节点为{20}的时间轴,true用于控制该时间轴是否循环
ScriptLib.InitTimeAxis(context, "timer", {20}, true)
return 0
end
-- 触发条件
function condition_EVENT_TIME_AXIS_PASS_11002(context, evt)
if "timer" ~= evt.source_name or 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_TIME_AXIS_PASS_11002(context, evt)
-- 调用提示id为 400903 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 400903) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
@@ -0,0 +1,73 @@
-- 基础信息
local base_info = {
group_id = 220165012
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 12001, gadget_id = 70310016, pos = { x = -565.904, y = 46.137, z = 791.213 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12002, gadget_id = 70310016, pos = { x = -564.535, y = 48.498, z = 799.012 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 12001, 12002 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,206 @@
[
{
"pointArrayId": 1,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 892.951233,
"y": 7.272738,
"z": 213.442841
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 0.0,
"time": 5.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 1.0
},
{
"pointId": 2,
"position": {
"x": 892.951233,
"y": 10.78215,
"z": 213.442841
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 0.0,
"time": 15.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 1.0
}
]
},
{
"pointArrayId": 2,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 890.997437,
"y": 80.40937,
"z": 217.895447
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 0.0,
"time": 5.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 1.0
},
{
"pointId": 2,
"position": {
"x": 890.997437,
"y": 87.02415,
"z": 217.895447
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 0.0,
"time": 15.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 1.0
}
]
},
{
"pointArrayId": 3,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 279.4964,
"y": 3.58058071,
"z": 214.604584
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 0.0,
"time": 5.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 1.0
},
{
"pointId": 2,
"position": {
"x": 279.4964,
"y": 11.96,
"z": 214.604584
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 0.0,
"time": 20.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 1.0
}
]
},
{
"pointArrayId": 4,
"platformPointList": [
{
"pointId": 1,
"position": {
"x": 280.0551,
"y": 70.19791,
"z": 218.079636
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 0.0,
"time": 5.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 1.0
},
{
"pointId": 2,
"position": {
"x": 280.0551,
"y": 80.68503,
"z": 218.079636
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"velocity": 0.0,
"time": 20.0,
"isReachEvent": true,
"rotAxis": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotSpeed": 0.0,
"arriveRange": 1.0
}
]
}
]
@@ -0,0 +1,128 @@
[
{
"area_id": 10151,
"points": [
{
"x": 362.949,
"y": 409.9807
},
{
"x": 511.0561,
"y": 26.8550568
},
{
"x": 136.417786,
"y": -127.902153
},
{
"x": 19.9290562,
"y": 141.608017
}
]
},
{
"area_id": 10155,
"points": [
{
"x": -524.1566,
"y": 169.241791
},
{
"x": -574.2222,
"y": 168.737335
},
{
"x": -575.1074,
"y": 211.412369
},
{
"x": -528.160461,
"y": 212.932831
}
]
},
{
"area_id": 10152,
"points": [
{
"x": 739.151733,
"y": 366.447754
},
{
"x": 1036.61108,
"y": 367.84726
},
{
"x": 1113.59326,
"y": 54.0488358
},
{
"x": 716.326233,
"y": -1.46298218
}
]
},
{
"area_id": 10154,
"points": [
{
"x": -679.901,
"y": 883.2055
},
{
"x": -654.931335,
"y": 581.9003
},
{
"x": 646.0703,
"y": 736.0045
},
{
"x": 689.4186,
"y": 948.7258
}
]
},
{
"area_id": 10153,
"points": [
{
"x": 769.6398,
"y": 378.171631
},
{
"x": 1036.61108,
"y": 367.84726
},
{
"x": 1113.59326,
"y": 54.0488358
},
{
"x": 765.9628,
"y": 58.34494
}
]
},
{
"area_id": 10158,
"points": [
{
"x": 362.949,
"y": 409.9807
},
{
"x": 511.0561,
"y": 26.8550568
},
{
"x": 136.417786,
"y": -127.902153
},
{
"x": 19.9290562,
"y": 141.608017
}
]
}
]