mirror of
https://gitlab.com/YuukiPS/GC-Resources.git
synced 2025-04-28 17:15:22 +00:00
98 lines
2.0 KiB
Lua
98 lines
2.0 KiB
Lua
-- 基础信息
|
|
local base_info = {
|
|
group_id = 155005328
|
|
}
|
|
|
|
-- Trigger变量
|
|
local defs = {
|
|
groupID = 155005270,
|
|
gadget_teleport = 328001,
|
|
pointarray_move = 500500016
|
|
}
|
|
|
|
-- DEFS_MISCS
|
|
function TeleportAction(context,pointarray_id,routelist)
|
|
|
|
--context, uid, pointarrayid, pointindex, speed, SFX
|
|
ScriptLib.MoveAvatarByPointArray(context, context.uid, pointarray_id, routelist, {speed=10}, "{\"MarkType\":2,\"IgnoreCollisionWhenEnter\":true}")
|
|
end
|
|
|
|
--================================================================
|
|
--
|
|
-- 配置
|
|
--
|
|
--================================================================
|
|
|
|
-- 怪物
|
|
monsters = {
|
|
}
|
|
|
|
-- NPC
|
|
npcs = {
|
|
}
|
|
|
|
-- 装置
|
|
gadgets = {
|
|
}
|
|
|
|
-- 区域
|
|
regions = {
|
|
}
|
|
|
|
-- 触发器
|
|
triggers = {
|
|
}
|
|
|
|
-- 变量
|
|
variables = {
|
|
}
|
|
|
|
-- 废弃数据
|
|
garbages = {
|
|
gadgets = {
|
|
{ config_id = 328001, gadget_id = 70290275, pos = { x = 258.994, y = 389.144, z = 120.425 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 36, area_id = 200 }
|
|
},
|
|
regions = {
|
|
{ config_id = 328002, shape = RegionShape.SPHERE, radius = 2, pos = { x = 258.994, y = 389.144, z = 120.425 }, area_id = 200 }
|
|
},
|
|
triggers = {
|
|
{ config_id = 1328002, name = "ENTER_REGION_328002", event = EventType.EVENT_ENTER_REGION, source = "1", condition = "condition_EVENT_ENTER_REGION_328002", action = "action_EVENT_ENTER_REGION_328002", trigger_count = 0, forbid_guest = false }
|
|
}
|
|
}
|
|
|
|
--================================================================
|
|
--
|
|
-- 初始化配置
|
|
--
|
|
--================================================================
|
|
|
|
-- 初始化时创建
|
|
init_config = {
|
|
suite = 1,
|
|
end_suite = 0,
|
|
rand_suite = false
|
|
}
|
|
|
|
--================================================================
|
|
--
|
|
-- 小组配置
|
|
--
|
|
--================================================================
|
|
|
|
suites = {
|
|
{
|
|
-- suite_id = 1,
|
|
-- description = ,
|
|
monsters = { },
|
|
gadgets = { },
|
|
regions = { },
|
|
triggers = { },
|
|
rand_weight = 100
|
|
}
|
|
}
|
|
|
|
--================================================================
|
|
--
|
|
-- 触发器
|
|
--
|
|
--================================================================ |