diff --git a/Resources/Scripts/Scene/20179/scene20179.lua b/Resources/Scripts/Scene/20179/scene20179.lua new file mode 100644 index 000000000..aae123cc7 --- /dev/null +++ b/Resources/Scripts/Scene/20179/scene20179.lua @@ -0,0 +1,24 @@ +-- 地图配置 +scene_config = { + begin_pos = { x = -512.0, z = -512.0 }, + size = { x = 1024.0, z = 1024.0 }, + born_pos = { x = 62, y = 10, z = 81 }, + born_rot = { x = 0.000, y = 0.000, z = 0.000 }, + die_y = -20, + city_id = 4, + vision_anchor = { x = -1000.0, z = -1000.0 } +} + +-- 所有的区块 +blocks = { 20179 } + +-- 所有的区块范围坐标 +block_rects = { + { min = { x = -512.0, z = -512.0 }, max = { x = 512.0, z = 512.0 } } +} + +-- Dummy Points +dummy_points = { "dummy_points" } + +-- Routes +routes_config = { } \ No newline at end of file diff --git a/Resources/Scripts/Scene/20179/scene20179_block20179.lua b/Resources/Scripts/Scene/20179/scene20179_block20179.lua new file mode 100644 index 000000000..94eb4e902 --- /dev/null +++ b/Resources/Scripts/Scene/20179/scene20179_block20179.lua @@ -0,0 +1,4 @@ +-- 所有的group +groups = { + { id = 220192001, refresh_id = 1, pos = { x = 100, y = 10.5, z = 99.5 } } +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/20179/scene20179_dummy_points.lua b/Resources/Scripts/Scene/20179/scene20179_dummy_points.lua new file mode 100644 index 000000000..6383d7d04 --- /dev/null +++ b/Resources/Scripts/Scene/20179/scene20179_dummy_points.lua @@ -0,0 +1,2 @@ +dummy_points = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/20179/scene20179_group220192001.lua b/Resources/Scripts/Scene/20179/scene20179_group220192001.lua new file mode 100644 index 000000000..40c577d64 --- /dev/null +++ b/Resources/Scripts/Scene/20179/scene20179_group220192001.lua @@ -0,0 +1,63 @@ +local base_info = { + group_id = 220192001 +} + +monsters = { + { config_id = 1696001, monster_id = 29080101, pos = { x = 100, y = 10.5, z = 99.5 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 100, drop_tag = "大史莱姆", area_id = 19, title_id = 173, special_name_id = 13 } +} + +npcs = {} + +gadgets = {} + +regions = {} + +triggers = { + { config_id = 1001023, name = "ANY_MONSTER_LIVE_1023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_1023", action = "action_EVENT_ANY_MONSTER_LIVE_1023", trigger_count = 0 } +} + +variables = { + { config_id = 1, name = "challenge", value = 0, no_refresh = false } +} + +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +suites = { + --Show Monster + { + monsters = {1696001}, + gadgets = {}, + regions = {}, + triggers = {"CHALLENGE_SUCCESS_1004", "CHALLENGE_FAIL_1005", "ANY_MONSTER_LIVE_1023"}, + rand_weight = 100 + } +} + + +-- 触发条件 +function condition_EVENT_ANY_MONSTER_LIVE_1023(context, evt) + + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : Monster") + + return true +end + +-- 触发操作 +function action_EVENT_CHALLENGE_SUCCESS_1004(context, evt) + + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : suc") + +return 0 +end + +-- 触发操作 +function action_EVENT_CHALLENGE_FAIL_1005(context, evt) + + ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : faild") + +return 0 +end \ No newline at end of file diff --git a/Resources/Scripts/Scene/20185/scene20185.lua b/Resources/Scripts/Scene/20185/scene20185.lua new file mode 100644 index 000000000..00fd33452 --- /dev/null +++ b/Resources/Scripts/Scene/20185/scene20185.lua @@ -0,0 +1,24 @@ +-- 地图配置 +scene_config = { + begin_pos = { x = -512.0, z = -512.0 }, + size = { x = 1024.0, z = 1024.0 }, + born_pos = { x = 62, y = 10, z = 81 }, + born_rot = { x = 0.000, y = 0.000, z = 0.000 }, + die_y = -20, + city_id = 4, + vision_anchor = { x = -1000.0, z = -1000.0 } +} + +-- 所有的区块 +blocks = { 20185 } + +-- 所有的区块范围坐标 +block_rects = { + { min = { x = -512.0, z = -512.0 }, max = { x = 512.0, z = 512.0 } } +} + +-- Dummy Points +dummy_points = { "dummy_points" } + +-- Routes +routes_config = { } \ No newline at end of file diff --git a/Resources/Scripts/Scene/20185/scene20185_block20185.lua b/Resources/Scripts/Scene/20185/scene20185_block20185.lua new file mode 100644 index 000000000..94eb4e902 --- /dev/null +++ b/Resources/Scripts/Scene/20185/scene20185_block20185.lua @@ -0,0 +1,4 @@ +-- 所有的group +groups = { + { id = 220192001, refresh_id = 1, pos = { x = 100, y = 10.5, z = 99.5 } } +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/20185/scene20185_dummy_points.lua b/Resources/Scripts/Scene/20185/scene20185_dummy_points.lua new file mode 100644 index 000000000..6383d7d04 --- /dev/null +++ b/Resources/Scripts/Scene/20185/scene20185_dummy_points.lua @@ -0,0 +1,2 @@ +dummy_points = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/20185/scene20185_group220192001.lua b/Resources/Scripts/Scene/20185/scene20185_group220192001.lua new file mode 100644 index 000000000..83d2bb555 --- /dev/null +++ b/Resources/Scripts/Scene/20185/scene20185_group220192001.lua @@ -0,0 +1,89 @@ +-- 基础信息 +local base_info = { + group_id = 220192001 +} + +--================================================================ +-- +-- 配置 +-- +--================================================================ + +-- 怪物 +monsters = { + { config_id = 1696001, monster_id = 29080101, pos = { x = 100, y = 10.5, z = 99.5 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 100, drop_tag = "大史莱姆", area_id = 19 } +} + +-- NPC +npcs = { +} + +-- 装置 +gadgets = { +} + +-- 区域 +regions = { +} + +-- 触发器 +triggers = { +} + +-- 变量 +variables = { +} + +--================================================================ +-- +-- 初始化配置 +-- +--================================================================ + +-- 初始化时创建 +init_config = { + suite = 1, + end_suite = 0, + rand_suite = false +} + +--================================================================ +-- +-- 小组配置 +-- +--================================================================ + +suites = { + { + -- suite_id = 1, + -- description = , + monsters = { 1696001 }, + gadgets = { }, + regions = { }, + triggers = { }, + rand_weight = 100 + } +} + +--================================================================ +-- +-- 触发器 +-- +--================================================================ + + +function PrintLog(context, content) + local log = "## [Boss_Battle_Process_Apep_Quest]" + ScriptLib.PrintContextLog(context, log) +end + +function LF_Initialize_Level() + --- TRIGGER + ScriptLib.CreateMonster(context, {config_id=1696001, delay_time=0}) + --table.insert(variables,{ config_id=51000000,name = "bossCreated", value = 0, no_refresh = true}) + return 0 +end + +LF_Initialize_Level() +--ScriptLib.CreateMonster(context, {config_id=1696001, delay_time=0}) +PrintLog(context, "monster alive: apep") \ No newline at end of file diff --git a/Resources/Scripts/Scene/40066/scene40066.lua b/Resources/Scripts/Scene/40066/scene40066.lua new file mode 100644 index 000000000..0fc866145 --- /dev/null +++ b/Resources/Scripts/Scene/40066/scene40066.lua @@ -0,0 +1,24 @@ +-- 地图配置 +scene_config = { + begin_pos = { x = -257.7, z = -286.0 }, + size = { x = 515.1, z = 579.4 }, + born_pos = { x = 522.070, y = 87.315, z = 371.000 }, + born_rot = { x = 0.000, y = 180.000, z = 0.000 }, + die_y = -80, + city_id = 4, + vision_anchor = { x = -1000.0, z = -1000.0 } +} + +-- 所有的区块 +blocks = { 40066 } + +-- 所有的区块范围坐标 +block_rects = { + { min = { x = -257.7, z = -286.0 }, max = { x = 257.4, z = 293.4 } } +} + +-- Dummy Points +dummy_points = { "dummy_points" } + +-- Routes +routes_config = { } \ No newline at end of file diff --git a/Resources/Scripts/Scene/40066/scene40066_block40066.lua b/Resources/Scripts/Scene/40066/scene40066_block40066.lua new file mode 100644 index 000000000..c51cab8bb --- /dev/null +++ b/Resources/Scripts/Scene/40066/scene40066_block40066.lua @@ -0,0 +1,3 @@ +-- 所有的group +groups = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/40066/scene40066_dummy_points.lua b/Resources/Scripts/Scene/40066/scene40066_dummy_points.lua new file mode 100644 index 000000000..6383d7d04 --- /dev/null +++ b/Resources/Scripts/Scene/40066/scene40066_dummy_points.lua @@ -0,0 +1,2 @@ +dummy_points = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/40664/scene40664.lua b/Resources/Scripts/Scene/40664/scene40664.lua new file mode 100644 index 000000000..5cb5ff645 --- /dev/null +++ b/Resources/Scripts/Scene/40664/scene40664.lua @@ -0,0 +1,24 @@ +-- 地图配置 +scene_config = { + begin_pos = { x = -257.7, z = -286.0 }, + size = { x = 515.1, z = 579.4 }, + born_pos = { x = 0.070, y = 17.315, z = 85.000 }, + born_rot = { x = 0.000, y = 180.000, z = 0.000 }, + die_y = -80, + city_id = 4, + vision_anchor = { x = -1000.0, z = -1000.0 } +} + +-- 所有的区块 +blocks = { 40664 } + +-- 所有的区块范围坐标 +block_rects = { + { min = { x = -257.7, z = -286.0 }, max = { x = 257.4, z = 293.4 } } +} + +-- Dummy Points +dummy_points = { "dummy_points" } + +-- Routes +routes_config = { } \ No newline at end of file diff --git a/Resources/Scripts/Scene/40664/scene40664_block40664.lua b/Resources/Scripts/Scene/40664/scene40664_block40664.lua new file mode 100644 index 000000000..c51cab8bb --- /dev/null +++ b/Resources/Scripts/Scene/40664/scene40664_block40664.lua @@ -0,0 +1,3 @@ +-- 所有的group +groups = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/40664/scene40664_dummy_points.lua b/Resources/Scripts/Scene/40664/scene40664_dummy_points.lua new file mode 100644 index 000000000..6383d7d04 --- /dev/null +++ b/Resources/Scripts/Scene/40664/scene40664_dummy_points.lua @@ -0,0 +1,2 @@ +dummy_points = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/40665/scene40665.lua b/Resources/Scripts/Scene/40665/scene40665.lua new file mode 100644 index 000000000..0e5f91609 --- /dev/null +++ b/Resources/Scripts/Scene/40665/scene40665.lua @@ -0,0 +1,24 @@ +-- 地图配置 +scene_config = { + begin_pos = { x = -257.7, z = -286.0 }, + size = { x = 515.1, z = 579.4 }, + born_pos = { x = 0.070, y = 17.315, z = 85.000 }, + born_rot = { x = 0.000, y = 180.000, z = 0.000 }, + die_y = -80, + city_id = 4, + vision_anchor = { x = -1000.0, z = -1000.0 } +} + +-- 所有的区块 +blocks = { 40665 } + +-- 所有的区块范围坐标 +block_rects = { + { min = { x = -257.7, z = -286.0 }, max = { x = 257.4, z = 293.4 } } +} + +-- Dummy Points +dummy_points = { "dummy_points" } + +-- Routes +routes_config = { } \ No newline at end of file diff --git a/Resources/Scripts/Scene/40665/scene40665_dummy_points.lua b/Resources/Scripts/Scene/40665/scene40665_dummy_points.lua new file mode 100644 index 000000000..6383d7d04 --- /dev/null +++ b/Resources/Scripts/Scene/40665/scene40665_dummy_points.lua @@ -0,0 +1,2 @@ +dummy_points = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/40665/scene440665_block40665.lua b/Resources/Scripts/Scene/40665/scene440665_block40665.lua new file mode 100644 index 000000000..c51cab8bb --- /dev/null +++ b/Resources/Scripts/Scene/40665/scene440665_block40665.lua @@ -0,0 +1,3 @@ +-- 所有的group +groups = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/40666/scene40666.lua b/Resources/Scripts/Scene/40666/scene40666.lua new file mode 100644 index 000000000..381010742 --- /dev/null +++ b/Resources/Scripts/Scene/40666/scene40666.lua @@ -0,0 +1,24 @@ +-- 地图配置 +scene_config = { + begin_pos = { x = -257.7, z = -286.0 }, + size = { x = 515.1, z = 579.4 }, + born_pos = { x = 0.070, y = 17.315, z = 85.000 }, + born_rot = { x = 0.000, y = 180.000, z = 0.000 }, + die_y = -80, + city_id = 4, + vision_anchor = { x = -1000.0, z = -1000.0 } +} + +-- 所有的区块 +blocks = { 40666 } + +-- 所有的区块范围坐标 +block_rects = { + { min = { x = -257.7, z = -286.0 }, max = { x = 257.4, z = 293.4 } } +} + +-- Dummy Points +dummy_points = { "dummy_points" } + +-- Routes +routes_config = { } \ No newline at end of file diff --git a/Resources/Scripts/Scene/40666/scene40666_block40666.lua b/Resources/Scripts/Scene/40666/scene40666_block40666.lua new file mode 100644 index 000000000..c51cab8bb --- /dev/null +++ b/Resources/Scripts/Scene/40666/scene40666_block40666.lua @@ -0,0 +1,3 @@ +-- 所有的group +groups = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/40666/scene40666_dummy_points.lua b/Resources/Scripts/Scene/40666/scene40666_dummy_points.lua new file mode 100644 index 000000000..6383d7d04 --- /dev/null +++ b/Resources/Scripts/Scene/40666/scene40666_dummy_points.lua @@ -0,0 +1,2 @@ +dummy_points = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/40667/scene40667.lua b/Resources/Scripts/Scene/40667/scene40667.lua new file mode 100644 index 000000000..997661ac9 --- /dev/null +++ b/Resources/Scripts/Scene/40667/scene40667.lua @@ -0,0 +1,24 @@ +-- 地图配置 +scene_config = { + begin_pos = { x = -257.7, z = -286.0 }, + size = { x = 515.1, z = 579.4 }, + born_pos = { x = 0.070, y = 17.315, z = 85.000 }, + born_rot = { x = 0.000, y = 180.000, z = 0.000 }, + die_y = -80, + city_id = 4, + vision_anchor = { x = -1000.0, z = -1000.0 } +} + +-- 所有的区块 +blocks = { 40667 } + +-- 所有的区块范围坐标 +block_rects = { + { min = { x = -257.7, z = -286.0 }, max = { x = 257.4, z = 293.4 } } +} + +-- Dummy Points +dummy_points = { "dummy_points" } + +-- Routes +routes_config = { } \ No newline at end of file diff --git a/Resources/Scripts/Scene/40667/scene40667_block40667.lua b/Resources/Scripts/Scene/40667/scene40667_block40667.lua new file mode 100644 index 000000000..c51cab8bb --- /dev/null +++ b/Resources/Scripts/Scene/40667/scene40667_block40667.lua @@ -0,0 +1,3 @@ +-- 所有的group +groups = { +} \ No newline at end of file diff --git a/Resources/Scripts/Scene/40667/scene40667_dummy_points.lua b/Resources/Scripts/Scene/40667/scene40667_dummy_points.lua new file mode 100644 index 000000000..6383d7d04 --- /dev/null +++ b/Resources/Scripts/Scene/40667/scene40667_dummy_points.lua @@ -0,0 +1,2 @@ +dummy_points = { +} \ No newline at end of file