mirror of
https://gitlab.com/YuukiPS/GSServer-CBT.git
synced 2025-08-03 10:20:12 +03:00
melon
This commit is contained in:
22
soggy_resources/lua/Scene/20008/scene20008.lua
Normal file
22
soggy_resources/lua/Scene/20008/scene20008.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
-- 地图配置
|
||||
scene_config = {
|
||||
begin_pos = { x = -3394.5, z = -2943.1 },
|
||||
size = { x = 8012.0, z = 7176.4 },
|
||||
born_pos = { x = 629.4, y = -58.8, z = 206.6 },
|
||||
born_rot = { x = 0.0, y = 270.0, z = 0.0 },
|
||||
die_y = -100
|
||||
}
|
||||
|
||||
-- 所有的区块
|
||||
blocks = { 20008 }
|
||||
|
||||
-- 所有的区块范围坐标
|
||||
block_rects = {
|
||||
{ min = { x = -3394.5, z = -2943.1 }, max = { x = 4617.5, z = 4233.3 } }
|
||||
}
|
||||
|
||||
-- Dummy Points
|
||||
dummy_points = { "dummy_points" }
|
||||
|
||||
-- Routes
|
||||
routes_config = { }
|
151
soggy_resources/lua/Scene/20008/scene20008_20008_routes.json
Normal file
151
soggy_resources/lua/Scene/20008/scene20008_20008_routes.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"sceneId": 20008,
|
||||
"routes": [
|
||||
{
|
||||
"localId": 1,
|
||||
"name": "DefaultRouteName",
|
||||
"type": "Reciprocate",
|
||||
"points": [
|
||||
{
|
||||
"waitTime": 0.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 548.25885,
|
||||
"y": -68.11,
|
||||
"z": 203.238434
|
||||
}
|
||||
},
|
||||
{
|
||||
"waitTime": 0.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 547.7614,
|
||||
"y": -68.48373,
|
||||
"z": 209.927216
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"localId": 3,
|
||||
"name": "DefaultRouteName",
|
||||
"type": "Reciprocate",
|
||||
"points": [
|
||||
{
|
||||
"waitTime": 0.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 455.969116,
|
||||
"y": -28.48371,
|
||||
"z": 260.876831
|
||||
}
|
||||
},
|
||||
{
|
||||
"waitTime": 0.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 455.8068,
|
||||
"y": -28.48371,
|
||||
"z": 270.174225
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"localId": 4,
|
||||
"name": "DefaultRouteName",
|
||||
"type": "Reciprocate",
|
||||
"points": [
|
||||
{
|
||||
"waitTime": 0.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 464.570068,
|
||||
"y": -28.4834538,
|
||||
"z": 259.620667
|
||||
}
|
||||
},
|
||||
{
|
||||
"waitTime": 0.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 464.370972,
|
||||
"y": -28.5430164,
|
||||
"z": 272.033234
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"localId": 9,
|
||||
"name": "Platform_009",
|
||||
"type": "Reciprocate",
|
||||
"points": [
|
||||
{
|
||||
"waitTime": 2.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 438.444672,
|
||||
"y": -26.4169064,
|
||||
"z": 224.213959
|
||||
},
|
||||
"targetVelocity": 2.0
|
||||
},
|
||||
{
|
||||
"waitTime": 2.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 438.472473,
|
||||
"y": -26.366806,
|
||||
"z": 232.531219
|
||||
},
|
||||
"targetVelocity": 2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"localId": 10,
|
||||
"name": "Platform_010",
|
||||
"type": "Reciprocate",
|
||||
"points": [
|
||||
{
|
||||
"waitTime": 3.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 443.226959,
|
||||
"y": -26.33683,
|
||||
"z": 211.4373
|
||||
},
|
||||
"targetVelocity": 2.0
|
||||
},
|
||||
{
|
||||
"waitTime": 3.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 433.0956,
|
||||
"y": -26.33683,
|
||||
"z": 211.4373
|
||||
},
|
||||
"targetVelocity": 2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"localId": 20008011,
|
||||
"name": "Route_20008011",
|
||||
"type": "OneWay",
|
||||
"points": [
|
||||
{
|
||||
"waitTime": 0.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 438.4835,
|
||||
"y": -26.3987522,
|
||||
"z": 224.231964
|
||||
},
|
||||
"targetVelocity": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
11
soggy_resources/lua/Scene/20008/scene20008_block20008.lua
Normal file
11
soggy_resources/lua/Scene/20008/scene20008_block20008.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
-- 所有的group
|
||||
groups = {
|
||||
{ id = 220008001, refresh_time = 0, pos = { x = 557.8, y = -67.8, z = 206.4 } },
|
||||
{ id = 220008002, refresh_time = 0, pos = { x = 517.6, y = -65.9, z = 237.5 } },
|
||||
{ id = 220008003, refresh_time = 0, pos = { x = 469.4, y = -28.4, z = 266.6 } },
|
||||
{ id = 220008004, refresh_time = 0, pos = { x = 437.8, y = -21.4, z = 173.7 } },
|
||||
{ id = 220008005, refresh_time = 0, pos = { x = 501.3, y = -70.4, z = 266.6 } },
|
||||
{ id = 220008006, refresh_time = 0, pos = { x = 614.6, y = -57.5, z = 206.8 } },
|
||||
{ id = 220008007, refresh_time = 0, pos = { x = 612.1, y = -57.5, z = 206.7 } },
|
||||
{ id = 220008901, refresh_time = 0, pos = { x = 628.6, y = -58.8, z = 205.8 } }
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
dummy_points = {
|
||||
["Q307SavePointIntro"] = { pos = { x = 513.9, y = -68.0, z = 213.4 }, rot = { x = 0.0, y = 130.9, z = 0.0 } },
|
||||
["Q307GaiaDungeon"] = { pos = { x = 601.3, y = -57.5, z = 206.6 }, rot = { x = 0.0, y = 89.8, z = 0.0 } },
|
||||
["Q307GaiaWay"] = { pos = { x = 601.3, y = -57.5, z = 206.6 }, rot = { x = 0.0, y = 264.8, z = 0.0 } },
|
||||
["Q307Player"] = { pos = { x = 394.7, y = -21.4, z = 173.8 }, rot = { x = 0.0, y = 274.6, z = 0.0 } },
|
||||
["Q307Gaia"] = { pos = { x = 391.7, y = -21.4, z = 174.0 }, rot = { x = 0.0, y = 105.8, z = 0.0 } },
|
||||
["Q307Paimon"] = { pos = { x = 394.4, y = -21.4, z = 172.6 }, rot = { x = 0.0, y = 298.6, z = 0.0 } }
|
||||
}
|
440
soggy_resources/lua/Scene/20008/scene20008_group220008001.lua
Normal file
440
soggy_resources/lua/Scene/20008/scene20008_group220008001.lua
Normal file
@@ -0,0 +1,440 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 39, monster_id = 21010201, pos = { x = 547.6, y = -68.5, z = 202.9 }, rot = { x = 0.0, y = 357.8, z = 0.0 }, level = 1, drop_id = 1000109, disableWander = true, pose_id = 0 },
|
||||
{ config_id = 43, monster_id = 21010201, pos = { x = 543.2, y = -68.4, z = 208.9 }, rot = { x = 0.0, y = 90.3, z = 0.0 }, level = 0, drop_id = 1000109, disableWander = true, pose_id = 0 },
|
||||
{ config_id = 44, monster_id = 21010201, pos = { x = 543.3, y = -68.4, z = 203.7 }, rot = { x = 0.0, y = 78.7, z = 0.0 }, level = 0, drop_id = 1000109, disableWander = true, pose_id = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 180, gadget_id = 70350003, pos = { x = 538.4, y = -68.0, z = 206.6 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 187, gadget_id = 70210021, pos = { x = 576.7, y = -68.4, z = 189.3 }, rot = { x = 0.0, y = 359.9, z = 0.0 }, level = 1, chest_drop_id = 1000102, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 367, gadget_id = 70900201, pos = { x = 390.0, y = -19.1, z = 173.5 }, rot = { x = 0.0, y = 83.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 368, gadget_id = 70900201, pos = { x = 517.3, y = -65.0, z = 219.0 }, rot = { x = 0.0, y = 180.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 370, gadget_id = 70900201, pos = { x = 488.8, y = -27.0, z = 269.6 }, rot = { x = 0.0, y = 118.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 374, gadget_id = 70900201, pos = { x = 537.5, y = -66.3, z = 206.6 }, rot = { x = 0.0, y = 292.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 375, gadget_id = 70220013, pos = { x = 571.5, y = -68.6, z = 199.5 }, rot = { x = 0.0, y = 42.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 376, gadget_id = 70220013, pos = { x = 572.9, y = -68.5, z = 200.8 }, rot = { x = 0.0, y = 61.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 377, gadget_id = 70220013, pos = { x = 568.7, y = -68.5, z = 187.2 }, rot = { x = 357.8, y = 61.2, z = 5.0 }, level = 1 },
|
||||
{ config_id = 378, gadget_id = 70220013, pos = { x = 580.6, y = -58.8, z = 200.2 }, rot = { x = 358.8, y = 50.3, z = 5.4 }, level = 1 },
|
||||
{ config_id = 379, gadget_id = 70220014, pos = { x = 582.3, y = -58.7, z = 200.1 }, rot = { x = 0.0, y = 347.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 380, gadget_id = 70220014, pos = { x = 569.5, y = -68.5, z = 228.2 }, rot = { x = 0.0, y = 347.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 381, gadget_id = 70220014, pos = { x = 568.4, y = -68.5, z = 228.3 }, rot = { x = 0.0, y = 102.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 382, gadget_id = 70220013, pos = { x = 560.9, y = -68.5, z = 227.6 }, rot = { x = 0.0, y = 354.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 383, gadget_id = 70900201, pos = { x = 517.5, y = -63.2, z = 250.0 }, rot = { x = 0.0, y = 292.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 384, gadget_id = 70900201, pos = { x = 500.3, y = -26.9, z = 266.2 }, rot = { x = 0.0, y = 292.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 385, gadget_id = 70900201, pos = { x = 440.3, y = -23.5, z = 246.4 }, rot = { x = 0.0, y = 1.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 387, gadget_id = 70900201, pos = { x = 440.4, y = -23.7, z = 198.7 }, rot = { x = 0.0, y = 1.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 388, gadget_id = 70900201, pos = { x = 419.6, y = -19.5, z = 173.5 }, rot = { x = 0.0, y = 89.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 400, gadget_id = 70900201, pos = { x = 422.6, y = -10.2, z = 173.7 }, rot = { x = 0.0, y = 83.6, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 18, shape = RegionShape.SPHERE, radius = 15.02, pos = { x = 558.4, y = -67.8, z = 206.9 } },
|
||||
{ config_id = 26, shape = RegionShape.SPHERE, radius = 5, pos = { x = 583.1, y = -58.7, z = 207.0 } },
|
||||
{ config_id = 48, shape = RegionShape.SPHERE, radius = 5, pos = { x = 532.8, y = -67.8, z = 206.1 } },
|
||||
{ config_id = 49, shape = RegionShape.SPHERE, radius = 5, pos = { x = 517.5, y = -66.4, z = 222.9 } },
|
||||
{ config_id = 50, shape = RegionShape.SPHERE, radius = 5, pos = { x = 517.1, y = -65.9, z = 253.0 } },
|
||||
{ config_id = 51, shape = RegionShape.SPHERE, radius = 6.3, pos = { x = 501.4, y = -25.9, z = 266.8 } },
|
||||
{ config_id = 52, shape = RegionShape.SPHERE, radius = 5, pos = { x = 478.6, y = -28.6, z = 265.8 } },
|
||||
{ config_id = 53, shape = RegionShape.SPHERE, radius = 5, pos = { x = 440.5, y = -25.5, z = 240.4 } },
|
||||
{ config_id = 55, shape = RegionShape.SPHERE, radius = 5, pos = { x = 440.3, y = -24.4, z = 220.4 } },
|
||||
{ config_id = 56, shape = RegionShape.SPHERE, radius = 5, pos = { x = 413.9, y = -21.4, z = 174.6 } },
|
||||
{ config_id = 58, shape = RegionShape.SPHERE, radius = 19, pos = { x = 555.1, y = -67.8, z = 204.6 } },
|
||||
{ config_id = 66, shape = RegionShape.CUBIC, size = { x = 10.9, y = 7.5, z = 3.8 }, pos = { x = 440.4, y = -25.5, z = 233.6 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "ANY_MONSTER_DIE_18", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_18", action = "action_EVENT_ANY_MONSTER_DIE_18" },
|
||||
{ name = "ENTER_REGION_26", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_26", action = "action_EVENT_ENTER_REGION_26" },
|
||||
{ name = "ENTER_REGION_48", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_48", action = "action_EVENT_ENTER_REGION_48" },
|
||||
{ name = "ENTER_REGION_49", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_49", action = "action_EVENT_ENTER_REGION_49" },
|
||||
{ name = "ENTER_REGION_50", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_50", action = "action_EVENT_ENTER_REGION_50" },
|
||||
{ name = "ENTER_REGION_51", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_51", action = "action_EVENT_ENTER_REGION_51" },
|
||||
{ name = "ENTER_REGION_52", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_52", action = "action_EVENT_ENTER_REGION_52" },
|
||||
{ name = "ENTER_REGION_53", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_53", action = "action_EVENT_ENTER_REGION_53" },
|
||||
{ name = "ENTER_REGION_55", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_55", action = "action_EVENT_ENTER_REGION_55" },
|
||||
{ name = "ENTER_REGION_56", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_56", action = "action_EVENT_ENTER_REGION_56" },
|
||||
{ name = "ENTER_REGION_58", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_58", action = "action_EVENT_ENTER_REGION_58" },
|
||||
{ name = "ENTER_REGION_66", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_66", action = "action_EVENT_ENTER_REGION_66" }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
{ name = "MonsterDie43", value = 0, persistent = false },
|
||||
{ name = "MonsterDie44", value = 0, persistent = false },
|
||||
{ name = "MonsterDie55", value = 0, persistent = false },
|
||||
{ name = "MonsterDie56", value = 0, persistent = false }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { 39, 43, 44 },
|
||||
gadgets = { 180, 187, 375, 376, 377, 378, 379, 380, 381, 382 },
|
||||
regions = { 18, 26, 48, 49, 50, 51, 52, 53, 55, 56, 58, 66 },
|
||||
triggers = { "ANY_MONSTER_DIE_18", "ENTER_REGION_26", "ENTER_REGION_48", "ENTER_REGION_49", "ENTER_REGION_50", "ENTER_REGION_51", "ENTER_REGION_52", "ENTER_REGION_53", "ENTER_REGION_55", "ENTER_REGION_56", "ENTER_REGION_58", "ENTER_REGION_66" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_MONSTER_DIE_18(context, evt)
|
||||
-- 判断剩余怪物数量是否是0
|
||||
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_MONSTER_DIE_18(context, evt)
|
||||
-- 将configid为 180 的物件更改为状态 GadgetState.GearStart
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 180, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 调用提示id为 1010004 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
|
||||
if 0 ~= ScriptLib.ShowReminder(context, 1010004) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_26(context, evt)
|
||||
if evt.param1 ~= 26 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_26(context, evt)
|
||||
-- 创生gadget 400
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 400 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 触发镜头注目,注目位置为坐标(461,-11,174),持续时间为2秒,并且为强制注目形式,不广播其他玩家
|
||||
local pos = {x=461, y=-11, z=174}
|
||||
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, duration = 2, is_force = true, is_broadcast = false }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 调用提示id为 1039005 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
|
||||
if 0 ~= ScriptLib.ShowReminder(context, 1039005) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_48(context, evt)
|
||||
if evt.param1 ~= 48 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_48(context, evt)
|
||||
-- 杀死Group内指定的monster和gadget
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {374} }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 创生gadget 368
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 368 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_49(context, evt)
|
||||
if evt.param1 ~= 49 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_49(context, evt)
|
||||
-- 杀死Group内指定的monster和gadget
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {368} }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 创生gadget 383
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 383 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_50(context, evt)
|
||||
if evt.param1 ~= 50 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_50(context, evt)
|
||||
-- 杀死Group内指定的monster和gadget
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {383} }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 创生gadget 384
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 384 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_51(context, evt)
|
||||
if evt.param1 ~= 51 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_51(context, evt)
|
||||
-- 杀死Group内指定的monster和gadget
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {384} }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 创生gadget 370
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 370 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_52(context, evt)
|
||||
if evt.param1 ~= 52 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_52(context, evt)
|
||||
-- 创生gadget 385
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 385 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_53(context, evt)
|
||||
if evt.param1 ~= 53 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_53(context, evt)
|
||||
-- 杀死Group内指定的monster和gadget
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {385} }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 创生gadget 387
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 387 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_55(context, evt)
|
||||
if evt.param1 ~= 55 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_55(context, evt)
|
||||
-- 杀死Group内指定的monster和gadget
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {387} }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 创生gadget 388
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 388 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 调用提示id为 1010007 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
|
||||
if 0 ~= ScriptLib.ShowReminder(context, 1010007) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_56(context, evt)
|
||||
if evt.param1 ~= 56 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_56(context, evt)
|
||||
-- 杀死Group内指定的monster和gadget
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {388} }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 创生gadget 367
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 367 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_58(context, evt)
|
||||
if evt.param1 ~= 58 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_58(context, evt)
|
||||
-- 杀死Group内指定的monster和gadget
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {400} }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 创生gadget 374
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 374 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_66(context, evt)
|
||||
if evt.param1 ~= 66 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_66(context, evt)
|
||||
-- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1
|
||||
if 0 ~= ScriptLib.AddQuestProgress(context, "220008001") then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
148
soggy_resources/lua/Scene/20008/scene20008_group220008002.lua
Normal file
148
soggy_resources/lua/Scene/20008/scene20008_group220008002.lua
Normal file
@@ -0,0 +1,148 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 61, monster_id = 20011001, pos = { x = 515.7, y = -65.9, z = 235.2 }, rot = { x = 0.0, y = 175.4, z = 0.0 }, level = 0, drop_id = 100012 },
|
||||
{ config_id = 63, monster_id = 20011001, pos = { x = 519.5, y = -65.9, z = 235.2 }, rot = { x = 0.0, y = 199.5, z = 0.0 }, level = 0, drop_id = 100012 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 182, gadget_id = 70320002, pos = { x = 520.9, y = -66.0, z = 246.1 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 243, gadget_id = 70210021, pos = { x = 517.6, y = -65.9, z = 235.6 }, rot = { x = 0.0, y = 180.0, z = 0.0 }, level = 1, chest_drop_id = 1000102, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 430, gadget_id = 70320002, pos = { x = 514.0, y = -66.0, z = 224.4 }, rot = { x = 0.0, y = 90.1, z = 0.0 }, level = 4, state = GadgetState.GearStart }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 29, shape = RegionShape.SPHERE, radius = 7.9, pos = { x = 517.8, y = -68.0, z = 261.2 } },
|
||||
{ config_id = 46, shape = RegionShape.SPHERE, radius = 5, pos = { x = 518.0, y = -65.9, z = 229.1 } },
|
||||
{ config_id = 47, shape = RegionShape.SPHERE, radius = 5, pos = { x = 517.9, y = -65.9, z = 235.8 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "ENTER_REGION_29", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_29", action = "action_EVENT_ENTER_REGION_29" },
|
||||
{ name = "GADGET_STATE_CHANGE_46", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_46", action = "action_EVENT_GADGET_STATE_CHANGE_46" },
|
||||
{ name = "GADGET_STATE_CHANGE_47", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_47", action = "action_EVENT_GADGET_STATE_CHANGE_47" }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { },
|
||||
gadgets = { 182, 243, 430 },
|
||||
regions = { 29, 46, 47 },
|
||||
triggers = { "ENTER_REGION_29", "GADGET_STATE_CHANGE_46", "GADGET_STATE_CHANGE_47" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_29(context, evt)
|
||||
if evt.param1 ~= 29 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_29(context, evt)
|
||||
-- 调用提示id为 1009001 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
|
||||
if 0 ~= ScriptLib.ShowReminder(context, 1009001) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 触发镜头注目,注目位置为坐标(500,-62,266),持续时间为2秒,并且为强制注目形式,不广播其他玩家
|
||||
local pos = {x=500, y=-62, z=266}
|
||||
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, duration = 2, is_force = true, is_broadcast = false }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_STATE_CHANGE_46(context, evt)
|
||||
if 181 ~= evt.param2 or GadgetState.GearStop ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_STATE_CHANGE_46(context, evt)
|
||||
-- 解锁目标243
|
||||
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 243, state = GadgetState.Default }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_STATE_CHANGE_47(context, evt)
|
||||
if 243 ~= evt.param2 or GadgetState.ChestOpened ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_STATE_CHANGE_47(context, evt)
|
||||
-- 延迟0秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 61, delay_time = 0 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 延迟0秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 63, delay_time = 0 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
412
soggy_resources/lua/Scene/20008/scene20008_group220008003.lua
Normal file
412
soggy_resources/lua/Scene/20008/scene20008_group220008003.lua
Normal file
@@ -0,0 +1,412 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 50, monster_id = 20011301, pos = { x = 455.6, y = -28.5, z = 260.7 }, rot = { x = 0.0, y = 22.7, z = 0.0 }, level = 1, drop_id = 101021, disableWander = true, affix = { 1002 }, isElite = true },
|
||||
{ config_id = 57, monster_id = 20011201, pos = { x = 453.2, y = -28.5, z = 262.8 }, rot = { x = 0.0, y = 29.8, z = 0.0 }, level = 0, drop_id = 100011, disableWander = true },
|
||||
{ config_id = 58, monster_id = 20011201, pos = { x = 458.0, y = -28.5, z = 262.5 }, rot = { x = 0.0, y = 310.7, z = 0.0 }, level = 0, drop_id = 100011, disableWander = true },
|
||||
{ config_id = 64, monster_id = 20011201, pos = { x = 457.9, y = -28.4, z = 269.0 }, rot = { x = 0.0, y = 240.1, z = 0.0 }, level = 0, drop_id = 100011, disableWander = true },
|
||||
{ config_id = 65, monster_id = 20011201, pos = { x = 453.0, y = -28.4, z = 269.4 }, rot = { x = 0.0, y = 140.0, z = 0.0 }, level = 0, drop_id = 100011, disableWander = true }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 193, gadget_id = 70350003, pos = { x = 485.9, y = -28.6, z = 266.3 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 194, gadget_id = 70350003, pos = { x = 440.3, y = -25.6, z = 246.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 195, gadget_id = 70360002, pos = { x = 488.8, y = -28.5, z = 269.6 }, rot = { x = 0.0, y = 135.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 197, gadget_id = 70220002, pos = { x = 470.5, y = -28.4, z = 267.5 }, rot = { x = 0.0, y = 339.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 247, gadget_id = 70220010, pos = { x = 447.9, y = -28.3, z = 266.1 }, rot = { x = 0.0, y = 91.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 248, gadget_id = 70220023, pos = { x = 458.1, y = -28.4, z = 265.7 }, rot = { x = 0.0, y = 52.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 365, gadget_id = 70380001, pos = { x = 433.3, y = -26.3, z = 222.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, route_id = 9, start_route = false, save_route = true },
|
||||
{ config_id = 366, gadget_id = 70380001, pos = { x = 443.3, y = -26.3, z = 222.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, route_id = 9, start_route = false },
|
||||
{ config_id = 389, gadget_id = 70210052, pos = { x = 440.5, y = -28.5, z = 266.2 }, rot = { x = 0.0, y = 88.0, z = 0.0 }, level = 1, chest_drop_id = 1000100, state = GadgetState.ChestLocked, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 390, gadget_id = 70220013, pos = { x = 444.6, y = -28.3, z = 248.7 }, rot = { x = 349.2, y = 186.3, z = 355.4 }, level = 1 },
|
||||
{ config_id = 391, gadget_id = 70220013, pos = { x = 466.1, y = -28.4, z = 283.3 }, rot = { x = 0.0, y = 0.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 392, gadget_id = 70220014, pos = { x = 464.7, y = -28.6, z = 283.9 }, rot = { x = 0.0, y = 216.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 393, gadget_id = 70220014, pos = { x = 443.9, y = -28.6, z = 284.1 }, rot = { x = 0.0, y = 302.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 394, gadget_id = 70220014, pos = { x = 438.3, y = -28.5, z = 278.5 }, rot = { x = 0.0, y = 229.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 395, gadget_id = 70220014, pos = { x = 445.9, y = -28.6, z = 284.4 }, rot = { x = 0.0, y = 54.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 398, gadget_id = 70220014, pos = { x = 464.3, y = -28.6, z = 248.6 }, rot = { x = 0.0, y = 175.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 399, gadget_id = 70220014, pos = { x = 439.2, y = -24.2, z = 281.4 }, rot = { x = 343.0, y = 183.8, z = 2.9 }, level = 1 },
|
||||
{ config_id = 401, gadget_id = 70220023, pos = { x = 450.4, y = -28.5, z = 261.0 }, rot = { x = 0.0, y = 281.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 402, gadget_id = 70220023, pos = { x = 452.7, y = -28.4, z = 265.7 }, rot = { x = 0.0, y = 317.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 403, gadget_id = 70220023, pos = { x = 449.7, y = -28.5, z = 271.0 }, rot = { x = 0.0, y = 148.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 404, gadget_id = 70220023, pos = { x = 454.6, y = -28.4, z = 270.6 }, rot = { x = 0.0, y = 133.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 405, gadget_id = 70220023, pos = { x = 455.6, y = -28.4, z = 261.5 }, rot = { x = 0.0, y = 310.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 417, gadget_id = 70210031, pos = { x = 431.5, y = -25.4, z = 222.2 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1, chest_drop_id = 1000104, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 418, gadget_id = 70380001, pos = { x = 433.1, y = -26.3, z = 211.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, route_id = 10, save_route = true },
|
||||
{ config_id = 419, gadget_id = 70380001, pos = { x = 438.3, y = -26.3, z = 222.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, route_id = 9, start_route = false },
|
||||
{ config_id = 420, gadget_id = 70900023, pos = { x = 438.1, y = -27.5, z = 226.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 421, gadget_id = 70900023, pos = { x = 442.6, y = -27.5, z = 226.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 422, gadget_id = 70900023, pos = { x = 442.9, y = -27.5, z = 217.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 423, gadget_id = 70900023, pos = { x = 438.1, y = -27.5, z = 217.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 424, gadget_id = 70900023, pos = { x = 433.3, y = -27.5, z = 217.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 425, gadget_id = 70900023, pos = { x = 442.8, y = -27.5, z = 212.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 426, gadget_id = 70900023, pos = { x = 438.1, y = -27.5, z = 212.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 427, gadget_id = 70900023, pos = { x = 433.3, y = -27.5, z = 212.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 428, gadget_id = 70900023, pos = { x = 442.8, y = -27.5, z = 231.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 429, gadget_id = 70900023, pos = { x = 438.1, y = -27.5, z = 231.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 20, shape = RegionShape.SPHERE, radius = 14.78, pos = { x = 469.5, y = -28.4, z = 266.3 } },
|
||||
{ config_id = 21, shape = RegionShape.SPHERE, radius = 5, pos = { x = 476.0, y = -28.5, z = 266.3 } },
|
||||
{ config_id = 23, shape = RegionShape.SPHERE, radius = 5, pos = { x = 492.9, y = -30.0, z = 268.4 } },
|
||||
{ config_id = 24, shape = RegionShape.SPHERE, radius = 5, pos = { x = 491.5, y = -30.0, z = 269.7 } },
|
||||
{ config_id = 25, shape = RegionShape.SPHERE, radius = 5, pos = { x = 493.9, y = -30.0, z = 269.0 } },
|
||||
{ config_id = 33, shape = RegionShape.SPHERE, radius = 5, pos = { x = 440.4, y = -21.5, z = 178.0 } },
|
||||
{ config_id = 36, shape = RegionShape.SPHERE, radius = 5, pos = { x = 459.4, y = -28.5, z = 260.1 } },
|
||||
{ config_id = 38, shape = RegionShape.SPHERE, radius = 5, pos = { x = 457.3, y = -28.4, z = 265.9 } },
|
||||
{ config_id = 57, shape = RegionShape.SPHERE, radius = 5, pos = { x = 454.1, y = -28.4, z = 266.9 } },
|
||||
{ config_id = 59, shape = RegionShape.SPHERE, radius = 5, pos = { x = 471.3, y = -28.5, z = 266.2 } },
|
||||
{ config_id = 60, shape = RegionShape.SPHERE, radius = 5, pos = { x = 454.1, y = -28.4, z = 267.3 } },
|
||||
{ config_id = 65, shape = RegionShape.SPHERE, radius = 5, pos = { x = 458.0, y = -28.4, z = 266.8 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "ANY_MONSTER_DIE_20", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_20", action = "action_EVENT_ANY_MONSTER_DIE_20" },
|
||||
{ name = "ENTER_REGION_21", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_21", action = "action_EVENT_ENTER_REGION_21", trigger_count = 0 },
|
||||
{ name = "GADGET_CREATE_23", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_23", action = "action_EVENT_GADGET_CREATE_23" },
|
||||
{ name = "SELECT_OPTION_24", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_24", action = "action_EVENT_SELECT_OPTION_24", trigger_count = 0 },
|
||||
{ name = "SELECT_OPTION_25", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_25", action = "action_EVENT_SELECT_OPTION_25", trigger_count = 0 },
|
||||
{ name = "DUNGEON_SETTLE_33", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_33", action = "action_EVENT_DUNGEON_SETTLE_33" },
|
||||
{ name = "SPECIFIC_MONSTER_HP_CHANGE_36", event = EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE, source = "50", condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_36", action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_36" },
|
||||
{ name = "ANY_GADGET_DIE_38", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_38", action = "action_EVENT_ANY_GADGET_DIE_38", trigger_count = 0 },
|
||||
{ name = "ANY_MONSTER_DIE_57", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_57", action = "action_EVENT_ANY_MONSTER_DIE_57" },
|
||||
{ name = "ENTER_REGION_59", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_59", action = "action_EVENT_ENTER_REGION_59" },
|
||||
{ name = "TIMER_EVENT_60", event = EventType.EVENT_TIMER_EVENT, source = "creatself", condition = "", action = "action_EVENT_TIMER_EVENT_60", trigger_count = 0 },
|
||||
{ name = "ANY_GADGET_DIE_65", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_65", action = "action_EVENT_ANY_GADGET_DIE_65" }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { 50 },
|
||||
gadgets = { 193, 194, 195, 197, 247, 248, 365, 366, 389, 390, 391, 392, 393, 394, 395, 398, 399, 401, 402, 403, 404, 405, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429 },
|
||||
regions = { 20, 21, 23, 24, 25, 33, 36, 38, 57, 59, 60, 65 },
|
||||
triggers = { "ANY_MONSTER_DIE_20", "ENTER_REGION_21", "GADGET_CREATE_23", "SELECT_OPTION_24", "SELECT_OPTION_25", "DUNGEON_SETTLE_33", "SPECIFIC_MONSTER_HP_CHANGE_36", "ANY_GADGET_DIE_38", "ANY_MONSTER_DIE_57", "ENTER_REGION_59", "TIMER_EVENT_60", "ANY_GADGET_DIE_65" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_MONSTER_DIE_20(context, evt)
|
||||
-- 判断剩余怪物数量是否是0
|
||||
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_MONSTER_DIE_20(context, evt)
|
||||
-- 将configid为 194 的物件更改为状态 GadgetState.GearStart
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 194, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 解锁目标389
|
||||
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 389, state = GadgetState.Default }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_21(context, evt)
|
||||
if evt.param1 ~= 21 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_21(context, evt)
|
||||
-- 将configid为 193 的物件更改为状态 GadgetState.Default
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 193, GadgetState.Default) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 将configid为 195 的物件更改为状态 GadgetState.Default
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 195, GadgetState.Default) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_23(context, evt)
|
||||
if 195 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_23(context, evt)
|
||||
-- 设置操作台选项
|
||||
if 0 ~= ScriptLib.SetWorktopOptions(context, {1}) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_24(context, evt)
|
||||
-- 判断是gadgetid 195
|
||||
if 195 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_24(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 1 == evt.param2 then
|
||||
|
||||
-- 杀死Group内指定的monster和gadget
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {370} }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 193, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SELECT_OPTION_25(context, evt)
|
||||
-- 判断是gadgetid 195
|
||||
if 195 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SELECT_OPTION_25(context, evt)
|
||||
-- 根据不同的选项做不同的操作
|
||||
if 1 == evt.param2 then
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 195, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_DUNGEON_SETTLE_33(context, evt)
|
||||
-- 判断副本成功
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_DUNGEON_SETTLE_33(context, evt)
|
||||
-- 杀死Group内指定的monster和gadget
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008001, monsters = {}, gadgets = {367} }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_36(context, evt)
|
||||
--[[判断指定configid的怪物的血量小于%80时触发指定后续操作]]--
|
||||
if evt.type ~= EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE or evt.param3 > 80 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_36(context, evt)
|
||||
-- 延迟0.5秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 57, delay_time = 0.5 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 延迟1秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 58, delay_time = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 延迟1.5秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 64, delay_time = 1.5 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 延迟2秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 65, delay_time = 2 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_GADGET_DIE_38(context, evt)
|
||||
if 247 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_GADGET_DIE_38(context, evt)
|
||||
-- 延迟24秒后,向groupId为:220008003的对象,请求一次调用,并将string参数:"creatself" 传递过去
|
||||
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220008003, "creatself", 24) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_MONSTER_DIE_57(context, evt)
|
||||
if 50 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_MONSTER_DIE_57(context, evt)
|
||||
-- 杀死Group内所有monster
|
||||
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 220008003, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
|
||||
-- 创生gadget 365
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 365 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 停止移动平台
|
||||
if 0 ~= ScriptLib.StopPlatform(context, 365) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_59(context, evt)
|
||||
if evt.param1 ~= 59 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_59(context, evt)
|
||||
-- 触发镜头注目,注目位置为坐标(447,-28,266),持续时间为2秒,并且为强制注目形式,不广播其他玩家
|
||||
local pos = {x=447, y=-28, z=266}
|
||||
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, duration = 2, is_force = true, is_broadcast = false }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_TIMER_EVENT_60(context, evt)
|
||||
-- 创生gadget 247
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 247 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_GADGET_DIE_65(context, evt)
|
||||
if 247 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_GADGET_DIE_65(context, evt)
|
||||
-- 调用提示id为 1010001 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
|
||||
if 0 ~= ScriptLib.ShowReminder(context, 1010001) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
146
soggy_resources/lua/Scene/20008/scene20008_group220008004.lua
Normal file
146
soggy_resources/lua/Scene/20008/scene20008_group220008004.lua
Normal file
@@ -0,0 +1,146 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 240, gadget_id = 70350002, pos = { x = 364.6, y = -20.2, z = 173.4 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 241, gadget_id = 70300015, pos = { x = 389.8, y = -21.4, z = 173.4 }, rot = { x = 0.0, y = 325.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 242, gadget_id = 70210021, pos = { x = 379.4, y = -21.5, z = 173.6 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1, chest_drop_id = 1000102, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 362, gadget_id = 70350003, pos = { x = 419.8, y = -21.5, z = 173.5 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 22, shape = RegionShape.SPHERE, radius = 5, pos = { x = 436.3, y = -21.5, z = 174.1 } },
|
||||
{ config_id = 31, shape = RegionShape.SPHERE, radius = 9.13, pos = { x = 410.8, y = -21.5, z = 174.8 } },
|
||||
{ config_id = 40, shape = RegionShape.CUBIC, size = { x = 48.8, y = 18.0, z = 7.1 }, pos = { x = 440.7, y = -21.5, z = 173.9 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "DUNGEON_SETTLE_22", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_22", action = "action_EVENT_DUNGEON_SETTLE_22" },
|
||||
{ name = "ENTER_REGION_31", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_31", action = "action_EVENT_ENTER_REGION_31" },
|
||||
{ name = "ENTER_REGION_40", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_40", action = "action_EVENT_ENTER_REGION_40", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { },
|
||||
gadgets = { 240, 241, 362 },
|
||||
regions = { 31, 40 },
|
||||
triggers = { "ENTER_REGION_31", "ENTER_REGION_40" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_DUNGEON_SETTLE_22(context, evt)
|
||||
-- 判断副本成功
|
||||
if 1 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_DUNGEON_SETTLE_22(context, evt)
|
||||
-- 创生gadget 242
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 242 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_31(context, evt)
|
||||
if evt.param1 ~= 31 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_31(context, evt)
|
||||
-- 调用提示id为 1036001 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格
|
||||
if 0 ~= ScriptLib.ShowReminder(context, 1036001) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 触发镜头注目,注目位置为坐标(389,-21,173),持续时间为2秒,并且为强制注目形式,不广播其他玩家
|
||||
local pos = {x=389, y=-21, z=173}
|
||||
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, duration = 2, is_force = true, is_broadcast = false }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_40(context, evt)
|
||||
if evt.param1 ~= 40 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_40(context, evt)
|
||||
-- 将configid为 362 的物件更改为状态 GadgetState.GearStart
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 362, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
@@ -0,0 +1,66 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { },
|
||||
gadgets = { },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
118
soggy_resources/lua/Scene/20008/scene20008_group220008006.lua
Normal file
118
soggy_resources/lua/Scene/20008/scene20008_group220008006.lua
Normal file
@@ -0,0 +1,118 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 329, gadget_id = 70310002, pos = { x = 584.3, y = -54.5, z = 202.9 }, rot = { x = 0.0, y = 93.3, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 330, gadget_id = 70310002, pos = { x = 584.3, y = -54.5, z = 210.1 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 331, gadget_id = 70310001, pos = { x = 579.4, y = -60.1, z = 216.3 }, rot = { x = 0.0, y = 277.4, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 332, gadget_id = 70310001, pos = { x = 576.6, y = -60.1, z = 216.4 }, rot = { x = 0.0, y = 318.8, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 333, gadget_id = 70310001, pos = { x = 552.5, y = -68.5, z = 223.1 }, rot = { x = 0.0, y = 2.2, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 334, gadget_id = 70310001, pos = { x = 546.4, y = -68.5, z = 215.0 }, rot = { x = 0.0, y = 300.7, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 339, gadget_id = 70310001, pos = { x = 542.2, y = -63.1, z = 197.1 }, rot = { x = 0.0, y = 16.6, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 340, gadget_id = 70310001, pos = { x = 541.2, y = -59.7, z = 192.7 }, rot = { x = 0.0, y = 260.9, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 341, gadget_id = 70310002, pos = { x = 524.3, y = -62.6, z = 212.9 }, rot = { x = 0.0, y = 180.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 342, gadget_id = 70310002, pos = { x = 523.4, y = -62.7, z = 214.0 }, rot = { x = 0.0, y = 270.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 343, gadget_id = 70310002, pos = { x = 524.4, y = -62.8, z = 200.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 344, gadget_id = 70310002, pos = { x = 510.0, y = -64.9, z = 199.6 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 345, gadget_id = 70310002, pos = { x = 510.0, y = -62.8, z = 213.9 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 350, gadget_id = 70310001, pos = { x = 440.5, y = -28.5, z = 276.0 }, rot = { x = 0.0, y = 183.1, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 351, gadget_id = 70310001, pos = { x = 446.2, y = -28.5, z = 280.5 }, rot = { x = 0.0, y = 23.3, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 352, gadget_id = 70310001, pos = { x = 467.3, y = -28.5, z = 256.3 }, rot = { x = 0.0, y = 45.4, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 356, gadget_id = 70310002, pos = { x = 414.4, y = -19.2, z = 169.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 357, gadget_id = 70310002, pos = { x = 414.3, y = -19.2, z = 177.8 }, rot = { x = 0.0, y = 180.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 358, gadget_id = 70310002, pos = { x = 402.2, y = -16.5, z = 159.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 359, gadget_id = 70310002, pos = { x = 373.4, y = -16.3, z = 159.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 360, gadget_id = 70310002, pos = { x = 373.3, y = -15.9, z = 187.2 }, rot = { x = 0.0, y = 180.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 361, gadget_id = 70310002, pos = { x = 402.1, y = -16.2, z = 187.2 }, rot = { x = 0.0, y = 180.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 409, gadget_id = 70310002, pos = { x = 489.9, y = -51.3, z = 261.4 }, rot = { x = 0.0, y = 3.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 410, gadget_id = 70310002, pos = { x = 484.2, y = -51.3, z = 261.4 }, rot = { x = 0.0, y = 3.1, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 412, gadget_id = 70310002, pos = { x = 489.9, y = -51.3, z = 271.4 }, rot = { x = 0.0, y = 180.0, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 413, gadget_id = 70310002, pos = { x = 484.2, y = -51.3, z = 271.5 }, rot = { x = 0.0, y = 180.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 414, gadget_id = 70210031, pos = { x = 479.1, y = -54.7, z = 266.3 }, rot = { x = 0.0, y = 89.2, z = 0.0 }, level = 1, chest_drop_id = 1000104, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 415, gadget_id = 70310001, pos = { x = 479.4, y = -54.7, z = 264.1 }, rot = { x = 0.0, y = 260.9, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 416, gadget_id = 70310001, pos = { x = 479.4, y = -54.7, z = 268.4 }, rot = { x = 0.0, y = 260.9, z = 0.0 }, level = 1, state = GadgetState.GearStart }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 39, shape = RegionShape.SPHERE, radius = 5, pos = { x = 615.1, y = -57.5, z = 207.0 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "CLIENT_EXECUTE_39", event = EventType.EVENT_CLIENT_EXECUTE, source = "FireSourceChange", condition = "", action = "action_EVENT_CLIENT_EXECUTE_39", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 329, 330, 331, 332, 333, 334, 339, 340, 341, 342, 343, 344, 345, 350, 351, 352, 356, 357, 358, 359, 360, 361, 409, 410, 412, 413, 414, 415, 416 },
|
||||
regions = { 39 },
|
||||
triggers = { "CLIENT_EXECUTE_39" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_CLIENT_EXECUTE_39(context, evt)
|
||||
-- 针对groupid为 220008006 中该config对应的物件进行状态改变操作
|
||||
local this_gadget = ScriptLib.GetGadgetConfigId(context, { gadget_eid = evt.source_eid })
|
||||
--ScriptLib.PrintLog("config_id="..this_gadget)
|
||||
|
||||
if evt.param1 == 1 then
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220008006, this_gadget, GadgetState.GearStart )
|
||||
return 0
|
||||
end
|
||||
|
||||
if evt.param1 == 0 then
|
||||
ScriptLib.SetGroupGadgetStateByConfigId(context, 220008006, this_gadget, GadgetState.Default )
|
||||
return 0
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
@@ -0,0 +1,68 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 363, gadget_id = 70220013, pos = { x = 539.5, y = -63.1, z = 195.7 }, rot = { x = 0.0, y = 275.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 364, gadget_id = 70220013, pos = { x = 539.0, y = -59.8, z = 186.4 }, rot = { x = 0.0, y = 8.7, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { 363, 364 },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
102
soggy_resources/lua/Scene/20008/scene20008_group220008901.lua
Normal file
102
soggy_resources/lua/Scene/20008/scene20008_group220008901.lua
Normal file
@@ -0,0 +1,102 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 41, shape = RegionShape.CUBIC, size = { x = 18.2, y = 3.0, z = 47.1 }, pos = { x = 565.4, y = -62.7, z = 206.7 } },
|
||||
{ config_id = 42, shape = RegionShape.SPHERE, radius = 5, pos = { x = 517.3, y = -65.6, z = 221.5 } },
|
||||
{ config_id = 43, shape = RegionShape.CUBIC, size = { x = 3.9, y = 3.4, z = 50.3 }, pos = { x = 471.3, y = -28.5, z = 266.1 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "ENTER_REGION_41", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_41", action = "", trigger_count = 0 },
|
||||
{ name = "ENTER_REGION_42", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_42", action = "", trigger_count = 0 },
|
||||
{ name = "ENTER_REGION_43", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_43", action = "", trigger_count = 0 }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { },
|
||||
gadgets = { },
|
||||
regions = { 41, 42, 43 },
|
||||
triggers = { "ENTER_REGION_41", "ENTER_REGION_42", "ENTER_REGION_43" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_41(context, evt)
|
||||
if ScriptLib.GetEntityType(evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30707) == QuestState.UNFINISHED and evt.param1 == 41 then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_42(context, evt)
|
||||
if ScriptLib.GetEntityType(evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30708) == QuestState.UNFINISHED and evt.param1 == 42 then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_43(context, evt)
|
||||
if ScriptLib.GetEntityType(evt.target_eid) == EntityType.AVATAR and ScriptLib.GetQuestState(context, evt.target_eid, 30709) == QuestState.UNFINISHED and evt.param1 == 43 then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
-- 触发操作
|
951
soggy_resources/lua/Scene/20008/scene20008_point.json
Normal file
951
soggy_resources/lua/Scene/20008/scene20008_point.json
Normal file
@@ -0,0 +1,951 @@
|
||||
{
|
||||
"radius": 100.0,
|
||||
"points": {
|
||||
"10": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonWayPoint",
|
||||
"gadgetId": 70120003,
|
||||
"pos": {
|
||||
"x": 589.4193,
|
||||
"y": -56.65377,
|
||||
"z": 195.902679
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"size": {
|
||||
"x": 10.87,
|
||||
"y": 7.03,
|
||||
"z": 35.54
|
||||
},
|
||||
"isBoss": false,
|
||||
"groupIds": [
|
||||
220008001
|
||||
]
|
||||
},
|
||||
"11": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonWayPoint",
|
||||
"gadgetId": 70120003,
|
||||
"pos": {
|
||||
"x": 512.3407,
|
||||
"y": -67.98359,
|
||||
"z": 206.902069
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 90.73,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"size": {
|
||||
"x": 21.75,
|
||||
"y": 9.38,
|
||||
"z": 19.47
|
||||
},
|
||||
"isBoss": false,
|
||||
"groupIds": []
|
||||
},
|
||||
"12": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonWayPoint",
|
||||
"gadgetId": 70120003,
|
||||
"pos": {
|
||||
"x": 491.720337,
|
||||
"y": -29.9479885,
|
||||
"z": 257.004028
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"size": {
|
||||
"x": 15.0,
|
||||
"y": 4.2,
|
||||
"z": 43.56
|
||||
},
|
||||
"isBoss": false,
|
||||
"groupIds": [
|
||||
220008003
|
||||
]
|
||||
},
|
||||
"13": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonWayPoint",
|
||||
"gadgetId": 70120003,
|
||||
"pos": {
|
||||
"x": 446.731,
|
||||
"y": -25.4662476,
|
||||
"z": 183.566467
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 1.00179122E-05,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"size": {
|
||||
"x": 25.45,
|
||||
"y": 14.07,
|
||||
"z": 28.38
|
||||
},
|
||||
"isBoss": false,
|
||||
"groupIds": []
|
||||
},
|
||||
"14": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonQuitPoint",
|
||||
"gadgetId": 70120004,
|
||||
"pos": {
|
||||
"x": 374.374176,
|
||||
"y": -21.44996,
|
||||
"z": 173.477142
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 90.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"size": {
|
||||
"x": 5.0,
|
||||
"y": 5.0,
|
||||
"z": 5.0
|
||||
},
|
||||
"titleTextID": ""
|
||||
}
|
||||
},
|
||||
"areas": {},
|
||||
"forces": {
|
||||
"9": {
|
||||
"$type": "ConfigAirflowField",
|
||||
"pos": {
|
||||
"x": 501.183624,
|
||||
"y": -70.3699951,
|
||||
"z": 266.5222
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"gadgetId": 70610102,
|
||||
"up": true,
|
||||
"scale": 1.1,
|
||||
"velocity": 10.0
|
||||
}
|
||||
},
|
||||
"entities": {
|
||||
"4": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 663.162537,
|
||||
"y": -61.34869,
|
||||
"z": 204.570038
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": true,
|
||||
"triggerFlag": "DeadRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 43.82,
|
||||
"centerType": "Center",
|
||||
"width": 10.0,
|
||||
"length": 124.8
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0,
|
||||
"stringParam": "0"
|
||||
},
|
||||
"5": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 624.5289,
|
||||
"y": -65.587204,
|
||||
"z": 206.1258
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": true,
|
||||
"triggerFlag": "DeadRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 3.08,
|
||||
"centerType": "Center",
|
||||
"width": 84.8,
|
||||
"length": 101.05
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"6": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 512.5,
|
||||
"y": -73.0,
|
||||
"z": 199.762009
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "DeadRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 5.0,
|
||||
"centerType": "Center",
|
||||
"width": 100.0,
|
||||
"length": 100.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"7": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 512.810364,
|
||||
"y": -74.46,
|
||||
"z": 294.088745
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "DeadRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 2.0,
|
||||
"centerType": "Center",
|
||||
"width": 100.0,
|
||||
"length": 100.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"8": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 450.8,
|
||||
"y": -38.7,
|
||||
"z": 299.6
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "DeadRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 5.0,
|
||||
"centerType": "Center",
|
||||
"width": 100.0,
|
||||
"length": 50.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"9": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 456.4,
|
||||
"y": -45.4597359,
|
||||
"z": 222.0
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "DeadRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 4.56,
|
||||
"centerType": "Center",
|
||||
"width": 70.0,
|
||||
"length": 200.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"10": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 456.3,
|
||||
"y": -36.7,
|
||||
"z": 163.9
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "DeadRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 5.0,
|
||||
"centerType": "Center",
|
||||
"width": 87.8,
|
||||
"length": 70.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"11": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 610.951843,
|
||||
"y": -57.48351,
|
||||
"z": 221.754974
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "ReturnRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 200.0,
|
||||
"centerType": "Center",
|
||||
"width": 20.0,
|
||||
"length": 5.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 15.0,
|
||||
"stringParam": "1033001"
|
||||
},
|
||||
"12": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 615.417358,
|
||||
"y": -57.520092,
|
||||
"z": 190.742935
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "ReturnRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 200.0,
|
||||
"centerType": "Center",
|
||||
"width": 40.0,
|
||||
"length": 5.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 15.0,
|
||||
"stringParam": "1033001"
|
||||
},
|
||||
"13": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 501.469269,
|
||||
"y": -67.9835052,
|
||||
"z": 185.5952
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "ReturnRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 150.0,
|
||||
"centerType": "Center",
|
||||
"width": 70.0,
|
||||
"length": 5.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 15.0,
|
||||
"stringParam": "1033001"
|
||||
},
|
||||
"14": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 478.19754,
|
||||
"y": -67.9836349,
|
||||
"z": 191.816284
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "ReturnRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 150.0,
|
||||
"centerType": "Center",
|
||||
"width": 5.0,
|
||||
"length": 120.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 15.0,
|
||||
"stringParam": "1033001"
|
||||
},
|
||||
"15": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 486.1,
|
||||
"y": -29.9834862,
|
||||
"z": 290.8
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "ReturnRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 150.0,
|
||||
"centerType": "Center",
|
||||
"width": 200.0,
|
||||
"length": 5.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 15.0,
|
||||
"stringParam": "1033001"
|
||||
},
|
||||
"16": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 424.489258,
|
||||
"y": -18.1,
|
||||
"z": 266.8
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "ReturnRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 150.0,
|
||||
"centerType": "Center",
|
||||
"width": 5.0,
|
||||
"length": 150.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 15.0,
|
||||
"stringParam": "1033001"
|
||||
},
|
||||
"17": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 422.5,
|
||||
"y": -21.483532,
|
||||
"z": 133.7
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "ReturnRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 150.0,
|
||||
"centerType": "Center",
|
||||
"width": 100.0,
|
||||
"length": 5.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 15.0,
|
||||
"stringParam": "1033001"
|
||||
},
|
||||
"18": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 537.0351,
|
||||
"y": -29.4,
|
||||
"z": 259.88623
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "ReturnRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 100.0,
|
||||
"centerType": "Center",
|
||||
"width": 5.0,
|
||||
"length": 80.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 15.0,
|
||||
"stringParam": "1033001"
|
||||
},
|
||||
"19": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 504.6,
|
||||
"y": -35.1,
|
||||
"z": 217.4
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "ReturnRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 40.0,
|
||||
"centerType": "Center",
|
||||
"width": 60.0,
|
||||
"length": 5.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 15.0,
|
||||
"stringParam": "1033001"
|
||||
},
|
||||
"20": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 452.8325,
|
||||
"y": -47.86,
|
||||
"z": 185.2
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "NoReviveRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 40.0,
|
||||
"centerType": "Center",
|
||||
"width": 27.3,
|
||||
"length": 50.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"21": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 458.2552,
|
||||
"y": -53.8,
|
||||
"z": 221.3
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "NoReviveRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 50.0,
|
||||
"centerType": "Center",
|
||||
"width": 50.0,
|
||||
"length": 50.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"22": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 679.753357,
|
||||
"y": -58.8339348,
|
||||
"z": 207.63501
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 100.0,
|
||||
"withGO": false,
|
||||
"triggerFlag": "ReturnRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 173.8,
|
||||
"centerType": "Center",
|
||||
"width": 8.6,
|
||||
"length": 185.1
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 15.0,
|
||||
"stringParam": "1033001"
|
||||
},
|
||||
"23": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 485.816467,
|
||||
"y": -55.5916138,
|
||||
"z": 266.146332
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 500.0,
|
||||
"withGO": true,
|
||||
"triggerFlag": "DeadRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 0.84,
|
||||
"centerType": "Center",
|
||||
"width": 5.97,
|
||||
"length": 11.04
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"24": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 440.262665,
|
||||
"y": -27.0265026,
|
||||
"z": 220.435
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 500.0,
|
||||
"withGO": true,
|
||||
"triggerFlag": "DeadRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 2.0,
|
||||
"centerType": "Center",
|
||||
"width": 9.23,
|
||||
"length": 22.34
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.2
|
||||
},
|
||||
"25": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 432.5962,
|
||||
"y": -26.9294338,
|
||||
"z": 216.812775
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 500.0,
|
||||
"withGO": true,
|
||||
"triggerFlag": "DeadRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 2.0,
|
||||
"centerType": "Center",
|
||||
"width": 6.8,
|
||||
"length": 16.1
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.2
|
||||
},
|
||||
"26": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 441.3486,
|
||||
"y": -25.4564648,
|
||||
"z": 219.8422
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"checkDist": 500.0,
|
||||
"withGO": true,
|
||||
"triggerFlag": "NoReviveRegion",
|
||||
"shape": {
|
||||
"$type": "ConfigShapeRect",
|
||||
"useHeight": true,
|
||||
"height": 2.0,
|
||||
"centerType": "Center",
|
||||
"width": 30.5,
|
||||
"length": 23.9
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
}
|
||||
},
|
||||
"doors": {}
|
||||
}
|
Reference in New Issue
Block a user