添加配置表

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 = -256.0, z = -256.0 },
size = { x = 1500.0, z = 1500.0 },
born_pos = { x = 0.000, y = 0.000, z = -8.628 },
born_rot = { x = 0.000, y = 0.000, z = 0.000 },
die_y = -20,
city_id = 3,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 20122 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -256.0, z = -256.0 }, max = { x = 1244.0, z = 1244.0 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,5 @@
-- 所有的group
groups = {
{ id = 220122001, pos = { x = 0.379, y = 0.000, z = -4.287 }, business = { type = 1 } },
{ id = 220122002, pos = { x = 0.554, y = 0.000, z = -2.395 }, business = { type = 1 } }
}

View File

@@ -0,0 +1,9 @@
dummy_points = {
["Q1204111_N1036"] = { pos = { x = 1.334, y = 0.000, z = -6.104 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q1204113_N1036"] = { pos = { x = 1.334, y = 0.000, z = -6.104 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q1204206_N1036"] = { pos = { x = 0.353, y = 0.000, z = -5.810 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q1204208_N1036"] = { pos = { x = -0.482, y = 0.000, z = -5.923 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["T1204203_T1204204_T1204105_T1204106_N10000005"] = { pos = { x = -1.243, y = 0.000, z = -7.696 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["T1204203_T1204204_T1204105_T1204106_N1005"] = { pos = { x = -1.243, y = 0.000, z = -7.696 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["T1204203_T1204204_T1204105_T1204106_N12379"] = { pos = { x = -0.257, y = 0.000, z = 4.057 }, rot = { x = 0.000, y = 166.207, z = 0.000 } }
}

View File

@@ -0,0 +1,128 @@
-- 基础信息
local base_info = {
group_id = 220122001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 1001, monster_id = 29060201, pos = { x = 0.000, y = 0.000, z = 0.000 }, rot = { x = 0.000, y = 171.520, z = 0.000 }, level = 1, title_id = 153, special_name_id = 11 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1001002, name = "ANY_MONSTER_DIE_1002", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1002", action = "action_EVENT_ANY_MONSTER_DIE_1002" },
{ config_id = 1001003, name = "QUEST_START_1003", event = EventType.EVENT_QUEST_START, source = "1204112", condition = "", action = "action_EVENT_QUEST_START_1003", trigger_count = 0 },
{ config_id = 1001004, name = "TIMER_EVENT_1004", event = EventType.EVENT_TIMER_EVENT, source = "playreminder", condition = "", action = "action_EVENT_TIMER_EVENT_1004" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "QUEST_START_1003", "TIMER_EVENT_1004" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 1001 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_1002", "QUEST_START_1003", "TIMER_EVENT_1004" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_1002(context, evt)
--判断死亡怪物的configid是否为 1001
if evt.param1 ~= 1001 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_1002(context, evt)
-- 通知任务系统完成条件类型"LUA通知"复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "1204112") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_QUEST_START_1003(context, evt)
-- 延迟3秒后,向groupId为220122001的对象,请求一次调用,并将string参数"playreminder" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220122001, "playreminder", 3) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_1004(context, evt)
-- 调用提示id为 201220104 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 201220104) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,113 @@
-- 基础信息
local base_info = {
group_id = 220122002
}
-- DEFS_MISCS
function SLC_SetTransfromState( context)
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : 设置雷军二阶段SGV")
ScriptLib.SetEntityServerGlobalValueByEntityId(context, context.target_entity_id, "SGV_MONSTER_SHOUGUN_MITAKENARUKAMI_TRANSFORM", 1)
return 0
end
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 2001, monster_id = 29060202, pos = { x = 0.000, y = 0.000, z = 0.000 }, rot = { x = 0.000, y = 171.520, z = 0.000 }, level = 1, title_id = 153, special_name_id = 11 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1002002, name = "ANY_MONSTER_DIE_2002", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2002", action = "action_EVENT_ANY_MONSTER_DIE_2002" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 2001 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_2002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_2002(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 220122002) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_2002(context, evt)
-- 通知任务系统完成条件类型"LUA通知"复杂参数为quest_param的进度+1
if 0 ~= ScriptLib.AddQuestProgress(context, "1204207") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress")
return -1
end
return 0
end

View File

@@ -0,0 +1,45 @@
{
"areas": {},
"doors": {},
"entities": {},
"forces": {},
"points": {
"1": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": 0.3665076,
"y": 1.982245E-06,
"z": -12.16693
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 3.0,
"y": 3.0,
"z": 3.0
},
"tranPos": {
"x": 492.445984,
"y": 100.541504,
"z": 488.328064
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "TOWER",
"unlocked": false
}
},
"transRadius": 0.0
}

View File

@@ -0,0 +1,32 @@
[
{
"area_id": 10080,
"isAccurateBorder": true,
"points": [
{
"x": -1.406761,
"y": -55.67357
},
{
"x": 51.3346,
"y": -31.3667088
},
{
"x": 54.92593,
"y": 21.7271328
},
{
"x": 5.6686,
"y": 53.2908
},
{
"x": -42.8429642,
"y": 30.4865456
},
{
"x": -49.4640121,
"y": -25.7364311
}
]
}
]