添加配置表

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 = 863.285, y = 318.155, z = 174.559 },
born_rot = { x = 0.000, y = 315.575, z = 0.000 },
die_y = 300,
vision_anchor = { x = -4096.0, z = -4096.0 }
}
-- 所有的区块
blocks = { 2001 }
-- 所有的区块范围坐标
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 = 420010001, refresh_id = 1, pos = { x = 813.600, y = 318.155, z = 128.600 } },
{ id = 420010002, refresh_id = 1, pos = { x = 813.600, y = 318.155, z = 128.600 } },
{ id = 420010003, refresh_id = 1, pos = { x = 813.600, y = 318.155, z = 128.600 } },
{ id = 420010004, refresh_id = 1, pos = { x = 813.600, y = 318.155, z = 128.600 } },
{ id = 420010005, refresh_id = 1, pos = { x = 813.600, y = 318.155, z = 128.600 } },
{ id = 420010006, refresh_id = 1, pos = { x = 813.600, y = 318.155, z = 128.600 } },
{ id = 420010007, refresh_id = 1, pos = { x = 813.600, y = 318.155, z = 128.600 } },
{ id = 420010008, refresh_id = 1, pos = { x = 813.600, y = 318.155, z = 128.600 } }
}

View File

@@ -0,0 +1,7 @@
dummy_points = {
["Q7165401Paimon"] = { pos = { x = 815.715, y = 318.155, z = 90.446 }, rot = { x = 0.000, y = 125.040, z = 0.000 } },
["Q7165401Player"] = { pos = { x = 816.789, y = 318.155, z = 89.646 }, rot = { x = 0.000, y = 308.500, z = 0.000 } },
["Q71654HuLing"] = { pos = { x = 795.667, y = 321.192, z = 110.074 }, rot = { x = 0.000, y = 33.060, z = 0.000 } },
["Q71654Paimon"] = { pos = { x = 796.521, y = 319.244, z = 109.376 }, rot = { x = 0.000, y = 315.050, z = 0.000 } },
["Q71654Player"] = { pos = { x = 795.515, y = 319.244, z = 109.093 }, rot = { x = 0.000, y = 7.310, z = 0.000 } }
}

View File

@@ -0,0 +1,171 @@
-- 基础信息
local base_info = {
group_id = 420010001
}
-- 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 = 822.819, y = 318.155, z = 128.674 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1002, gadget_id = 77307002, pos = { x = 804.518, y = 318.155, z = 128.510 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 跟随1001的操作台
{ config_id = 1004, gadget_id = 70360001, pos = { x = 822.803, y = 318.155, z = 128.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 = 804.518, y = 318.155, z = 128.510 }, follow_entity = 1002 },
-- 当玩家离开时触发切换Authority切换。
{ config_id = 1006, shape = RegionShape.SPHERE, radius = 40, pos = { x = 804.518, y = 318.155, z = 128.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 = 420010002
}
-- 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 = 813.600, y = 318.155, z = 128.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 = 813.600, y = 318.155, z = 133.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2003, gadget_id = 70360001, pos = { x = 816.385, y = 318.155, z = 130.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 = 420010003
}
-- 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 = 813.600, y = 318.155, z = 128.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 = 813.600, y = 318.155, z = 133.600 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 3003, gadget_id = 70360001, pos = { x = 815.176, y = 318.155, z = 126.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 = 420010004
}
-- 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 = 813.600, y = 318.155, z = 128.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 = 813.600, y = 318.155, z = 133.600 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 4003, gadget_id = 70360001, pos = { x = 803.567, y = 318.155, z = 126.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 = 420010005
}
-- 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 = 813.600, y = 318.155, z = 128.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 = 813.600, y = 318.155, z = 133.600 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 5003, gadget_id = 70360001, pos = { x = 813.305, y = 318.155, z = 126.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 = 420010006
}
-- 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 = 813.823, y = 318.155, z = 155.800 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 区域
{ config_id = 6002, gadget_id = 77307013, pos = { x = 813.823, y = 318.155, z = 131.800 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6003, gadget_id = 77307014, pos = { x = 804.357, y = 324.556, z = 129.974 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6004, gadget_id = 77307014, pos = { x = 809.511, y = 324.973, z = 130.477 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6005, gadget_id = 77307014, pos = { x = 815.687, y = 326.120, z = 123.034 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6008, gadget_id = 77307015, pos = { x = 823.871, y = 318.155, z = 130.575 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6009, gadget_id = 77307015, pos = { x = 808.026, y = 318.155, z = 128.163 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 区域2
{ config_id = 6012, gadget_id = 77307013, pos = { x = 813.823, y = 330.155, z = 131.800 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6013, gadget_id = 77307014, pos = { x = 804.511, y = 332.960, z = 130.639 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6014, gadget_id = 77307014, pos = { x = 810.544, y = 332.960, z = 135.686 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6015, gadget_id = 77307014, pos = { x = 818.874, y = 332.960, z = 138.668 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6017, gadget_id = 77307015, pos = { x = 804.463, y = 332.960, z = 140.645 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6018, gadget_id = 77307015, pos = { x = 812.020, y = 332.960, z = 131.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 = 420010007
}
-- Trigger变量
local defs = {
challengeTime = 2,
delayTime = 5
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7001, gadget_id = 77307017, pos = { x = 813.724, y = 318.155, z = 136.262 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7002, gadget_id = 77307016, pos = { x = 808.176, y = 318.155, z = 132.359 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7003, gadget_id = 77307016, pos = { x = 813.587, y = 318.155, z = 132.496 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7004, gadget_id = 77307016, pos = { x = 819.492, y = 318.155, z = 132.235 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7005, gadget_id = 77307016, pos = { x = 808.877, y = 318.155, z = 127.072 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7006, gadget_id = 77307016, pos = { x = 813.625, y = 318.155, z = 127.243 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7007, gadget_id = 77307016, pos = { x = 819.058, y = 318.155, z = 127.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 = 420010008
}
-- 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 = 813.600, y = 318.155, z = 128.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8002, gadget_id = 77307019, pos = { x = 815.600, y = 318.397, z = 128.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 = 817.600, y = 318.397, z = 128.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 = 811.600, y = 318.397, z = 128.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 = 809.600, y = 318.397, z = 128.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 = 811.600, y = 318.397, z = 126.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 = 813.600, y = 318.397, z = 126.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 = 815.600, y = 318.397, z = 126.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 = 813.600, y = 318.397, z = 124.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 = 815.600, y = 318.397, z = 130.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 = 813.600, y = 318.397, z = 130.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 = 811.600, y = 318.397, z = 130.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 = 813.600, y = 318.397, z = 132.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 = 813.600, y = 318.155, z = 128.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,154 @@
{
"sceneId": 2001,
"blockArrangementInfoList": [
{
"blockId": 1,
"persistentFurnitureList": [],
"deployFurniureList": [
{
"furnitureId": 3750102,
"spawnPos": {
"x": 800.5,
"y": 318.1564,
"z": 124
},
"spawnRot": {
"x": 0,
"y": 188.155365,
"z": 0
},
"parentFurnitureIndex": 0
}
],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 792,
"y": 316.7,
"z": 192
},
"rot": {
"x": 0,
"y": 176,
"z": 0
}
}
],
"dotPatternList": []
},
{
"blockId": 2,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 740,
"y": 341,
"z": 311
},
"rot": {
"x": 0,
"y": 31,
"z": 0
}
}
],
"dotPatternList": []
},
{
"blockId": 3,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 673,
"y": 411.6,
"z": 551
},
"rot": {
"x": 0,
"y": 36,
"z": 0
}
}
],
"dotPatternList": []
},
{
"blockId": 4,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 256,
"y": 524.2,
"z": 766
},
"rot": {
"x": 0,
"y": -55,
"z": 0
}
}
],
"dotPatternList": []
}
],
"isSetBornPos": true,
"bornPos": {
"x": 798.427063,
"y": 319.326416,
"z": 108.689224
},
"bornRot": {
"x": 0,
"y": 188.155365,
"z": 0
},
"doorList": [],
"stairList": [],
"mainHouse": {
"furnitureId": 3750102,
"spawnPos": {
"x": 800.5,
"y": 318.1564,
"z": 124
},
"spawnRot": {
"x": 0,
"y": 188.155365,
"z": 0
},
"parentFurnitureIndex": 1
},
"comfortValue": 0,
"djinnPos": {
"x": 795.6785,
"y": 319.6764,
"z": 110.164047
},
"tmpVersion": 2
}

View File

@@ -0,0 +1,118 @@
[
{
"x": 673.087158,
"y": -2.9789505
},
{
"x": 673.087158,
"y": -2.9789505
},
{
"x": 620.4106,
"y": 50.043293
},
{
"x": 620.4106,
"y": 50.043293
},
{
"x": 618.934631,
"y": 155.991623
},
{
"x": 618.934631,
"y": 155.991623
},
{
"x": 654.1553,
"y": 219.056732
},
{
"x": 654.1553,
"y": 219.056732
},
{
"x": 695.185242,
"y": 260.121765
},
{
"x": 695.185242,
"y": 260.121765
},
{
"x": 695.185242,
"y": 260.121765
},
{
"x": 743.705139,
"y": 285.9174
},
{
"x": 743.705139,
"y": 285.9174
},
{
"x": 855.087341,
"y": 334.19458
},
{
"x": 855.087341,
"y": 334.19458
},
{
"x": 942.3615,
"y": 219.193527
},
{
"x": 942.3615,
"y": 219.193527
},
{
"x": 971.354858,
"y": 179.393845
},
{
"x": 971.354858,
"y": 179.393845
},
{
"x": 968.7145,
"y": 104.532524
},
{
"x": 968.7145,
"y": 104.532524
},
{
"x": 933.122559,
"y": 35.34855
},
{
"x": 933.122559,
"y": 35.34855
},
{
"x": 891.9337,
"y": 4.872818
},
{
"x": 891.9337,
"y": 4.872818
},
{
"x": 813.895569,
"y": -7.291088
},
{
"x": 813.895569,
"y": -7.291088
},
{
"x": 743.1814,
"y": -37.10578
},
{
"x": 743.1814,
"y": -37.10578
}
]

View File

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