添加配置表

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,23 @@
-- 地图配置
scene_config = {
begin_pos = { x = -4096.0, z = -4096.0 },
size = { x = 7168.0, z = 7168.0 },
born_pos = { x = 283.255, y = 396.138, z = 842.769 },
born_rot = { x = 0.000, y = 158.746, z = 0.000 },
die_y = 360,
vision_anchor = { x = -4096.0, z = -4096.0 }
}
-- 所有的区块
blocks = { 2002 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -4096.0, z = -4096.0 }, max = { x = 3072.0, z = 3072.0 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,11 @@
-- 所有的group
groups = {
{ id = 420020001, refresh_id = 1, pos = { x = 334.270, y = 396.806, z = 763.600 } },
{ id = 420020002, refresh_id = 1, pos = { x = 334.270, y = 396.806, z = 763.600 } },
{ id = 420020003, refresh_id = 1, pos = { x = 334.270, y = 396.806, z = 763.600 } },
{ id = 420020004, refresh_id = 1, pos = { x = 334.270, y = 396.806, z = 763.600 } },
{ id = 420020005, refresh_id = 1, pos = { x = 334.270, y = 396.806, z = 763.600 } },
{ id = 420020006, refresh_id = 1, pos = { x = 334.270, y = 396.806, z = 763.600 } },
{ id = 420020007, refresh_id = 1, pos = { x = 334.270, y = 396.806, z = 763.600 } },
{ id = 420020008, refresh_id = 1, pos = { x = 334.270, y = 396.806, z = 763.600 } }
}

View File

@@ -0,0 +1,8 @@
dummy_points = {
["Q7165401Paimon"] = { pos = { x = 312.155, y = 396.399, z = 767.614 }, rot = { x = 0.000, y = 261.510, z = 0.000 } },
["Q7165401Player"] = { pos = { x = 310.705, y = 396.399, z = 767.367 }, rot = { x = 0.000, y = 79.000, z = 0.000 } },
["Q7165408HuLing"] = { pos = { x = 337.521, y = 399.021, z = 772.879 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q71654HuLing"] = { pos = { x = 337.555, y = 399.031, z = 772.855 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q71654Paimon"] = { pos = { x = 336.369, y = 397.487, z = 772.852 }, rot = { x = 0.000, y = 100.500, z = 0.000 } },
["Q71654Player"] = { pos = { x = 336.510, y = 397.487, z = 773.783 }, rot = { x = 0.000, y = 126.490, z = 0.000 } }
}

View File

@@ -0,0 +1,171 @@
-- 基础信息
local base_info = {
group_id = 420020001
}
-- DEFS_MISCS
-- 家园Group物件 001 计时器
local defs = {
GalleryID = 410001,
StartConfig = 1001,
EndConfig = 1002,
Operator = 1004,
EnterRegionConfig = 1005,
LeaveRegionConfig = 1006,
}
function CheckUidNoExist(context,enterUid)
local uidList = ScriptLib.GetGalleryUidList(context,defs.GalleryID)
for i = 1,#uidList do
if enterUid == uidList[i] then
return false
end
end
return true
end
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1001, gadget_id = 77307001, pos = { x = 343.489, y = 396.806, z = 763.674 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1002, gadget_id = 77307002, pos = { x = 325.188, y = 396.806, z = 763.510 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 跟随1001的操作台
{ config_id = 1004, gadget_id = 70360001, pos = { x = 343.473, y = 396.806, z = 763.636 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, follow_entity = 1001 }
}
-- 区域
regions = {
-- 当玩家进入时,触发结束。
{ config_id = 1005, shape = RegionShape.SPHERE, radius = 2, pos = { x = 325.188, y = 396.806, z = 763.510 }, follow_entity = 1002 },
-- 当玩家离开时触发切换Authority切换。
{ config_id = 1006, shape = RegionShape.SPHERE, radius = 40, pos = { x = 325.188, y = 396.806, z = 763.510 } }
}
-- 触发器
triggers = {
-- 当玩家进入时,触发结束。
{ config_id = 1001005, name = "ENTER_REGION_1005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_1005", trigger_count = 0, forbid_guest = false, follow_entity = 1002 },
-- 当玩家离开时触发切换Authority切换。
{ config_id = 1001006, name = "LEAVE_REGION_1006", event = EventType.EVENT_LEAVE_REGION, source = "", condition = "", action = "action_EVENT_LEAVE_REGION_1006", trigger_count = 0, forbid_guest = false },
{ config_id = 1001007, name = "GADGET_CREATE_1007", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_1007", trigger_count = 0 },
{ config_id = 1001008, name = "GALLERY_STOP_1008", event = EventType.EVENT_GALLERY_STOP, source = "", condition = "", action = "action_EVENT_GALLERY_STOP_1008", trigger_count = 0 },
{ config_id = 1001009, name = "SELECT_OPTION_1009", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_1009", trigger_count = 0, forbid_guest = false }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1001, 1002, 1004 },
regions = { 1005, 1006 },
triggers = { "ENTER_REGION_1005", "LEAVE_REGION_1006", "GADGET_CREATE_1007", "GALLERY_STOP_1008", "SELECT_OPTION_1009" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_1005(context, evt)
-- 增加检查玩家uid是否合法的逻辑
local tempStart = ScriptLib.GetGroupTempValue(context, "TempStart",{})
local enterUid = context.uid
if evt.param1 ~= defs.EnterRegionConfig or 0 == tempStart or CheckUidNoExist(context,enterUid) then
return 0
end
ScriptLib.PrintContextLog(context, "## TD_玩法套装_计时器 : 完成玩法的玩家uid是 "..enterUid)
ScriptLib.UpdatePlayerGalleryScore(context, defs.GalleryID, {["uid"] = enterUid})
ScriptLib.StopGallery(context, defs.GalleryID, false)
return 0
end
-- 触发操作
function action_EVENT_LEAVE_REGION_1006(context, evt)
if evt.param1 ~= defs.LeaveRegionConfig then
return 0
end
ScriptLib.PrintContextLog(context, "## TD_玩法套装_计时器 : 离开玩家的uid是 "..context.uid)
local ret = ScriptLib.TryReallocateEntityAuthority(context, context.uid, defs.EndConfig, evt.param1)
ScriptLib.PrintContextLog(context, "## TD_玩法套装_计时器 : 切换的玩家是 = "..ret)
return 0
end
-- 触发操作
function action_EVENT_GADGET_CREATE_1007(context, evt)
ScriptLib.PrintContextLog(context, "##TD Gadget".. evt.param2 .."ConfigID为".. evt.param1 .. "创生了")
if 70360001 == evt.param2 then
ScriptLib.PrintContextLog(context, "##TD Gadget 符合条件Gadget创生了")
ScriptLib.SetWorktopOptionsByGroupId(context, 0, evt.param1, {325})
ScriptLib.SetGroupTempValue(context, "TempStart", 0, {})
end
return 0
end
-- 触发操作
function action_EVENT_GALLERY_STOP_1008(context, evt)
ScriptLib.SetWorktopOptionsByGroupId(context, 0, defs.Operator, {325})
ScriptLib.SetGroupTempValue(context, "TempStart", 0, {})
ScriptLib.SetGadgetStateByConfigId(context, defs.EndConfig,0)
return 0
end
-- 触发操作
function action_EVENT_SELECT_OPTION_1009(context, evt)
-- 将参与玩家录入到数据中
local uidList=ScriptLib.GetSceneUidList(context)
if ScriptLib.StartHomeGallery(context, defs.GalleryID,context.uid)
==-1 then
ScriptLib.SendServerMessageByLuaKey(context, "HOMEOWRLD_DUPLICATE_GALLERY", {context.uid})
return 0
end
ScriptLib.SetGroupTempValue(context, "TempStart", 1, {})
ScriptLib.DelWorktopOption(context, evt.param2)
ScriptLib.SetGadgetStateByConfigId(context, defs.EndConfig,201)
return 0
end

View File

@@ -0,0 +1,129 @@
-- 基础信息
local base_info = {
group_id = 420020002
}
-- DEFS_MISCS
-- 家园Group物件 002 计分器
local defs = {
ScoreCid = 2001,
PedalCid = 2002,
Operator = 2003,
}
local keyName = "SGV_ScoringShelf_01"
function EnterField(context, evt)
-- 获取ScoreCid的计数
local countNum = ScriptLib.GetGroupTempValue(context, keyName, {})
-- 使ScoreCid增加1个计数
countNum = countNum + 1
if countNum > 10 then
countNum = 10
end
-- 将计数传递给物件
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, countNum)
-- 清空物件参数
ScriptLib.SetGroupTempValue(context, keyName, countNum, {})
return 0
end
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2001, gadget_id = 77307004, pos = { x = 334.270, y = 396.806, z = 763.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ScoringShelf_01"]= 0} },
{ config_id = 2002, gadget_id = 77307008, pos = { x = 334.270, y = 396.806, z = 768.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2003, gadget_id = 70360001, pos = { x = 337.055, y = 396.806, z = 765.146 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, worktop_config = { init_options = { 326 } }, follow_entity = 2001 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1002004, name = "GADGET_CREATE_2004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_2004", trigger_count = 0 },
{ config_id = 1002005, name = "SELECT_OPTION_2005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_2005", trigger_count = 0, forbid_guest = false }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 2001, 2002, 2003 },
regions = { },
triggers = { "GADGET_CREATE_2004", "SELECT_OPTION_2005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_GADGET_CREATE_2004(context, evt)
if defs.ScoreCid ~= evt.param1 then
return 0
end
-- 归零
ScriptLib.SetGroupTempValue(context, keyName, 0, {})
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0)
return 0
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2005(context, evt)
-- 判断是gadgetid Operator option_id 326
if defs.Operator ~= evt.param1 or 326 ~= evt.param2 then
return 0
end
-- 归零
ScriptLib.SetGroupTempValue(context, keyName, 0, {})
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0)
return 0
end

View File

@@ -0,0 +1,129 @@
-- 基础信息
local base_info = {
group_id = 420020003
}
-- DEFS_MISCS
-- 家园Group物件 002 计分器
local defs = {
ScoreCid = 3001,
PedalCid = 3002,
Operator = 3003,
}
local keyName = "SGV_ScoringShelf_01"
function EnterField(context, evt)
-- 获取ScoreCid的计数
local countNum = ScriptLib.GetGroupTempValue(context, keyName, {})
-- 使ScoreCid增加1个计数
countNum = countNum + 1
if countNum > 10 then
countNum = 10
end
-- 将计数传递给物件
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, countNum)
-- 清空物件参数
ScriptLib.SetGroupTempValue(context, keyName, countNum, {})
return 0
end
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 3001, gadget_id = 77307005, pos = { x = 334.270, y = 396.806, z = 763.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ScoringShelf_01"]= 0} },
{ config_id = 3002, gadget_id = 77307009, pos = { x = 334.270, y = 396.806, z = 768.600 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 3003, gadget_id = 70360001, pos = { x = 335.846, y = 396.806, z = 761.309 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, worktop_config = { init_options = { 326 } }, follow_entity = 3001 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1003004, name = "GADGET_CREATE_3004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_3004", trigger_count = 0 },
{ config_id = 1003005, name = "SELECT_OPTION_3005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_3005", trigger_count = 0, forbid_guest = false }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 3001, 3002, 3003 },
regions = { },
triggers = { "GADGET_CREATE_3004", "SELECT_OPTION_3005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_GADGET_CREATE_3004(context, evt)
if defs.ScoreCid ~= evt.param1 then
return 0
end
-- 归零
ScriptLib.SetGroupTempValue(context, keyName, 0, {})
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0)
return 0
end
-- 触发操作
function action_EVENT_SELECT_OPTION_3005(context, evt)
-- 判断是gadgetid Operator option_id 326
if defs.Operator ~= evt.param1 or 326 ~= evt.param2 then
return 0
end
-- 归零
ScriptLib.SetGroupTempValue(context, keyName, 0, {})
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0)
return 0
end

View File

@@ -0,0 +1,129 @@
-- 基础信息
local base_info = {
group_id = 420020004
}
-- DEFS_MISCS
-- 家园Group物件 002 计分器
local defs = {
ScoreCid = 4001,
PedalCid = 4002,
Operator = 4003,
}
local keyName = "SGV_ScoringShelf_01"
function EnterField(context, evt)
-- 获取ScoreCid的计数
local countNum = ScriptLib.GetGroupTempValue(context, keyName, {})
-- 使ScoreCid增加1个计数
countNum = countNum + 1
if countNum > 10 then
countNum = 10
end
-- 将计数传递给物件
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, countNum)
-- 清空物件参数
ScriptLib.SetGroupTempValue(context, keyName, countNum, {})
return 0
end
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 4001, gadget_id = 77307006, pos = { x = 334.270, y = 396.806, z = 763.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ScoringShelf_01"]= 0} },
{ config_id = 4002, gadget_id = 77307010, pos = { x = 334.270, y = 396.806, z = 768.600 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 4003, gadget_id = 70360001, pos = { x = 324.237, y = 396.806, z = 761.134 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, worktop_config = { init_options = { 326 } }, follow_entity = 4001 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1004004, name = "GADGET_CREATE_4004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_4004", trigger_count = 0 },
{ config_id = 1004005, name = "SELECT_OPTION_4005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_4005", trigger_count = 0, forbid_guest = false }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 4001, 4002, 4003 },
regions = { },
triggers = { "GADGET_CREATE_4004", "SELECT_OPTION_4005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_GADGET_CREATE_4004(context, evt)
if defs.ScoreCid ~= evt.param1 then
return 0
end
-- 归零
ScriptLib.SetGroupTempValue(context, keyName, 0, {})
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0)
return 0
end
-- 触发操作
function action_EVENT_SELECT_OPTION_4005(context, evt)
-- 判断是gadgetid Operator option_id 326
if defs.Operator ~= evt.param1 or 326 ~= evt.param2 then
return 0
end
-- 归零
ScriptLib.SetGroupTempValue(context, keyName, 0, {})
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0)
return 0
end

View File

@@ -0,0 +1,129 @@
-- 基础信息
local base_info = {
group_id = 420020005
}
-- DEFS_MISCS
-- 家园Group物件 002 计分器
local defs = {
ScoreCid = 5001,
PedalCid = 5002,
Operator = 5003,
}
local keyName = "SGV_ScoringShelf_01"
function EnterField(context, evt)
-- 获取ScoreCid的计数
local countNum = ScriptLib.GetGroupTempValue(context, keyName, {})
-- 使ScoreCid增加1个计数
countNum = countNum + 1
if countNum > 10 then
countNum = 10
end
-- 将计数传递给物件
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, countNum)
-- 清空物件参数
ScriptLib.SetGroupTempValue(context, keyName, countNum, {})
return 0
end
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 5001, gadget_id = 77307007, pos = { x = 334.270, y = 396.806, z = 763.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = { ["SGV_ScoringShelf_01"]= 0} },
{ config_id = 5002, gadget_id = 77307011, pos = { x = 334.270, y = 396.806, z = 768.600 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 5003, gadget_id = 70360001, pos = { x = 333.975, y = 396.806, z = 761.135 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true, worktop_config = { init_options = { 326 } }, follow_entity = 5001 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1005004, name = "GADGET_CREATE_5004", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "", action = "action_EVENT_GADGET_CREATE_5004", trigger_count = 0 },
{ config_id = 1005005, name = "SELECT_OPTION_5005", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_5005", trigger_count = 0, forbid_guest = false }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 5001, 5002, 5003 },
regions = { },
triggers = { "GADGET_CREATE_5004", "SELECT_OPTION_5005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_GADGET_CREATE_5004(context, evt)
if defs.ScoreCid ~= evt.param1 then
return 0
end
-- 归零
ScriptLib.SetGroupTempValue(context, keyName, 0, {})
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0)
return 0
end
-- 触发操作
function action_EVENT_SELECT_OPTION_5005(context, evt)
-- 判断是gadgetid Operator option_id 326
if defs.Operator ~= evt.param1 or 326 ~= evt.param2 then
return 0
end
-- 归零
ScriptLib.SetGroupTempValue(context, keyName, 0, {})
ScriptLib.SetEntityServerGlobalValueByConfigId(context, defs.ScoreCid, keyName, 0)
return 0
end

View File

@@ -0,0 +1,125 @@
-- 基础信息
local base_info = {
group_id = 420020006
}
-- DEFS_MISCS
local galleryID = 0
local boardID = 6001
local areaID = 6002
local suitID = 2
local areaID_2 = 6012
local suitID_2 = 3
local groupID = 202001006
local intervalTime = {15}
local lowScore = 20
local highScore = 40
local randomSize = {
{weight = 10, size = {x= 3, y= 3, z= 3}},
{weight = 20, size = {x= 5, y= 3, z= 5}},
{weight = 10, size = {x= 10, y= 5, z= 10}},
{weight = 20, size = {x= 5, y= 5, z= 5}},
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
-- 看板
{ config_id = 6001, gadget_id = 77307012, pos = { x = 334.493, y = 396.806, z = 790.800 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 区域
{ config_id = 6002, gadget_id = 77307013, pos = { x = 334.493, y = 396.806, z = 766.800 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6003, gadget_id = 77307014, pos = { x = 325.027, y = 403.207, z = 764.974 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6004, gadget_id = 77307014, pos = { x = 330.181, y = 403.624, z = 765.477 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6005, gadget_id = 77307014, pos = { x = 336.357, y = 404.771, z = 758.034 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6008, gadget_id = 77307015, pos = { x = 344.541, y = 396.806, z = 765.575 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6009, gadget_id = 77307015, pos = { x = 328.696, y = 396.806, z = 763.163 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 区域2
{ config_id = 6012, gadget_id = 77307013, pos = { x = 334.493, y = 408.806, z = 766.800 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6013, gadget_id = 77307014, pos = { x = 325.181, y = 411.611, z = 765.639 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6014, gadget_id = 77307014, pos = { x = 331.214, y = 411.611, z = 770.686 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6015, gadget_id = 77307014, pos = { x = 339.544, y = 411.611, z = 773.668 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6017, gadget_id = 77307015, pos = { x = 325.133, y = 411.611, z = 775.645 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6018, gadget_id = 77307015, pos = { x = 332.690, y = 411.611, z = 766.803 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 6001, 6002, 6012 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 6003, 6004, 6005, 6008, 6009 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 6013, 6014, 6015, 6017, 6018 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "V2_5/HM_BalloonGallery"

View File

@@ -0,0 +1,86 @@
-- 基础信息
local base_info = {
group_id = 420020007
}
-- Trigger变量
local defs = {
challengeTime = 2,
delayTime = 5
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7001, gadget_id = 77307017, pos = { x = 334.394, y = 396.806, z = 771.262 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7002, gadget_id = 77307016, pos = { x = 328.846, y = 396.806, z = 767.359 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7003, gadget_id = 77307016, pos = { x = 334.257, y = 396.806, z = 767.496 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7004, gadget_id = 77307016, pos = { x = 340.162, y = 396.806, z = 767.235 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7005, gadget_id = 77307016, pos = { x = 329.547, y = 396.806, z = 762.072 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7006, gadget_id = 77307016, pos = { x = 334.295, y = 396.806, z = 762.243 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7007, gadget_id = 77307016, pos = { x = 339.728, y = 396.806, z = 762.293 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 7001, 7002, 7003, 7004, 7005, 7006, 7007 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "V2_6/HM_WoodenStakeChallenge"

View File

@@ -0,0 +1,95 @@
-- 基础信息
local base_info = {
group_id = 420020008
}
-- Trigger变量
local defs = {
Game_Time = 150,
Stage_Time = 30,
Stage_Tubby_Count = 4,
Tubby_Count = 12
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 8001, gadget_id = 77307018, pos = { x = 334.270, y = 396.806, z = 763.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8002, gadget_id = 77307019, pos = { x = 336.270, y = 397.048, z = 763.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8003, gadget_id = 77307019, pos = { x = 338.270, y = 397.048, z = 763.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8004, gadget_id = 77307019, pos = { x = 332.270, y = 397.048, z = 763.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8005, gadget_id = 77307019, pos = { x = 330.270, y = 397.048, z = 763.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8006, gadget_id = 77307019, pos = { x = 332.270, y = 397.048, z = 761.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8007, gadget_id = 77307019, pos = { x = 334.270, y = 397.048, z = 761.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8008, gadget_id = 77307019, pos = { x = 336.270, y = 397.048, z = 761.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8009, gadget_id = 77307019, pos = { x = 334.270, y = 397.048, z = 759.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8010, gadget_id = 77307019, pos = { x = 336.270, y = 397.048, z = 765.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8011, gadget_id = 77307019, pos = { x = 334.270, y = 397.048, z = 765.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8012, gadget_id = 77307019, pos = { x = 332.270, y = 397.048, z = 765.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true },
{ config_id = 8013, gadget_id = 77307019, pos = { x = 334.270, y = 397.048, z = 767.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_guest_can_operate = true }
}
-- 区域
regions = {
{ config_id = 8014, shape = RegionShape.SPHERE, radius = 1000, pos = { x = 334.270, y = 396.806, z = 763.600 }, follow_entity = 8001, team_ability_group_list = { "HomeWorld_Find_Tubby_Reminder" } }
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 8001 },
regions = { 8014 },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "V2_7/HM_FindTubby"

View File

@@ -0,0 +1,150 @@
{
"sceneId": 2002,
"blockArrangementInfoList": [
{
"blockId": 1,
"persistentFurnitureList": [],
"deployFurniureList": [
{
"furnitureId": 3750102,
"spawnPos": {
"x": 347.1778,
"y": 396.3992,
"z": 761.7861
},
"spawnRot": {
"x": -0.787744939,
"y": 0,
"z": 0.616001546
},
"parentFurnitureIndex": 0
}
],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 291,
"y": 396.4,
"z": 702
},
"rot": {
"x": 0,
"y": 81,
"z": 0
}
}
]
},
{
"blockId": 2,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 312,
"y": 406.8,
"z": 594
},
"rot": {
"x": 0,
"y": -132,
"z": 0
}
}
]
},
{
"blockId": 4,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 573,
"y": 459.8,
"z": 504
},
"rot": {
"x": 0,
"y": 140,
"z": 0
}
}
]
},
{
"blockId": 3,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 497,
"y": 433.6,
"z": 620.19
},
"rot": {
"x": 0,
"y": 97,
"z": 0
}
}
]
}
],
"isSetBornPos": true,
"bornPos": {
"x": 334.933228,
"y": 397.5692,
"z": 771.20874
},
"bornRot": {
"x": 0,
"y": 308.024719,
"z": 0
},
"doorList": [],
"stairList": [],
"mainHouse": {
"furnitureId": 3750102,
"spawnPos": {
"x": 347.1778,
"y": 396.3992,
"z": 761.7861
},
"spawnRot": {
"x": 0,
"y": 308.024719,
"z": 0
},
"parentFurnitureIndex": 1
},
"comfortValue": 0,
"djinnPos": {
"x": 337.581,
"y": 397.9192,
"z": 772.8577
},
"tmpVersion": 1
}

View File

@@ -0,0 +1,74 @@
[
{
"x": 465.875183,
"y": 880.8593
},
{
"x": 415.579132,
"y": 914.237854
},
{
"x": 347.462524,
"y": 914.99176
},
{
"x": 282.884064,
"y": 925.2488
},
{
"x": 244.172714,
"y": 920.051758
},
{
"x": 197.7358,
"y": 898.963745
},
{
"x": 171.606491,
"y": 865.908936
},
{
"x": 144.4545,
"y": 835.69104
},
{
"x": 148.741547,
"y": 770.9176
},
{
"x": 154.952545,
"y": 741.2549
},
{
"x": 198.053024,
"y": 693.414551
},
{
"x": 246.405762,
"y": 684.8456
},
{
"x": 324.437744,
"y": 653.2478
},
{
"x": 388.8334,
"y": 645.47644
},
{
"x": 409.889923,
"y": 659.1466
},
{
"x": 463.5405,
"y": 704.7161
},
{
"x": 519.772949,
"y": 780.4543
},
{
"x": 505.099884,
"y": 834.936462
}
]

View File

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