This commit is contained in:
Akbar Yahya
2022-11-21 16:30:31 +08:00
commit e0d4d8040c
3326 changed files with 683000 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
-- 地图配置
scene_config = {
begin_pos = { x = -1037.5, z = -261.2 },
size = { x = 1387.3, z = 803.8 },
born_pos = { x = 36.2, y = 10.2, z = 2.1 },
born_rot = { x = 0.0, y = 257.4, z = 0.0 },
die_y = -250
}
-- 所有的区块
blocks = { 20001 }

View File

@@ -0,0 +1,4 @@
{
"sceneId": 20001,
"routes": []
}

View File

@@ -0,0 +1,6 @@
-- 所有的group
groups = {
{ id = 220001001, refresh_time = 60, pos = { x = -142.1, y = 10.1, z = 11.4 } },
{ id = 220001002, refresh_time = 60, pos = { x = -146.6, y = 10.1, z = 3.7 } },
{ id = 220001003, refresh_time = 0, pos = { x = -27.8, y = 16.4, z = -5.2 } }
}

View File

@@ -0,0 +1,69 @@
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 1, monster_id = 21010301, pos = { x = -258.5, y = 60.9, z = 21.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 20 },
{ config_id = 2, monster_id = 21010301, pos = { x = -257.3, y = 23.3, z = 23.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 20 },
{ config_id = 6, monster_id = 20011301, pos = { x = -252.1, y = 23.3, z = 26.8 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 20 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
rand_suite = true,
npcs = { }
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 0,
-- description = suite_1,
monsters = { 1, 2, 6 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,92 @@
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 3, monster_id = 20011201, pos = { x = -150.3, y = 10.1, z = 7.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 20, ban_excel_drop = true },
{ config_id = 4, monster_id = 20011201, pos = { x = -148.9, y = 10.1, z = 0.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 20 },
{ config_id = 5, monster_id = 20011201, pos = { x = -144.0, y = 10.1, z = 3.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 20, ban_excel_drop = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 11, gadget_id = 70210012, pos = { x = -145.4, y = 10.1, z = 8.4 }, rot = { x = 0.0, y = 321.3, z = 0.0 }, level = 1, chest_drop_id = 201000, state = GadgetState.ChestLocked }
}
-- 区域
regions = {
{ config_id = 1, shape = RegionShape.SPHERE, radius = 5, pos = { x = -145.2, y = 10.1, z = 8.2 } }
}
-- 触发器
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" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
rand_suite = true,
npcs = { }
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 0,
-- description = suite_1,
monsters = { 3, 4, 5 },
gadgets = { 11 },
regions = { 1 },
triggers = { "ANY_MONSTER_DIE_1" },
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)
-- 解锁目标11
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 11, state = GadgetState.Default }) then
return -1
end
return 0
end

View File

@@ -0,0 +1,69 @@
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 12, gadget_id = 70320002, pos = { x = -30.2, y = 16.4, z = -12.4 }, rot = { x = 0.0, y = 91.9, z = 0.0 }, level = 1 },
{ config_id = 13, gadget_id = 70320002, pos = { x = -30.1, y = 16.4, z = 0.8 }, rot = { x = 0.0, y = 92.4, z = 0.0 }, level = 10 },
{ config_id = 14, gadget_id = 70320002, pos = { x = -35.1, y = 16.4, z = -5.6 }, rot = { x = 0.0, y = 94.9, z = 0.0 }, level = 5 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
rand_suite = true,
npcs = { }
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 0,
-- description = suite_1,
monsters = { },
gadgets = { 12, 13, 14 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,76 @@
{
"radius": 100.0,
"points": {
"1": {
"$type": "DungeonQuitPoint",
"gadgetId": 70010005,
"pos": {
"x": 42,
"y": 11,
"z": -2.8,
},
"size": {
"x": 10,
"y": 10,
"z": 10
},
}
},
"areas": {},
"forces": {
"4": {
"$type": "ConfigAirflowField",
"pos": {
"x": -2.44498873,
"y": 15.5173073,
"z": 0.232948542
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"unlocked": true,
"gadgetId": 40200001,
"up": true,
"scale": 1.5,
"velocity": 10.0
},
"5": {
"$type": "ConfigAirflowField",
"pos": {
"x": 11.5077486,
"y": 13.057066,
"z": 0.830474854
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"unlocked": true,
"gadgetId": 40200001,
"up": true,
"velocity": 10.0
},
"6": {
"$type": "ConfigAirflowField",
"pos": {
"x": 31.5596218,
"y": 10.16954,
"z": 1.10957181
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"unlocked": true,
"gadgetId": 40200001,
"up": true,
"scale": 0.75,
"velocity": 10.0
}
},
"entities": {}
}