添加配置表

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,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -396.9, z = -511.2 },
size = { x = 985.9, z = 1050.7 },
born_pos = { x = -20.211, y = 4.710, z = -15.106 },
born_rot = { x = 0.000, y = 0.000, z = 0.000 },
die_y = -50,
city_id = 2,
vision_anchor = { x = -396.9, z = -511.2 }
}
-- 所有的区块
blocks = { 50030 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -396.9, z = -511.2 }, max = { x = 589.0, z = 539.5 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { "routes" }

View File

@@ -0,0 +1,106 @@
{
"sceneId": 50030,
"routes": [
{
"localId": 1,
"name": "Route_001",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 53.73552,
"y": 0.539999843,
"z": -15.0365677
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 47.8499641,
"y": 0.506157756,
"z": -20.3240738
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": -22.1334534,
"y": 4.68190575,
"z": -19.8344364
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": -43.00323,
"y": 4.73893929,
"z": -32.6936874
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 5,
"name": "Route_005",
"type": "OneWay",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 53.58136,
"y": 0.5399998,
"z": -14.607317
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 47.11927,
"y": 0.5107153,
"z": -14.8323717
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 14.45852,
"y": 0.502295434,
"z": -14.9517365
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": -24.2562637,
"y": 4.67000866,
"z": -14.9417458
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": -36.49358,
"y": 4.670886,
"z": -32.3897476
},
"waitTime": 0.0,
"speedLevel": 1
}
]
}
]
}

View File

@@ -0,0 +1,7 @@
-- 所有的group
groups = {
{ id = 250030001, refresh_id = 1, pos = { x = 38.037, y = 0.737, z = -10.019 } },
{ id = 250030010, pos = { x = 1.001, y = 0.835, z = -9.889 } },
{ id = 250030011, pos = { x = -7.309, y = 4.731, z = -31.357 } },
{ id = 250030012, pos = { x = -26.872, y = 4.671, z = -39.673 } }
}

View File

@@ -0,0 +1,118 @@
-- 基础信息
local base_info = {
group_id = 250030001
}
-- Trigger变量
local defs = {
group_id = 250030001,
gear_list = {70360001,70360002,70900365,70900366,70900367,70900368,70900369},
option_list = {41,42,43,44,45},
option_points = {15,20,25,30,35},
monster_points = 10,
max_points = 100,
fundation_id = 70350145,
challange_group_id = 250030011
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1002, gadget_id = 70350145, pos = { x = 11.483, y = 0.540, z = -20.168 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 1003, gadget_id = 70350145, pos = { x = 38.468, y = 0.502, z = -13.364 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 1004, gadget_id = 70350145, pos = { x = 11.278, y = 0.508, z = -13.596 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 1005, gadget_id = 70350145, pos = { x = 25.177, y = 0.503, z = -13.411 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 1006, gadget_id = 70350145, pos = { x = 38.360, y = 0.504, z = -20.303 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 1007, gadget_id = 70350145, pos = { x = 32.344, y = 0.540, z = -20.493 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1008, gadget_id = 70350145, pos = { x = 25.054, y = 0.504, z = -20.561 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 1009, gadget_id = 70350145, pos = { x = 18.620, y = 0.515, z = -13.562 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1010, gadget_id = 70350145, pos = { x = 18.931, y = 0.540, z = -20.612 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1011, gadget_id = 70350145, pos = { x = 32.230, y = 0.506, z = -13.315 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 点位
points = {
{ config_id = 1001, pos = { x = 11.483, y = 0.540, z = -20.168 }, rot = { x = 0.000, y = 90.000, z = 0.000 } },
{ config_id = 1014, pos = { x = 38.468, y = 0.502, z = -13.364 }, rot = { x = 0.000, y = 180.000, z = 0.000 } },
{ config_id = 1015, pos = { x = 11.278, y = 0.508, z = -13.596 }, rot = { x = 0.000, y = 180.000, z = 0.000 } },
{ config_id = 1016, pos = { x = 25.177, y = 0.503, z = -13.411 }, rot = { x = 0.000, y = 180.000, z = 0.000 } },
{ config_id = 1017, pos = { x = 38.360, y = 0.504, z = -20.303 }, rot = { x = 0.000, y = 90.000, z = 0.000 } },
{ config_id = 1018, pos = { x = 32.344, y = 0.540, z = -20.493 }, rot = { x = 0.000, y = 90.000, z = 0.000 } },
{ config_id = 1019, pos = { x = 25.054, y = 0.504, z = -20.561 }, rot = { x = 0.000, y = 90.000, z = 0.000 } },
{ config_id = 1020, pos = { x = 18.620, y = 0.515, z = -13.562 }, rot = { x = 0.000, y = 180.000, z = 0.000 } },
{ config_id = 1021, pos = { x = 18.931, y = 0.540, z = -20.612 }, rot = { x = 0.000, y = 90.000, z = 0.000 } },
{ config_id = 1022, pos = { x = 32.230, y = 0.506, z = -13.315 }, rot = { x = 0.000, y = 180.000, z = 0.000 } }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "TowerDefense_Gear"

View File

@@ -0,0 +1,144 @@
-- 基础信息
local base_info = {
group_id = 250030010
}
-- Trigger变量
local defs = {
gear_group_id = 250030001,
group_id = 250030010
}
-- DEFS_MISCS
tide_defs = {
[1] = {{ sum = 12, min = 4, max = 6,suite=2}},
[2] = {{ sum = 12, min = 4, max = 6,suite=2}},
[3] = {{ sum = 12, min = 4, max = 6,suite=2}},
[4] = {{ sum = 12, min = 4, max = 6,suite=2}}
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
[10001] = { config_id = 10001, monster_id = 21010102, pos = { x = 61.574, y = 0.505, z = -13.465 }, rot = { x = 0.000, y = 274.863, z = 0.000 }, level = 1, drop_id = 1000100 },
[10002] = { config_id = 10002, monster_id = 21020201, pos = { x = 61.379, y = 0.506, z = -12.122 }, rot = { x = 0.000, y = 269.887, z = 0.000 }, level = 1, drop_id = 1000100 },
[10003] = { config_id = 10003, monster_id = 21020201, pos = { x = 60.604, y = 0.502, z = -12.188 }, rot = { x = 0.000, y = 273.418, z = 0.000 }, level = 1, drop_id = 1000100 },
[10004] = { config_id = 10004, monster_id = 22010201, pos = { x = 60.107, y = 0.540, z = -13.609 }, rot = { x = 0.000, y = 142.813, z = 0.000 }, level = 1, drop_id = 1000100 },
[10006] = { config_id = 10006, monster_id = 22010201, pos = { x = 59.597, y = 0.507, z = -11.179 }, rot = { x = 0.000, y = 142.813, z = 0.000 }, level = 1, drop_id = 1000100 },
[10019] = { config_id = 10019, monster_id = 21010102, pos = { x = 61.671, y = 0.507, z = -11.978 }, rot = { x = 0.000, y = 274.863, z = 0.000 }, level = 1, drop_id = 1000100 },
[10020] = { config_id = 10020, monster_id = 21010102, pos = { x = 61.625, y = 0.510, z = -11.461 }, rot = { x = 0.000, y = 274.863, z = 0.000 }, level = 1, drop_id = 1000100 },
[10021] = { config_id = 10021, monster_id = 21010102, pos = { x = 61.365, y = 0.511, z = -14.714 }, rot = { x = 0.000, y = 274.863, z = 0.000 }, level = 1, drop_id = 1000100 },
[10022] = { config_id = 10022, monster_id = 23010101, pos = { x = 60.717, y = 0.506, z = -11.410 }, rot = { x = 0.000, y = 274.863, z = 0.000 }, level = 1, drop_id = 1000100 },
[10023] = { config_id = 10023, monster_id = 23010301, pos = { x = 62.577, y = 0.507, z = -13.258 }, rot = { x = 0.000, y = 274.863, z = 0.000 }, level = 1, drop_id = 1000100 },
[10024] = { config_id = 10024, monster_id = 21020201, pos = { x = 61.284, y = 0.505, z = -12.195 }, rot = { x = 0.000, y = 273.418, z = 0.000 }, level = 1, drop_id = 1000100 },
[10025] = { config_id = 10025, monster_id = 21020201, pos = { x = 61.414, y = 0.505, z = -12.182 }, rot = { x = 0.000, y = 273.418, z = 0.000 }, level = 1, drop_id = 1000100 },
[10026] = { config_id = 10026, monster_id = 21020201, pos = { x = 61.401, y = 0.549, z = -15.486 }, rot = { x = 0.000, y = 273.418, z = 0.000 }, level = 1, drop_id = 1000100 },
[10028] = { config_id = 10028, monster_id = 21010102, pos = { x = 60.046, y = 0.501, z = -12.371 }, rot = { x = 0.000, y = 274.863, z = 0.000 }, level = 1, drop_id = 1000100 },
[10029] = { config_id = 10029, monster_id = 21010102, pos = { x = 60.000, y = 0.502, z = -11.854 }, rot = { x = 0.000, y = 274.863, z = 0.000 }, level = 1, drop_id = 1000100 },
[10030] = { config_id = 10030, monster_id = 21010102, pos = { x = 59.740, y = 0.562, z = -15.107 }, rot = { x = 0.000, y = 274.863, z = 0.000 }, level = 1, drop_id = 1000100 },
[10031] = { config_id = 10031, monster_id = 21010102, pos = { x = 59.949, y = 0.540, z = -13.858 }, rot = { x = 0.000, y = 274.863, z = 0.000 }, level = 1, drop_id = 1000100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[10007] = { config_id = 10007, gadget_id = 70350036, pos = { x = -36.341, y = 4.670, z = -32.425 }, rot = { x = 0.000, y = 100.296, z = 0.000 }, level = 1 },
[10008] = { config_id = 10008, gadget_id = 70300118, pos = { x = -36.292, y = 4.670, z = -32.381 }, rot = { x = 0.000, y = 100.296, z = 0.000 }, level = 1 },
[10009] = { config_id = 10009, gadget_id = 70350023, pos = { x = -36.341, y = 4.670, z = -32.425 }, rot = { x = 0.000, y = 100.296, z = 0.000 }, level = 1, persistent = true }
}
-- 区域
regions = {
[10027] = { config_id = 10027, shape = RegionShape.SPHERE, radius = 5, pos = { x = 3.072, y = 0.835, z = -10.216 } }
}
-- 触发器
triggers = {
{ config_id = 1010027, name = "ENTER_REGION_10027", event = EventType.EVENT_ENTER_REGION, source = "2", condition = "", action = "action_EVENT_ENTER_REGION_10027", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "deadMonster", value = 0, no_refresh = false },
{ config_id = 2, name = "hasFinished", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 10007, 10008, 10009 },
regions = { 10027 },
triggers = { "ENTER_REGION_10027" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 10001, 10019, 10020, 10021, 10028, 10029, 10030, 10031 },
gadgets = { },
regions = { 10027 },
triggers = { "ENTER_REGION_10027" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 10002, 10003, 10024, 10025, 10026 },
gadgets = { },
regions = { 10027 },
triggers = { "ENTER_REGION_10027" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = suite_4,
monsters = { 10004, 10006, 10022, 10023 },
gadgets = { },
regions = { 10027 },
triggers = { "ENTER_REGION_10027" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_10027(context, evt)
ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.MONSTER, evt.param3)
return 0
end
require "TowerDefense_Monster"

View File

@@ -0,0 +1,108 @@
-- 基础信息
local base_info = {
group_id = 250030011
}
-- Trigger变量
local defs = {
group_id = 250030011,
gear_group_id = 250030001
}
-- DEFS_MISCS
tide_group_defs ={
[1] = {group = 250030010, delay = 30, next_group = 2, buff = {1,2,3,4,5}},
[2] = {group = 250030010, delay = 30, next_group = 3, buff = {1,2,3,4,5}},
[3] = {group = 250030010, delay = 30, next_group = 4, buff = {1,2,3,4,5}},
[4] = {group = 250030010, delay = 30, next_group = 5, buff = {1,2,3,4,5}},
[5] = {group = 250030010, delay = 30, next_group = 0, buff = {1,2,3}},
}
tide_defs = {
[1] = { sum = 12, min = 4, max = 6},
[2] = { sum = 10, min = 4, max = 6},
[3] = { sum = 8, min = 2, max = 4},
[4] = { sum = 6, min = 2, max = 4},
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
{ config_id = 11002, shape = RegionShape.SPHERE, radius = 4, pos = { x = -38.235, y = 4.671, z = -32.253 } }
}
-- 触发器
triggers = {
{ config_id = 1011002, name = "ENTER_REGION_11002", event = EventType.EVENT_ENTER_REGION, source = "2", condition = "", action = "action_EVENT_ENTER_REGION_11002", trigger_count = 0 }
}
-- 点位
points = {
{ config_id = 11001, pos = { x = -6.465, y = 4.730, z = -29.045 }, rot = { x = 0.000, y = 0.000, z = 0.000 } }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { 11002 },
triggers = { "ENTER_REGION_11002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_11002(context, evt)
ScriptLib.RemoveEntityByConfigId(context, 0, EntityType.MONSTER, evt.param3)
return 0
end
require "TowerDefense_Challenge"

View File

@@ -0,0 +1,86 @@
-- 基础信息
local base_info = {
group_id = 250030012
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 点位
points = {
{ config_id = 12001, pos = { x = -18.878, y = 4.670, z = -20.275 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
{ config_id = 12002, pos = { x = -17.755, y = 4.664, z = -32.824 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
{ config_id = 12003, pos = { x = -17.180, y = 4.670, z = -49.734 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
{ config_id = 12004, pos = { x = -35.357, y = 4.725, z = -21.115 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
{ config_id = 12005, pos = { x = -29.098, y = 4.673, z = -53.501 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
{ config_id = 12006, pos = { x = -33.353, y = 4.671, z = -34.170 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
{ config_id = 12007, pos = { x = -2.536, y = 4.670, z = -51.166 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
{ config_id = 12008, pos = { x = -3.645, y = 4.670, z = -39.610 }, rot = { x = 0.000, y = 0.000, z = 0.000 } },
{ config_id = 12009, pos = { x = 13.100, y = 4.671, z = -50.925 }, rot = { x = 0.000, y = 0.000, z = 0.000 } }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
require "SGV_Test"

View File

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