添加配置表

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
@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -257.7, z = -286.0 },
size = { x = 515.1, z = 579.4 },
born_pos = { x = 0.070, y = 5.315, z = 43.853 },
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 = { 20168 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -257.7, z = -286.0 }, max = { x = 257.4, z = 293.4 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { }
@@ -0,0 +1,4 @@
-- 所有的group
groups = {
{ id = 220168001, refresh_id = 1004, pos = { x = 0.737, y = -58.149, z = -14.345 } }
}
@@ -0,0 +1,7 @@
dummy_points = {
["Q302807_guide"] = { pos = { x = 0.023, y = 5.748, z = 31.671 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q302807_N10000005"] = { pos = { x = -0.042, y = 5.767, z = 17.337 }, rot = { x = 0.000, y = 177.677, z = 0.000 } },
["Q302807_N1005"] = { pos = { x = 1.391, y = 5.767, z = 17.885 }, rot = { x = 0.000, y = 184.249, z = 0.000 } },
["Q302807_N1056"] = { pos = { x = -1.703, y = 5.767, z = 17.954 }, rot = { x = 0.000, y = 181.244, z = 0.000 } },
["Q302807_N12827"] = { pos = { x = 0.000, y = 5.800, z = -1.469 }, rot = { x = 0.000, y = 0.000, z = 0.000 } }
}
@@ -0,0 +1,136 @@
-- 基础信息
local base_info = {
group_id = 220168001
}
-- Trigger变量
local defs = {
phaseOneBoss = 1001,
phaseTwoBoss = 1002,
questBossAppear = 302808,
questAllAvatarDie = 302809,
questAvatarRevive = 302810,
transTarget = 1004,
phaseThreeBoss = 1007,
gadget_music_change = 1009
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 1001, monster_id = 29070101, pos = { x = 0.000, y = 5.800, z = 1.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, pose_id = 11 },
{ config_id = 1002, monster_id = 29070102, pos = { x = 0.000, y = -58.140, z = -30.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1007, monster_id = 29070105, pos = { x = 0.000, y = -58.140, z = -30.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1005, gadget_id = 70290651, pos = { x = 0.000, y = 2.700, z = -1.500 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1008, gadget_id = 70290834, pos = { x = -1.500, y = 5.530, z = 68.000 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 1009, gadget_id = 70290868, pos = { x = 36.042, y = -58.149, z = 1.936 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1010, gadget_id = 70290869, pos = { x = 0.000, y = 0.000, z = 0.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1001003, name = "ANY_MONSTER_DIE_1003", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1003", action = "action_EVENT_ANY_MONSTER_DIE_1003" }
}
-- 点位
points = {
{ config_id = 1004, pos = { x = 0.000, y = -58.149, z = 37.350 }, rot = { x = 0.000, y = 180.000, z = 0.000 } }
}
-- 变量
variables = {
}
-- 废弃数据
garbages = {
gadgets = {
{ config_id = 1006, gadget_id = 70290652, pos = { x = 0.000, y = -58.900, z = 0.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1005, 1008, 1010 },
regions = { },
triggers = { "ANY_MONSTER_DIE_1003" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 1010 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_1003(context, evt)
if 1001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_1003(context, evt)
ScriptLib.SetWeatherAreaState(context, 10143, 1)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220168001, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
require "V3_2/Boss_Battle_Process_Scaramouche_Quset"
@@ -0,0 +1,8 @@
{
"areas": {},
"doors": {},
"entities": {},
"forces": {},
"points": {},
"transRadius": 0.0
}
@@ -0,0 +1,36 @@
[
{
"area_id": 10143,
"isAccurateBorder": true,
"points": [
{
"x": 2.65138245,
"y": 128.046921
},
{
"x": 96.4369049,
"y": 74.3803558
},
{
"x": 114.482086,
"y": -5.465928
},
{
"x": 37.21926,
"y": -110.509659
},
{
"x": -32.98549,
"y": -107.046043
},
{
"x": -110.787704,
"y": -35.0808563
},
{
"x": -86.29717,
"y": 69.71173
}
]
}
]