添加配置表

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 = 508.638, y = 382.806, z = 213.372 },
born_rot = { x = 0.000, y = 167.244, z = 0.000 },
die_y = 300,
vision_anchor = { x = -5000.0, z = -5000.0 }
}
-- 所有的区块
blocks = { 2005 }
-- 所有的区块范围坐标
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 = 420050001, refresh_id = 1, pos = { x = 554.400, y = 383.600, z = 215.900 } },
{ id = 420050002, refresh_id = 1, pos = { x = 554.400, y = 383.600, z = 215.900 } },
{ id = 420050003, refresh_id = 1, pos = { x = 554.400, y = 383.600, z = 215.900 } },
{ id = 420050004, refresh_id = 1, pos = { x = 554.400, y = 383.600, z = 215.900 } },
{ id = 420050005, refresh_id = 1, pos = { x = 554.400, y = 383.600, z = 215.900 } },
{ id = 420050006, refresh_id = 1, pos = { x = 554.400, y = 383.600, z = 215.900 } },
{ id = 420050007, refresh_id = 1, pos = { x = 554.400, y = 383.600, z = 215.900 } },
{ id = 420050008, refresh_id = 1, pos = { x = 554.400, y = 383.600, z = 215.900 } }
}

View File

@@ -0,0 +1,8 @@
dummy_points = {
["Q7165401Paimon"] = { pos = { x = 541.151, y = 382.805, z = 260.516 }, rot = { x = 0.000, y = 60.700, z = 0.000 } },
["Q7165401Player"] = { pos = { x = 543.604, y = 382.805, z = 262.033 }, rot = { x = 0.000, y = 238.400, z = 0.000 } },
["Q7165417HuLing"] = { pos = { x = 558.936, y = 407.342, z = 233.690 }, rot = { x = 0.000, y = 347.900, z = 0.000 } },
["Q71654HuLing"] = { pos = { x = 558.936, y = 405.661, z = 233.690 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
["Q71654Paimon"] = { pos = { x = 559.634, y = 405.661, z = 235.502 }, rot = { x = 0.000, y = 201.800, z = 0.000 } },
["Q71654Player"] = { pos = { x = 557.526, y = 405.661, z = 234.912 }, rot = { x = 0.000, y = 142.410, z = 0.000 } }
}

View File

@@ -0,0 +1,171 @@
-- 基础信息
local base_info = {
group_id = 420050001
}
-- 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 = 563.619, y = 383.600, z = 215.974 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1002, gadget_id = 77307002, pos = { x = 545.318, y = 383.600, z = 215.810 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 跟随1001的操作台
{ config_id = 1004, gadget_id = 70360001, pos = { x = 563.603, y = 383.600, z = 215.936 }, 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 = 545.318, y = 383.600, z = 215.810 }, follow_entity = 1002 },
-- 当玩家离开时触发切换Authority切换。
{ config_id = 1006, shape = RegionShape.SPHERE, radius = 40, pos = { x = 545.318, y = 383.600, z = 215.810 } }
}
-- 触发器
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 = 420050002
}
-- 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 = 554.400, y = 383.600, z = 215.900 }, 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 = 554.400, y = 383.600, z = 220.900 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2003, gadget_id = 70360001, pos = { x = 557.185, y = 383.600, z = 217.446 }, 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 = 420050003
}
-- 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 = 554.400, y = 383.600, z = 215.900 }, 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 = 554.400, y = 383.600, z = 220.900 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 3003, gadget_id = 70360001, pos = { x = 555.976, y = 383.600, z = 213.609 }, 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 = 420050004
}
-- 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 = 554.400, y = 383.600, z = 215.900 }, 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 = 554.400, y = 383.600, z = 220.900 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 4003, gadget_id = 70360001, pos = { x = 544.367, y = 383.600, z = 213.434 }, 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 = 420050005
}
-- 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 = 554.400, y = 383.600, z = 215.900 }, 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 = 554.400, y = 383.600, z = 220.900 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 5003, gadget_id = 70360001, pos = { x = 554.105, y = 383.600, z = 213.435 }, 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 = 420050006
}
-- 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 = 554.623, y = 383.600, z = 243.100 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 区域
{ config_id = 6002, gadget_id = 77307013, pos = { x = 554.623, y = 383.600, z = 219.100 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6003, gadget_id = 77307014, pos = { x = 545.157, y = 390.002, z = 217.274 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6004, gadget_id = 77307014, pos = { x = 550.311, y = 390.419, z = 217.777 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6005, gadget_id = 77307014, pos = { x = 556.487, y = 391.565, z = 210.334 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6008, gadget_id = 77307015, pos = { x = 564.671, y = 383.600, z = 217.875 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6009, gadget_id = 77307015, pos = { x = 548.826, y = 383.600, z = 215.463 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 区域2
{ config_id = 6012, gadget_id = 77307013, pos = { x = 554.623, y = 395.600, z = 219.100 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6013, gadget_id = 77307014, pos = { x = 545.311, y = 398.405, z = 217.939 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6014, gadget_id = 77307014, pos = { x = 551.344, y = 398.405, z = 222.986 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6015, gadget_id = 77307014, pos = { x = 559.674, y = 398.405, z = 225.968 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6017, gadget_id = 77307015, pos = { x = 545.263, y = 398.405, z = 227.945 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6018, gadget_id = 77307015, pos = { x = 552.820, y = 398.405, z = 219.103 }, 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 = 420050007
}
-- Trigger变量
local defs = {
challengeTime = 2,
delayTime = 5
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7001, gadget_id = 77307017, pos = { x = 554.524, y = 383.600, z = 223.562 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7002, gadget_id = 77307016, pos = { x = 548.976, y = 383.600, z = 219.659 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7003, gadget_id = 77307016, pos = { x = 554.387, y = 383.600, z = 219.796 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7004, gadget_id = 77307016, pos = { x = 560.292, y = 383.600, z = 219.535 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7005, gadget_id = 77307016, pos = { x = 549.677, y = 383.600, z = 214.372 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7006, gadget_id = 77307016, pos = { x = 554.425, y = 383.600, z = 214.543 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7007, gadget_id = 77307016, pos = { x = 559.858, y = 383.600, z = 214.593 }, 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 = 420050008
}
-- 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 = 554.400, y = 383.600, z = 215.900 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8002, gadget_id = 77307019, pos = { x = 556.400, y = 383.843, z = 215.900 }, 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 = 558.400, y = 383.843, z = 215.900 }, 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 = 552.400, y = 383.843, z = 215.900 }, 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 = 550.400, y = 383.843, z = 215.900 }, 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 = 552.400, y = 383.843, z = 213.900 }, 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 = 554.400, y = 383.843, z = 213.900 }, 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 = 556.400, y = 383.843, z = 213.900 }, 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 = 554.400, y = 383.843, z = 211.900 }, 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 = 556.400, y = 383.843, z = 217.900 }, 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 = 554.400, y = 383.843, z = 217.900 }, 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 = 552.400, y = 383.843, z = 217.900 }, 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 = 554.400, y = 383.843, z = 219.900 }, 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 = 554.400, y = 383.600, z = 215.900 }, 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,152 @@
{
"sceneId": 2005,
"blockArrangementInfoList": [
{
"blockId": 1,
"persistentFurnitureList": [],
"deployFurniureList": [
{
"furnitureId": 375104,
"guid": 200501000,
"spawnPos": {
"x": 554.58,
"y": 382.67,
"z": 222.7
},
"spawnRot": {
"x": 0,
"y": -13.333,
"z": 0
},
"parentFurnitureIndex": 0
}
],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 598.4011,
"y": 383.3247,
"z": 265.1324
},
"rot": {
"x": 0,
"y": 166.344,
"z": 0
}
}
]
},
{
"blockId": 2,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 398.2426,
"y": 341.3646,
"z": 275.3016
},
"rot": {
"x": 0,
"y": -21.402,
"z": 0
}
}
]
},
{
"blockId": 3,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 547.9641,
"y": 363.8971,
"z": 607.5361
},
"rot": {
"x": 0,
"y": 165.783,
"z": 0
}
}
]
},
{
"blockId": 4,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 388.8666,
"y": 385.0268,
"z": 654.8356
},
"rot": {
"x": 0,
"y": -15.442,
"z": 0
}
}
]
}
],
"isSetBornPos": true,
"bornPos": {
"x": 551.5482,
"y": 405.6609,
"z": 235.3264
},
"bornRot": {
"x": 0,
"y": -13.338,
"z": 0
},
"doorList": [],
"stairList": [],
"mainHouse": {
"furnitureId": 375104,
"guid": 200501000,
"spawnPos": {
"x": 554.58,
"y": 382.67,
"z": 222.7
},
"spawnRot": {
"x": 0,
"y": -13.333,
"z": 0
},
"parentFurnitureIndex": 1
},
"comfortValue": 0,
"djinnPos": {
"x": 558.9842,
"y": 405.661,
"z": 233.6412
},
"tmpVersion": 3
}

View File

@@ -0,0 +1,66 @@
[
{
"x": 553.35,
"y": 292.6039
},
{
"x": 512.2172,
"y": 278.3861
},
{
"x": 505.404572,
"y": 251.144073
},
{
"x": 493.832977,
"y": 230.392685
},
{
"x": 360.822632,
"y": 173.609222
},
{
"x": 280.439667,
"y": 122.547241
},
{
"x": 263.321259,
"y": 33.0819244
},
{
"x": 310.983948,
"y": -59.7255859
},
{
"x": 411.023956,
"y": -107.840126
},
{
"x": 570.2053,
"y": -113.268921
},
{
"x": 754.402466,
"y": -151.1266
},
{
"x": 798.519836,
"y": -125.360855
},
{
"x": 804.6184,
"y": -74.7349854
},
{
"x": 704.733154,
"y": 102.585159
},
{
"x": 649.2024,
"y": 239.075089
},
{
"x": 603.4863,
"y": 301.1534
}
]

View File

@@ -0,0 +1,138 @@
{
"areas": {},
"doors": {},
"entities": {
"1": {
"$type": "ConfigLocalInteractEntity",
"alias": "",
"areaId": 0,
"checkDist": 100.0,
"gadgetId": 77311002,
"groupLimit": false,
"isModelHidden": false,
"pointType": "Other",
"pos": {
"x": 390.6,
"y": 336.89,
"z": 445.4
},
"rot": {
"x": 0.0,
"y": 357.174,
"z": 0.0
},
"tranPos": {
"x": 390.6,
"y": 336.89,
"z": 445.4
},
"tranRot": {
"x": 0.0,
"y": 357.174,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false,
"withGO": false
},
"2": {
"$type": "ConfigFishpondScenePoint",
"alias": "",
"areaId": 0,
"checkDist": 100.0,
"fishBornPosList": [
{
"position": {
"x": 431.9292,
"y": 345.8,
"z": 475.12
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
{
"position": {
"x": 430.2087,
"y": 345.4,
"z": 467.617
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
{
"position": {
"x": 426.9287,
"y": 345.2,
"z": 473.6369
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
{
"position": {
"x": 421.1184,
"y": 345.25,
"z": 470.0
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
{
"position": {
"x": 430.1153,
"y": 344.4,
"z": 473.6369
},
"rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
}
],
"gadgetId": 77311001,
"groupLimit": false,
"isModelHidden": false,
"maxFishCount": 5,
"pointType": "Other",
"pos": {
"x": 426.9287,
"y": 346.1925,
"z": 473.6369
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranPos": {
"x": 426.9287,
"y": 346.1925,
"z": 473.6369
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false,
"withGO": false
}
},
"forces": {},
"points": {},
"transRadius": 0.0
}

View File

@@ -0,0 +1,112 @@
[
{
"area_id": 10138,
"points": [
{
"x": 628.583557,
"y": 308.8584
},
{
"x": 672.6673,
"y": 196.731125
},
{
"x": 630.978638,
"y": 122.456116
},
{
"x": 435.8329,
"y": 78.84447
},
{
"x": 356.178467,
"y": 194.403061
},
{
"x": 230.6577,
"y": 264.095856
},
{
"x": 256.0131,
"y": 405.859833
},
{
"x": 320.022675,
"y": 528.904663
},
{
"x": 245.308792,
"y": 680.738647
},
{
"x": 371.088135,
"y": 835.345154
},
{
"x": 491.147217,
"y": 781.715942
},
{
"x": 600.390869,
"y": 674.5165
},
{
"x": 677.4154,
"y": 523.693848
},
{
"x": 554.3074,
"y": 375.562469
}
]
},
{
"area_id": 10139,
"points": [
{
"x": 537.6851,
"y": 790.9371
},
{
"x": 385.6649,
"y": 839.8252
},
{
"x": 314.771851,
"y": 780.0467
},
{
"x": 296.2172,
"y": 676.0763
},
{
"x": 359.962067,
"y": 578.661133
},
{
"x": 349.849365,
"y": 473.1036
},
{
"x": 421.490417,
"y": 435.21048
},
{
"x": 508.800964,
"y": 456.159821
},
{
"x": 637.808044,
"y": 500.665344
},
{
"x": 655.0083,
"y": 595.4693
},
{
"x": 592.638245,
"y": 721.5866
}
]
}
]