添加配置表

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 = -512.0, z = -512.0 },
size = { x = 1024.0, z = 1024.0 },
born_pos = { x = -0.931, y = 31.356, z = -2.560 },
born_rot = { x = 0.000, y = 0.000, z = 0.000 },
die_y = -20,
city_id = 2,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 45059 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -512.0, z = -512.0 }, max = { x = 512.0, z = 512.0 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,4 @@
-- 所有的group
groups = {
{ id = 245059001, refresh_id = 1, pos = { x = 13.404, y = 28.255, z = -6.255 } }
}

View File

@@ -0,0 +1,128 @@
-- 基础信息
local base_info = {
group_id = 245059001
}
-- DEFS_MISCS
--defs相关配置
defs = {
is_offical = true, --是否是官方关
startpoint = 1001, --起点ConfigID
connect_region = 1003,
synchronizer = 1005,
}
--misc相关配置
--官方关对应的配置非官方关可以填空List
offical_settings = {
max_lives = 10, --可以使用的命数
has_dest = 1, --是否需要到达终点如果没有终点则填0
time = 600, --时间限制如果填0表示没有时间限制
coins_collect = 40,--需要收集的金币数量如果填0表示没有金币需要收集
coins_max = 70, --场上金币总数,用在挑战的显示里
editors = {1002},
}
--房间和空气墙映射关系的配置
airwall_graph = {
[1] = {next_room = 0, airwall_suite = 0}, --房间1连接的房间中间空气墙所在的Suite
}
room_infos = {
{
room_cur = 1,
room_next = 0,
wall_connect = 0, --到下一个房间的空气墙
region_enter = 0, --弱网拦截用的
region_wall_enter = 0, --弱网拦截用的空气墙
region_self = 1006, --记录处于所属房间region
point_safe = 1004 --传送安全点的configID
},
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1001, gadget_id = 70350353, pos = { x = -0.500, y = 31.000, z = -2.537 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 1005, gadget_id = 70350430, pos = { x = -7.720, y = 43.000, z = -2.449 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 1003, shape = RegionShape.SPHERE, radius = 200, pos = { x = 9.562, y = 5.627, z = 14.900 } },
{ config_id = 1006, shape = RegionShape.SPHERE, radius = 100, pos = { x = 9.562, y = 5.627, z = 14.900 } }
}
-- 触发器
triggers = {
{ config_id = 1001003, name = "ENTER_REGION_1003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "" }
}
-- 点位
points = {
{ config_id = 1004, pos = { x = -0.571, y = 31.432, z = -2.690 }, rot = { x = 0.000, y = 0.000, z = 0.000 } }
}
-- 变量
variables = {
}
-- 废弃数据
garbages = {
gadgets = {
{ config_id = 1002, gadget_id = 70360002, pos = { x = -2.487, y = 31.000, z = 2.536 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 }
}
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1001 },
regions = { 1003, 1006 },
triggers = { "ENTER_REGION_1003" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

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