添加配置表

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 = 400.0, z = 400.0 },
size = { x = 200.0, z = 200.0 },
born_pos = { x = 510.237, y = 100.542, z = 492.500 },
born_rot = { x = 0.000, y = 250.000, z = 0.000 },
die_y = -20,
city_id = 3,
vision_anchor = { x = 400.0, z = 400.0 }
}
-- 所有的区块
blocks = { 50058 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = 400.0, z = 400.0 }, max = { x = 600.0, z = 600.0 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { }
@@ -0,0 +1,4 @@
-- 所有的group
groups = {
{ id = 250058001, refresh_id = 1004, pos = { x = 492.116, y = 100.542, z = 488.233 } }
}
@@ -0,0 +1,101 @@
-- 基础信息
local base_info = {
group_id = 250058001
}
-- DEFS_MISCS
local defs = {
BossConfigID = 1001,
GroupID = 250058001,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 1001, monster_id = 29060102, pos = { x = 492.312, y = 100.542, z = 488.196 }, rot = { x = 0.000, y = 70.000, z = 0.000 }, level = 1, title_id = 152, special_name_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1001002, name = "SPECIFIC_MONSTER_HP_CHANGE_1002", event = EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE, source = "1001", condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_1002", action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_1002" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 1001 },
gadgets = { },
regions = { },
triggers = { "SPECIFIC_MONSTER_HP_CHANGE_1002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_1002(context, evt)
--[[判断指定configid的怪物的血量小于%2时触发指定后续操作]]--
if evt.type ~= EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE or evt.param3 > 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_1002(context, evt)
-- 移除指定monster
ScriptLib.RemoveEntityByConfigId(context, 250058001, EntityType.MONSTER, 1001)
return 0
end
require "V2_1/Boss_Shougun_Beta"
@@ -0,0 +1,8 @@
{
"areas": {},
"doors": {},
"entities": {},
"forces": {},
"points": {},
"transRadius": 0.0
}