更新配置表

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

View File

@@ -1,9 +1,9 @@
-- 地图配置
scene_config = {
begin_pos = { x = -4187.4, z = -3460.9 },
size = { x = 6000.0, z = 6000.0 },
born_pos = { x = 12.751, y = 256.754, z = 11.635 },
born_rot = { x = 0.000, y = 197.109, z = 0.000 },
begin_pos = { x = -441.3, z = -269.4 },
size = { x = 770.9, z = 536.0 },
born_pos = { x = -40.458, y = 10.761, z = -18.375 },
born_rot = { x = 0.000, y = 2.315, z = 0.000 },
die_y = -772.8866,
city_id = 2,
vision_anchor = { x = -4187.4, z = -3460.9 }
@@ -14,7 +14,7 @@ blocks = { 1019 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -4187.4, z = -3460.9 }, max = { x = 1812.6, z = 2539.1 } }
{ min = { x = -441.3, z = -269.4 }, max = { x = 329.6, z = 266.6 } }
}
-- Dummy Points

View File

@@ -1,7 +1,4 @@
-- 所有的group
groups = {
{ id = 201019001, refresh_id = 1002, pos = { x = 97.248, y = 16.500, z = -19.380 } },
{ id = 201019002, refresh_id = 1001, pos = { x = 68.710, y = 16.500, z = 1.018 } },
{ id = 201019003, refresh_id = 1001, pos = { x = 62.731, y = 16.500, z = -2.712 } },
{ id = 201019004, refresh_id = 1002, pos = { x = -183.280, y = 17.642, z = 11.676 } }
{ id = 201019005, refresh_id = 1, pos = { x = -44.354, y = 10.140, z = -7.051 } }
}

View File

@@ -1,93 +0,0 @@
-- 基础信息
local base_info = {
group_id = 201019001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 1001, monster_id = 22010101, pos = { x = 68.674, y = 16.500, z = -3.164 }, rot = { x = 0.000, y = 92.950, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1001002, name = "MONSTER_BATTLE_1002", event = EventType.EVENT_MONSTER_BATTLE, source = "", condition = "condition_EVENT_MONSTER_BATTLE_1002", action = "action_EVENT_MONSTER_BATTLE_1002" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 1001 },
gadgets = { },
regions = { },
triggers = { "MONSTER_BATTLE_1002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_MONSTER_BATTLE_1002(context, evt)
if 1001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_BATTLE_1002(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201019002, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end

View File

@@ -1,107 +0,0 @@
-- 基础信息
local base_info = {
group_id = 201019002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 2001, monster_id = 21010201, pos = { x = 58.573, y = 16.500, z = -10.540 }, rot = { x = 0.000, y = 47.646, z = 0.000 }, level = 1 },
{ config_id = 2002, monster_id = 21010201, pos = { x = 58.621, y = 16.500, z = 5.389 }, rot = { x = 0.000, y = 109.451, z = 0.000 }, level = 1 },
{ config_id = 2003, monster_id = 21010201, pos = { x = 55.574, y = 16.500, z = -2.216 }, rot = { x = 0.000, y = 102.518, z = 0.000 }, level = 1 },
{ config_id = 2004, monster_id = 21010201, pos = { x = 68.159, y = 16.500, z = -11.791 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2005, monster_id = 21010201, pos = { x = 67.541, y = 16.500, z = 8.025 }, rot = { x = 0.000, y = 170.982, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1002006, name = "ANY_MONSTER_DIE_2006", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2006", action = "action_EVENT_ANY_MONSTER_DIE_2006" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 2,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 2001, 2002, 2003, 2004, 2005 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_2006" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_2006(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 201019002) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_2006(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 201019003, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end

View File

@@ -1,85 +0,0 @@
-- 基础信息
local base_info = {
group_id = 201019003
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 3001, monster_id = 20011201, pos = { x = 62.336, y = 16.500, z = 7.321 }, rot = { x = 0.000, y = 142.973, z = 0.000 }, level = 1 },
{ config_id = 3002, monster_id = 20011201, pos = { x = 54.566, y = 16.500, z = 1.809 }, rot = { x = 0.000, y = 0.000, z = 8.024 }, level = 1 },
{ config_id = 3003, monster_id = 20011201, pos = { x = 58.732, y = 16.500, z = -8.416 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3004, monster_id = 20011201, pos = { x = 68.808, y = 16.500, z = -13.380 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3005, monster_id = 20011201, pos = { x = 73.597, y = 16.500, z = 8.653 }, rot = { x = 0.000, y = 226.592, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 2,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 3001, 3002, 3003, 3004, 3005 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -1,72 +0,0 @@
-- 基础信息
local base_info = {
group_id = 201019004
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 4001, monster_id = 22010201, pos = { x = -185.301, y = 17.654, z = 10.635 }, rot = { x = 0.000, y = 90.438, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 4001 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,79 @@
-- 基础信息
local base_info = {
group_id = 201019005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 5001, gadget_id = 70290577, pos = { x = -45.535, y = 10.102, z = -10.430 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5002, gadget_id = 70290577, pos = { x = -47.860, y = 17.950, z = -10.567 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5003, gadget_id = 70290577, pos = { x = -83.777, y = 20.693, z = -10.758 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5004, gadget_id = 70290577, pos = { x = -78.491, y = 20.728, z = 0.824 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5005, gadget_id = 70290577, pos = { x = -69.290, y = 21.044, z = 10.292 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5006, gadget_id = 70290577, pos = { x = -62.335, y = 25.306, z = 13.967 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5007, gadget_id = 70290577, pos = { x = -57.884, y = 30.701, z = 13.825 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5008, gadget_id = 70220103, pos = { x = -84.146, y = 30.867, z = -10.572 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 5001, 5002, 5003, 5004, 5005, 5006, 5007, 5008 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -13,9 +13,9 @@
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": -208.0965,
"y": 17.74627,
"z": 9.49345
"x": -48.08945,
"y": 59.27388,
"z": 85.04768
},
"rot": {
"x": 0.0,