添加配置表

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 = 227.475, y = 205.010, z = 655.097 },
born_rot = { x = 0.000, y = 130.989, z = 0.000 },
die_y = -20,
vision_anchor = { x = -4096.0, z = -4096.0 }
}
-- 所有的区块
blocks = { 2004 }
-- 所有的区块范围坐标
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 = 420040001, refresh_id = 1, pos = { x = 329.000, y = 186.550, z = 517.200 } },
{ id = 420040002, refresh_id = 1, pos = { x = 329.000, y = 186.550, z = 517.200 } },
{ id = 420040003, refresh_id = 1, pos = { x = 329.000, y = 186.550, z = 517.200 } },
{ id = 420040004, refresh_id = 1, pos = { x = 329.000, y = 186.550, z = 517.200 } },
{ id = 420040005, refresh_id = 1, pos = { x = 329.000, y = 186.550, z = 517.200 } },
{ id = 420040006, refresh_id = 1, pos = { x = 329.000, y = 186.550, z = 517.200 } },
{ id = 420040007, refresh_id = 1, pos = { x = 329.000, y = 186.550, z = 517.200 } },
{ id = 420040008, refresh_id = 1, pos = { x = 329.000, y = 186.550, z = 517.200 } }
}

View File

@@ -0,0 +1,7 @@
dummy_points = {
["Q7165401Paimon"] = { pos = { x = 287.604, y = 186.543, z = 565.536 }, rot = { x = 0.000, y = 38.000, z = 0.000 } },
["Q7165401Player"] = { pos = { x = 288.896, y = 186.571, z = 567.319 }, rot = { x = 0.000, y = 221.130, z = 0.000 } },
["Q71654HuLing"] = { pos = { x = 268.741, y = 186.543, z = 551.748 }, rot = { x = 0.000, y = 88.700, z = 0.000 } },
["Q71654Paimon"] = { pos = { x = 270.635, y = 186.543, z = 550.899 }, rot = { x = 0.000, y = 291.950, z = 0.000 } },
["Q71654Player"] = { pos = { x = 270.502, y = 186.543, z = 552.811 }, rot = { x = 0.000, y = 245.180, z = 0.000 } }
}

View File

@@ -0,0 +1,171 @@
-- 基础信息
local base_info = {
group_id = 420040001
}
-- 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 = 338.219, y = 186.550, z = 517.274 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1002, gadget_id = 77307002, pos = { x = 319.918, y = 186.550, z = 517.110 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 跟随1001的操作台
{ config_id = 1004, gadget_id = 70360001, pos = { x = 338.203, y = 186.550, z = 517.236 }, 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 = 319.918, y = 186.550, z = 517.110 }, follow_entity = 1002 },
-- 当玩家离开时触发切换Authority切换。
{ config_id = 1006, shape = RegionShape.SPHERE, radius = 40, pos = { x = 319.918, y = 186.550, z = 517.110 } }
}
-- 触发器
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 = 420040002
}
-- 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 = 329.000, y = 186.550, z = 517.200 }, 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 = 329.000, y = 186.550, z = 522.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2003, gadget_id = 70360001, pos = { x = 331.785, y = 186.550, z = 518.746 }, 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 = 420040003
}
-- 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 = 329.000, y = 186.550, z = 517.200 }, 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 = 329.000, y = 186.550, z = 522.200 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 3003, gadget_id = 70360001, pos = { x = 330.576, y = 186.550, z = 514.909 }, 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 = 420040004
}
-- 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 = 329.000, y = 186.550, z = 517.200 }, 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 = 329.000, y = 186.550, z = 522.200 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 4003, gadget_id = 70360001, pos = { x = 318.967, y = 186.550, z = 514.734 }, 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 = 420040005
}
-- 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 = 329.000, y = 186.550, z = 517.200 }, 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 = 329.000, y = 186.550, z = 522.200 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 5003, gadget_id = 70360001, pos = { x = 328.705, y = 186.550, z = 514.735 }, 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 = 420040006
}
-- 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 = 329.223, y = 186.550, z = 544.400 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 区域
{ config_id = 6002, gadget_id = 77307013, pos = { x = 329.223, y = 186.550, z = 520.400 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6003, gadget_id = 77307014, pos = { x = 319.757, y = 192.952, z = 518.574 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6004, gadget_id = 77307014, pos = { x = 324.911, y = 193.369, z = 519.077 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6005, gadget_id = 77307014, pos = { x = 331.087, y = 194.515, z = 511.634 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6008, gadget_id = 77307015, pos = { x = 339.271, y = 186.550, z = 519.175 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6009, gadget_id = 77307015, pos = { x = 323.426, y = 186.550, z = 516.763 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 区域2
{ config_id = 6012, gadget_id = 77307013, pos = { x = 329.223, y = 198.550, z = 520.400 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6013, gadget_id = 77307014, pos = { x = 319.911, y = 201.355, z = 519.239 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6014, gadget_id = 77307014, pos = { x = 325.944, y = 201.355, z = 524.286 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6015, gadget_id = 77307014, pos = { x = 334.274, y = 201.355, z = 527.268 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6017, gadget_id = 77307015, pos = { x = 319.863, y = 201.355, z = 529.245 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6018, gadget_id = 77307015, pos = { x = 327.420, y = 201.355, z = 520.403 }, 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 = 420040007
}
-- Trigger变量
local defs = {
challengeTime = 2,
delayTime = 5
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7001, gadget_id = 77307017, pos = { x = 329.124, y = 186.550, z = 524.862 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7002, gadget_id = 77307016, pos = { x = 323.576, y = 186.550, z = 520.959 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7003, gadget_id = 77307016, pos = { x = 328.987, y = 186.550, z = 521.096 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7004, gadget_id = 77307016, pos = { x = 334.892, y = 186.550, z = 520.835 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7005, gadget_id = 77307016, pos = { x = 324.277, y = 186.550, z = 515.672 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7006, gadget_id = 77307016, pos = { x = 329.025, y = 186.550, z = 515.843 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7007, gadget_id = 77307016, pos = { x = 334.458, y = 186.550, z = 515.893 }, 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 = 420040008
}
-- 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 = 329.000, y = 186.550, z = 517.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8002, gadget_id = 77307019, pos = { x = 331.000, y = 186.793, z = 517.200 }, 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 = 333.000, y = 186.793, z = 517.200 }, 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 = 327.000, y = 186.793, z = 517.200 }, 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 = 325.000, y = 186.793, z = 517.200 }, 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 = 327.000, y = 186.793, z = 515.200 }, 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 = 329.000, y = 186.793, z = 515.200 }, 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 = 331.000, y = 186.793, z = 515.200 }, 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 = 329.000, y = 186.793, z = 513.200 }, 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 = 331.000, y = 186.793, z = 519.200 }, 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 = 329.000, y = 186.793, z = 519.200 }, 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 = 327.000, y = 186.793, z = 519.200 }, 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 = 329.000, y = 186.793, z = 521.200 }, 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 = 329.000, y = 186.550, z = 517.200 }, 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": 2004,
"blockArrangementInfoList": [
{
"blockId": 1,
"persistentFurnitureList": [],
"deployFurniureList": [
{
"furnitureId": 375103,
"spawnPos": {
"x": 259.04,
"y": 186.537,
"z": 540.78
},
"spawnRot": {
"x": 0,
"y": 90,
"z": 0
},
"parentFurnitureIndex": 0
}
],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 170.37,
"y": 206.62,
"z": 568.67
},
"rot": {
"x": 0,
"y": -47.81,
"z": 0
}
}
]
},
{
"blockId": 2,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 295.25,
"y": 204.08,
"z": 404.26
},
"rot": {
"x": 0,
"y": -64.3,
"z": 0
}
}
]
},
{
"blockId": 3,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 620.76,
"y": 204.37,
"z": 407.60
},
"rot": {
"x": 0,
"y": -32.24,
"z": 0
}
}
]
},
{
"blockId": 4,
"persistentFurnitureList": [],
"deployFurniureList": [],
"deployNpcList": [],
"furnitureSuiteList": [],
"deployAnimalList": [],
"isUnlocked": false,
"comfortValue": 0,
"weekendDjinnInfoList": [
{
"pos": {
"x": 777.42,
"y": 205.22,
"z": 648.64
},
"rot": {
"x": 0,
"y": -36.6,
"z": 0
}
}
]
}
],
"isSetBornPos": true,
"bornPos": {
"x": 273,
"y": 186,
"z": 540
},
"bornRot": {
"x": 0,
"y": 128,
"z": 0
},
"doorList": [],
"stairList": [],
"mainHouse": {
"furnitureId": 375103,
"spawnPos": {
"x": 259.04,
"y": 186.537,
"z": 540.78
},
"spawnRot": {
"x": 0,
"y": 90,
"z": 0
},
"parentFurnitureIndex": 1
},
"comfortValue": 0,
"djinnPos": {
"x": 268.5,
"y": 186,
"z": 551
},
"tmpVersion": 3
}

View File

@@ -0,0 +1,42 @@
[
{
"x": 215.971558,
"y": 388.657928
},
{
"x": 129.687683,
"y": 392.894379
},
{
"x": -11.7217369,
"y": 506.1743
},
{
"x": -17.88864,
"y": 615.7691
},
{
"x": -5.87529373,
"y": 685.910767
},
{
"x": 92.808876,
"y": 749.565
},
{
"x": 254.786224,
"y": 732.6433
},
{
"x": 337.042358,
"y": 628.089355
},
{
"x": 347.642273,
"y": 579.0609
},
{
"x": 288.5735,
"y": 463.69162
}
]

View File

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

View File

@@ -0,0 +1,112 @@
[
{
"area_id": 10066,
"points": [
{
"x": 217.9889,
"y": 388.806152
},
{
"x": 183.825729,
"y": 209.982391
},
{
"x": 289.199615,
"y": 42.0426331
},
{
"x": 480.0822,
"y": 48.16829
},
{
"x": 582.2733,
"y": 206.492584
},
{
"x": 657.4436,
"y": 302.501831
},
{
"x": 828.6017,
"y": 429.274261
},
{
"x": 870.845337,
"y": 498.681458
},
{
"x": 789.9812,
"y": 544.9916
},
{
"x": 750.641357,
"y": 597.0217
},
{
"x": 656.9288,
"y": 626.7887
},
{
"x": 618.7272,
"y": 625.600464
},
{
"x": 592.2006,
"y": 633.7104
},
{
"x": 510.940857,
"y": 593.3653
},
{
"x": 313.340942,
"y": 457.887756
}
]
},
{
"area_id": 10065,
"points": [
{
"x": 230.552979,
"y": -416.333374
},
{
"x": -197.219711,
"y": -17.4379883
},
{
"x": -267.383423,
"y": 474.198334
},
{
"x": -133.143448,
"y": 733.8592
},
{
"x": 195.5991,
"y": 953.6761
},
{
"x": 501.588928,
"y": 1096.57764
},
{
"x": 746.1817,
"y": 999.7913
},
{
"x": 1351.41919,
"y": 799.6443
},
{
"x": 1402.25024,
"y": 183.023315
},
{
"x": 1127.09326,
"y": -40.07733
}
]
}
]