添加配置表

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 = -1000.0, z = -1000.0 },
size = { x = 5000.0, z = 5000.0 },
born_pos = { x = 1.680, y = 4.790, z = 37.063 },
born_rot = { x = 0.000, y = 0.000, z = 0.000 },
die_y = -999,
city_id = 2,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 1051 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -1000.0, z = -1000.0 }, max = { x = 4000.0, z = 4000.0 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,6 @@
-- 所有的group
groups = {
{ id = 201051001, pos = { x = -0.834, y = -1.900, z = 62.596 } },
{ id = 201051002, pos = { x = 1.628, y = -1.900, z = 58.868 } },
{ id = 201051003, refresh_id = 1002, pos = { x = -4.018, y = -1.900, z = 64.935 } }
}

View File

@@ -0,0 +1,19 @@
dummy_points = {
["Q102401Born"] = { pos = { x = 1.394, y = 4.284, z = 40.901 }, rot = { x = 0.000, y = 209.810, z = 0.000 } },
["Q102401Ganyu"] = { pos = { x = 0.444, y = 4.284, z = 39.472 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q102401Keqing"] = { pos = { x = -0.254, y = 4.284, z = 41.041 }, rot = { x = 0.000, y = 175.930, z = 0.000 } },
["Q102401Ningguang"] = { pos = { x = 1.447, y = 4.284, z = 39.406 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q102401Paimon"] = { pos = { x = 0.727, y = 4.284, z = 41.097 }, rot = { x = 0.000, y = 203.970, z = 0.000 } },
["Q102401Ping"] = { pos = { x = 0.830, y = 4.284, z = 37.707 }, rot = { x = 0.000, y = 0.600, z = 0.000 } },
["Q102401QYJ1"] = { pos = { x = 5.663, y = 4.248, z = 32.868 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q102401QYJ2"] = { pos = { x = 2.615, y = 4.248, z = 31.026 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q102401QYJ3"] = { pos = { x = -0.246, y = 4.248, z = 30.657 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q102401QYJ4"] = { pos = { x = -3.662, y = 4.248, z = 31.615 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q102401QYJ5"] = { pos = { x = -5.230, y = 4.248, z = 34.612 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q102401Xian1"] = { pos = { x = 2.226, y = 4.284, z = 40.502 }, rot = { x = 0.000, y = 238.910, z = 0.000 } },
["Q102401Xian2"] = { pos = { x = -1.131, y = 4.284, z = 41.058 }, rot = { x = 0.000, y = 181.670, z = 0.000 } },
["Q102401Xian3"] = { pos = { x = -0.685, y = 4.284, z = 38.729 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q102401Xiao"] = { pos = { x = 2.239, y = 4.284, z = 38.451 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q102404Ningguang"] = { pos = { x = 0.147, y = 19.633, z = 20.618 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q102404Start"] = { pos = { x = 0.178, y = -1.870, z = 53.745 }, rot = { x = 0.000, y = 0.000, z = 0.000 } }
}

View File

@@ -0,0 +1,71 @@
-- 基础信息
local base_info = {
group_id = 201051001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,93 @@
-- 基础信息
local base_info = {
group_id = 201051002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
{ config_id = 2001, shape = RegionShape.SPHERE, radius = 15, pos = { x = -0.163, y = 3.531, z = 63.704 } }
}
-- 触发器
triggers = {
{ config_id = 1002001, name = "ENTER_REGION_2001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2001", action = "action_EVENT_ENTER_REGION_2001" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 2001 },
triggers = { "ENTER_REGION_2001" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_2001(context, evt)
if evt.param1 ~= 2001 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_2001(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 201051003, 3)
return 0
end

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,84 @@
{
"areas": {},
"doors": {},
"entities": {},
"forces": {},
"points": {
"1": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": 0.08681715,
"y": -1.899998,
"z": 65.29417
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 5.0,
"y": 5.0,
"z": 5.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
},
"2": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70360001,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 0.7229937,
"y": -1.9,
"z": 52.14088
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 20.0,
"y": 20.0,
"z": 20.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
}
},
"transRadius": 0.0
}