添加配置表

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
@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -5400.0, z = -6275.3 },
size = { x = 10084.2, z = 11054.4 },
born_pos = { x = 31.300, y = 0.000, z = 391.000 },
born_rot = { x = 0.000, y = 0.000, z = 0.000 },
die_y = -1000,
city_id = 1,
vision_anchor = { x = -5400.0, z = -6275.3 }
}
-- 所有的区块
blocks = { 50028 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -5400.0, z = -6275.3 }, max = { x = 4684.2, z = 4779.1 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { "routes" }
@@ -0,0 +1,228 @@
{
"sceneId": 50028,
"routes": [
{
"localId": 1,
"name": "Route_001",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -6.890855,
"y": 60.247036,
"z": 87.29348
},
"waitTime": 5.0,
"targetVelocity": 2.0
},
{
"pos": {
"x": -6.890855,
"y": -12.0642509,
"z": 87.29348
},
"waitTime": 0.0,
"targetVelocity": 2.0
},
{
"pos": {
"x": -6.890855,
"y": 60.247036,
"z": 87.29348
},
"waitTime": 5.0,
"targetVelocity": 2.0
}
]
},
{
"localId": 2,
"name": "Route_002",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -6.87080956,
"y": -12.3026714,
"z": 124.32682
},
"waitTime": 5.0,
"targetVelocity": 2.0
},
{
"pos": {
"x": -6.87080956,
"y": 62.63144,
"z": 124.32682
},
"waitTime": 0.0,
"targetVelocity": 2.0
},
{
"pos": {
"x": -6.87080956,
"y": -12.3026714,
"z": 124.32682
},
"waitTime": 5.0,
"targetVelocity": 2.0
}
]
},
{
"localId": 3,
"name": "Route_002",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -6.87080956,
"y": -12.3026714,
"z": 170.621552
},
"waitTime": 0.0,
"targetVelocity": 3.0
},
{
"pos": {
"x": -6.87080956,
"y": 77.7,
"z": 170.621552
},
"waitTime": 0.0,
"targetVelocity": 3.0
},
{
"pos": {
"x": -6.87080956,
"y": -12.3026714,
"z": 170.621552
},
"waitTime": 0.0,
"targetVelocity": 3.0
}
]
},
{
"localId": 4,
"name": "Route_002",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -6.65771675,
"y": 59.2491837,
"z": 167.612656
},
"waitTime": 0.0,
"targetVelocity": 1.0
},
{
"pos": {
"x": -6.65771675,
"y": 89.24918,
"z": 167.612656
},
"waitTime": 0.0,
"targetVelocity": 1.0
},
{
"pos": {
"x": -6.65771675,
"y": 59.2491837,
"z": 167.612656
},
"waitTime": 0.0,
"targetVelocity": 1.0
}
]
},
{
"localId": 5,
"name": "Route_002",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": -2.18894386,
"y": -39.4706268,
"z": 367.74176
},
"waitTime": 2.0,
"targetVelocity": 3.0
},
{
"pos": {
"x": -2.188944,
"y": 30.0,
"z": 367.74176
},
"waitTime": 2.0,
"targetVelocity": 3.0
},
{
"pos": {
"x": -2.18894386,
"y": -39.4706268,
"z": 367.74176
},
"waitTime": 0.0,
"targetVelocity": 3.0
}
]
},
{
"localId": 6,
"name": "Route_002",
"type": "Loop",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 2.97681,
"y": -32.78648,
"z": 410.4063
},
"waitTime": 2.0,
"targetVelocity": 3.0
},
{
"pos": {
"x": 2.97681,
"y": 36.68415,
"z": 410.4063
},
"waitTime": 2.0,
"targetVelocity": 3.0,
"hasReachEvent": true
},
{
"pos": {
"x": 2.97681,
"y": -32.78648,
"z": 410.4063
},
"waitTime": 0.0,
"targetVelocity": 3.0
}
]
}
]
}
@@ -0,0 +1,9 @@
-- 所有的group
groups = {
{ id = 250028001, refresh_id = 1001, pos = { x = 0.355, y = -2.777, z = 50.512 } },
{ id = 250028002, refresh_id = 1, pos = { x = 0.060, y = 0.002, z = 19.641 } },
{ id = 250028003, refresh_id = 1002, pos = { x = 0.010, y = 0.002, z = 0.655 } },
{ id = 250028004, pos = { x = 0.005, y = 0.002, z = 1.796 } },
{ id = 250028005, pos = { x = 0.024, y = 0.002, z = 0.706 } },
{ id = 250028006, refresh_id = 1, pos = { x = -5.737, y = -12.858, z = 79.560 } }
}
@@ -0,0 +1,142 @@
-- 基础信息
local base_info = {
group_id = 250028001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 1002, monster_id = 20010601, pos = { x = 0.070, y = -2.777, z = 50.486 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1003, monster_id = 20011201, pos = { x = -1.614, y = -2.777, z = 50.427 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1004, monster_id = 20011201, pos = { x = 1.851, y = -2.777, z = 50.364 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1006, gadget_id = 70900205, pos = { x = -6.728, y = -5.561, z = 14.970 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 1001, shape = RegionShape.CUBIC, size = { x = 10.000, y = 10.000, z = 5.000 }, pos = { x = -0.041, y = -7.391, z = 70.538 } },
{ config_id = 1007, shape = RegionShape.SPHERE, radius = 5, pos = { x = 0.244, y = -2.816, z = 49.294 } }
}
-- 触发器
triggers = {
{ config_id = 1001001, name = "ENTER_REGION_1001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_1001" },
{ config_id = 1001005, name = "ANY_MONSTER_DIE_1005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1005", action = "action_EVENT_ANY_MONSTER_DIE_1005" },
{ config_id = 1001007, name = "ENTER_REGION_1007", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_1007" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1006 },
regions = { 1001, 1007 },
triggers = { "ENTER_REGION_1001", "ENTER_REGION_1007" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 1002, 1003, 1004 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_1001(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 250028001, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_1005(context, evt)
--判断死亡怪物的configid是否为 1002
if evt.param1 ~= 1002 then
return false
end
--判断死亡怪物的configid是否为 1003
if evt.param1 ~= 1003 then
return false
end
--判断死亡怪物的configid是否为 1004
if evt.param1 ~= 1004 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_1005(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250028002, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ENTER_REGION_1007(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250028002, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
@@ -0,0 +1,133 @@
-- 基础信息
local base_info = {
group_id = 250028002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2002, gadget_id = 70900205, pos = { x = -5.181, y = -12.875, z = 16.880 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2004, gadget_id = 70900205, pos = { x = 7.245, y = -20.868, z = 3.909 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 2001, shape = RegionShape.CUBIC, size = { x = 10.000, y = 10.000, z = 5.000 }, pos = { x = -0.011, y = 0.027, z = 23.008 } },
{ config_id = 2005, shape = RegionShape.SPHERE, radius = 5, pos = { x = -0.083, y = 0.002, z = 29.841 } }
}
-- 触发器
triggers = {
{ config_id = 1002001, name = "ENTER_REGION_2001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_2001" },
{ config_id = 1002003, name = "CHALLENGE_FAIL_2003", event = EventType.EVENT_CHALLENGE_FAIL, source = "", condition = "", action = "action_EVENT_CHALLENGE_FAIL_2003" },
{ config_id = 1002005, name = "ENTER_REGION_2005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_2005" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 2,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 2002 },
regions = { 2001 },
triggers = { "ENTER_REGION_2001", "CHALLENGE_FAIL_2003" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 2004 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_2001(context, evt)
-- 创建编号为2(该挑战的识别id),挑战内容为2的区域挑战,具体参数填写方式,见DungeonChallengeData表中的注释,所有填写的值都必须是int类型
if 0 ~= ScriptLib.ActiveChallenge(context, 2, 2, 120, 250028003, 3, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_challenge")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250028003, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_FAIL_2003(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250028002, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 250028003, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ENTER_REGION_2005(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250028003, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
@@ -0,0 +1,146 @@
-- 基础信息
local base_info = {
group_id = 250028003
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 3001, monster_id = 21010501, pos = { x = 4.837, y = 0.002, z = 7.915 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3002, monster_id = 20011001, pos = { x = -5.114, y = 0.002, z = 7.454 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3003, monster_id = 20011001, pos = { x = -0.082, y = 0.002, z = 9.978 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3004, monster_id = 21020101, pos = { x = -0.064, y = 0.002, z = 1.912 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3005, monster_id = 20010801, pos = { x = 2.449, y = 0.002, z = 4.931 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3006, monster_id = 20010801, pos = { x = 2.131, y = 0.002, z = -0.476 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3007, monster_id = 20010201, pos = { x = -3.726, y = 0.002, z = 1.880 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, pose_id = 201 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 3010, gadget_id = 70900205, pos = { x = 8.717, y = -2.883, z = 16.303 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1003011, name = "ANY_MONSTER_DIE_3011", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_3011", action = "action_EVENT_ANY_MONSTER_DIE_3011" },
{ config_id = 1003012, name = "ANY_MONSTER_DIE_3012", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_3012", action = "action_EVENT_ANY_MONSTER_DIE_3012" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 4,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 3001, 3002, 3003 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 3004, 3005, 3006 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 3007 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 3010 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_3011(context, evt)
--判断死亡怪物的configid是否为 3001
if evt.param1 ~= 3001 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_3011(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 250028003, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_3012(context, evt)
--判断死亡怪物的configid是否为 3004
if evt.param1 ~= 3004 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_3012(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 250028003, 3)
return 0
end
@@ -0,0 +1,71 @@
-- 基础信息
local base_info = {
group_id = 250028004
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,71 @@
-- 基础信息
local base_info = {
group_id = 250028005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,143 @@
-- 基础信息
local base_info = {
group_id = 250028006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 6001, gadget_id = 70950039, pos = { x = -6.871, y = -12.303, z = 90.349 }, rot = { x = 270.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6002, gadget_id = 70950039, pos = { x = -6.871, y = -12.303, z = 124.327 }, rot = { x = 270.000, y = 0.000, z = 0.000 }, level = 1, route_id = 2 },
{ config_id = 6003, gadget_id = 70950039, pos = { x = -6.871, y = -12.303, z = 170.622 }, rot = { x = 270.000, y = 0.000, z = 0.000 }, level = 1, route_id = 3 },
{ config_id = 6004, gadget_id = 70380001, pos = { x = -6.658, y = 59.249, z = 87.326 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 1 },
{ config_id = 6005, gadget_id = 70380001, pos = { x = -6.658, y = 59.249, z = 121.202 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6006, gadget_id = 70380001, pos = { x = -6.658, y = 59.249, z = 167.613 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 4 },
{ config_id = 6007, gadget_id = 70950040, pos = { x = -2.189, y = -39.471, z = 367.742 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 5, start_route = false },
{ config_id = 6009, gadget_id = 70380012, pos = { x = 2.977, y = -32.786, z = 410.406 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 6, start_route = false }
}
-- 区域
regions = {
{ config_id = 6010, shape = RegionShape.CUBIC, size = { x = 40.000, y = 15.000, z = 5.000 }, pos = { x = 6.878, y = -32.786, z = 387.197 } }
}
-- 触发器
triggers = {
{ config_id = 1006008, name = "PLATFORM_REACH_POINT_6008", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_6008", action = "action_EVENT_PLATFORM_REACH_POINT_6008", trigger_count = 0 },
{ config_id = 1006010, name = "ENTER_REGION_6010", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_6010", action = "action_EVENT_ENTER_REGION_6010" }
}
-- 变量
variables = {
{ config_id = 1, name = "arrive", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 6001, 6002, 6003, 6004, 6005, 6006, 6007, 6009 },
regions = { 6010 },
triggers = { "PLATFORM_REACH_POINT_6008", "ENTER_REGION_6010" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_PLATFORM_REACH_POINT_6008(context, evt)
-- 判断是gadgetid 为 6007的移动平台,是否到达了5 的路线中的 1 点
if 6007 ~= evt.param1 then
return false
end
if 5 ~= evt.param2 then
return false
end
if 1 ~= evt.param3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_PLATFORM_REACH_POINT_6008(context, evt)
-- 针对当前group内变量名为 "arrive" 的变量,进行修改,变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "arrive", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_6010(context, evt)
if evt.param1 ~= 6010 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_6010(context, evt)
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 6007) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 6009) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
return 0
end
@@ -0,0 +1,45 @@
{
"areas": {},
"doors": {},
"entities": {},
"forces": {},
"points": {
"1": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": 0.3208977,
"y": -0.1541945,
"z": -27.09781
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 3.0,
"y": 3.0,
"z": 3.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
}
},
"transRadius": 0.0
}