添加配置表

This commit is contained in:
flswld
2022-11-30 00:00:20 +08:00
parent f70a890338
commit d7f3f3b866
33382 changed files with 8476601 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -256.2, z = -256.2 },
size = { x = 512.3, z = 512.9 },
born_pos = { x = 0.000, y = 5.880, z = 47.397 },
born_rot = { x = 0.000, y = 180.000, z = 0.000 },
die_y = -80,
city_id = 4,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 20152 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -256.2, z = -256.2 }, max = { x = 256.2, z = 256.7 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,5 @@
-- 所有的group
groups = {
{ id = 220152001, refresh_id = 1004, pos = { x = 0.046, y = 5.800, z = 15.185 } },
{ id = 220152002, refresh_id = 1004, pos = { x = -0.119, y = -58.149, z = -0.205 } }
}

View File

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

View File

@@ -0,0 +1,101 @@
-- 基础信息
local base_info = {
group_id = 220152002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 2001, monster_id = 29070102, pos = { x = -0.172, y = -58.149, z = -0.201 }, rot = { x = 0.000, y = 32.253, z = 0.000 }, level = 1, title_id = 162 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1002002, name = "ANY_MONSTER_DIE_2002", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2002", action = "action_EVENT_ANY_MONSTER_DIE_2002" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_2002" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 2001 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_2002(context, evt)
--判断死亡怪物的configid是否为 2001
if evt.param1 ~= 2001 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_2002(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220152002, 2)
return 0
end

View File

@@ -0,0 +1,8 @@
{
"areas": {},
"doors": {},
"entities": {},
"forces": {},
"points": {},
"transRadius": 0.0
}