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/50001/scene50001.lua
Normal file
22
soggy_resources/lua/Scene/50001/scene50001.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
-- 地图配置
|
||||
scene_config = {
|
||||
begin_pos = { x = -3141.5, z = -3294.5 },
|
||||
size = { x = 6874.2, z = 6909.4 },
|
||||
born_pos = { x = 0.0, y = 52.1, z = 0.0 },
|
||||
born_rot = { x = 0.0, y = 0.0, z = 0.0 },
|
||||
die_y = -20
|
||||
}
|
||||
|
||||
-- 所有的区块
|
||||
blocks = { 50001 }
|
||||
|
||||
-- 所有的区块范围坐标
|
||||
block_rects = {
|
||||
{ min = { x = -3141.5, z = -3294.5 }, max = { x = 3732.7, z = 3614.9 } }
|
||||
}
|
||||
|
||||
-- Dummy Points
|
||||
dummy_points = { "dummy_points" }
|
||||
|
||||
-- Routes
|
||||
routes_config = { }
|
59
soggy_resources/lua/Scene/50001/scene50001_50001_routes.json
Normal file
59
soggy_resources/lua/Scene/50001/scene50001_50001_routes.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"sceneId": 50001,
|
||||
"routes": [
|
||||
{
|
||||
"localId": 1,
|
||||
"name": "Platform_001",
|
||||
"type": "Reciprocate",
|
||||
"points": [
|
||||
{
|
||||
"waitTime": 2.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 190.320221,
|
||||
"y": 49.1515427,
|
||||
"z": 196.844543
|
||||
},
|
||||
"targetVelocity": 5.0
|
||||
},
|
||||
{
|
||||
"waitTime": 2.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 190.921127,
|
||||
"y": 48.76875,
|
||||
"z": 226.313492
|
||||
},
|
||||
"targetVelocity": 5.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"localId": 2,
|
||||
"name": "Platform_002",
|
||||
"type": "Reciprocate",
|
||||
"points": [
|
||||
{
|
||||
"waitTime": 2.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 191.322632,
|
||||
"y": 47.8475876,
|
||||
"z": 269.180359
|
||||
},
|
||||
"targetVelocity": 5.0
|
||||
},
|
||||
{
|
||||
"waitTime": 2.0,
|
||||
"speedLevel": 1,
|
||||
"pos": {
|
||||
"x": 191.042053,
|
||||
"y": 48.61698,
|
||||
"z": 235.359146
|
||||
},
|
||||
"targetVelocity": 5.0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
10
soggy_resources/lua/Scene/50001/scene50001_block50001.lua
Normal file
10
soggy_resources/lua/Scene/50001/scene50001_block50001.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
-- 所有的group
|
||||
groups = {
|
||||
{ id = 250001001, refresh_time = 0, pos = { x = 18.1, y = 51.0, z = 34.1 } },
|
||||
{ id = 250001002, refresh_time = 0, pos = { x = -1.1, y = 42.0, z = 98.4 } },
|
||||
{ id = 250001003, refresh_time = 0, pos = { x = 77.9, y = 39.5, z = 119.0 } },
|
||||
{ id = 250001004, refresh_time = 0, pos = { x = 190.7, y = 42.1, z = 120.9 } },
|
||||
{ id = 250001005, refresh_time = 0, pos = { x = 191.6, y = 57.0, z = 335.6 } },
|
||||
{ id = 250001006, refresh_time = 0, pos = { x = 191.8, y = 57.1, z = 381.1 } },
|
||||
{ id = 250001007, refresh_time = 0, pos = { x = 149.3, y = 39.6, z = 120.5 } }
|
||||
}
|
@@ -0,0 +1,2 @@
|
||||
dummy_points = {
|
||||
}
|
@@ -0,0 +1,86 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 1, monster_id = 21011001, pos = { x = 22.0, y = 52.7, z = 30.4 }, rot = { x = 0.0, y = 274.6, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 2, monster_id = 21010501, pos = { x = 26.4, y = 52.8, z = 36.5 }, rot = { x = 0.0, y = 266.7, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 31, monster_id = 21010301, pos = { x = 17.8, y = 51.0, z = 34.1 }, rot = { x = 0.0, y = 125.1, z = 0.0 }, level = 0, disableWander = true, affix = { 1001 }, isElite = true, pose_id = 9003 },
|
||||
{ config_id = 32, monster_id = 21010501, pos = { x = 19.4, y = 51.0, z = 62.5 }, rot = { x = 0.0, y = 182.4, z = 0.0 }, level = 0, disableWander = true }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 1, gadget_id = 70210011, pos = { x = -3.9, y = 53.0, z = 36.3 }, rot = { x = 0.0, y = 93.1, z = 0.0 }, level = 1, chest_drop_id = 1300401, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 26, gadget_id = 70220013, pos = { x = 22.5, y = 51.0, z = 30.2 }, rot = { x = 0.0, y = 249.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 27, gadget_id = 70220013, pos = { x = 27.1, y = 51.0, z = 36.4 }, rot = { x = 0.0, y = 126.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 41, gadget_id = 70220013, pos = { x = 22.9, y = 51.0, z = 28.6 }, rot = { x = 0.0, y = 107.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 42, gadget_id = 70220013, pos = { x = 20.4, y = 51.0, z = 29.2 }, rot = { x = 0.0, y = 142.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 43, gadget_id = 70220013, pos = { x = 25.8, y = 50.9, z = 35.1 }, rot = { x = 0.0, y = 264.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 44, gadget_id = 70220014, pos = { x = 25.7, y = 50.8, z = 37.0 }, rot = { x = 0.0, y = 130.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 45, gadget_id = 70210011, pos = { x = 15.2, y = 47.0, z = 50.3 }, rot = { x = 0.0, y = 356.6, z = 0.0 }, level = 1, chest_drop_id = 1300401, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 47, gadget_id = 70210021, pos = { x = 10.2, y = 47.0, z = 69.4 }, rot = { x = 0.0, y = 179.1, z = 0.0 }, level = 1, chest_drop_id = 1300402, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 48, gadget_id = 70220013, pos = { x = 8.2, y = 47.0, z = 69.6 }, rot = { x = 0.0, y = 21.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 49, gadget_id = 70220013, pos = { x = 7.0, y = 47.0, z = 67.6 }, rot = { x = 0.0, y = 349.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 50, gadget_id = 70220013, pos = { x = 9.3, y = 47.0, z = 67.3 }, rot = { x = 0.0, y = 102.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 51, gadget_id = 70220013, pos = { x = 15.2, y = 47.1, z = 52.6 }, rot = { x = 0.0, y = 18.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 52, gadget_id = 70220013, pos = { x = 12.9, y = 47.1, z = 53.3 }, rot = { x = 0.0, y = 354.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 53, gadget_id = 70220013, pos = { x = 10.4, y = 47.1, z = 52.4 }, rot = { x = 0.0, y = 245.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 54, gadget_id = 70220014, pos = { x = 10.9, y = 47.1, z = 54.0 }, rot = { x = 0.0, y = 119.5, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { 1, 2, 31, 32 },
|
||||
gadgets = { 1, 26, 27, 41, 42, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53, 54 },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
271
soggy_resources/lua/Scene/50001/scene50001_group250001002.lua
Normal file
271
soggy_resources/lua/Scene/50001/scene50001_group250001002.lua
Normal file
@@ -0,0 +1,271 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 3, monster_id = 21010901, pos = { x = 32.0, y = 45.8, z = 91.1 }, rot = { x = 0.0, y = 275.4, z = 0.0 }, level = 0, disableWander = true, pose_id = 32 },
|
||||
{ config_id = 4, monster_id = 21011001, pos = { x = 31.5, y = 45.9, z = 87.0 }, rot = { x = 0.0, y = 286.4, z = 0.0 }, level = 0, disableWander = true, pose_id = 32 },
|
||||
{ config_id = 5, monster_id = 21030101, pos = { x = 0.5, y = 42.3, z = 109.2 }, rot = { x = 0.0, y = 190.8, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 6, monster_id = 21020201, pos = { x = -7.0, y = 42.1, z = 96.3 }, rot = { x = 0.0, y = 104.3, z = 0.0 }, level = 0, disableWander = true, affix = { 1001 }, isElite = true, pose_id = 401 },
|
||||
{ config_id = 7, monster_id = 21020101, pos = { x = 7.9, y = 42.0, z = 96.2 }, rot = { x = 0.0, y = 269.1, z = 0.0 }, level = 0, disableWander = true, affix = { 1002 }, isElite = true, pose_id = 401 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 2, gadget_id = 70900025, pos = { x = 32.5, y = 41.9, z = 91.1 }, rot = { x = 0.0, y = 265.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 3, gadget_id = 70900025, pos = { x = 32.0, y = 41.9, z = 86.9 }, rot = { x = 0.0, y = 81.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 4, gadget_id = 70210021, pos = { x = -2.6, y = 42.0, z = 122.7 }, rot = { x = 0.0, y = 345.8, z = 0.0 }, level = 1, chest_drop_id = 1300402, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 5, gadget_id = 70220007, pos = { x = -6.9, y = 41.9, z = 118.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 6, gadget_id = 70220007, pos = { x = -2.1, y = 42.0, z = 118.3 }, rot = { x = 0.0, y = 2.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 7, gadget_id = 70350003, pos = { x = 55.1, y = 41.9, z = 121.2 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 8, gadget_id = 70900007, pos = { x = 46.5, y = 42.2, z = 128.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, state = GadgetState.GearStop },
|
||||
{ config_id = 9, gadget_id = 70900008, pos = { x = 46.7, y = 42.2, z = 114.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, state = GadgetState.GearStop },
|
||||
{ config_id = 10, gadget_id = 70210031, pos = { x = 47.4, y = 42.0, z = 87.7 }, rot = { x = 0.0, y = 275.2, z = 0.0 }, level = 1, chest_drop_id = 1300404, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 28, gadget_id = 70220013, pos = { x = -18.0, y = 42.0, z = 95.1 }, rot = { x = 0.0, y = 157.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 29, gadget_id = 70220013, pos = { x = -18.1, y = 42.0, z = 97.3 }, rot = { x = 0.0, y = 158.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 55, gadget_id = 70220005, pos = { x = 46.2, y = 42.0, z = 89.2 }, rot = { x = 0.0, y = 245.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 56, gadget_id = 70220005, pos = { x = 45.8, y = 42.0, z = 86.6 }, rot = { x = 0.0, y = 30.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 57, gadget_id = 70220005, pos = { x = 44.5, y = 42.0, z = 88.0 }, rot = { x = 0.0, y = 128.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 58, gadget_id = 70220005, pos = { x = 48.2, y = 42.0, z = 88.9 }, rot = { x = 0.0, y = 24.8, z = 0.0 }, level = 1 },
|
||||
{ config_id = 59, gadget_id = 70220014, pos = { x = 44.9, y = 42.0, z = 89.1 }, rot = { x = 0.0, y = 84.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 60, gadget_id = 70220014, pos = { x = 45.8, y = 42.0, z = 87.9 }, rot = { x = 0.0, y = 80.9, z = 0.0 }, level = 1 },
|
||||
{ config_id = 61, gadget_id = 70220014, pos = { x = 44.6, y = 42.0, z = 86.9 }, rot = { x = 0.0, y = 333.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 62, gadget_id = 70220014, pos = { x = 47.3, y = 42.0, z = 86.3 }, rot = { x = 0.0, y = 216.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 63, gadget_id = 70220002, pos = { x = 49.3, y = 42.0, z = 96.1 }, rot = { x = 0.0, y = 290.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 64, gadget_id = 70220002, pos = { x = 48.8, y = 42.0, z = 94.8 }, rot = { x = 0.0, y = 38.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 65, gadget_id = 70220002, pos = { x = 47.7, y = 42.0, z = 95.5 }, rot = { x = 0.0, y = 100.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 66, gadget_id = 70220002, pos = { x = 45.5, y = 42.0, z = 89.9 }, rot = { x = 0.0, y = 293.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 67, gadget_id = 70220002, pos = { x = 42.7, y = 42.0, z = 86.2 }, rot = { x = 0.0, y = 264.5, z = 0.0 }, level = 1 },
|
||||
{ config_id = 68, gadget_id = 70220002, pos = { x = 44.9, y = 42.0, z = 90.9 }, rot = { x = 0.0, y = 344.1, z = 0.0 }, level = 1 },
|
||||
{ config_id = 72, gadget_id = 70220023, pos = { x = 0.6, y = 42.0, z = 102.2 }, rot = { x = 0.0, y = 89.2, z = 0.0 }, level = 1 },
|
||||
{ config_id = 73, gadget_id = 70210032, pos = { x = -0.9, y = 42.0, z = 102.0 }, rot = { x = 0.0, y = 141.9, z = 0.0 }, level = 1, chest_drop_id = 1300404, state = GadgetState.ChestLocked, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 74, gadget_id = 70210032, pos = { x = 2.0, y = 42.0, z = 102.1 }, rot = { x = 0.0, y = 224.5, z = 0.0 }, level = 1, chest_drop_id = 1300404, state = GadgetState.ChestLocked, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 1, shape = RegionShape.SPHERE, radius = 5, pos = { x = 44.2, y = 42.0, z = 121.5 } },
|
||||
{ config_id = 15, shape = RegionShape.SPHERE, radius = 5, pos = { x = 1.3, y = 42.0, z = 99.0 } },
|
||||
{ config_id = 16, shape = RegionShape.SPHERE, radius = 5, pos = { x = 7.5, y = 42.0, z = 98.0 } },
|
||||
{ config_id = 17, shape = RegionShape.SPHERE, radius = 5, pos = { x = 45.7, y = 42.0, z = 127.9 } },
|
||||
{ config_id = 18, shape = RegionShape.SPHERE, radius = 5, pos = { x = 47.1, y = 42.0, z = 114.9 } },
|
||||
{ config_id = 19, shape = RegionShape.SPHERE, radius = 5, pos = { x = 44.4, y = 42.0, z = 123.3 } },
|
||||
{ config_id = 24, shape = RegionShape.SPHERE, radius = 17.2, pos = { x = 0.6, y = 42.0, z = 100.9 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "ANY_MONSTER_DIE_1", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1", action = "action_EVENT_ANY_MONSTER_DIE_1" },
|
||||
{ name = "ANY_MONSTER_DIE_15", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_15", action = "action_EVENT_ANY_MONSTER_DIE_15" },
|
||||
{ name = "ANY_MONSTER_DIE_16", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_16", action = "action_EVENT_ANY_MONSTER_DIE_16" },
|
||||
{ name = "GADGET_STATE_CHANGE_17", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_17", action = "action_EVENT_GADGET_STATE_CHANGE_17" },
|
||||
{ name = "GADGET_STATE_CHANGE_18", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_18", action = "action_EVENT_GADGET_STATE_CHANGE_18" },
|
||||
{ name = "VARIABLE_CHANGE_19", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_19", action = "action_EVENT_VARIABLE_CHANGE_19" },
|
||||
{ name = "ENTER_REGION_24", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_24", action = "action_EVENT_ENTER_REGION_24" }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
{ name = "Key", value = 0, persistent = false }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { 3, 4, 5, 6, 7 },
|
||||
gadgets = { 2, 3, 4, 5, 6, 7, 8, 9, 10, 28, 29, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 72, 73, 74 },
|
||||
regions = { 1, 15, 16, 17, 18, 19, 24 },
|
||||
triggers = { "ANY_MONSTER_DIE_1", "ANY_MONSTER_DIE_15", "ANY_MONSTER_DIE_16", "GADGET_STATE_CHANGE_17", "GADGET_STATE_CHANGE_18", "VARIABLE_CHANGE_19", "ENTER_REGION_24" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_MONSTER_DIE_1(context, evt)
|
||||
-- 判断剩余怪物数量是否是0
|
||||
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_MONSTER_DIE_1(context, evt)
|
||||
-- 将configid为 8 的物件更改为状态 GadgetState.Default
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 8, GadgetState.Default) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 将configid为 9 的物件更改为状态 GadgetState.Default
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 9, GadgetState.Default) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_MONSTER_DIE_15(context, evt)
|
||||
--判断死亡怪物的configid是否为 6
|
||||
if evt.param1 ~= 6 then
|
||||
return false
|
||||
end
|
||||
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_MONSTER_DIE_15(context, evt)
|
||||
-- 将configid为 73 的物件更改为状态 GadgetState.Default
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 73, GadgetState.Default) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_MONSTER_DIE_16(context, evt)
|
||||
--判断死亡怪物的configid是否为 7
|
||||
if evt.param1 ~= 7 then
|
||||
return false
|
||||
end
|
||||
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_MONSTER_DIE_16(context, evt)
|
||||
-- 将configid为 74 的物件更改为状态 GadgetState.Default
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 74, GadgetState.Default) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_STATE_CHANGE_17(context, evt)
|
||||
if 8 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_STATE_CHANGE_17(context, evt)
|
||||
-- 针对当前group内变量名为 "Key" 的变量,进行修改,变化值为 1
|
||||
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "Key", 1) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_STATE_CHANGE_18(context, evt)
|
||||
if 9 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_STATE_CHANGE_18(context, evt)
|
||||
-- 针对当前group内变量名为 "Key" 的变量,进行修改,变化值为 1
|
||||
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "Key", 1) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_VARIABLE_CHANGE_19(context, evt)
|
||||
-- 判断变量"Key"为2
|
||||
if ScriptLib.GetGroupVariableValue(context, "Key") ~= 2 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_VARIABLE_CHANGE_19(context, evt)
|
||||
-- 将configid为 7 的物件更改为状态 GadgetState.GearStart
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 7, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_24(context, evt)
|
||||
if evt.param1 ~= 24 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_24(context, evt)
|
||||
-- 通知groupid为250001002中,configid为:6的怪物入战或者脱战,set为1是入战,为0是脱战
|
||||
if 0 ~= ScriptLib.SetMonsterBattleByGroup(context, 1, 6, 250001002) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 通知groupid为250001002中,configid为:7的怪物入战或者脱战,set为1是入战,为0是脱战
|
||||
if 0 ~= ScriptLib.SetMonsterBattleByGroup(context, 1, 7, 250001002) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 通知groupid为250001002中,configid为:5的怪物入战或者脱战,set为1是入战,为0是脱战
|
||||
if 0 ~= ScriptLib.SetMonsterBattleByGroup(context, 1, 5, 250001002) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
110
soggy_resources/lua/Scene/50001/scene50001_group250001003.lua
Normal file
110
soggy_resources/lua/Scene/50001/scene50001_group250001003.lua
Normal file
@@ -0,0 +1,110 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 10, monster_id = 21030201, pos = { x = 123.4, y = 40.0, z = 126.2 }, rot = { x = 0.0, y = 265.8, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 11, monster_id = 21010501, pos = { x = 123.1, y = 43.0, z = 116.4 }, rot = { x = 0.0, y = 297.4, z = 0.0 }, level = 0, disableWander = true, pose_id = 32 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 11, gadget_id = 70220003, pos = { x = 82.1, y = 39.5, z = 120.2 }, rot = { x = 0.0, y = 273.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 12, gadget_id = 70220003, pos = { x = 81.7, y = 39.6, z = 115.8 }, rot = { x = 0.0, y = 273.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 13, gadget_id = 70220003, pos = { x = 83.3, y = 39.5, z = 113.4 }, rot = { x = 0.0, y = 273.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 14, gadget_id = 70220003, pos = { x = 83.8, y = 39.5, z = 117.7 }, rot = { x = 0.0, y = 273.3, z = 0.0 }, level = 1 },
|
||||
{ config_id = 15, gadget_id = 70320001, pos = { x = 101.8, y = 39.6, z = 121.0 }, rot = { x = 0.0, y = 82.2, z = 0.0 }, level = 1, state = GadgetState.GearStart },
|
||||
{ config_id = 16, gadget_id = 70210011, pos = { x = 162.9, y = 39.5, z = 127.6 }, rot = { x = 0.0, y = 265.1, z = 0.0 }, level = 1, chest_drop_id = 1300401, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 23, gadget_id = 70350002, pos = { x = 174.3, y = 41.6, z = 120.9 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 34, gadget_id = 70350002, pos = { x = 191.4, y = 58.4, z = 347.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 35, gadget_id = 70350003, pos = { x = 207.0, y = 57.0, z = 328.6 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 36, gadget_id = 70350003, pos = { x = 176.2, y = 56.8, z = 328.4 }, rot = { x = 0.0, y = 90.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 46, gadget_id = 70900205, pos = { x = 191.2, y = 48.5, z = 231.0 }, rot = { x = 0.0, y = 181.4, z = 0.0 }, level = 1 },
|
||||
{ config_id = 75, gadget_id = 70900025, pos = { x = 123.8, y = 39.3, z = 116.2 }, rot = { x = 0.0, y = 357.7, z = 0.0 }, level = 1 },
|
||||
{ config_id = 77, gadget_id = 70320001, pos = { x = 148.4, y = 39.6, z = 121.0 }, rot = { x = 0.0, y = 358.4, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 23, shape = RegionShape.CUBIC, size = { x = 15.0, y = 10.0, z = 20.0 }, pos = { x = 148.2, y = 39.6, z = 121.0 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "ENTER_REGION_23", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_23", action = "action_EVENT_ENTER_REGION_23" }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { 10, 11 },
|
||||
gadgets = { 11, 12, 13, 14, 15, 16, 23, 34, 35, 36, 46, 75, 77 },
|
||||
regions = { 23 },
|
||||
triggers = { "ENTER_REGION_23" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ENTER_REGION_23(context, evt)
|
||||
if evt.param1 ~= 23 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_23(context, evt)
|
||||
-- 将configid为 77 的物件更改为状态 GadgetState.GearStart
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 77, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 重新生成指定group,指定suite
|
||||
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250001007, suite = 1 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
260
soggy_resources/lua/Scene/50001/scene50001_group250001004.lua
Normal file
260
soggy_resources/lua/Scene/50001/scene50001_group250001004.lua
Normal file
@@ -0,0 +1,260 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 12, monster_id = 21010901, pos = { x = 201.7, y = 42.0, z = 132.4 }, rot = { x = 0.0, y = 254.2, z = 0.0 }, level = 0 },
|
||||
{ config_id = 13, monster_id = 21010901, pos = { x = 201.4, y = 42.0, z = 109.0 }, rot = { x = 0.0, y = 331.4, z = 0.0 }, level = 0 },
|
||||
{ config_id = 14, monster_id = 20011101, pos = { x = 194.6, y = 42.0, z = 120.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 15, monster_id = 21030301, pos = { x = 179.3, y = 42.0, z = 109.9 }, rot = { x = 0.0, y = 33.1, z = 0.0 }, level = 0 },
|
||||
{ config_id = 16, monster_id = 21010301, pos = { x = 197.3, y = 42.0, z = 129.9 }, rot = { x = 0.0, y = 238.2, z = 0.0 }, level = 0 },
|
||||
{ config_id = 17, monster_id = 22010201, pos = { x = 199.0, y = 42.0, z = 112.4 }, rot = { x = 0.0, y = 328.9, z = 0.0 }, level = 0 },
|
||||
{ config_id = 18, monster_id = 22010301, pos = { x = 198.7, y = 42.0, z = 130.8 }, rot = { x = 0.0, y = 228.1, z = 0.0 }, level = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 24, gadget_id = 70350002, pos = { x = 190.5, y = 41.9, z = 137.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 69, gadget_id = 70900007, pos = { x = 190.5, y = 41.9, z = 121.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
|
||||
{ config_id = 70, gadget_id = 70210021, pos = { x = 186.5, y = 46.1, z = 168.7 }, rot = { x = 0.0, y = 96.9, z = 0.0 }, level = 1, chest_drop_id = 1300402, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 71, gadget_id = 70210021, pos = { x = 198.6, y = 46.0, z = 160.3 }, rot = { x = 0.0, y = 3.0, z = 0.0 }, level = 1, chest_drop_id = 1300402, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 78, gadget_id = 70210021, pos = { x = 186.5, y = 46.0, z = 176.0 }, rot = { x = 0.0, y = 98.4, z = 0.0 }, level = 1, chest_drop_id = 1300402, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 79, gadget_id = 70210021, pos = { x = 194.6, y = 46.0, z = 176.2 }, rot = { x = 0.0, y = 257.4, z = 0.0 }, level = 1, chest_drop_id = 1300402, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 80, gadget_id = 70210021, pos = { x = 194.5, y = 46.0, z = 168.4 }, rot = { x = 0.0, y = 277.2, z = 0.0 }, level = 1, chest_drop_id = 1300402, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 81, gadget_id = 70210021, pos = { x = 191.1, y = 48.5, z = 232.2 }, rot = { x = 0.0, y = 181.6, z = 0.0 }, level = 1, chest_drop_id = 1300402, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 7, shape = RegionShape.SPHERE, radius = 5, pos = { x = 190.9, y = 42.1, z = 121.1 } },
|
||||
{ config_id = 8, shape = RegionShape.SPHERE, radius = 5, pos = { x = 191.2, y = 42.1, z = 120.8 } },
|
||||
{ config_id = 9, shape = RegionShape.SPHERE, radius = 5, pos = { x = 191.1, y = 42.1, z = 120.4 } },
|
||||
{ config_id = 10, shape = RegionShape.SPHERE, radius = 5, pos = { x = 191.9, y = 42.0, z = 118.5 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_CREATE_7", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_7", action = "action_EVENT_GADGET_CREATE_7" },
|
||||
{ name = "GADGET_STATE_CHANGE_8", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_8", action = "action_EVENT_GADGET_STATE_CHANGE_8" },
|
||||
{ name = "ANY_MONSTER_DIE_9", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_9", action = "action_EVENT_ANY_MONSTER_DIE_9" },
|
||||
{ name = "ANY_MONSTER_DIE_10", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_10", action = "action_EVENT_ANY_MONSTER_DIE_10" }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { },
|
||||
gadgets = { 24, 69, 70, 71, 78, 79, 80, 81 },
|
||||
regions = { 7, 8, 9, 10 },
|
||||
triggers = { "GADGET_CREATE_7", "GADGET_STATE_CHANGE_8", "ANY_MONSTER_DIE_9", "ANY_MONSTER_DIE_10" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_CREATE_7(context, evt)
|
||||
if 69 ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_CREATE_7(context, evt)
|
||||
-- 在当前group下创建新的变量,名称为 "MonsterDie12",初始值为0,整形,如果已经存在,返回-1
|
||||
if 0 ~= ScriptLib.CreateGroupVariable(context, "MonsterDie12", 0) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 在当前group下创建新的变量,名称为 "MonsterDie13",初始值为0,整形,如果已经存在,返回-1
|
||||
if 0 ~= ScriptLib.CreateGroupVariable(context, "MonsterDie13", 0) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 在当前group下创建新的变量,名称为 "MonsterDie14",初始值为0,整形,如果已经存在,返回-1
|
||||
if 0 ~= ScriptLib.CreateGroupVariable(context, "MonsterDie14", 0) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 在当前group下创建新的变量,名称为 "MonsterDie15",初始值为0,整形,如果已经存在,返回-1
|
||||
if 0 ~= ScriptLib.CreateGroupVariable(context, "MonsterDie15", 0) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 在当前group下创建新的变量,名称为 "MonsterDie16",初始值为0,整形,如果已经存在,返回-1
|
||||
if 0 ~= ScriptLib.CreateGroupVariable(context, "MonsterDie16", 0) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_STATE_CHANGE_8(context, evt)
|
||||
if GadgetState.GearStart ~= evt.param1 or 69 ~= evt.param2 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_STATE_CHANGE_8(context, evt)
|
||||
-- 延迟0秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 12, delay_time = 0 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 延迟0秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 13, delay_time = 0 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 延迟0秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 14, delay_time = 0 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 延迟0秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 15, delay_time = 0 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 延迟0秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 16, delay_time = 0 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_MONSTER_DIE_9(context, evt)
|
||||
if evt.type == EventType.EVENT_ANY_MONSTER_DIE and evt.param1 == 12 then
|
||||
ScriptLib.ChangeGroupVariableValue(context,"MonsterDie12",1)
|
||||
end
|
||||
|
||||
if evt.type == EventType.EVENT_ANY_MONSTER_DIE and evt.param1 == 13 then
|
||||
ScriptLib.ChangeGroupVariableValue(context,"MonsterDie13",1)
|
||||
end
|
||||
|
||||
if evt.type == EventType.EVENT_ANY_MONSTER_DIE and evt.param1 == 14 then
|
||||
ScriptLib.ChangeGroupVariableValue(context,"MonsterDie14",1)
|
||||
end
|
||||
|
||||
if evt.type == EventType.EVENT_ANY_MONSTER_DIE and evt.param1 == 15 then
|
||||
ScriptLib.ChangeGroupVariableValue(context,"MonsterDie15",1)
|
||||
end
|
||||
|
||||
if evt.type == EventType.EVENT_ANY_MONSTER_DIE and evt.param1 == 16 then
|
||||
ScriptLib.ChangeGroupVariableValue(context,"MonsterDie16",1)
|
||||
end
|
||||
|
||||
cur_12 = ScriptLib.GetGroupVariableValue(context,"MonsterDie12")
|
||||
cur_13 = ScriptLib.GetGroupVariableValue(context,"MonsterDie13")
|
||||
cur_14 = ScriptLib.GetGroupVariableValue(context,"MonsterDie14")
|
||||
cur_15 = ScriptLib.GetGroupVariableValue(context,"MonsterDie15")
|
||||
cur_16 = ScriptLib.GetGroupVariableValue(context,"MonsterDie16")
|
||||
|
||||
if cur_12 >= 1 and cur_13 >= 1 and cur_14 >= 1 and cur_15 >= 1 and cur_16 >= 1 then
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_MONSTER_DIE_9(context, evt)
|
||||
-- 延迟0秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 17, delay_time = 0 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 延迟0秒刷怪
|
||||
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 18, delay_time = 0 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 在当前group下创建新的变量,名称为 "Monster17",初始值为0,整形,如果已经存在,返回-1
|
||||
if 0 ~= ScriptLib.CreateGroupVariable(context, "Monster17", 0) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 在当前group下创建新的变量,名称为 "Monster18",初始值为0,整形,如果已经存在,返回-1
|
||||
if 0 ~= ScriptLib.CreateGroupVariable(context, "Monster18", 0) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_MONSTER_DIE_10(context, evt)
|
||||
if evt.type == EventType.EVENT_ANY_MONSTER_DIE and evt.param1 == 17 then
|
||||
ScriptLib.ChangeGroupVariableValue(context,"Monster17",1)
|
||||
end
|
||||
|
||||
if evt.type == EventType.EVENT_ANY_MONSTER_DIE and evt.param1 == 18 then
|
||||
ScriptLib.ChangeGroupVariableValue(context,"Monster18",1)
|
||||
end
|
||||
|
||||
cur_17 = ScriptLib.GetGroupVariableValue(context,"Monster17")
|
||||
cur_18 = ScriptLib.GetGroupVariableValue(context,"Monster18")
|
||||
|
||||
|
||||
if cur_17 >= 1 and cur_18 >= 1 then
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_MONSTER_DIE_10(context, evt)
|
||||
-- 将configid为 24 的物件更改为状态 GadgetState.GearStart
|
||||
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 24, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
139
soggy_resources/lua/Scene/50001/scene50001_group250001005.lua
Normal file
139
soggy_resources/lua/Scene/50001/scene50001_group250001005.lua
Normal file
@@ -0,0 +1,139 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 19, monster_id = 20010901, pos = { x = 169.1, y = 57.0, z = 335.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 20, monster_id = 21010301, pos = { x = 166.1, y = 57.0, z = 335.9 }, rot = { x = 0.0, y = 168.6, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 21, monster_id = 21010301, pos = { x = 172.3, y = 57.0, z = 340.5 }, rot = { x = 0.0, y = 181.9, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 22, monster_id = 20011501, pos = { x = 214.4, y = 57.0, z = 336.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 23, monster_id = 20011401, pos = { x = 216.4, y = 57.0, z = 339.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 24, monster_id = 20011401, pos = { x = 212.5, y = 57.0, z = 339.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0, disableWander = true }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 37, gadget_id = 70900007, pos = { x = 186.0, y = 58.4, z = 344.2 }, rot = { x = 0.0, y = 180.6, z = 0.0 }, level = 1 },
|
||||
{ config_id = 76, gadget_id = 70900008, pos = { x = 197.1, y = 58.5, z = 344.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 20, shape = RegionShape.SPHERE, radius = 5, pos = { x = 187.8, y = 58.5, z = 342.9 } },
|
||||
{ config_id = 21, shape = RegionShape.SPHERE, radius = 5, pos = { x = 196.2, y = 58.5, z = 343.1 } },
|
||||
{ config_id = 22, shape = RegionShape.SPHERE, radius = 5, pos = { x = 191.7, y = 58.0, z = 341.4 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "GADGET_STATE_CHANGE_20", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_20", action = "action_EVENT_GADGET_STATE_CHANGE_20" },
|
||||
{ name = "GADGET_STATE_CHANGE_21", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_21", action = "action_EVENT_GADGET_STATE_CHANGE_21" },
|
||||
{ name = "VARIABLE_CHANGE_22", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_22", action = "action_EVENT_VARIABLE_CHANGE_22" }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
{ name = "Key", value = 0, persistent = false }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { },
|
||||
gadgets = { 37, 76 },
|
||||
regions = { 20, 21, 22 },
|
||||
triggers = { "GADGET_STATE_CHANGE_20", "GADGET_STATE_CHANGE_21", "VARIABLE_CHANGE_22" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_STATE_CHANGE_20(context, evt)
|
||||
if 37 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_STATE_CHANGE_20(context, evt)
|
||||
-- 针对当前group内变量名为 "Key" 的变量,进行修改,变化值为 1
|
||||
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "Key", 1) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_GADGET_STATE_CHANGE_21(context, evt)
|
||||
if 76 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_GADGET_STATE_CHANGE_21(context, evt)
|
||||
-- 针对当前group内变量名为 "Key" 的变量,进行修改,变化值为 1
|
||||
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "Key", 1) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_VARIABLE_CHANGE_22(context, evt)
|
||||
-- 判断变量"Key"为2
|
||||
if ScriptLib.GetGroupVariableValue(context, "Key") ~= 2 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_VARIABLE_CHANGE_22(context, evt)
|
||||
-- 改变指定group组250001003中, configid为34的gadget的state
|
||||
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 250001003, 34, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
@@ -0,0 +1,98 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 25, monster_id = 23040101, pos = { x = 191.5, y = 57.0, z = 382.1 }, rot = { x = 0.0, y = 179.8, z = 0.0 }, level = 0, affix = { 1001, 1002, 1003 }, isElite = true, pose_id = 101 },
|
||||
{ config_id = 26, monster_id = 21030101, pos = { x = 200.6, y = 57.0, z = 379.5 }, rot = { x = 0.0, y = 267.5, z = 0.0 }, level = 0, disableWander = true, affix = { 1002 }, isElite = true },
|
||||
{ config_id = 27, monster_id = 21010301, pos = { x = 183.1, y = 57.1, z = 370.2 }, rot = { x = 0.0, y = 100.0, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 28, monster_id = 21010301, pos = { x = 200.5, y = 57.0, z = 369.9 }, rot = { x = 0.0, y = 268.3, z = 0.0 }, level = 0, disableWander = true },
|
||||
{ config_id = 33, monster_id = 21030101, pos = { x = 182.8, y = 57.0, z = 379.3 }, rot = { x = 0.0, y = 53.4, z = 0.0 }, level = 0, disableWander = true, affix = { 1002 }, isElite = true }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
{ config_id = 38, gadget_id = 70210051, pos = { x = 191.7, y = 57.0, z = 387.7 }, rot = { x = 0.0, y = 178.3, z = 0.0 }, level = 1, chest_drop_id = 1300400, showcutscene = true, type = GadgetType.GADGET_DUNGEON_PASS_CHEST },
|
||||
{ config_id = 39, gadget_id = 70210031, pos = { x = 194.3, y = 57.0, z = 390.3 }, rot = { x = 0.0, y = 178.4, z = 0.0 }, level = 1, chest_drop_id = 1300404, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
|
||||
{ config_id = 40, gadget_id = 70210031, pos = { x = 189.6, y = 57.1, z = 390.1 }, rot = { x = 0.0, y = 181.1, z = 0.0 }, level = 1, chest_drop_id = 1300404, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST }
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 14, shape = RegionShape.SPHERE, radius = 5, pos = { x = 191.9, y = 57.0, z = 387.6 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "DUNGEON_SETTLE_14", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "", action = "action_EVENT_DUNGEON_SETTLE_14" }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 1,
|
||||
rand_suite = true,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = suite_1,
|
||||
monsters = { 25, 26, 27, 28, 33 },
|
||||
gadgets = { },
|
||||
regions = { 14 },
|
||||
triggers = { "DUNGEON_SETTLE_14" },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_DUNGEON_SETTLE_14(context, evt)
|
||||
-- 创生gadget 38
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 38 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 创生gadget 39
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 39 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 创生gadget 40
|
||||
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 40 }) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
107
soggy_resources/lua/Scene/50001/scene50001_group250001007.lua
Normal file
107
soggy_resources/lua/Scene/50001/scene50001_group250001007.lua
Normal file
@@ -0,0 +1,107 @@
|
||||
--================================================================
|
||||
--
|
||||
-- 配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 怪物
|
||||
monsters = {
|
||||
{ config_id = 34, monster_id = 20011201, pos = { x = 153.3, y = 39.5, z = 115.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 35, monster_id = 20011201, pos = { x = 153.2, y = 39.5, z = 120.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 36, monster_id = 20011201, pos = { x = 152.7, y = 39.5, z = 125.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 37, monster_id = 20011201, pos = { x = 148.3, y = 39.6, z = 116.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
|
||||
{ config_id = 38, monster_id = 20011201, pos = { x = 148.5, y = 39.5, z = 124.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 }
|
||||
}
|
||||
|
||||
-- NPC
|
||||
npcs = {
|
||||
}
|
||||
|
||||
-- 装置
|
||||
gadgets = {
|
||||
}
|
||||
|
||||
-- 区域
|
||||
regions = {
|
||||
{ config_id = 2, shape = RegionShape.SPHERE, radius = 5, pos = { x = 169.0, y = 42.0, z = 121.4 } }
|
||||
}
|
||||
|
||||
-- 触发器
|
||||
triggers = {
|
||||
{ name = "ANY_MONSTER_DIE_2", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2", action = "action_EVENT_ANY_MONSTER_DIE_2" }
|
||||
}
|
||||
|
||||
-- 变量
|
||||
variables = {
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 初始化配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 初始化时创建
|
||||
init_config = {
|
||||
suite = 2,
|
||||
rand_suite = false,
|
||||
npcs = { }
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 小组配置
|
||||
--
|
||||
--================================================================
|
||||
|
||||
suites = {
|
||||
{
|
||||
-- suite_id = 0,
|
||||
-- description = ,
|
||||
monsters = { 34, 35, 36, 37, 38 },
|
||||
gadgets = { },
|
||||
regions = { 2 },
|
||||
triggers = { "ANY_MONSTER_DIE_2" },
|
||||
rand_weight = 100
|
||||
},
|
||||
{
|
||||
-- suite_id = 1,
|
||||
-- description = suite_2,
|
||||
monsters = { },
|
||||
gadgets = { },
|
||||
regions = { },
|
||||
triggers = { },
|
||||
rand_weight = 100
|
||||
}
|
||||
}
|
||||
|
||||
--================================================================
|
||||
--
|
||||
-- 触发器
|
||||
--
|
||||
--================================================================
|
||||
|
||||
-- 触发条件
|
||||
function condition_EVENT_ANY_MONSTER_DIE_2(context, evt)
|
||||
-- 判断剩余怪物数量是否是0
|
||||
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
-- 触发操作
|
||||
function action_EVENT_ANY_MONSTER_DIE_2(context, evt)
|
||||
-- 改变指定group组250001003中, configid为77的gadget的state
|
||||
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 250001003, 77, GadgetState.Default) then
|
||||
return -1
|
||||
end
|
||||
|
||||
-- 改变指定group组250001003中, configid为23的gadget的state
|
||||
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 250001003, 23, GadgetState.GearStart) then
|
||||
return -1
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
431
soggy_resources/lua/Scene/50001/scene50001_point.json
Normal file
431
soggy_resources/lua/Scene/50001/scene50001_point.json
Normal file
@@ -0,0 +1,431 @@
|
||||
{
|
||||
"radius": 100.0,
|
||||
"points": {
|
||||
"1": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonWayPoint",
|
||||
"gadgetId": 70120003,
|
||||
"pos": {
|
||||
"x": 210.516571,
|
||||
"y": 45.8745537,
|
||||
"z": 174.348465
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 270.480957,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"size": {
|
||||
"x": 20.0,
|
||||
"y": 10.0,
|
||||
"z": 10.0
|
||||
},
|
||||
"isBoss": false,
|
||||
"groupIds": []
|
||||
},
|
||||
"2": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonWayPoint",
|
||||
"gadgetId": 70120003,
|
||||
"pos": {
|
||||
"x": 185.752182,
|
||||
"y": 50.5161858,
|
||||
"z": 289.6355
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 359.784943,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"size": {
|
||||
"x": 20.0,
|
||||
"y": 10.0,
|
||||
"z": 10.0
|
||||
},
|
||||
"isBoss": false,
|
||||
"groupIds": []
|
||||
},
|
||||
"3": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonQuitPoint",
|
||||
"gadgetId": 70120004,
|
||||
"pos": {
|
||||
"x": 191.42038,
|
||||
"y": 59.264,
|
||||
"z": 399.7656
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"size": {
|
||||
"x": 3.0,
|
||||
"y": 3.0,
|
||||
"z": 3.0
|
||||
},
|
||||
"titleTextID": "UI_DUNGEON_EXIT"
|
||||
},
|
||||
"4": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonWayPoint",
|
||||
"gadgetId": 70120003,
|
||||
"pos": {
|
||||
"x": -6.373415,
|
||||
"y": 47.0166054,
|
||||
"z": 54.6456375
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"size": {
|
||||
"x": 20.0,
|
||||
"y": 10.0,
|
||||
"z": 10.0
|
||||
},
|
||||
"isBoss": false,
|
||||
"groupIds": []
|
||||
},
|
||||
"5": {
|
||||
"type": "NORMAL",
|
||||
"$type": "DungeonWayPoint",
|
||||
"gadgetId": 70120003,
|
||||
"pos": {
|
||||
"x": 161.969223,
|
||||
"y": 39.1870956,
|
||||
"z": 113.416687
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 358.392334,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"cutsceneList": [],
|
||||
"worktopGroupId": 250001004,
|
||||
"size": {
|
||||
"x": 20.0,
|
||||
"y": 10.0,
|
||||
"z": 10.0
|
||||
},
|
||||
"isBoss": false,
|
||||
"groupIds": []
|
||||
}
|
||||
},
|
||||
"areas": {},
|
||||
"forces": {
|
||||
"1": {
|
||||
"$type": "ConfigAirflowField",
|
||||
"pos": {
|
||||
"x": 173.4494,
|
||||
"y": -50.0,
|
||||
"z": 209.937317
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"gadgetId": 40200001,
|
||||
"up": true,
|
||||
"scale": 1.0,
|
||||
"velocity": 10.0
|
||||
},
|
||||
"2": {
|
||||
"$type": "ConfigAirflowField",
|
||||
"pos": {
|
||||
"x": 201.254089,
|
||||
"y": -43.0,
|
||||
"z": 232.751038
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"gadgetId": 40200001,
|
||||
"up": true,
|
||||
"scale": 1.0,
|
||||
"velocity": 10.0
|
||||
},
|
||||
"3": {
|
||||
"$type": "ConfigAirflowField",
|
||||
"pos": {
|
||||
"x": 169.597137,
|
||||
"y": -43.6088524,
|
||||
"z": 263.248352
|
||||
},
|
||||
"rot": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"areaId": 0,
|
||||
"unlocked": true,
|
||||
"gadgetId": 40200001,
|
||||
"up": true,
|
||||
"scale": 1.0,
|
||||
"velocity": 10.0
|
||||
}
|
||||
},
|
||||
"entities": {
|
||||
"1": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 17.98103,
|
||||
"y": 44.9809761,
|
||||
"z": 11.5455971
|
||||
},
|
||||
"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": 5.0,
|
||||
"centerType": "Center",
|
||||
"width": 5.0,
|
||||
"length": 15.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"2": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 19.3063736,
|
||||
"y": 46.17604,
|
||||
"z": 11.432723
|
||||
},
|
||||
"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": 5.0,
|
||||
"length": 15.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"3": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 176.607468,
|
||||
"y": -17.5811882,
|
||||
"z": 157.52948
|
||||
},
|
||||
"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": 100.0,
|
||||
"centerType": "Center",
|
||||
"width": 500.0,
|
||||
"length": 500.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"4": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": -36.1316223,
|
||||
"y": 38.87184,
|
||||
"z": 31.5985966
|
||||
},
|
||||
"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": 30.0,
|
||||
"centerType": "Center",
|
||||
"width": 30.0,
|
||||
"length": 30.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"5": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": -32.5732765,
|
||||
"y": 41.8779678,
|
||||
"z": 5.6879425
|
||||
},
|
||||
"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": 30.0,
|
||||
"centerType": "Center",
|
||||
"width": 30.0,
|
||||
"length": 30.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"6": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 218.287582,
|
||||
"y": -46.5383034,
|
||||
"z": 590.915344
|
||||
},
|
||||
"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": 100.0,
|
||||
"centerType": "Center",
|
||||
"width": 500.0,
|
||||
"length": 500.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
},
|
||||
"7": {
|
||||
"$type": "ConfigLocalTrigger",
|
||||
"gadgetId": 70010006,
|
||||
"pos": {
|
||||
"x": 99.7259445,
|
||||
"y": 17.13752,
|
||||
"z": 211.148
|
||||
},
|
||||
"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": 50.0,
|
||||
"centerType": "Center",
|
||||
"width": 100.0,
|
||||
"length": 100.0
|
||||
},
|
||||
"checkCount": 0,
|
||||
"vectorParam": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"floatParam": 0.0
|
||||
}
|
||||
},
|
||||
"doors": {}
|
||||
}
|
Reference in New Issue
Block a user