更新配置表

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

@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -512.0, z = -512.0 },
size = { x = 1024.0, z = 1024.0 },
born_pos = { x = 38.989, y = 74.010, z = -64.277 },
born_rot = { x = 0.000, y = 90.000, z = 0.000 },
die_y = -20,
city_id = 4,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 20170 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -512.0, z = -512.0 }, max = { x = 512.0, z = 512.0 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,4 @@
-- 所有的group
groups = {
{ id = 220170001, refresh_id = 1, pos = { x = 2.563, y = 55.234, z = 38.885 } }
}

View File

@@ -0,0 +1,12 @@
dummy_points = {
["Q303106_guide"] = { pos = { x = 40.649, y = 74.015, z = -63.975 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q303106_N12947"] = { pos = { x = 40.445, y = 74.015, z = -65.171 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q303106_T303106_N10000005"] = { pos = { x = 43.679, y = 73.756, z = -64.292 }, rot = { x = 0.000, y = 264.770, z = 0.000 } },
["Q303106_T303106_N10013"] = { pos = { x = 31.945, y = 73.756, z = -66.569 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q303106_T303106_N1005"] = { pos = { x = 43.199, y = 73.756, z = -66.194 }, rot = { x = 0.000, y = 293.930, z = 0.000 } },
["Q303106_T303106_N1056"] = { pos = { x = 41.492, y = 73.877, z = -66.922 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q303106_T303106_N12660"] = { pos = { x = 34.036, y = 73.756, z = -66.191 }, rot = { x = 0.000, y = 343.230, z = 0.000 } },
["Q303106_T303106_N12695"] = { pos = { x = 31.034, y = 73.756, z = -63.035 }, rot = { x = 0.000, y = 45.860, z = 0.000 } },
["Q303106_T303106_N12947"] = { pos = { x = 43.016, y = 73.756, z = -67.359 }, rot = { x = 0.000, y = 300.090, z = 0.000 } },
["Q303106_T303106_N12998"] = { pos = { x = 32.610, y = 73.756, z = -60.647 }, rot = { x = 0.000, y = 188.850, z = 0.000 } }
}

View File

@@ -0,0 +1,134 @@
-- 基础信息
local base_info = {
group_id = 220170001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1001, gadget_id = 70350433, pos = { x = 56.170, y = 76.347, z = -64.344 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 1002, gadget_id = 70310108, pos = { x = 51.963, y = 76.347, z = -64.344 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 1004, shape = RegionShape.SPHERE, radius = 5, pos = { x = 51.963, y = 76.347, z = -64.344 } }
}
-- 触发器
triggers = {
{ config_id = 1001003, name = "QUEST_FINISH_1003", event = EventType.EVENT_QUEST_FINISH, source = "", condition = "condition_EVENT_QUEST_FINISH_1003", action = "action_EVENT_QUEST_FINISH_1003" },
{ config_id = 1001004, name = "ENTER_REGION_1004", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_1004", action = "action_EVENT_ENTER_REGION_1004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1001 },
regions = { },
triggers = { "QUEST_FINISH_1003" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 1002 },
regions = { 1004 },
triggers = { "ENTER_REGION_1004" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_QUEST_FINISH_1003(context, evt)
--检查ID为303106的任务的完成状态是否为11=完成0=失败
--此事件需要配合Quest表使用在Quest表里的完成执行中配置通知group脚本则该任务完成后服务端会向对应的group发送通知参数1填写场景ID参数2填写group ID如果不填则会通知所有group
--检查任务ID
if 303106 ~= evt.param1 then
return false
end
--检查任务成功状态
if 1 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_QUEST_FINISH_1003(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 220170001, 2)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_1004(context, evt)
if evt.param1 ~= 1004 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_1004(context, evt)
-- 通知任务系统完成条件类型"LUA通知"复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "30312201") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end

View File

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