diff --git a/games/chex1/base.lua b/games/chex1/base.lua index 0a554ade55..c96d88cea2 100644 --- a/games/chex1/base.lua +++ b/games/chex1/base.lua @@ -23,23 +23,12 @@ CHEX1 = { } ---------------------------------------------------------------- gui.import("params") -gui.import("entities") -gui.import("monsters") -gui.import("pickups") -gui.import("weapons") -gui.import("materials") gui.import("themes") -gui.import("levels") gui.import("resources") -gui.import("vanilla_mats") gui.import("names") ---------------------------------------------------------------- function CHEX1.all_done() - if ob_match_port("advanced") then - local wad_file = "games/chex1/data/CQ1_EXIT.wad" - gui.wad_merge_sections(wad_file) - end gui.wad_insert_file("data/endoom/ENDOOM.bin", "ENDOOM") end @@ -63,7 +52,6 @@ OB_GAMES["chex1"] = hooks = { slump_setup = CHEX1.slump_setup, - get_levels = CHEX1.get_levels, all_done = CHEX1.all_done }, } diff --git a/games/chex1/data/CQ1_EXIT.wad b/games/chex1/data/CQ1_EXIT.wad deleted file mode 100644 index fe41a7da16..0000000000 Binary files a/games/chex1/data/CQ1_EXIT.wad and /dev/null differ diff --git a/games/chex1/entities.lua b/games/chex1/entities.lua deleted file mode 100644 index 7a4d0fcf8f..0000000000 --- a/games/chex1/entities.lua +++ /dev/null @@ -1,135 +0,0 @@ -CHEX1.ENTITIES = -{ - - --- PLAYERS --- - - player1 = { id=1, r=16, h=56 }, - player2 = { id=2, r=16, h=56 }, - player3 = { id=3, r=16, h=56 }, - player4 = { id=4, r=16, h=56 }, - - dm_player = { id=11 }, - teleport_spot = { id=14 }, - - - --- PICKUPS --- - - k_red = { id=13 }, - k_yellow = { id=6 }, - k_blue = { id=5 }, - - back_pack = { id= 8 }, - slime_suit = { id=2025 }, - allmap = { id=2026 }, - - --- SCENERY --- - - -- tech -- - - landing_light = { id=2028,r=16, h=35, light=255 }, - - flag_pole = { id=37, r=16, h=128 }, - - chemical_burner = { id=41, r=16, h=25 }, - beaker = { id=80, r=20, h=64, pass=true }, - gas_tank = { id=36, r=16, h=40 }, - spaceship = { id=54, r=32, h=58 }, - - -- arboretum -- - - cave_bat = { id=63, r=16, h=64, ceil=true }, -- SOLID? - hang_plant1 = { id=59, r=20, h=64, pass=true, ceil=true }, -- new id - hang_plant2 = { id=61, r=20, h=64, pass=true, ceil=true }, -- new id - hang_pots = { id=62, r=20, h=64, pass=true, ceil=true }, - - -- other -- - - slime_fountain = { id=44, r=16, h=48 }, - - -- pickups -- - - kf_red = { id=38 }, - kf_yellow = { id=39 }, - kf_blue = { id=40 }, - - goggles = { id=2045 }, - - -- scenery -- - - apple_tree = { id=9060, r=20, h=64 }, - banana_tree = { id=9058, r=20, h=64 }, - beech_tree = { id=9059, r=20, h=64 }, - orange_tree = { id=9061, r=20, h=64 }, - pine_tree = { id=30, r=16, h=130 }, - torch_tree = { id=43, r=16, h=128 }, - - flower1 = { id=78, r=20, h=25 }, - flower2 = { id=79, r=20, h=25 }, - - cave_pillar = { id=73, r=16, h=128 }, - stalactite = { id=47, r=16, h=50 }, - stalagmite = { id=74, r=16, h=64 }, - mine_cart = { id=53, r=16, h=30 }, - - smallbush = { id=81, r=20, h=4, pass=true }, - - dinosaur1 = { id=76, r=60, h=120 }, - dinosaur2 = { id=77, r=60, h=120 }, - - statue_david = { id=9051, r=20, h=64 }, - statue_think = { id=9052, r=20, h=64 }, - statue_ramses = { id=9053, r=20, h=64 }, - statue_tut = { id=9054, r=20, h=64 }, - statue_chex = { id=9055, r=20, h=64 }, - giant_spoon = { id=9056, r=60, h=64 }, - - slimey_meteor = { id=27, r=16, h=30 }, - - -- Doom barrel, named the same for compatibility - barrel = { id=2035, r=15, h=60 }, - - candle_stick = { id=34, r=20, h=18, light=255 }, - street_light = { id=35, r=16, h=128, light=255 }, - green_torch = { id=45, r=16, h=68, light=255 }, - green_torch_sm = { id=56, r=16, h=55, light=255 }, - red_torch = { id=46, r=16, h=68, light=255 }, - red_torch_sm = { id=57, r=16, h=26, light=255 }, - - - globe_stand = { id=25, r=16, h=64 }, - lab_coil = { id=42, r=16, h=90 }, - mappoint_light = { id=85, r=16, h=75 }, - model_rocket = { id=18, r=20, h=106 }, - monitor = { id=29, r=16, h=51 }, - wine_barrel = { id=32, r=16, h=36 }, - radar_dish = { id=19, r=20, h=121 }, - stool = { id=49, r=16, h=41 }, - tech_pillar = { id=48, r=16, h=83 }, - telephone = { id=28, r=16, h=26, pass=true }, - - captive1 = { id=70, r=16, h=65 }, - captive2 = { id=26, r=16, h=65 }, - captive3 = { id=52, r=16, h=65 }, - diner_chef = { id=23, r=20, h=64 }, - diner_table = { id=22, r=20, h=64 }, - - big_bowl = { id=51, r=40, h=64 }, - grey_rock = { id=31, r=16, h=36 }, - hydro_plant = { id=50, r=16, h=45 }, - slimey_urn = { id=86, r=16, h=83 }, - - ceiling_slime = { id=60, r=16, h=68, pass=true, ceil=true }, - - light = { id="light", r=1, h=1, pass=true }, - secret = { id="oblige_secret", r=1, h=1, pass=true }, - depot_ref = { id="oblige_depot", r=1, h=1, pass=true }, -} - -CHEX1.PLAYER_MODEL = -{ - chexguy = - { - stats = { health=0 }, - weapons = { mini_zorcher=1, spoon=1 } - } -} diff --git a/games/chex1/fabs/bridge/.gitkeep b/games/chex1/fabs/bridge/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/cage/.gitkeep b/games/chex1/fabs/cage/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/decor/.gitkeep b/games/chex1/fabs/decor/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/door/.gitkeep b/games/chex1/fabs/door/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/exit/.gitkeep b/games/chex1/fabs/exit/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/fence/.gitkeep b/games/chex1/fabs/fence/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/floor/.gitkeep b/games/chex1/fabs/floor/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/hall/.gitkeep b/games/chex1/fabs/hall/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/item/.gitkeep b/games/chex1/fabs/item/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/joiner/.gitkeep b/games/chex1/fabs/joiner/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/misc/.gitkeep b/games/chex1/fabs/misc/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/picture/.gitkeep b/games/chex1/fabs/picture/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/quest/.gitkeep b/games/chex1/fabs/quest/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/road/.gitkeep b/games/chex1/fabs/road/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/skybox/.gitkeep b/games/chex1/fabs/skybox/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/stairs/.gitkeep b/games/chex1/fabs/stairs/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/start/.gitkeep b/games/chex1/fabs/start/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/switch/.gitkeep b/games/chex1/fabs/switch/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/teleporter/.gitkeep b/games/chex1/fabs/teleporter/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/trap/.gitkeep b/games/chex1/fabs/trap/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/wall/.gitkeep b/games/chex1/fabs/wall/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/fabs/window/.gitkeep b/games/chex1/fabs/window/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/chex1/levels.lua b/games/chex1/levels.lua deleted file mode 100644 index b6664f62d8..0000000000 --- a/games/chex1/levels.lua +++ /dev/null @@ -1,206 +0,0 @@ --------------------------------------------------------------------- --- CHEX1 LEVELS --------------------------------------------------------------------- --- --- Copyright (C) 2006-2016 Andrew Apted --- Copyright (C) 2011 Reisal --- Copyright (C) 2019 MsrSgtShooterPerson --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; either version 2 --- of the License, or (at your option) any later version. --- --------------------------------------------------------------------- - -CHEX1.SECRET_EXITS = -{ - -} - - -CHEX1.EPISODES = -{ - episode1 = - { - ep_index = 1, - - theme = "bazoik", - sky_patch = "SKY1", - boss = "Maximus", - sky_light = 0.75, - dark_prob = 10 - }, -} - - -CHEX1.PREBUILT_LEVELS = -{ - -} - - --------------------------------------------------------------------- - -function CHEX1.get_levels() - local EP_NUM = sel(OB_CONFIG.length == "game", 1, 1) - local MAP_NUM = sel(OB_CONFIG.length == "single", 1, 5) - - if OB_CONFIG.length == "few" then MAP_NUM = 4 end - - -- create episode info... - - for ep_index = 1,1 do - local ep_info = CHEX1.EPISODES["episode" .. ep_index] - assert(ep_info) - - local EPI = table.copy(ep_info) - - EPI.levels = { } - - table.insert(GAME.episodes, EPI) - end - - -- create level info... - - local current_map = 1 - - for ep_index = 1,EP_NUM do - local EPI = GAME.episodes[ep_index] - - for map = 1,MAP_NUM do - -- create level info... - local ep_along = map / MAP_NUM - - local LEV = - { - episode = EPI, - - name = string.format("E%dM%d", ep_index, map), - - ep_along = ep_along, - game_along = (ep_index - 1 + ep_along) / EP_NUM - } - - table.insert( EPI.levels, LEV) - table.insert(GAME.levels, LEV) - - LEV.secret_exit = GAME.SECRET_EXITS[LEV.name] - - -- prebuilt levels - LEV.prebuilt = GAME.PREBUILT_LEVELS[LEV.name] - - if LEV.prebuilt then - LEV.name_theme = LEV.prebuilt.name_theme or "BOSS" - end - - -- procedural gotcha management code - - -- Prebuilts are to exist over procedural gotchas - -- this means procedural gotchas will not override - -- Icon of Sin for example if prebuilts are still on - if not LEV.prebuilt then - - --handling for the Final Only option - if PARAM.gotcha_frequency == "final" then - if OB_CONFIG.length == "single" then - if current_map == 1 then LEV.is_procedural_gotcha = true end - elseif OB_CONFIG.length == "few" then - if current_map == 4 then LEV.is_procedural_gotcha = true end - elseif OB_CONFIG.length == "episode" then - if current_map == 5 then LEV.is_procedural_gotcha = true end - elseif OB_CONFIG.length == "game" then - if current_map == 5 then LEV.is_procedural_gotcha = true end - end - end - - if PARAM.gotcha_frequency == "epi" then - if current_map == 3 then - LEV.is_procedural_gotcha = true - end - end - if PARAM.gotcha_frequency == "2epi" then - if current_map == 2 or current_map == 4 then - LEV.is_procedural_gotcha = true - end - end - if PARAM.gotcha_frequency == "3epi" then - if current_map == 1 or current_map == 3 or current_map == 5 then - LEV.is_procedural_gotcha = true - end - end - if PARAM.gotcha_frequency == "4epi" then - if current_map ~= 1 then - LEV.is_procedural_gotcha = true - end - end - - --5% of maps after map 4 - if PARAM.gotcha_frequency == "5p" then - if current_map > 4 then - if rand.odds(5) then LEV.is_procedural_gotcha = true end - end - end - - -- 10% of maps after map 4 - if PARAM.gotcha_frequency == "10p" then - if current_map > 4 then - if rand.odds(10) then LEV.is_procedural_gotcha = true end - end - end - - -- for masochists... or debug testing - if PARAM.gotcha_frequency == "all" then - LEV.is_procedural_gotcha = true - end - end - - local special_mode = {} - - if PARAM.float_streets_mode and rand.odds(PARAM.float_streets_mode) then - table.add_unique(special_mode, "streets") - end - - if PARAM.float_linear_mode and rand.odds(PARAM.float_linear_mode) then - table.add_unique(special_mode, "linear") - end - - if PARAM.float_nature_mode and rand.odds(PARAM.float_nature_mode) then - table.add_unique(special_mode, "nature") - end - - if not table.empty(special_mode) and not LEV.prebuilt then - local selected_mode = rand.pick(special_mode) - if selected_mode == "streets" then - LEV.has_streets = true - LEV.is_linear = false - LEV.is_nature = false - elseif selected_mode == "linear" then - LEV.has_streets = false - LEV.is_linear = true - LEV.is_nature = false - else - LEV.has_streets = false - LEV.is_linear = false - LEV.is_nature = true - end - else - LEV.has_streets = false - LEV.is_linear = false - LEV.is_nature = false - end - - current_map = current_map + 1 - - end -- for map - - -- set "dist_to_end" value - if MAP_NUM >= 5 then - EPI.levels[3].dist_to_end = 1 - EPI.levels[2].dist_to_end = 2 - end - - end -- for episode - -end - diff --git a/games/chex1/materials.lua b/games/chex1/materials.lua deleted file mode 100644 index 2267770b2f..0000000000 --- a/games/chex1/materials.lua +++ /dev/null @@ -1,515 +0,0 @@ -CHEX1.LIQUIDS = -{ - water = { mat="FWATER1", light_add=16, special=0 }, - slime0 = { mat="BLOOD1", light_add=16, special=16, damage=20 }, - slime1 = { mat="NUKAGE1", light_add=16, special=16, damage=20 }, - slime2 = { mat="LAVA1", light_add=24, special=16, damage=20 } -} - -CHEX1.MATERIALS = -{ - -- special materials -- - _DEFAULT = { t="COMPSPAN", f="CEIL5_1" }, - _ERROR = { t="COMPSPAN", f="CEIL5_1" }, - _SKY = { t="COMPSPAN", f="F_SKY1" }, - _LIQUID = { t="GSTFONT1", f="FWATER1" }, - XEMPTY = { t="-", f="-" }, - - -- general purpose -- - - COMPBLUE = { t="COMPBLUE", f="STEP1" }, - STEP1 = { t="COMPBLUE", f="STEP1" }, - SKSNAKE2 = { t="SKSNAKE2", f="CEIL3_1" }, - CEIL3_1 = { t="SKSNAKE2", f="CEIL3_1" }, - ASHWALL = { t="ASHWALL", f="FLOOR0_3" }, - SW2SATYR = { t="SW2SATYR", f="FLAT5_6" }, - FLOOR0_1 = { f="FLOOR0_1", t="TEKWALL5" }, - - - -- walls -- - WOOD4 = { t="WOOD4", f="CJFFLEM2"}, - GRAY2 = { t="GRAY2", f="ENDFLAT2"}, - SEWERA = { t="SEWERA", f="ENDFLAT2" }, - NICEWALL = { t="NICEWALL", f="MUFLOOR2" }, - WINDOH2 = { t="WINDOH2", f="MUFLOOR2" }, - CITYWALL = { t="CITYWALL", f="CEIL5_1" }, - WINDOH = { t="WINDOH", f="CEIL5_1" }, - GRAY5 = { t="GRAY5", f="CEIL5_1" }, - STONE = { t="STONE", f="CEIL5_1" }, - - SKSNAKE1 = { t="SKSNAKE1", f="STEP1" }, - - SP_DUDE2 = { t="SP_DUDE2", f="FLOOR0_2" }, - SLADSKUL = { t="SLADSKUL", f="FLOOR0_2" }, - SKINMET1 = { t="SKINMET1", f="FLOOR0_2" }, - - GRAY_PIPES = { t="STONE", f="FLAT5_6" }, - STONE3 = { t="STONE3", f="FLAT5_6" }, - GRAY_LITE = { t="LITESTON", f="FLAT5_6" }, - GRAY7 = { t="GRAY7", f="FLAT5_6" }, - - STARG3 = { t="STARG3", f="FLAT2" }, - COMPUTE3 = { t="COMPUTE3", f="FLAT2" }, - SKINMET2 = { t="SKINMET2", f="FLAT2" }, - DOOR3 = { t="DOOR3", f="FLAT2" }, - CEMENT4 = { t="CEMENT4", f="FLAT2" }, - CEMENT6 = { t="CEMENT6", f="FLAT2" }, - - CEMPOIS = { t="CEMPOIS", f="FLAT2" }, - BRNSMALL = { t="BRNSMALL", f="FLAT2" }, - BRNSMALR = { t="BRNSMALR", f="FLAT2" }, - BROWN96 = { t="BROWN96", f="FLAT2" }, - - CEMENT1 = { t="CEMENT1", f="CEIL3_2" }, - CEMENT5 = { t="CEMENT5", f="CEIL3_2" }, - LITE96 = { t="LITE96", f="CEIL3_2" }, - REDWALL1 = { t="REDWALL1", f="CEIL3_2" }, - - CEMENT2 = { t="CEMENT2", f="FLAT5_6" }, - - TEKWALL5 = { t="TEKWALL5", f="FLAT1" }, - BROWN = { t="BROWN1", f="BROWN" }, - BROWN1 = { t="BROWN1", f="FLAT1" }, - LITE2 = { t="LITE2", f="FLAT1" }, - BRNSMAL1 = { t="BRNSMAL1", f="FLAT1" }, - BROVINE = { t="BROVINE", f="FLAT1" }, - - COMP2 = { t="COMP2", f="FLAT5_6" }, - COMPUTE2 = { t="COMPUTE2", f="FLAT5_6" }, - COMPWERD = { t="COMPWERD", f="FLAT5_6" }, - COMPSPAN = { t="COMPSPAN", f="FLAT5_6" }, - - BRNBIGC = { t="BRNBIGC", f="FLAT1" }, - - BLODRIP2 = { t="BLODRIP2", f="CEIL3_1" }, - SKULWAL3 = { t="SKULWAL3", f="CEIL3_1" }, - STARTAN2 = { t="STARTAN2", f="CEIL3_1" }, - PIPE6 = { t="PIPE6", f="CEIL3_2" }, - - SKINCUT = { t="SKINCUT", f="CEIL4_1" }, - EXITDOOR = { t="EXITDOOR", f="CEIL4_1" }, - TEKWALL4 = { t="TEKWALL4", f="CEIL4_1" }, - SLADWALL = { t="SLADWALL", f="CEIL4_1" }, - - SLADRIP1 = { t="SLADRIP1", f="FLAT5_6" }, - - SP_DUDE4 = { t="SP_DUDE4", f="STEP1" }, - - -- floors -- - - FLOOR0_6 = { t="GRAYTALL", f="FLOOR0_6" }, - FLAT1 = { t="STARG3", f="FLAT1" }, - CEIL5_1 = { t="COMPSPAN", f="CEIL5_1" }, - CEIL4_2 = { t="COMPSPAN", f="CEIL4_2" }, - FLOOR0_2 = { t="SP_DUDE2", f="FLOOR0_2" }, - - ENDFLAT2 = { f="ENDFLAT2", t="GRAY2"}, - - CEIL3_5 = { f="CEIL3_5", t="SW2SATYR" }, - - CEIL4_1 = { f="CEIL4_1", t="SP_DUDE2" }, - FLOOR1_1 = { f="FLOOR1_1", t="SP_DUDE2" }, - FLAT14 = { f="FLAT14", t="SP_DUDE2" }, - - FLAT19 = { f="FLAT19", t="SKSNAKE2" }, - - GATE1 = { f="GATE1", t="SP_DUDE4" }, - - -- NOTE: these two floor logos don't exist as flats in Chex 3, - -- but they _do_ exist as single textures. - DEM1_1 = { f="DEM1_1", t="SP_DUDE2" }, - DEM1_2 = { f="DEM1_2", t="SP_DUDE2" }, - DEM1_3 = { f="DEM1_3", t="SP_DUDE2" }, - DEM1_4 = { f="DEM1_4", t="SP_DUDE2" }, - - FLAT3 = { f="FLAT3", t="COMPSPAN" }, - FLAT4 = { f="FLAT4", t="COMPSPAN" }, - FLAT8 = { f="FLAT8", t="COMPSPAN" }, - FLAT9 = { f="FLAT9", t="COMPSPAN" }, - - - -- doors -- - - COMPSTA1 = { t="COMPSTA1", f="STEP1" }, - - BIGDOOR1 = { t="BIGDOOR1", f="FLAT5_6" }, - DOOR1 = { t="DOOR1", f="FLAT5_6" }, - DOORBLU2 = { t="DOORBLU2", f="FLAT5_6" }, - - BRNBIGR = { t="BRNBIGR", f="FLAT5_6" }, - BRNBIGL = { t="BRNBIGL", f="FLAT5_6" }, - BRNSMAL2 = { t="BRNSMAL2", f="FLAT5_6" }, - - BIGDOOR2 = { t="BIGDOOR2", f="ENDFLAT1" }, - BIGDOOR4 = { t="BIGDOOR4", f="FLAT5_6" }, - BIGDOOR5 = { t="BIGDOOR5", f="FLAT2" }, - BIGDOOR6 = { t="BIGDOOR6", f="FLAT2" }, - - STARTAN3 = { t="STARTAN3", f="FLAT1" }, - SKINFACE = { t="SKINFACE", f="FLAT1" }, - - SKINSCAB = { t="SKINSCAB", f="CEIL5_1" }, - SKINSYMB = { t="SKINSYMB", f="FLAT5_6" }, - SKINTEK1 = { t="SKINTEK1", f="FLAT5_6" }, - - DOORRED = { t="DOORRED", f="CEIL4_1" }, - DOORBLU = { t="DOORBLU", f="CEIL4_1" }, - DOORYEL = { t="DOORYEL", f="CEIL4_1" }, - - - -- switches -- - - SW2BLUE = { t="SW2BLUE", f="STEP1" }, - SW1BRCOM = { t="SW1BRCOM", f="CEIL3_2" }, - SW1BRN2 = { t="SW1BRN2", f="FLAT1" }, - SW1METAL = { t="SW1METAL", f="FLAT1" }, - - SW1COMM = { t="SW1COMM", f="FLAT5_6" }, - SW1COMP = { t="SW1COMP", f="FLAT5_6" }, - SW1STON1 = { t="SW1STON1", f="FLAT5_6" }, - - - -- rails -- - GSTVINE1 = { t="GSTVINE1", rail_h=128 }, - MIDVINE1 = { t="MIDVINE1", rail_h=128 }, - VINE2 = { t="MIDVINE2", rail_h=128 }, - LITE4 = { t="LITE4", rail_h=128 }, - - - -- liquids -- - - FWATER1 = { t="GSTFONT1", f="FWATER1", sane=1 }, - BLOOD1 = { t="FIREMAG1", f="BLOOD1", sane=1 }, - NUKAGE1 = { t="FIREMAG1", f="NUKAGE1", sane=1 }, - LAVA1 = { t="FIREMAG1", f="LAVA1", sane=1 }, - - ----===========>> - - - -- Chex 1 compatibility -- - - BLODGR1 = { t="BLODGR1", f="CEIL4_1" }, - - PIPE4 = { t="PIPE4", f="CEIL3_1" }, - MARBLE2 = { t="MARBLE2", f="CEIL3_1" }, - STARGR1 = { t="STARGR1", f="CEIL3_1" }, - NUKEDGE1 = { t="NUKEDGE1", f="CEIL3_1" }, - NUKEPOIS = { t="NUKEPOIS", f="CEIL3_1" }, - - COMPTALL = { t="COMPTALL", f="FLAT5_6" }, - - SLADPOIS = { t="SLADPOIS", f="CEIL4_1" }, - MARBFAC3 = { t="MARBFAC3", f="FLAT2" }, - - SW2WOOD = { t="SW2WOOD", f="CEIL3_2" }, -- Note: different size! - - HYDROPO1 = { t="HYDROPO1", f="FLAT1" }, - HYDROPO2 = { t="HYDROPO2", f="FLAT1" }, - HYDROPO3 = { t="HYDROPO3", f="FLAT1" }, - - - - CSTOOREST = { f="STOOREST", t="COMPSPAN" }, - - -- better tops on these - CRATE1 = { t="CRATE1", f="CRATOP2" }, - CRATE2 = { t="CRATE2", f="CRATOP1" }, - CRATELIT = { t="CRATELIT", f="CRATOP1" }, - CRATWIDE = { t="CRATWIDE", f="CRATOP1" }, - - ---- these two textures are not present in Chex 3 - -- GRAY_FLOWER1 = { t="STONE3", f="FLAT5_6" } - -- GRAY_FLOWER2 = { t="STONE3", f="FLAT5_6" } - - - -- Chex 2 compatibility -- - - HEDGE = { t="HEDGE", f="HEDGEF" }, - HEDGEF = { t="HEDGE", f="HEDGEF" }, - MUSEUM = { t="MUSEUM", f="BROWN" }, - - SEWER1 = { t="SEWER1", f="ENDFLAT2" }, - SEWER2 = { t="SEWER2", f="ENDFLAT2" }, - SEWER4 = { t="SEWER4", f="ENDFLAT2" }, - WORMHOL3 = { t="WORMHOL3", f="ENDFLAT2" }, - - BROWN144 = { t="BROWN144", f="CEIL5_1" }, -- no good flat! - PLUSH = { t="PLUSH", f="CFLAT2" }, -- texture not present in Chex 3 - - THEAWALL = { t="THEAWALL", f="CFLAT2" }, - - MOVIE2A = { t="MOVIE2A", f="CEIL5_1" }, - MOVIE1A = { t="MOVIE1A", f="CEIL5_1" }, - MOVIE3A = { t="MOVIE3A", f="CEIL5_1" }, - - CHEXAD1 = { t="CHEXAD1", f="CEIL5_1" }, - CHEXAD2 = { t="CHEXAD2", f="CEIL5_1" }, - HUNGRY = { t="HUNGRY", f="FLAT1" }, - - MONA = { t="MONA", f="CEIL5_1" }, - VENUSHS = { t="VENUSHS", f="CEIL5_1" }, - VINCENT = { t="VINCENT", f="CEIL5_1" }, - MUNCH = { t="MUNCH", f="CEIL5_1" }, - SW1STRTN = { t="SW1STRTN", f="CEIL5_1" }, - ART2 = { t="ART2", f="CEIL5_1" }, - - CHEXCITY = { t="CHEXCITY", f="CEIL5_1" }, -- Note: now has windows on top - SPDOOR = { t="SPDOOR", f="CEIL5_1" }, - SPACPORT = { t="SPACPORT", f="CEIL5_1" }, -- Note: now has windows on top - NUKE24 = { t="NUKE24", f="CEIL5_1" }, - - DINESIGN = { t="DINESIGN", f="CEIL5_1" }, -- Note: now has windows on top - MUSEUM2 = { t="MUSEUM2", f="CEIL5_1" }, - SEWER3 = { t="SEWER3", f="ENDFLAT2" }, - CINEMA = { t="CINEMA", f="CEIL5_1" }, - - POSTER1 = { t="POSTER1", f="FLOOR1_1" }, - POSTER2 = { t="POSTER2", f="FLOOR1_1" }, - POSTER3 = { t="POSTER3", f="FLOOR1_1" }, - CARPET_A = { t="CARPET_A", f="FLOOR1_1" }, -- texture not present - - THEATRE1 = { t="THEATRE1", f="FLOOR1_1" }, --\ - THEATRE2 = { t="THEATRE2", f="FLOOR1_1" }, -- Note: on blue walls now - THEATRE3 = { t="THEATRE3", f="FLOOR1_1" }, --/ - FOODMENU = { t="FOODMENU", f="FLAT2" }, - - CANDY = { t="CANDY", f="CEIL5_1" }, - POPCORN = { t="POPCORN", f="CEIL5_1" }, - - MUFLOOR2 = { f="MUFLOOR2", t="COMPSPAN" }, - CEIL3_2 = { f="CEIL3_2", t="SW2SATYR" }, -- flat not present - SLUGBRIK = { f="SLUGBRIK", t="SEWER1" }, - - - --- new Chex 1 / 2 stuff --- - - PLUSH = { t="PLUSH", f="CFLAT2" }, - - ROCKRED1 = { t="ROCKRED1", f="CEIL5_1" }, - - BAZOIK = { t="BAZOIK", f="CEIL3_1" }, - - SEWER_A = { t="SEWER_A", f="ENDFLAT2" }, - SEWER_B = { t="SEWER_B", f="ENDFLAT2" }, - - ART1 = { t="ART1", f="CEIL5_1" }, - - STONPOIS = { t="STONPOIS", f="FLAT5_6" }, -- NB: 256 units tall - SUPPORT2 = { t="SUPPORT2", f="FLAT5_6" }, -- - - STORAGE = { t="STORAGE", f="FLAT1" }, - WORMHOL1 = { t="WORMHOL1", f="CEIL3_2" }, - - GSTONE2 = { t="GSTONE2", f="FLAT5_6" }, - - CJHYDRO1 = { t="CJHYDRO1", f="FLAT5_6" }, - - - ---- TOTALLY NEW STUFF ---- - - -- walls -- - - PLAT2 = { t="PLAT2", f="FLOOR1_1" }, - - PIPE2 = { t="PIPE2", f="FLAT2" }, - - BROWNHUG = { t="BROWNHUG", f="FLAT5_6" }, - SP_DUDE1 = { t="SP_DUDE1", f="BROWN" }, - ICKDOOR1 = { t="ICKDOOR1", f="BROWN" }, - WOOD1 = { t="WOOD1", f="BROWN" }, - - FIREBLU1 = { t="FIREBLU1", f="CEIL5_1" }, - FIREWALB = { t="FIREWALB", f="LABFLAT" }, - FIRELAV3 = { t="FIRELAV3", f="FLOOR0_3" }, - - ICKWALL3 = { t="ICKWALL3", f="CJFSHIP1" }, - ICKWALL4 = { t="ICKWALL4", f="CJFSHIP1" }, - - CJBLUDR0 = { t="CJBLUDR0", f="CJFLOD02" }, - CJCELR01 = { t="CJCELR01", f="CJFLOD01" }, - CJCLIF01 = { t="CJCLIF01", f="CJFCRA03" }, - CJCLIF02 = { t="CJCLIF02", f="CJFCRA03" }, - CJCRAT01 = { t="CJCRAT01", f="CJFCRA03" }, - CJCRAT02 = { t="CJCRAT02", f="CJFCRA03" }, - CJCRAT03 = { t="CJCRAT03", f="CJFCRA03" }, - CJCRAT04 = { t="CJCRAT04", f="CJFCRA03" }, - CJCRAT05 = { t="CJCRAT05", f="CJFCRA03" }, - - CJCOMM01 = { t="CJCOMM01", f="CJFCOMM1" }, - CJCOMM02 = { t="CJCOMM02", f="CJFCOMM4" }, - CJCOMM03 = { t="CJCOMM03", f="CJFCOMM1" }, - CJCOMM04 = { t="CJCOMM04", f="CJFCOMM1" }, - CJCOMM05 = { t="CJCOMM05", f="CJFCOMM1" }, - CJCOMM06 = { t="CJCOMM06", f="CJFCOMM1" }, - CJCOMM07 = { t="CJCOMM07", f="CJFCOMM1" }, - CJCOMM08 = { t="CJCOMM08", f="CJFCOMM1" }, - CJCOMM09 = { t="CJCOMM09", f="CJFCOMM1" }, - CJCOMM10 = { t="CJCOMM10", f="CJFCOMM4" }, - - CJCOMM11 = { t="CJCOMM11", f="CJFCOMM1" }, - CJCOMM12 = { t="CJCOMM12", f="CJFCOMM1" }, - CJCOMM13 = { t="CJCOMM13", f="CJFCOMM1" }, - CJCOMM14 = { t="CJCOMM14", f="CJFCOMM1" }, - CJCOMM15 = { t="CJCOMM15", f="CJFCOMM1" }, - CJCOMM16 = { t="CJCOMM16", f="CJFCOMM1" }, - CJCOMM17 = { t="CJCOMM17", f="CJFCOMM1" }, - CJCOMM18 = { t="CJCOMM18", f="CJFCOMM1" }, - CJCOMM19 = { t="CJCOMM19", f="CJFCOMM1" }, - CJCOMM20 = { t="CJCOMM20", f="CJFCOMM1" }, - CJCOMM21 = { t="CJCOMM21", f="CJFCOMM1" }, - CJCOMM22 = { t="CJCOMM22", f="CJFCOMM1" }, - CJCOMM23 = { t="CJCOMM23", f="CJFCOMM1" }, - - CJDOOR01 = { t="CJDOOR01", f="CJFCOMM3" }, - CJDOOR02 = { t="CJDOOR02", f="CJFCOMM3" }, - CJDOOR03 = { t="CJDOOR03", f="CJFCOMM3" }, - CJDOOR04 = { t="CJDOOR04", f="CJFCOMM3" }, - CJFLDR01 = { t="CJFLDR01", f="CJFFLEM2" }, - CJFLDR02 = { t="CJFLDR02", f="CJFFLEM2" }, - CJFLDR03 = { t="CJFLDR03", f="CJFFLEM2" }, - CJFLDR04 = { t="CJFLDR04", f="CJFFLEM2" }, - CJFLDR05 = { t="CJFLDR05", f="CJFFLEM2" }, - - CJLODG01 = { t="CJLODG01", f="CJFLOD02" }, - CJLODG02 = { t="CJLODG02", f="CJFLOD02" }, - CJLODG03 = { t="CJLODG03", f="CJFLOD02" }, - CJLODG04 = { t="CJLODG04", f="CJFLOD02" }, - CJLODG05 = { t="CJLODG05", f="CJFLOD02" }, - CJLODG06 = { t="CJLODG06", f="CJFLOD02" }, - CJLODG07 = { t="CJLODG07", f="CJFLOD02" }, - CJLODG08 = { t="CJLODG08", f="CJFLOD02" }, - CJLODG09 = { t="CJLODG09", f="CJFLOD02" }, - CJLODG10 = { t="CJLODG10", f="CJFLOD02" }, - CJLODG11 = { t="CJLODG11", f="CJFLOD02" }, - CJLODG12 = { t="CJLODG12", f="CJFLOD02" }, - CJLODG13 = { t="CJLODG13", f="CJFLOD02" }, - CJLODG14 = { t="CJLODG14", f="CJFLOD02" }, - CJLODG15 = { t="CJLODG15", f="CJFLOD02" }, - CJLODG16 = { t="CJLODG16", f="CJFLOD02" }, - CJLODG17 = { t="CJLODG17", f="CJFLOD02" }, - - CJMETE01 = { t="CJMETE01", f="CJFFLEM1" }, - CJMINE01 = { t="CJMINE01", f="CJFMINE1" }, - CJMINE02 = { t="CJMINE02", f="CJFMINE1" }, - CJREDDR0 = { t="CJREDDR0", f="CJFLOD02" }, - CJSHIP01 = { t="CJSHIP01", f="CJFFLEM2" }, - CJSHIP02 = { t="CJSHIP02", f="CJFSHIP1" }, - CJSHIP03 = { t="CJSHIP03", f="CJFSHIP1" }, - CJSHIP04 = { t="CJSHIP04", f="CJFFLEM2" }, - CJSHIP05 = { t="CJSHIP05", f="CJFFLEM2" }, - - CJSPLAT1 = { t="CJSPLAT1", f="CJFCRA02" }, - CJSW1_1 = { t="CJSW1_1", f="CJFCRA02" }, - CJSW1_2 = { t="CJSW1_2", f="BROWN" }, - CJTRAI01 = { t="CJTRAI01", f="FLOOR0_6" }, - CJTRAI02 = { t="CJTRAI02", f="FLOOR0_6" }, - CJTRAI03 = { t="CJTRAI03", f="FLOOR0_6" }, - CJTRAI04 = { t="CJTRAI04", f="FLOOR0_6" }, - CJYELDR0 = { t="CJYELDR0", f="CJFLOD02" }, - - CJVILL01 = { t="CJVILL01", f="CJFVIL02" }, - CJVILL02 = { t="CJVILL02", f="CJFVIL02" }, - CJVILL03 = { t="CJVILL03", f="CJFVIL02" }, - CJVILL04 = { t="CJVILL04", f="CJFVIL01" }, - CJVILL05 = { t="CJVILL05", f="CJFVIL01" }, - CJVILL06 = { t="CJVILL06", f="CJFVIL02" }, - CJVILL07 = { t="CJVILL07", f="CJFVIL02" }, - CJVILL09 = { t="CJVILL09", f="CJFVIL02" }, - CJVILL10 = { t="CJVILL10", f="CJFVIL02" }, - CJVILL11 = { t="CJVILL11", f="CJFVIL02" }, - - CJCOMM24 = { t="CJCOMM24", f="CJFCOMM2" }, - CJCITY01 = { t="CJCITY01", f="CJFCOMM4" }, - CJLOGO1 = { t="CJLOGO1", f="FLOOR0_2" }, - CJLOGO2 = { t="CJLOGO2", f="FLOOR0_2" }, - CJSHIPBG = { t="CJSHIPBG", f="CJFSHIP2" }, - - -- floors -- - - BOOTHF1 = { f="BOOTHF1", t="TEKWALL1" }, - BOOTHF2 = { f="BOOTHF2", t="TEKWALL1" }, - BOOTHF3 = { f="BOOTHF3", t="TEKWALL1" }, - BOOTHF4 = { f="BOOTHF4", t="TEKWALL1" }, - - CJFCOMM1 = { f="CJFCOMM1", t="CJCOMM01" }, - CJFCOMM2 = { f="CJFCOMM2", t="CJCOMM04" }, - CJFCOMM3 = { f="CJFCOMM3", t="CJCOMM02" }, - CJFCOMM4 = { f="CJFCOMM4", t="CJCOMM02" }, - CJFCOMM5 = { f="CJFCOMM5", t="SP_FACE1" }, - CJFCOMM6 = { f="CJFCOMM6", t="CJCOMM15" }, - CJFCOMM7 = { f="CJFCOMM7", t="CJCOMM15" }, - - CJFCRA01 = { f="CJFCRA01", t="CJCRAT03" }, - CJFCRA02 = { f="CJFCRA02", t="CJCRAT03" }, - CJFCRA03 = { f="CJFCRA03", t="CJCRAT04" }, - CJFFLEM1 = { f="CJFFLEM1", t="CJMETE01" }, - CJFFLEM2 = { f="CJFFLEM2", t="CJMETE01" }, - CJFFLEM3 = { f="CJFFLEM3", t="CJMETE01" }, - CJFGRAS1 = { f="CJFGRAS1", t="CJMETE01" }, - - CJFLOD01 = { f="CJFLOD01", t="CJCELR01" }, - CJFLOD02 = { f="CJFLOD02", t="CJLODG03" }, - CJFLOD03 = { f="CJFLOD03", t="CJLODG03" }, - CJFLOD04 = { f="CJFLOD04", t="CJLODG03" }, - CJFLOD05 = { f="CJFLOD05", t="GRAYPOIS" }, - CJFLOD06 = { f="CJFLOD06", t="STONE3" }, - CJFLOD07 = { f="CJFLOD07", t="GRAYPOIS" }, - CJFLOD08 = { f="CJFLOD08", t="CJSHIP02" }, - CJFMINE1 = { f="CJFMINE1", t="CJMINE02" }, - CJFSHIP1 = { f="CJFSHIP1", t="CJSHIP02" }, - CJFSHIP2 = { f="CJFSHIP2", t="CJSHIP02" }, - CJFSHIP3 = { f="CJFSHIP3", t="CJSHIP05" }, - - CJFTRA01 = { f="CJFTRA01", t="CJCOMM11" }, - CJFTRA02 = { f="CJFTRA02", t="STEEL64" }, - CJFTRA03 = { f="CJFTRA03", t="GRAYTALL" }, - CJFTRA04 = { f="CJFTRA04", t="GRAYTALL" }, - CJFVIL01 = { f="CJFVIL01", t="CJVILL01" }, - CJFVIL02 = { f="CJFVIL02", t="CJVILL01" }, - CJFVIL03 = { f="CJFVIL03", t="CJVILL01" }, - CJFVIL04 = { f="CJFVIL04", t="CJVILL01" }, - CJFVIL05 = { f="CJFVIL05", t="CJVILL01" }, - CJFVIL06 = { f="CJFVIL06", t="CJVILL01" }, - - BAZOIK1 = { f="ENDFLAT3", t="BAZOIK1" }, - - FLAT1_1 = { f="FLAT1_1", t="GRAYTALL" }, - FLAT5_8 = { f="FLAT5_8", t="SP_ROCK2" }, - - LABFLAT = { f="LABFLAT", t="FIREWALL" }, - - STEEL32 = { f="STEEL32", t="SP_DUDE5" }, - STEEL64 = { f="STEEL64", t="SP_DUDE5" }, - - - -- rails -- - - CJVILL08 = { t="CJVILL08", rail_h=128, line_flags=1 }, - TI_GRATE = { t="TI_GRATE", rail_h=64 }, - LITEMET = { t="LITEMET", rail_h=128 }, - DOORSTOP = { t="DOORSTOP", rail_h=64}, - - SKSPINE1 = { t="SKSPINE1", rail_h=128 }, - STARG1 = { t="STARG1", rail_h=128 }, - - - -- other -- - - O_BOLT = { t="SP_ROCK1", f="O_BOLT", sane=1 }, - O_PILL = { t="SP_ROCK2", f="O_PILL", sane=1 }, - O_RELIEF = { t="MIDBRN1", f="O_RELIEF", sane=1 }, - O_CARVE = { t="NUKESLAD", f="O_CARVE", sane=1 }, - O_NEON = { t="TEKWALL2", f="CEIL4_1", sane=1 }, - -} - -CHEX1.PREFAB_FIELDS = -{ - -} - -CHEX1.SKIN_DEFAULTS = -{ - -} diff --git a/games/chex1/monsters.lua b/games/chex1/monsters.lua deleted file mode 100644 index c14406875d..0000000000 --- a/games/chex1/monsters.lua +++ /dev/null @@ -1,50 +0,0 @@ -CHEX1.MONSTERS = -{ - commonus = - { - id = 3004, - r = 20, - h = 56, - prob = 60, - health = 20, - attack = "melee", - damage = 4 - }, - - bipedicus = - { - id = 9, - r = 20, - h = 56, - prob = 45, - health = 30, - attack = "melee", - damage = 10 - }, - - armored_biped = - { - id = 3001, - r = 20, - h = 56, - prob = 35, - crazy_prob = 65, - health = 60, - attack = "missile", - damage = 20 - }, - - cycloptis = - { - id = 58, - r = 30, - h = 56, - prob = 30, - health = 150, - attack = "melee", - damage = 25, - weap_prefs = { zorch_propulsor=0.5 } - }, - - --Flembrane is probably best left to a prefab boss level -} diff --git a/games/chex1/params.lua b/games/chex1/params.lua index de80b0c69c..e83a37af05 100644 --- a/games/chex1/params.lua +++ b/games/chex1/params.lua @@ -27,25 +27,3 @@ CHEX1.PARAMETERS = episode_length = 5 } - -CHEX1.ACTIONS = -{ - -- - -- These keywords are used by prefabs that are remotely - -- triggered (by a switch or walk-over line). - -- - - S1_OpenDoor = { id=103, kind="open" }, -- opens and stays open - W1_OpenDoor = { id=2, kind="open" }, -- - GR_OpenDoor = { id=46, kind="open" }, -- - - W1_OpenDoorFast = { id=2, kind="open" }, - - S1_RaiseStair = { id=106, kind="stair" }, -- 16 units - W1_RaiseStair = { id=107, kind="stair" }, -- - - S1_FloorUp = { id=18, kind="floor_up" }, -- up to next highest floor - - S1_LowerFloor = { id=23, kind="lower" }, -- down to lowest nb floor - W1_LowerFloor = { id=38, kind="lower" } -- -} diff --git a/games/chex1/pickups.lua b/games/chex1/pickups.lua deleted file mode 100644 index 3bd788f993..0000000000 --- a/games/chex1/pickups.lua +++ /dev/null @@ -1,137 +0,0 @@ -CHEX1.PICKUPS = -{ - -- HEALTH -- - - water = - { - id = 2014, - add_prob = 20, - cluster = { 4,7 }, - give = { {health=1} } - }, - - fruit = - { - id = 2011, - add_prob = 60, - cluster = { 2,5 }, - give = { {health=10} } - }, - - -- ARMOR -- - - repellent = - { - id = 2015, - add_prob = 10, - armor = true, - cluster = { 4,7 }, - give = { {health=1} } - }, - - armor = - { - id = 2018, - add_prob = 5, - armor = true, - big_item = true, - give = { {health=30} } - }, - - -- AMMO -- - - mini_zorch = - { - id = 2007, - add_prob = 10, - cluster = { 2,5 }, - give = { {ammo="mzorch",count=10} } - }, - - mini_pack = - { - id = 2048, - add_prob = 40, - cluster = { 1,3 }, - give = { {ammo="mzorch", count=50} } - }, - - large_zorch = - { - id = 2008, - add_prob = 20, - cluster = { 2,5 }, - give = { {ammo="lzorch",count=4} } - }, - - large_pack = - { - id = 2049, - add_prob = 40, - cluster = { 1,3 }, - give = { {ammo="lzorch",count=20} } - }, - - propulsor_zorch = - { - id = 2010, - add_prob = 10, - cluster = { 4,7 }, - give = { {ammo="propulsor",count=1} } - }, - - propulsor_pack = - { - id = 2046, - add_prob = 40, - cluster = { 1,3 }, - give = { {ammo="propulsor",count=5} } - }, - - phasing_zorch = - { - id = 2047, - add_prob = 20, - cluster = { 2,5 }, - give = { {ammo="phase",count=20} } - }, - - phasing_pack = - { - id = 17, - add_prob = 40, - cluster = { 1,2 }, - give = { {ammo="phase",count=100} } - } -} - -CHEX1.NICE_ITEMS = -{ - -- HEALTH and AMMO -- - - vegetables = - { - id = 2012, - add_prob = 100, - cluster = { 1,3 }, - give = { {health=25} } - }, - - supercharge = - { - id = 2013, - add_prob = 3, - big_item = true, - give = { {health=150} } - }, - - super_armor = - { - id = 2019, - add_prob = 2, - armor = true, - big_item = true, - give = { {health=90} } - } - -} diff --git a/games/chex1/resources.lua b/games/chex1/resources.lua index 4dbaebf8b9..997d1f725b 100644 --- a/games/chex1/resources.lua +++ b/games/chex1/resources.lua @@ -173,5 +173,4 @@ end function CHEX1.all_done() CHEX1.make_cool_gfx() CHEX1.make_episode_gfx() - end diff --git a/games/chex1/themes.lua b/games/chex1/themes.lua index d472467b41..909a389cbc 100644 --- a/games/chex1/themes.lua +++ b/games/chex1/themes.lua @@ -66,31 +66,7 @@ CHEX1.SINKS = CHEX1.THEMES = { DEFAULTS = - { - - keys = - { - k_yellow = 50, - k_red = 50, - k_blue = 50 - }, - - skyboxes = - { - - }, - - cage_lights = { 0, 8, 12, 13 }, - - pool_depth = 24, - - street_sinks = - { - floor_default_streets = 1 - }, - - streets_friendly = false, - + { slump_config = [[ ; diff --git a/games/chex1/vanilla_mats.lua b/games/chex1/vanilla_mats.lua deleted file mode 100644 index c15774d20a..0000000000 --- a/games/chex1/vanilla_mats.lua +++ /dev/null @@ -1,577 +0,0 @@ -CHEX1.VANILLA_MATS = -{ - -- There are always added by Obsidian regardless of Engine selected - "O_BOLT", - -- Added for exit sign fabs - "CQ1_EXIT", - -- Vanilla Flats - "BLOOD1", - "BLOOD2", - "BLOOD3", - "BOOTHF1", - "BOOTHF2", - "BOOTHF3", - "BOOTHF4", - "BROWN", - "CEIL3_1", - "CEIL3_2", - "CEIL3_5", - "CEIL4_1", - "CEIL4_2", - "CEIL5_1", - "CFLAT2", - "CJFCOMM1", - "CJFCOMM2", - "CJFCOMM3", - "CJFCOMM4", - "CJFCOMM5", - "CJFCOMM6", - "CJFCOMM7", - "CJFCRA01", - "CJFCRA02", - "CJFCRA03", - "CJFFLEM1", - "CJFFLEM2", - "CJFFLEM3", - "CJFGRAS1", - "CJFLOD01", - "CJFLOD02", - "CJFLOD03", - "CJFLOD04", - "CJFLOD05", - "CJFLOD06", - "CJFLOD07", - "CJFLOD08", - "CJFMINE1", - "CJFSHIP1", - "CJFSHIP2", - "CJFSHIP3", - "CJFTRA01", - "CJFTRA02", - "CJFTRA03", - "CJFTRA04", - "CJFVIL01", - "CJFVIL02", - "CJFVIL03", - "CJFVIL04", - "CJFVIL05", - "CJFVIL06", - "COMP01", - "CRATOP1", - "CRATOP2", - "ENDFLAT1", - "ENDFLAT2", - "ENDFLAT3", - "FLAT1", - "FLAT14", - "FLAT19", - "FLAT1_1", - "FLAT2", - "FLAT22", - "FLAT23", - "FLAT5_6", - "FLAT5_7", - "FLAT5_8", - "FLOOR0_1", - "FLOOR0_2", - "FLOOR0_3", - "FLOOR0_6", - "FLOOR1_1", - "FWATER1", - "FWATER2", - "FWATER3", - "FWATER4", - "F_SKY1", - "GATE1", - "HEDGEF", - "LABFLAT", - "LAVA1", - "LAVA2", - "LAVA3", - "LAVA4", - "MUFLOOR2", - "NUKAGE1", - "NUKAGE2", - "NUKAGE3", - "SLUGBRIK", - "STEEL32", - "STEEL64", - "STEEL64E", - "STEEL64N", - "STEP1", - "STOOREST", - -- Vanilla textures - "AASTINKY", - "ART1", - "ART2", - "ASHWALL", - "BARS", - "BAZOIK1", - "BAZOIK2", - "BIGDOOR1", - "BIGDOOR2", - "BIGDOOR3", - "BIGDOOR4", - "BIGDOOR5", - "BIGDOOR6", - "BIGDOOR7", - "BLASTER", - "BLODGR1", - "BLODGR2", - "BLODGR3", - "BLODGR4", - "BLODRIP1", - "BLODRIP2", - "BLODRIP3", - "BLODRIP4", - "BRNBIGC", - "BRNBIGL", - "BRNBIGR", - "BRNPOIS", - "BRNPOIS2", - "BRNSMAL1", - "BRNSMAL2", - "BRNSMALC", - "BRNSMALL", - "BRNSMALR", - "BROVINE", - "BROVINE2", - "BROWN1", - "BROWN144", - "BROWN96", - "BROWNGRN", - "BROWNHUG", - "BROWNPIP", - "BROWNWEL", - "CANDY", - "CARPET_A", - "CEMENT1", - "CEMENT2", - "CEMENT3", - "CEMENT4", - "CEMENT5", - "CEMENT6", - "CEMPOIS", - "CHEXAD1", - "CHEXAD2", - "CHEXCITY", - "CINEMA", - "CITYWALL", - "CJBLUDR0", - "CJCELR01", - "CJCITY01", - "CJCLIF01", - "CJCLIF02", - "CJCOMM01", - "CJCOMM02", - "CJCOMM03", - "CJCOMM04", - "CJCOMM05", - "CJCOMM06", - "CJCOMM07", - "CJCOMM08", - "CJCOMM09", - "CJCOMM10", - "CJCOMM11", - "CJCOMM12", - "CJCOMM13", - "CJCOMM14", - "CJCOMM15", - "CJCOMM16", - "CJCOMM17", - "CJCOMM18", - "CJCOMM19", - "CJCOMM20", - "CJCOMM21", - "CJCOMM22", - "CJCOMM23", - "CJCOMM24", - "CJCRAT01", - "CJCRAT02", - "CJCRAT03", - "CJCRAT04", - "CJCRAT05", - "CJDOOR01", - "CJDOOR02", - "CJDOOR03", - "CJDOOR04", - "CJFLDR01", - "CJFLDR02", - "CJFLDR03", - "CJFLDR04", - "CJFLDR05", - "CJHYDRO1", - "CJLODG01", - "CJLODG02", - "CJLODG03", - "CJLODG04", - "CJLODG05", - "CJLODG06", - "CJLODG07", - "CJLODG08", - "CJLODG09", - "CJLODG10", - "CJLODG11", - "CJLODG12", - "CJLODG13", - "CJLODG14", - "CJLODG15", - "CJLODG16", - "CJLODG17", - "CJLOGO1", - "CJLOGO2", - "CJMETE01", - "CJMINE01", - "CJMINE02", - "CJREDDR0", - "CJSHIP01", - "CJSHIP02", - "CJSHIP03", - "CJSHIP04", - "CJSHIP05", - "CJSHIPBG", - "CJSKY3A", - "CJSKY3B", - "CJSKY3C", - "CJSKY3D", - "CJSKY3E", - "CJSKY3F", - "CJSKY3G", - "CJSKY3H", - "CJSPLAT1", - "CJSW1_1", - "CJSW1_2", - "CJTRAI01", - "CJTRAI02", - "CJTRAI03", - "CJTRAI04", - "CJVILL01", - "CJVILL02", - "CJVILL03", - "CJVILL04", - "CJVILL05", - "CJVILL06", - "CJVILL07", - "CJVILL08", - "CJVILL09", - "CJVILL10", - "CJVILL11", - "CJYELDR0", - "COMP2", - "COMPBLUE", - "COMPOHSO", - "COMPSPAN", - "COMPSTA1", - "COMPSTA2", - "COMPTALL", - "COMPTILE", - "COMPUTE1", - "COMPUTE2", - "COMPUTE3", - "COMPWERD", - "CRATE1", - "CRATE2", - "CRATELIT", - "CRATINY", - "CRATWIDE", - "CRUDWALL", - "DCAFE01", - "DCAFE02", - "DCAFE03", - "DCAFE04", - "DCAFE06", - "DCAFE07", - "DCAFE08", - "DCAFE09", - "DCAFE10", - "DINESIGN", - "DOOR1", - "DOOR3", - "DOOR3_5", - "DOORBLU", - "DOORBLU2", - "DOORHI", - "DOORRED", - "DOORRED2", - "DOORSTOP", - "DOORTRAK", - "DOORYEL", - "DOORYEL2", - "EXITDOOR", - "EXITSIGN", - "EXITSTON", - "FIREBLU1", - "FIREBLU2", - "FIRELAV2", - "FIRELAV3", - "FIRELAVA", - "FIREMAG1", - "FIREMAG2", - "FIREMAG3", - "FIREWALA", - "FIREWALB", - "FIREWALL", - "FOODMENU", - "GRAY1", - "GRAY2", - "GRAY4", - "GRAY5", - "GRAY7", - "GRAYBIG", - "GRAYDANG", - "GRAYPOIS", - "GRAYTALL", - "GRAYVINE", - "GSTFONT1", - "GSTFONT2", - "GSTFONT3", - "GSTGARG", - "GSTLION", - "GSTONE1", - "GSTONE2", - "GSTSATYR", - "GSTVINE1", - "GSTVINE2", - "HEDGE", - "HUNGRY", - "HYDROPO1", - "HYDROPO2", - "HYDROPO3", - "ICKDOOR1", - "ICKWALL1", - "ICKWALL2", - "ICKWALL3", - "ICKWALL4", - "ICKWALL5", - "ICKWALL6", - "ICKWALL7", - "IFOCSEAL", - "LITE2", - "LITE3", - "LITE4", - "LITE5", - "LITE96", - "LITEBLU1", - "LITEBLU2", - "LITEBLU3", - "LITEBLU4", - "LITEMET", - "LITERED", - "LITESTON", - "MARBFAC2", - "MARBFAC3", - "MARBFACE", - "MARBLE1", - "MARBLE2", - "MARBLE3", - "MARBLOD1", - "METAL", - "MIDBRN1", - "MIDGRATE", - "MIDVINE1", - "MIDVINE2", - "MONA", - "MOVIE1A", - "MOVIE1B", - "MOVIE1C", - "MOVIE1D", - "MOVIE2A", - "MOVIE2B", - "MOVIE2C", - "MOVIE2D", - "MOVIE3A", - "MOVIE3B", - "MOVIE3C", - "MUNCH", - "MUSEUM", - "MUSEUM2", - "NICEWALL", - "NUKE24", - "NUKEDGE1", - "NUKEPOIS", - "NUKESLAD", - "PIPE1", - "PIPE2", - "PIPE4", - "PIPE6", - "PLANET1", - "PLAT1", - "PLUSH", - "POPCORN", - "POSTER1", - "POSTER2", - "POSTER3", - "REDWALL", - "REDWALL1", - "ROCKRED1", - "ROCKRED2", - "ROCKRED3", - "SEWER1", - "SEWER2", - "SEWER3", - "SEWER4", - "SEWER_A", - "SEWER_B", - "SHAWN1", - "SHAWN2", - "SHAWN3", - "SKIN2", - "SKINBORD", - "SKINCUT", - "SKINEDGE", - "SKINFACE", - "SKINLOW", - "SKINMET1", - "SKINMET2", - "SKINSCAB", - "SKINSYMB", - "SKINTEK1", - "SKINTEK2", - "SKSNAKE1", - "SKSNAKE2", - "SKSPINE1", - "SKSPINE2", - "SKULWAL3", - "SKULWALL", - "SKY1", - "SKY2", - "SKY3", - "SKY4", - "SLADPOIS", - "SLADRIP1", - "SLADRIP2", - "SLADRIP3", - "SLADSKUL", - "SLADWALL", - "SLIME_DR", - "SPACPORT", - "SPARTAN4", - "SPARTAN5", - "SPARTAN6", - "SPDOOR", - "SP_DUDE1", - "SP_DUDE2", - "SP_DUDE3", - "SP_DUDE4", - "SP_DUDE5", - "SP_DUDE6", - "SP_FACE1", - "SP_HOT1", - "SP_ROCK1", - "SP_ROCK2", - "STARBR2", - "STARG1", - "STARG2", - "STARG3", - "STARGR1", - "STARGR2", - "STARTAN1", - "STARTAN2", - "STARTAN3", - "STEP1", - "STEP2", - "STEP3", - "STEP4", - "STEP5", - "STEP6", - "STEPLAD1", - "STEPTOP", - "STONE", - "STONE2", - "STONE3", - "STONGARG", - "STONPOIS", - "STORAGE", - "SUPPORT2", - "SUPPORT3", - "SW1BLUE", - "SW1BRCOM", - "SW1BRN1", - "SW1BRN2", - "SW1BRNGN", - "SW1BROWN", - "SW1CMT", - "SW1COMM", - "SW1COMP", - "SW1DIRT", - "SW1EXIT", - "SW1GARG", - "SW1GRAY", - "SW1GRAY1", - "SW1GSTON", - "SW1HOT", - "SW1LION", - "SW1METAL", - "SW1PIPE", - "SW1SATYR", - "SW1SKIN", - "SW1SLAD", - "SW1STARG", - "SW1STON1", - "SW1STON2", - "SW1STONE", - "SW1STRTN", - "SW1VINE", - "SW1WOOD", - "SW2BLUE", - "SW2BRCOM", - "SW2BRN1", - "SW2BRN2", - "SW2BRNGN", - "SW2BROWN", - "SW2CMT", - "SW2COMM", - "SW2COMP", - "SW2DIRT", - "SW2EXIT", - "SW2GARG", - "SW2GRAY", - "SW2GRAY1", - "SW2GSTON", - "SW2HOT", - "SW2LION", - "SW2METAL", - "SW2PIPE", - "SW2SATYR", - "SW2SKIN", - "SW2SLAD", - "SW2STARG", - "SW2STON1", - "SW2STON2", - "SW2STONE", - "SW2STRTN", - "SW2VINE", - "SW2WOOD", - "TEKWALL1", - "TEKWALL2", - "TEKWALL3", - "TEKWALL4", - "TEKWALL5", - "THEATRE1", - "THEATRE2", - "THEATRE3", - "THEAWALL", - "TILE_A", - "TI_GRATE", - "TRAINA1", - "TRAINA2", - "TRAINA3", - "TRAINA4", - "TRAINB1", - "TRAINB2", - "TRAINB3", - "TRAINB4", - "VENUSHS", - "VINCENT", - "WINDOH", - "WINDOH2", - "WOOD1", - "WOOD3", - "WOOD4", - "WOOD5", - "WOODGARG", - "WOODSKUL", - "WORMHOL1", - "WORMHOL2", - "WORMHOL3", -} diff --git a/games/chex1/weapons.lua b/games/chex1/weapons.lua deleted file mode 100644 index 5b9c8886ce..0000000000 --- a/games/chex1/weapons.lua +++ /dev/null @@ -1,112 +0,0 @@ -CHEX1.WEAPONS = -{ - spoon = - { - attack = "melee", - rate = 1.5, - damage = 10 - }, - - super_bootspork = - { - id = 2005, - level = 2, - add_prob = 2, - start_prob = 1, - pref = 3, - attack = "melee", - rate = 8.7, - damage = 10 - }, - - mini_zorcher = - { - pref = 5, - attack = "hitscan", - rate = 1.8, - damage = 10, - ammo = "mzorch", - per = 1 - }, - - rapid_zorcher = - { - id = 2002, - level = 1, - add_prob = 35, - start_prob = 40, - pref = 70, - attack = "hitscan", - rate = 8.5, - damage = 10, - ammo = "mzorch", - per = 1, - give = { {ammo="mzorch",count=20} } - }, - - large_zorcher = - { - id = 2001, - level = 3, - add_prob = 10, - start_prob = 60, - pref = 70, - attack = "hitscan", - rate = 0.9, - damage = 70, - splash = { 0,10 }, - ammo = "lzorch", - per = 1, - give = { {ammo="lzorch",count=8} } - }, - - zorch_propulsor = - { - id = 2003, - level = 3.5, - add_prob = 25, - start_prob = 10, - rarity = 2, - pref = 50, - attack = "missile", - rate = 1.7, - damage = 80, - splash = { 50,20,5 }, - ammo = "propulsor", - per = 1, - give = { {ammo="propulsor",count=2} } - }, - - phasing_zorcher = - { - id = 2004, - level = 4, - add_prob = 13, - start_prob = 5, - rarity = 2, - pref = 90, - attack = "missile", - rate = 11, - damage = 20, - ammo = "phase", - per = 1, - give = { {ammo="phase",count=40} } - }, - - laz_device = - { - id = 2006, - level = 4, - add_prob = 30, - start_prob = 0.2, - rarity = 5, - pref = 30, - attack = "missile", - rate = 0.8, - damage = 300, - splash = {60,45,30,30,20,10}, - ammo = "phase", - per = 40, - give = { {ammo="phase",count=40} } - } -} diff --git a/games/hacx/base.lua b/games/hacx/base.lua index 039b7ff098..a546e4e92c 100644 --- a/games/hacx/base.lua +++ b/games/hacx/base.lua @@ -23,25 +23,13 @@ HACX = { } ---------------------------------------------------------------- gui.import("params") -gui.import("entities") -gui.import("factory") -- For earlier Oblige versions -gui.import("monsters") -gui.import("pickups") -gui.import("weapons") -gui.import("materials") gui.import("themes") -gui.import("levels") gui.import("resources") -gui.import("vanilla_mats") gui.import("names") gui.import("stories") ---------------------------------------------------------------- function HACX.all_done() - if ob_match_port("advanced") then - local wad_file = "games/hacx/data/HAC_EXIT.wad" - gui.wad_merge_sections(wad_file) - end gui.wad_insert_file("data/endoom/ENDOOM.bin", "ENDOOM") end @@ -63,9 +51,7 @@ OB_GAMES["hacx"] = hooks = { - factory_setup = HACX.factory_setup, slump_setup = HACX.slump_setup, - get_levels = HACX.get_levels, all_done = HACX.all_done }, } diff --git a/games/hacx/data/HAC_EXIT.wad b/games/hacx/data/HAC_EXIT.wad deleted file mode 100644 index 2e7ad02aa8..0000000000 Binary files a/games/hacx/data/HAC_EXIT.wad and /dev/null differ diff --git a/games/hacx/entities.lua b/games/hacx/entities.lua deleted file mode 100644 index 39d6814c0a..0000000000 --- a/games/hacx/entities.lua +++ /dev/null @@ -1,44 +0,0 @@ -HACX.ENTITIES = -{ - --- special stuff --- - player1 = { id=1, r=16, h=56 }, - player2 = { id=2, r=16, h=56 }, - player3 = { id=3, r=16, h=56 }, - player4 = { id=4, r=16, h=56 }, - - dm_player = { id=11, r=16, h=56 }, - teleport_spot = { id=14, r=16, h=56 }, - - --- keys --- - kz_red = { id=38 }, - kz_yellow = { id=39 }, - kz_blue = { id=40 }, - - -- TODO: POWERUPS - - --- scenery --- - chair = { id=35, r=24, h=40 }, - ceiling_light = { id=44, r=31, h=60, light=255, pass=true, ceil=true, add_mode="island" }, - wall_torch = { id=56, r=10, h=64, light=255, pass=true, add_mode="extend" }, - barrel = { id=2035, r=12, h=32 }, - rock = { id=79, r=10, h=32, pass=true}, - standing_lamp = { id=57, r=38, h=51, pass=true, light=255}, - small_pillar = { id=48, r=16, h=36 }, - passable_ceiling_decor = { id=74, r=16, h=24, pass=true, ceil=true }, - tree = { id=54, r=20, h=64 }, - - light = { id="light", r=1, h=1, pass=true }, - secret = { id="oblige_secret", r=1, h=1, pass=true }, - depot_ref = { id="oblige_depot", r=1, h=1, pass=true }, - - -- TODO: all other scenery!! -} - -HACX.PLAYER_MODEL = -{ - danny = - { - stats = { health=0 }, - weapons = { pistol=1, boot=1 } - } -} diff --git a/games/hacx/fabs/bridge/.gitkeep b/games/hacx/fabs/bridge/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/cage/.gitkeep b/games/hacx/fabs/cage/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/cage/small_cage.lua b/games/hacx/fabs/cage/small_cage.lua deleted file mode 100644 index f33609a668..0000000000 --- a/games/hacx/fabs/cage/small_cage.lua +++ /dev/null @@ -1,23 +0,0 @@ --- --- Small Cage --- - -PREFABS.Cage_small_1 = -{ - file = "cage/small_cage.wad", - map = "MAP01", - - prob = 50, - env = "outdoor", - - where = "point", - - - - size = 80, - height = 128, - - bound_z1 = 0, - bound_z2 = 120, -} - diff --git a/games/hacx/fabs/cage/small_cage.wad b/games/hacx/fabs/cage/small_cage.wad deleted file mode 100644 index d531615d2d..0000000000 Binary files a/games/hacx/fabs/cage/small_cage.wad and /dev/null differ diff --git a/games/hacx/fabs/cage/stand_cage.lua b/games/hacx/fabs/cage/stand_cage.lua deleted file mode 100644 index 756526f609..0000000000 --- a/games/hacx/fabs/cage/stand_cage.lua +++ /dev/null @@ -1,43 +0,0 @@ --- --- Standing Cage --- - -PREFABS.Cage_stand1 = -{ - file = "cage/stand_cage.wad", - map = "MAP01", - - prob = 500, - - where = "point", - - - - size = 128, - height = 128, - - bound_z1 = 0, - bound_z2 = 120, -} - - -PREFABS.Cage_stand2 = -{ - file = "cage/stand_cage.wad", - map = "MAP02", - - - prob = 100, - env = "cave", - - - - where = "point", - - size = 96, - height = 152, - - bound_z1 = 0, - bound_z2 = 152, -} - diff --git a/games/hacx/fabs/cage/stand_cage.wad b/games/hacx/fabs/cage/stand_cage.wad deleted file mode 100644 index 060bf99dbf..0000000000 Binary files a/games/hacx/fabs/cage/stand_cage.wad and /dev/null differ diff --git a/games/hacx/fabs/cage/wall_cage.lua b/games/hacx/fabs/cage/wall_cage.lua deleted file mode 100644 index 2701ec86c7..0000000000 --- a/games/hacx/fabs/cage/wall_cage.lua +++ /dev/null @@ -1,26 +0,0 @@ --- --- Cage which is flush with the wall --- - -PREFABS.Cage_wall = -{ - file = "cage/wall_cage.wad", - map = "MAP01", - - prob = 100, - - where = "seeds", - shape = "U", - - - - seed_w = 1, - seed_h = 1, - - deep = 16, - over = -16, - - x_fit = "stretch", - y_fit = "top", -} - diff --git a/games/hacx/fabs/cage/wall_cage.wad b/games/hacx/fabs/cage/wall_cage.wad deleted file mode 100644 index 68ffc32be4..0000000000 Binary files a/games/hacx/fabs/cage/wall_cage.wad and /dev/null differ diff --git a/games/hacx/fabs/decor/.gitkeep b/games/hacx/fabs/decor/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/decor/barrels.lua b/games/hacx/fabs/decor/barrels.lua deleted file mode 100644 index 6c03105df0..0000000000 --- a/games/hacx/fabs/decor/barrels.lua +++ /dev/null @@ -1,44 +0,0 @@ --- --- Wooden Barrels --- - -PREFABS.Decor_barrels1 = -{ - file = "decor/barrels.wad", - map = "MAP01", - - prob = 50, - env = "building", - - - - where = "point", - size = 96, - - bound_z1 = 0, - bound_z2 = 32, - - solid_ents = true, - sink_mode = "never", -} - - -PREFABS.Decor_barrels2 = -{ - template = "Decor_barrels1", - map = "MAP02", -} - - -PREFABS.Decor_barrels3 = -{ - template = "Decor_barrels1", - map = "MAP03", -} - -PREFABS.Decor_barrels4 = -{ - template = "Decor_barrels1", - map = "MAP04", -} - diff --git a/games/hacx/fabs/decor/barrels.wad b/games/hacx/fabs/decor/barrels.wad deleted file mode 100644 index 5e64efe2b4..0000000000 Binary files a/games/hacx/fabs/decor/barrels.wad and /dev/null differ diff --git a/games/hacx/fabs/decor/chandelier.lua b/games/hacx/fabs/decor/chandelier.lua deleted file mode 100644 index be8ae0f0ab..0000000000 --- a/games/hacx/fabs/decor/chandelier.lua +++ /dev/null @@ -1,23 +0,0 @@ --- --- Hanging chandelier --- - -PREFABS.Decor_chandelier = -{ - file = "decor/chandelier.wad", - map = "MAP01", - - prob = 100, - env = "building", - - - - kind = "light", - where = "point", - - height = 160, - - bound_z1 = -64, - bound_z2 = 0, -} - diff --git a/games/hacx/fabs/decor/chandelier.wad b/games/hacx/fabs/decor/chandelier.wad deleted file mode 100644 index 9eb71b7281..0000000000 Binary files a/games/hacx/fabs/decor/chandelier.wad and /dev/null differ diff --git a/games/hacx/fabs/decor/crates1.lua b/games/hacx/fabs/decor/crates1.lua deleted file mode 100644 index eb37269b5c..0000000000 --- a/games/hacx/fabs/decor/crates1.lua +++ /dev/null @@ -1,57 +0,0 @@ --- --- Crate-like decorations --- - -PREFABS.Crate_sandstone = -{ - file = "decor/crates1.wad", - map = "MAP01", - - prob = 40, - env = "outdoor", - - - - where = "point", - size = 64, -} - - -PREFABS.Crate_saint1 = -{ - file = "decor/crates1.wad", - map = "MAP02", - - prob = 10, - env = "outdoor", - - - - where = "point", - size = 64, - height = 160, -} - - -PREFABS.Crate_saint1_B = -{ - template = "Crate_saint1", - - prob = 5, - skip_prob = 50, - env = "building", -} - - -PREFABS.Crate_demonface = -{ - file = "decor/crates1.wad", - map = "MAP12", - - prob = 200, - - where = "point", - size = 128, - height = 160, -} - diff --git a/games/hacx/fabs/decor/crates1.wad b/games/hacx/fabs/decor/crates1.wad deleted file mode 100644 index 285f59a516..0000000000 Binary files a/games/hacx/fabs/decor/crates1.wad and /dev/null differ diff --git a/games/hacx/fabs/decor/fountain.lua b/games/hacx/fabs/decor/fountain.lua deleted file mode 100644 index 3880216aa2..0000000000 --- a/games/hacx/fabs/decor/fountain.lua +++ /dev/null @@ -1,21 +0,0 @@ --- --- Water Fountain --- - -PREFABS.Decor_water_fountain = -{ - file = "decor/fountain.wad", - map = "MAP01", - - prob = 200, - skip_prob = 50, - env = "outdoor", - - - - where = "point", - size = 128, - - bound_z1 = 0, -} - diff --git a/games/hacx/fabs/decor/fountain.wad b/games/hacx/fabs/decor/fountain.wad deleted file mode 100644 index b99a8bfa34..0000000000 Binary files a/games/hacx/fabs/decor/fountain.wad and /dev/null differ diff --git a/games/hacx/fabs/decor/pillar1.lua b/games/hacx/fabs/decor/pillar1.lua deleted file mode 100644 index 4464e0b2ef..0000000000 --- a/games/hacx/fabs/decor/pillar1.lua +++ /dev/null @@ -1,24 +0,0 @@ --- --- Simple round pillar --- - -PREFABS.Pillar_round1 = -{ - file = "decor/pillar1.wad", - map = "MAP01", - - prob = 70, - where = "point", - env = "building", - - - - size = 80, - height = 128, - - bound_z1 = 0, - bound_z2 = 128, - - z_fit = { 56,72 } -} - diff --git a/games/hacx/fabs/decor/pillar1.wad b/games/hacx/fabs/decor/pillar1.wad deleted file mode 100644 index c28ae5d844..0000000000 Binary files a/games/hacx/fabs/decor/pillar1.wad and /dev/null differ diff --git a/games/hacx/fabs/decor/pillar2.lua b/games/hacx/fabs/decor/pillar2.lua deleted file mode 100644 index 27911eff48..0000000000 --- a/games/hacx/fabs/decor/pillar2.lua +++ /dev/null @@ -1,33 +0,0 @@ --- --- Square pillars --- - -PREFABS.Pillar_square_A = -{ - file = "decor/pillar2.wad", - map = "MAP01", - - prob = 1000, - skip_prob = 90, - - where = "point", - env = "building", - - - - size = 64, - height = 80, - - bound_z1 = 0, - bound_z2 = 80, - - z_fit = "stretch", -} - - -PREFABS.Pillar_square_B = -{ - template = "Pillar_square_A", - map = "MAP02", -} - diff --git a/games/hacx/fabs/decor/pillar2.wad b/games/hacx/fabs/decor/pillar2.wad deleted file mode 100644 index 4f12c18d90..0000000000 Binary files a/games/hacx/fabs/decor/pillar2.wad and /dev/null differ diff --git a/games/hacx/fabs/decor/stalag.lua b/games/hacx/fabs/decor/stalag.lua deleted file mode 100644 index 6e767fe2aa..0000000000 --- a/games/hacx/fabs/decor/stalag.lua +++ /dev/null @@ -1,83 +0,0 @@ --- --- Cavey stalagmites & stalactites --- - - ----- jutting up from floor ---- - -PREFABS.Decor_stalag1 = -{ - file = "decor/stalag.wad", - map = "MAP01", - - prob = 150, - env = "cave", - - - - where = "point", - size = 104, -- NOTE: a hack, it is really 128, - height = 160, - - bound_z1 = 0, - bound_z2 = 160, - - z_fit = "stretch", -} - -PREFABS.Decor_stalag1_big = -{ - template = "Decor_stalag1", - map = "MAP02", - - prob = 100, - - z_fit = "top", -} - - ----- jutting down from ceiling ---- - -PREFABS.Decor_stalag2 = -{ - template = "Decor_stalag1", - map = "MAP04", - - prob = 170, - - z_fit = "stretch", -} - -PREFABS.Decor_stalag2_big = -{ - template = "Decor_stalag1", - map = "MAP05", - - prob = 130, - - z_fit = "bottom", -} - - ----- both floor and ceiling ---- - -PREFABS.Decor_stalag3 = -{ - template = "Decor_stalag1", - map = "MAP07", - - prob = 150, - - z_fit = "stretch", -} - -PREFABS.Decor_stalag3_big = -{ - template = "Decor_stalag1", - map = "MAP08", - - prob = 100, - - z_fit = "stretch", -} - diff --git a/games/hacx/fabs/decor/stalag.wad b/games/hacx/fabs/decor/stalag.wad deleted file mode 100644 index 70b37c3c01..0000000000 Binary files a/games/hacx/fabs/decor/stalag.wad and /dev/null differ diff --git a/games/hacx/fabs/door/.gitkeep b/games/hacx/fabs/door/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/door/arch_curved.lua b/games/hacx/fabs/door/arch_curved.lua deleted file mode 100644 index 0bd61ed855..0000000000 --- a/games/hacx/fabs/door/arch_curved.lua +++ /dev/null @@ -1,48 +0,0 @@ --- --- Archway with a curved arch --- - -PREFABS.Arch_curved1 = -{ - file = "door/arch_curved.wad", - map = "MAP01", - - prob = 50, - - kind = "arch", - where = "edge", - - - - seed_w = 2, - - deep = 16, - over = 16, - - x_fit = "frame", - - bound_z1 = 0, -} - - -PREFABS.Arch_curved2 = -{ - template = "Arch_curved1", - map = "MAP02", - - prob = 200, - - seed_w = 3, -} - - -PREFABS.Arch_curved3 = -{ - template = "Arch_curved1", - map = "MAP03", - - prob = 800, - - seed_w = 4, -} - diff --git a/games/hacx/fabs/door/arch_curved.wad b/games/hacx/fabs/door/arch_curved.wad deleted file mode 100644 index b3a4636ee7..0000000000 Binary files a/games/hacx/fabs/door/arch_curved.wad and /dev/null differ diff --git a/games/hacx/fabs/door/barred_arch.lua b/games/hacx/fabs/door/barred_arch.lua deleted file mode 100644 index 6c044379ac..0000000000 --- a/games/hacx/fabs/door/barred_arch.lua +++ /dev/null @@ -1,65 +0,0 @@ --- --- Archway with bars --- - -PREFABS.Arch_barred = -{ - file = "door/barred_arch.wad", - map = "MAP01", - - prob = 35, - - where = "edge", - key = "barred", - - - - deep = 16, - over = 16, - - seed_w = 1, - - -- no x_fit, hence the wide version gets used when seed_w >= 2, - -- MSSP: it does now - - x_fit = "frame", - - bound_z1 = 0, - bound_z2 = 128, - - tag_1 = "?door_tag", - door_action = "S1_OpenDoor", -} - - -PREFABS.Arch_barred_wide = -{ - template = "Arch_barred", - map = "MAP03", - - prob = 50, - - seed_w = 2, - - x_fit = "frame", -} - - -PREFABS.Arch_barred_diag = -{ - file = "door/barred_arch.wad", - map = "MAP02", - - prob = 50, - - - - where = "diagonal", - key = "barred", - - bound_z1 = 0, - bound_z2 = 128, - - tag_1 = "?door_tag", - door_action = "S1_OpenDoor", -} diff --git a/games/hacx/fabs/door/barred_arch.wad b/games/hacx/fabs/door/barred_arch.wad deleted file mode 100644 index d8ea64f0fe..0000000000 Binary files a/games/hacx/fabs/door/barred_arch.wad and /dev/null differ diff --git a/games/hacx/fabs/door/cave_hole.lua b/games/hacx/fabs/door/cave_hole.lua deleted file mode 100644 index 163fc66753..0000000000 --- a/games/hacx/fabs/door/cave_hole.lua +++ /dev/null @@ -1,105 +0,0 @@ --- --- Cavey archway with vines --- - -PREFABS.Arch_viney1 = -{ - file = "door/cave_hole.wad", - map = "MAP02", - - - prob = 400, - - env = "cave", - neighbor = "any", - - - - kind = "arch", - where = "edge", - seed_w = 2, - - deep = 16, - over = 16, - - x_fit = "frame", - - bound_z1 = 0, - bound_z2 = 132, -} - - -PREFABS.Arch_viney1_B = -{ - template = "Arch_viney1", - - env = "any", - neighbor = "cave", -} - - -PREFABS.Door_viney1 = -{ - template = "Arch_viney1", - - - kind = "door", -} - - ----------- JOINER VERSIONS ----------------------- - - -PREFABS.Joiner_viney1 = -{ - file = "door/cave_hole.wad", - map = "MAP05", - - - prob = 50, - - env = "!cave", - neighbor = "cave", - - kind = "joiner", - where = "seeds", - shape = "I", - - - - seed_w = 2, - seed_h = 1, - - deep = 16, - over = 16, - - x_fit = "frame", - y_fit = { 32,144 }, - - force_flip = false -} - - -PREFABS.Joiner_viney1_B = -{ - template = "Joiner_viney1", - map = "MAP05", - - env = "cave", - neighbor = "any", - - force_flip = true -} - - -PREFABS.Joiner_viney1_CC = -{ - template = "Joiner_viney1", - map = "MAP06", - - env = "cave", - neighbor = "cave", - - -} - diff --git a/games/hacx/fabs/door/cave_hole.wad b/games/hacx/fabs/door/cave_hole.wad deleted file mode 100644 index d0b37dbfa3..0000000000 Binary files a/games/hacx/fabs/door/cave_hole.wad and /dev/null differ diff --git a/games/hacx/fabs/door/key_medium.lua b/games/hacx/fabs/door/key_medium.lua deleted file mode 100644 index 2b910e0787..0000000000 --- a/games/hacx/fabs/door/key_medium.lua +++ /dev/null @@ -1,85 +0,0 @@ --- --- Keyed doors, medium size --- - -PREFABS.Locked_medium_red = -{ - file = "door/key_medium.wad", - map = "MAP01", - - prob = 50, - - key = "kz_red", - where = "edge", - - - - seed_w = 2, - - deep = 32, - over = 32, - - x_fit = "frame", -} - - -PREFABS.Locked_medium_red_diag = -{ - file = "door/key_medium.wad", - map = "MAP02", - - prob = 50, - - key = "kz_red", - where = "diagonal", - - - - seed_w = 2, - seed_h = 2, -} - - ----------------------------------------------- - - -PREFABS.Locked_medium_blue = -{ - template = "Locked_medium_red", - key = "kz_blue", - - line_33 = 32, - tex_HW510 = "HW512" -} - -PREFABS.Locked_medium_blue_diag = -{ - template = "Locked_medium_red_diag", - key = "kz_blue", - - line_33 = 32, - tex_HW510 = "HW512" -} - - ----------------------------------------------- - - -PREFABS.Locked_medium_yellow = -{ - template = "Locked_medium_red", - key = "kz_yellow", - - line_33 = 34, - tex_HW510 = "HW511" -} - -PREFABS.Locked_medium_yellow_diag = -{ - template = "Locked_medium_red_diag", - key = "kz_yellow", - - line_33 = 34, - tex_HW510 = "HW511" -} - diff --git a/games/hacx/fabs/door/key_medium.wad b/games/hacx/fabs/door/key_medium.wad deleted file mode 100644 index 28fe6cfa5f..0000000000 Binary files a/games/hacx/fabs/door/key_medium.wad and /dev/null differ diff --git a/games/hacx/fabs/door/secret.lua b/games/hacx/fabs/door/secret.lua deleted file mode 100644 index adb71156c0..0000000000 --- a/games/hacx/fabs/door/secret.lua +++ /dev/null @@ -1,78 +0,0 @@ --- --- Secret doors --- - -PREFABS.Door_secret = -{ - file = "door/secret.wad", - map = "MAP01", - - prob = 200, - - where = "edge", - key = "secret", - - - - -- we use a hanging object to mark secret, so must not be outdoor - env = "building", - - deep = 16, - over = 16, - - x_fit = "frame", -} - - -PREFABS.Door_secret_diag = -{ - file = "door/secret.wad", - map = "MAP02", - - prob = 50, - - - - where = "diagonal", - key = "secret", - - -- we use a hanging object to mark secret, so must not be outdoor - env = "building", -} - - --- wall is lit up -PREFABS.Door_secret3 = -{ - template = "Door_secret", - map = "MAP03", - - prob = 50, - - env = "any", -} - - --- small gap at bottom -PREFABS.Door_secret4 = -{ - template = "Door_secret", - map = "MAP04", - - prob = 100, - - env = "any", -} - - --- looks like a window -PREFABS.Door_secret5 = -{ - template = "Door_secret", - map = "MAP05", - - prob = 100, - - env = "any", -} - diff --git a/games/hacx/fabs/door/secret.wad b/games/hacx/fabs/door/secret.wad deleted file mode 100644 index d374800fa4..0000000000 Binary files a/games/hacx/fabs/door/secret.wad and /dev/null differ diff --git a/games/hacx/fabs/door/wide_door.lua b/games/hacx/fabs/door/wide_door.lua deleted file mode 100644 index 0c458b0cd8..0000000000 --- a/games/hacx/fabs/door/wide_door.lua +++ /dev/null @@ -1,35 +0,0 @@ --- --- Wide doors --- - -PREFABS.Door_wide_wood = -{ - file = "door/wide_door.wad", - map = "MAP01", - - prob = 40, - - kind = "arch", - where = "edge", - - - - seed_w = 2, - - deep = 16, - over = 16, - - x_fit = "frame", -} - - -PREFABS.Door_wide_chainman = -{ - template = "Door_wide_wood", - map = "MAP03", - - prob = 40, - - seed_w = 3, -} - diff --git a/games/hacx/fabs/door/wide_door.wad b/games/hacx/fabs/door/wide_door.wad deleted file mode 100644 index a762ad11fd..0000000000 Binary files a/games/hacx/fabs/door/wide_door.wad and /dev/null differ diff --git a/games/hacx/fabs/exit/.gitkeep b/games/hacx/fabs/exit/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/exit/closet1.lua b/games/hacx/fabs/exit/closet1.lua deleted file mode 100644 index 12bbd7bc7f..0000000000 --- a/games/hacx/fabs/exit/closet1.lua +++ /dev/null @@ -1,37 +0,0 @@ --- --- Exit closet --- - -PREFABS.Exit_closet1 = -{ - file = "exit/closet1.wad", - map = "MAP01", - - prob = 100, - - - - where = "seeds", - seed_w = 1, - seed_h = 1, - - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", -} - - ----------------------------------------------------------------------- - -PREFABS.Exit_closet1_secret = -{ - template = "Exit_closet1", - - kind = "secret_exit", - - -- replace normal exit special with "exit to secret" special - line_11 = 51, -} - diff --git a/games/hacx/fabs/exit/closet1.wad b/games/hacx/fabs/exit/closet1.wad deleted file mode 100644 index a147886c4f..0000000000 Binary files a/games/hacx/fabs/exit/closet1.wad and /dev/null differ diff --git a/games/hacx/fabs/exit/secret_box.lua b/games/hacx/fabs/exit/secret_box.lua deleted file mode 100644 index b823218d6d..0000000000 --- a/games/hacx/fabs/exit/secret_box.lua +++ /dev/null @@ -1,28 +0,0 @@ --- --- Secret closet for a secret exit --- - -PREFABS.Exit_secret_box1 = -{ - file = "exit/secret_box.wad", - - prob = 100, - - -- the kind means "an exit to a secret level", - -- the key means "a closet which is hidden in the room", - kind = "secret_exit", - key = "secret", - - - - where = "seeds", - seed_w = 1, - seed_h = 1, - - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", -} - diff --git a/games/hacx/fabs/exit/secret_box.wad b/games/hacx/fabs/exit/secret_box.wad deleted file mode 100644 index d8f0e53d31..0000000000 Binary files a/games/hacx/fabs/exit/secret_box.wad and /dev/null differ diff --git a/games/hacx/fabs/exit/sw_pillars.lua b/games/hacx/fabs/exit/sw_pillars.lua deleted file mode 100644 index db7256b2f5..0000000000 --- a/games/hacx/fabs/exit/sw_pillars.lua +++ /dev/null @@ -1,26 +0,0 @@ -PREFABS.Exit_pillars = -{ - file = "exit/sw_pillars.wad", - map = "MAP01", - - - - prob = 5, - - where = "point", -} - - -PREFABS.Exit_pillars_secret = -{ - template = "Exit_pillars", - - line_11 = 51, - - - prob = 5, - - kind = "secret_exit", - where = "point", -} - diff --git a/games/hacx/fabs/exit/sw_pillars.wad b/games/hacx/fabs/exit/sw_pillars.wad deleted file mode 100644 index 60a0ef71ac..0000000000 Binary files a/games/hacx/fabs/exit/sw_pillars.wad and /dev/null differ diff --git a/games/hacx/fabs/fence/.gitkeep b/games/hacx/fabs/fence/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/fence/bars_16.lua b/games/hacx/fabs/fence/bars_16.lua deleted file mode 100644 index 334adde2df..0000000000 --- a/games/hacx/fabs/fence/bars_16.lua +++ /dev/null @@ -1,29 +0,0 @@ --- --- Lowering bars (for outdoor locks) --- - -PREFABS.Bars_shiny = -{ - file = "fence/bars_16.wad", - map = "MAP01", - - prob = 120, - - where = "edge", - key = "barred", - - - - seed_w = 2, - deep = 16, - over = 16, - - fence_h = 32, - - x_fit = "frame", - - bound_z1 = 0, - - tag_1 = "?door_tag", - door_action = "S1_LowerFloor", -} diff --git a/games/hacx/fabs/fence/bars_16.wad b/games/hacx/fabs/fence/bars_16.wad deleted file mode 100644 index 7532e8efa4..0000000000 Binary files a/games/hacx/fabs/fence/bars_16.wad and /dev/null differ diff --git a/games/hacx/fabs/fence/beam.lua b/games/hacx/fabs/fence/beam.lua deleted file mode 100644 index 8e66ded0f3..0000000000 --- a/games/hacx/fabs/fence/beam.lua +++ /dev/null @@ -1,43 +0,0 @@ --- --- Beams for internal areas. --- - -PREFABS.Beam = -{ - file = "fence/beam.wad", - map = "MAP01", - - group = "beam_metal", - - kind = "beam", - - - - prob = 50, - - where = "edge", - - deep = 8, - over = 8, - - bound_z1 = 0, -} - - -PREFABS.Beam_diagonal = -{ - file = "fence/beam.wad", - map = "MAP02", - - group = "beam_metal", - - - - kind = "beam", - - prob = 50, - - where = "diagonal", - - bound_z1 = 0, -} diff --git a/games/hacx/fabs/fence/beam.wad b/games/hacx/fabs/fence/beam.wad deleted file mode 100644 index 696457a701..0000000000 Binary files a/games/hacx/fabs/fence/beam.wad and /dev/null differ diff --git a/games/hacx/fabs/fence/fence_16.lua b/games/hacx/fabs/fence/fence_16.lua deleted file mode 100644 index ddade18185..0000000000 --- a/games/hacx/fabs/fence/fence_16.lua +++ /dev/null @@ -1,42 +0,0 @@ --- --- Plain fence --- - -PREFABS.Fence_plain = -{ - file = "fence/fence_16.wad", - map = "MAP01", - - prob = 50, - - - - group = "PLAIN", - - where = "edge", - - deep = 16, - over = 16, - - fence_h = 32, - bound_z1 = 0, -} - - -PREFABS.Fence_plain_diag = -{ - file = "fence/fence_16.wad", - map = "MAP02", - - prob = 50, - - - - group = "PLAIN", - - where = "diagonal", - - fence_h = 32, - - bound_z1 = 0, -} diff --git a/games/hacx/fabs/fence/fence_16.wad b/games/hacx/fabs/fence/fence_16.wad deleted file mode 100644 index 353f26485c..0000000000 Binary files a/games/hacx/fabs/fence/fence_16.wad and /dev/null differ diff --git a/games/hacx/fabs/fence/gtd_pillar.lua b/games/hacx/fabs/fence/gtd_pillar.lua deleted file mode 100644 index f93f4a6716..0000000000 --- a/games/hacx/fabs/fence/gtd_pillar.lua +++ /dev/null @@ -1,19 +0,0 @@ --- pillar do a pretty good job - -PREFABS.Fence_pillar = -{ - file = "fence/gtd_pillar.wad", - map = "MAP01", - - kind = "pillar", - where = "point", - - - - size = 16, - height = 2, - - prob = 50, - - bound_z1 = 0, -} diff --git a/games/hacx/fabs/fence/gtd_pillar.wad b/games/hacx/fabs/fence/gtd_pillar.wad deleted file mode 100644 index e9d74fd675..0000000000 Binary files a/games/hacx/fabs/fence/gtd_pillar.wad and /dev/null differ diff --git a/games/hacx/fabs/fence/posts.lua b/games/hacx/fabs/fence/posts.lua deleted file mode 100644 index fd42cf276e..0000000000 --- a/games/hacx/fabs/fence/posts.lua +++ /dev/null @@ -1,15 +0,0 @@ -PREFABS.Post = -{ - file = "fence/posts.wad", - map = "MAP01", - kind = "post", - - prob = 50, - - - - where = "point", - size = 48, - - bound_z1 = 0, -} diff --git a/games/hacx/fabs/fence/posts.wad b/games/hacx/fabs/fence/posts.wad deleted file mode 100644 index ce9a8e399e..0000000000 Binary files a/games/hacx/fabs/fence/posts.wad and /dev/null differ diff --git a/games/hacx/fabs/fence/secret_16.lua b/games/hacx/fabs/fence/secret_16.lua deleted file mode 100644 index d9d9722a50..0000000000 --- a/games/hacx/fabs/fence/secret_16.lua +++ /dev/null @@ -1,26 +0,0 @@ --- --- Secret plain fence --- - -PREFABS.Fence_plain_secret = -{ - file = "fence/secret_16.wad", - map = "MAP06", - - prob = 50, - key = "secret", - - - - where = "edge", - seed_w = 2, - - deep = 16, - over = 16, - - x_fit = "frame", - - fence_h = 32, - bound_z1 = 0, -} - diff --git a/games/hacx/fabs/fence/secret_16.wad b/games/hacx/fabs/fence/secret_16.wad deleted file mode 100644 index 8eed48aa7d..0000000000 Binary files a/games/hacx/fabs/fence/secret_16.wad and /dev/null differ diff --git a/games/hacx/fabs/floor/.gitkeep b/games/hacx/fabs/floor/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/hall/.gitkeep b/games/hacx/fabs/hall/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/hall/deuce_c.lua b/games/hacx/fabs/hall/deuce_c.lua deleted file mode 100644 index c4a7402f49..0000000000 --- a/games/hacx/fabs/hall/deuce_c.lua +++ /dev/null @@ -1,21 +0,0 @@ --- --- 2-seed-wide hallway : corner (L shape) --- - -PREFABS.Hallway_deuce_c1 = -{ - file = "hall/deuce_c.wad", - map = "MAP01", - - group = "deuce", - prob = 50, - - - - where = "seeds", - shape = "L", - - seed_w = 2, - seed_h = 2, -} - diff --git a/games/hacx/fabs/hall/deuce_c.wad b/games/hacx/fabs/hall/deuce_c.wad deleted file mode 100644 index a082ed1887..0000000000 Binary files a/games/hacx/fabs/hall/deuce_c.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/deuce_i.lua b/games/hacx/fabs/hall/deuce_i.lua deleted file mode 100644 index b22037407d..0000000000 --- a/games/hacx/fabs/hall/deuce_i.lua +++ /dev/null @@ -1,21 +0,0 @@ --- --- 2-seed-wide hallway : straight piece --- - -PREFABS.Hallway_deuce_i1 = -{ - file = "hall/deuce_i.wad", - map = "MAP01", - - group = "deuce", - prob = 50, - - - - where = "seeds", - shape = "I", - - seed_w = 2, - seed_h = 2, -} - diff --git a/games/hacx/fabs/hall/deuce_i.wad b/games/hacx/fabs/hall/deuce_i.wad deleted file mode 100644 index 41914f2aa7..0000000000 Binary files a/games/hacx/fabs/hall/deuce_i.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/deuce_j.lua b/games/hacx/fabs/hall/deuce_j.lua deleted file mode 100644 index eece8f5c1b..0000000000 --- a/games/hacx/fabs/hall/deuce_j.lua +++ /dev/null @@ -1,33 +0,0 @@ --- --- 2-seed-wide hallway : terminators --- - -PREFABS.Hallway_deuce_term = -{ - file = "hall/deuce_j.wad", - map = "MAP01", - kind = "terminator", - - group = "deuce", - prob = 50, - - - - where = "seeds", - shape = "I", - - seed_w = 2, - seed_h = 1, - - deep = 16, -} - - -PREFABS.Hallway_deuce_secret = -{ - template = "Hallway_deuce_term", - - map = "MAP05", - key = "secret", -} - diff --git a/games/hacx/fabs/hall/deuce_j.wad b/games/hacx/fabs/hall/deuce_j.wad deleted file mode 100644 index fcb69976d3..0000000000 Binary files a/games/hacx/fabs/hall/deuce_j.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/deuce_k.lua b/games/hacx/fabs/hall/deuce_k.lua deleted file mode 100644 index d3bddb02df..0000000000 --- a/games/hacx/fabs/hall/deuce_k.lua +++ /dev/null @@ -1,73 +0,0 @@ --- --- 2-seed-wide hallway : locked terminators --- - -PREFABS.Hallway_deuce_locked_yellow = -{ - file = "hall/deuce_k.wad", - map = "MAP01", - - kind = "terminator", - group = "deuce", - key = "kz_yellow", - - - - prob = 50, - - where = "seeds", - shape = "I", - - seed_w = 2, - seed_h = 1, - - deep = 16, -} - -PREFABS.Hallway_deuce_locked_red = -{ - template = "Hallway_deuce_locked_yellow", - map = "MAP01", - key = "kz_red", - - line_34 = 33, - tex_HW511 = "HW510", -} - - -PREFABS.Hallway_deuce_locked_blue = -{ - template = "Hallway_deuce_locked_yellow", - map = "MAP01", - key = "kz_blue", - - line_34 = 32, - tex_HW511 = "HW512", -} - - ----------------------------------------------------------------- - -PREFABS.Hallway_deuce_barred = -{ - file = "hall/deuce_k.wad", - map = "MAP03", - - - - kind = "terminator", - group = "deuce", - key = "barred", - - prob = 50, - - where = "seeds", - shape = "I", - - seed_w = 2, - seed_h = 1, - deep = 16, - - tag_1 = "?door_tag", - door_action = "S1_LowerFloor", -} diff --git a/games/hacx/fabs/hall/deuce_k.wad b/games/hacx/fabs/hall/deuce_k.wad deleted file mode 100644 index a23f7403d5..0000000000 Binary files a/games/hacx/fabs/hall/deuce_k.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/deuce_p.lua b/games/hacx/fabs/hall/deuce_p.lua deleted file mode 100644 index a1fc07ce6d..0000000000 --- a/games/hacx/fabs/hall/deuce_p.lua +++ /dev/null @@ -1,21 +0,0 @@ --- --- 2-seed-wide hallway : four-way "+" junction --- - -PREFABS.Hallway_deuce_p1 = -{ - file = "hall/deuce_p.wad", - map = "MAP01", - - group = "deuce", - prob = 50, - - - - where = "seeds", - shape = "P", - - seed_w = 2, - seed_h = 2, -} - diff --git a/games/hacx/fabs/hall/deuce_p.wad b/games/hacx/fabs/hall/deuce_p.wad deleted file mode 100644 index ac076df2c5..0000000000 Binary files a/games/hacx/fabs/hall/deuce_p.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/deuce_t.lua b/games/hacx/fabs/hall/deuce_t.lua deleted file mode 100644 index 1608a423ca..0000000000 --- a/games/hacx/fabs/hall/deuce_t.lua +++ /dev/null @@ -1,21 +0,0 @@ --- --- 2-seed-wide hallway : T shape piece --- - -PREFABS.Hallway_deuce_t1 = -{ - file = "hall/deuce_t.wad", - map = "MAP01", - - group = "deuce", - prob = 50, - - - - where = "seeds", - shape = "T", - - seed_w = 2, - seed_h = 2, -} - diff --git a/games/hacx/fabs/hall/deuce_t.wad b/games/hacx/fabs/hall/deuce_t.wad deleted file mode 100644 index 43dbaf919c..0000000000 Binary files a/games/hacx/fabs/hall/deuce_t.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/deuce_u.lua b/games/hacx/fabs/hall/deuce_u.lua deleted file mode 100644 index a758a8894e..0000000000 --- a/games/hacx/fabs/hall/deuce_u.lua +++ /dev/null @@ -1,21 +0,0 @@ --- --- 2-seed-wide hallway : dead-end piece --- - -PREFABS.Hallway_deuce_u1 = -{ - file = "hall/deuce_u.wad", - map = "MAP01", - - group = "deuce", - prob = 50, - - - - where = "seeds", - shape = "U", - - seed_w = 2, - seed_h = 2, -} - diff --git a/games/hacx/fabs/hall/deuce_u.wad b/games/hacx/fabs/hall/deuce_u.wad deleted file mode 100644 index 4f56879d19..0000000000 Binary files a/games/hacx/fabs/hall/deuce_u.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/vent_c.lua b/games/hacx/fabs/hall/vent_c.lua deleted file mode 100644 index cdc9c5b48e..0000000000 --- a/games/hacx/fabs/hall/vent_c.lua +++ /dev/null @@ -1,19 +0,0 @@ --- --- vent piece : corner (L shape) --- - -PREFABS.Hallway_vent_c1 = -{ - file = "hall/vent_c.wad", - map = "MAP01", - - group = "vent", - prob = 50, - - - - where = "seeds", - shape = "L", - - mon_height = 64, -} diff --git a/games/hacx/fabs/hall/vent_c.wad b/games/hacx/fabs/hall/vent_c.wad deleted file mode 100644 index 8ab2dd02c5..0000000000 Binary files a/games/hacx/fabs/hall/vent_c.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/vent_i.lua b/games/hacx/fabs/hall/vent_i.lua deleted file mode 100644 index 9ace988d13..0000000000 --- a/games/hacx/fabs/hall/vent_i.lua +++ /dev/null @@ -1,17 +0,0 @@ --- --- vent piece : straight --- - -PREFABS.Hallway_vent_i1 = -{ - file = "hall/vent_i.wad", - map = "MAP01", - - group = "vent", - prob = 50, - - - - where = "seeds", - shape = "I", -} diff --git a/games/hacx/fabs/hall/vent_i.wad b/games/hacx/fabs/hall/vent_i.wad deleted file mode 100644 index b22ccc05f6..0000000000 Binary files a/games/hacx/fabs/hall/vent_i.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/vent_j.lua b/games/hacx/fabs/hall/vent_j.lua deleted file mode 100644 index 67a1653a80..0000000000 --- a/games/hacx/fabs/hall/vent_j.lua +++ /dev/null @@ -1,29 +0,0 @@ --- --- vent piece : terminators --- - -PREFABS.Hallway_vent_plain = -{ - file = "hall/vent_j.wad", - map = "MAP01", - - kind = "terminator", - group = "vent", - - - - prob = 50, - - where = "seeds", - shape = "I", - - deep = 16 -} - -PREFABS.Hallway_vent_secret = -{ - template = "Hallway_vent_plain", - - map = "MAP05", - key = "secret", -} diff --git a/games/hacx/fabs/hall/vent_j.wad b/games/hacx/fabs/hall/vent_j.wad deleted file mode 100644 index 8b25fe56f1..0000000000 Binary files a/games/hacx/fabs/hall/vent_j.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/vent_k.lua b/games/hacx/fabs/hall/vent_k.lua deleted file mode 100644 index ddefda549b..0000000000 --- a/games/hacx/fabs/hall/vent_k.lua +++ /dev/null @@ -1,72 +0,0 @@ --- --- vent piece : locked terminators --- - -PREFABS.Hallway_vent_locked_yellow = -{ - file = "hall/vent_k.wad", - map = "MAP01", - - kind = "terminator", - group = "vent", - key = "kz_yellow", - - - - prob = 50, - - where = "seeds", - shape = "I", - - deep = 16, - -} - - -PREFABS.Hallway_vent_locked_red = -{ - template = "Hallway_vent_locked_yellow", - - key = "kz_red", - - line_34 = 33, - tex_HW511 = "HW510", -} - - -PREFABS.Hallway_vent_locked_blue = -{ - template = "Hallway_vent_locked_yellow", - - key = "kz_blue", - - line_34 = 32, - tex_HW511 = "HW512", -} - - ----------------------------------------------------------------- - - -PREFABS.Hallway_vent_barred = -{ - file = "hall/vent_k.wad", - map = "MAP03", - - - - kind = "terminator", - group = "vent", - key = "barred", - - prob = 50, - - where = "seeds", - shape = "I", - - deep = 16, - - tag_1 = "?door_tag", - door_action = "S1_LowerFloor", -} - diff --git a/games/hacx/fabs/hall/vent_k.wad b/games/hacx/fabs/hall/vent_k.wad deleted file mode 100644 index cb7bba9d43..0000000000 Binary files a/games/hacx/fabs/hall/vent_k.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/vent_p.lua b/games/hacx/fabs/hall/vent_p.lua deleted file mode 100644 index 67092f9d87..0000000000 --- a/games/hacx/fabs/hall/vent_p.lua +++ /dev/null @@ -1,20 +0,0 @@ --- --- vent piece : four-way "+" junction --- - -PREFABS.Hallway_vent_p1 = -{ - file = "hall/vent_p.wad", - map = "MAP01", - - group = "vent", - prob = 50, - - - - where = "seeds", - shape = "P", - - mon_height = 64, -} - diff --git a/games/hacx/fabs/hall/vent_p.wad b/games/hacx/fabs/hall/vent_p.wad deleted file mode 100644 index de648f08fd..0000000000 Binary files a/games/hacx/fabs/hall/vent_p.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/vent_t.lua b/games/hacx/fabs/hall/vent_t.lua deleted file mode 100644 index 4b58a3199a..0000000000 --- a/games/hacx/fabs/hall/vent_t.lua +++ /dev/null @@ -1,20 +0,0 @@ --- --- vent piece, T junction --- - -PREFABS.Hallway_vent_t1 = -{ - file = "hall/vent_t.wad", - map = "MAP01", - - group = "vent", - prob = 50, - - - - where = "seeds", - shape = "T", - - mon_height = 64, -} - diff --git a/games/hacx/fabs/hall/vent_t.wad b/games/hacx/fabs/hall/vent_t.wad deleted file mode 100644 index 1d7184f23b..0000000000 Binary files a/games/hacx/fabs/hall/vent_t.wad and /dev/null differ diff --git a/games/hacx/fabs/hall/vent_u.lua b/games/hacx/fabs/hall/vent_u.lua deleted file mode 100644 index fe8bc34613..0000000000 --- a/games/hacx/fabs/hall/vent_u.lua +++ /dev/null @@ -1,17 +0,0 @@ --- --- vent piece : dead-end --- - -PREFABS.Hallway_vent_u1 = -{ - file = "hall/vent_u.wad", - map = "MAP01", - - group = "vent", - prob = 50, - - - - where = "seeds", - shape = "U", -} diff --git a/games/hacx/fabs/hall/vent_u.wad b/games/hacx/fabs/hall/vent_u.wad deleted file mode 100644 index c8f119d340..0000000000 Binary files a/games/hacx/fabs/hall/vent_u.wad and /dev/null differ diff --git a/games/hacx/fabs/item/.gitkeep b/games/hacx/fabs/item/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/item/alcove1.lua b/games/hacx/fabs/item/alcove1.lua deleted file mode 100644 index cf56a466c1..0000000000 --- a/games/hacx/fabs/item/alcove1.lua +++ /dev/null @@ -1,23 +0,0 @@ --- --- Small item alcove --- - -PREFABS.Item_alcove_small = -{ - file = "item/alcove1.wad", - - prob = 50, - - - - where = "seeds", - seed_w = 1, - seed_h = 1, - - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", -} - diff --git a/games/hacx/fabs/item/alcove1.wad b/games/hacx/fabs/item/alcove1.wad deleted file mode 100644 index facb94d054..0000000000 Binary files a/games/hacx/fabs/item/alcove1.wad and /dev/null differ diff --git a/games/hacx/fabs/item/lowering.lua b/games/hacx/fabs/item/lowering.lua deleted file mode 100644 index cb7e26d0d8..0000000000 --- a/games/hacx/fabs/item/lowering.lua +++ /dev/null @@ -1,20 +0,0 @@ --- --- Lowering pedestal (via remote switch) --- - -PREFABS.Item_lowering_remote1 = -{ - file = "item/lowering.wad", - map = "MAP01", - - - - prob = 1, - key = "barred", - item_kind = "key", - - where = "point", - - tag_1 = "?door_tag", - door_action = "S1_LowerFloor", -} diff --git a/games/hacx/fabs/item/lowering.wad b/games/hacx/fabs/item/lowering.wad deleted file mode 100644 index efb973491c..0000000000 Binary files a/games/hacx/fabs/item/lowering.wad and /dev/null differ diff --git a/games/hacx/fabs/item/pedestal.lua b/games/hacx/fabs/item/pedestal.lua deleted file mode 100644 index 6093e0a7b1..0000000000 --- a/games/hacx/fabs/item/pedestal.lua +++ /dev/null @@ -1,14 +0,0 @@ --- --- Basic item pedestal --- - -PREFABS.Item_pedestal = -{ - file = "item/pedestal.wad", - where = "point", - - - - prob = 50, -} - diff --git a/games/hacx/fabs/item/pedestal.wad b/games/hacx/fabs/item/pedestal.wad deleted file mode 100644 index eed966f806..0000000000 Binary files a/games/hacx/fabs/item/pedestal.wad and /dev/null differ diff --git a/games/hacx/fabs/item/secret_niche.lua b/games/hacx/fabs/item/secret_niche.lua deleted file mode 100644 index 8e285e84f1..0000000000 --- a/games/hacx/fabs/item/secret_niche.lua +++ /dev/null @@ -1,26 +0,0 @@ --- --- Secret item niche --- - --- the hint here is misaligned texture -PREFABS.Item_secret_niche1 = -{ - file = "item/secret_niche.wad", - map = "MAP01", - - - - prob = 100, - key = "secret", - where = "seeds", - - seed_w = 1, - seed_h = 1, - - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", -} - diff --git a/games/hacx/fabs/item/secret_niche.wad b/games/hacx/fabs/item/secret_niche.wad deleted file mode 100644 index e122d41967..0000000000 Binary files a/games/hacx/fabs/item/secret_niche.wad and /dev/null differ diff --git a/games/hacx/fabs/joiner/.gitkeep b/games/hacx/fabs/joiner/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/joiner/archy.lua b/games/hacx/fabs/joiner/archy.lua deleted file mode 100644 index 79b83a72dd..0000000000 --- a/games/hacx/fabs/joiner/archy.lua +++ /dev/null @@ -1,49 +0,0 @@ --- --- Arch joiners --- - -PREFABS.Joiner_archy1 = -{ - file = "joiner/archy.wad", - map = "MAP01", - - - - prob = 140, - - where = "seeds", - shape = "I", - - seed_w = 2, - seed_h = 1, - - deep = 16, - over = 16, - - x_fit = "frame", - y_fit = "stretch", -} - - -PREFABS.Joiner_archy1_wide = -{ - file = "joiner/archy.wad", - map = "MAP02", - - - - prob = 400, - - where = "seeds", - shape = "I", - - seed_w = 3, - seed_h = 1, - - deep = 16, - over = 16, - - x_fit = "frame", - y_fit = "frame", -} - diff --git a/games/hacx/fabs/joiner/archy.wad b/games/hacx/fabs/joiner/archy.wad deleted file mode 100644 index 6a22d6a761..0000000000 Binary files a/games/hacx/fabs/joiner/archy.wad and /dev/null differ diff --git a/games/hacx/fabs/joiner/barred1.lua b/games/hacx/fabs/joiner/barred1.lua deleted file mode 100644 index 8cbf2a7a8c..0000000000 --- a/games/hacx/fabs/joiner/barred1.lua +++ /dev/null @@ -1,27 +0,0 @@ --- --- Joiner with opening bars --- - -PREFABS.Joiner_barred1 = -{ - file = "joiner/barred1.wad", - where = "seeds", - shape = "I", - - - - key = "barred", - - prob = 70, --50, - - seed_w = 2, - seed_h = 1, - - deep = 16, - over = 16, - - x_fit = "frame", - y_fit = "frame", - tag_1 = "?door_tag", - door_action = "S1_OpenDoor", -} diff --git a/games/hacx/fabs/joiner/barred1.wad b/games/hacx/fabs/joiner/barred1.wad deleted file mode 100644 index 6287b4d03d..0000000000 Binary files a/games/hacx/fabs/joiner/barred1.wad and /dev/null differ diff --git a/games/hacx/fabs/joiner/door2.lua b/games/hacx/fabs/joiner/door2.lua deleted file mode 100644 index 16b873cdd3..0000000000 --- a/games/hacx/fabs/joiner/door2.lua +++ /dev/null @@ -1,26 +0,0 @@ --- --- Joiner with opening door --- - -PREFABS.Joiner_door2 = -{ - file = "joiner/door2.wad", - map = "MAP01", - - prob = 100, - style = "doors", - - - - where = "seeds", - shape = "I", - - seed_w = 2, - seed_h = 1, - - deep = 16, - over = 16, - - x_fit = "frame", - y_fit = { 8,64 , 96,152 }, -} diff --git a/games/hacx/fabs/joiner/door2.wad b/games/hacx/fabs/joiner/door2.wad deleted file mode 100644 index 8666957698..0000000000 Binary files a/games/hacx/fabs/joiner/door2.wad and /dev/null differ diff --git a/games/hacx/fabs/joiner/gtd_basic_L.lua b/games/hacx/fabs/joiner/gtd_basic_L.lua deleted file mode 100644 index 0201e18c36..0000000000 --- a/games/hacx/fabs/joiner/gtd_basic_L.lua +++ /dev/null @@ -1,13 +0,0 @@ -PREFABS.Joiner_gtd_basic_curve = -{ - file = "joiner/gtd_basic_L.wad", - map = "MAP01", - - prob = 30, - - where = "seeds", - shape = "L", - - seed_w = 2, - seed_h = 2, -} diff --git a/games/hacx/fabs/joiner/gtd_basic_L.wad b/games/hacx/fabs/joiner/gtd_basic_L.wad deleted file mode 100644 index 2b058d727b..0000000000 Binary files a/games/hacx/fabs/joiner/gtd_basic_L.wad and /dev/null differ diff --git a/games/hacx/fabs/joiner/gtd_basic_keyed_L.lua b/games/hacx/fabs/joiner/gtd_basic_keyed_L.lua deleted file mode 100644 index c18b9500fe..0000000000 --- a/games/hacx/fabs/joiner/gtd_basic_keyed_L.lua +++ /dev/null @@ -1,37 +0,0 @@ -PREFABS.Joiner_gtd_basic_keyed_curve_red = -{ - file = "joiner/gtd_basic_keyed_L.wad", - map = "MAP01", - - prob = 30, - - - - key = "kz_red", - - where = "seeds", - shape = "L", - - seed_w = 2, - seed_h = 2, -} - -PREFABS.Joiner_gtd_basic_keyed_curve_blue = -{ - template = "Joiner_gtd_basic_keyed_curve_red", - - key = "kz_blue", - - line_33 = 32, - tex_HW510 = "HW512", -} - -PREFABS.Joiner_gtd_basic_keyed_curve_yell = -{ - template = "Joiner_gtd_basic_keyed_curve_red", - - key = "kz_yellow", - - line_33 = 34, - tex_HW510 = "HW511", -} diff --git a/games/hacx/fabs/joiner/gtd_basic_keyed_L.wad b/games/hacx/fabs/joiner/gtd_basic_keyed_L.wad deleted file mode 100644 index 4dc03e05e3..0000000000 Binary files a/games/hacx/fabs/joiner/gtd_basic_keyed_L.wad and /dev/null differ diff --git a/games/hacx/fabs/joiner/key_large.lua b/games/hacx/fabs/joiner/key_large.lua deleted file mode 100644 index 49986ce2a5..0000000000 --- a/games/hacx/fabs/joiner/key_large.lua +++ /dev/null @@ -1,51 +0,0 @@ --- --- Large keyed door --- - -PREFABS.Locked_joiner_red = -{ - file = "joiner/key_large.wad", - map = "MAP01", - - prob = 100, - - - - key = "kz_red", - where = "seeds", - shape = "I", - - seed_w = 2, - seed_h = 1, - - deep = 16, - over = 16, - - x_fit = "frame", - y_fit = "frame", - - nearby_h = 160, -} - - -PREFABS.Locked_joiner_blue = -{ - template = "Locked_joiner_red", - - key = "kz_blue", - - line_33 = 32, - tex_HW510 = "HW512", -} - - -PREFABS.Locked_joiner_yellow = -{ - template = "Locked_joiner_red", - - key = "kz_yellow", - - line_33 = 34, - tex_HW510 = "HW511", -} - diff --git a/games/hacx/fabs/joiner/key_large.wad b/games/hacx/fabs/joiner/key_large.wad deleted file mode 100644 index b4a262ac11..0000000000 Binary files a/games/hacx/fabs/joiner/key_large.wad and /dev/null differ diff --git a/games/hacx/fabs/joiner/remote1.lua b/games/hacx/fabs/joiner/remote1.lua deleted file mode 100644 index eb8fa1b83a..0000000000 --- a/games/hacx/fabs/joiner/remote1.lua +++ /dev/null @@ -1,29 +0,0 @@ --- --- Joiner with remote door --- - -PREFABS.Joiner_remote1 = -{ - file = "joiner/remote1.wad", - where = "seeds", - shape = "I", - - - - key = "sw_metal", - - prob = 20, - - seed_w = 2, - seed_h = 1, - - deep = 16, - over = 16, - - x_fit = "frame", - y_fit = "stretch", - - tag_1 = "?door_tag", - door_action = "S1_OpenDoor", -} - diff --git a/games/hacx/fabs/joiner/remote1.wad b/games/hacx/fabs/joiner/remote1.wad deleted file mode 100644 index 74e723e440..0000000000 Binary files a/games/hacx/fabs/joiner/remote1.wad and /dev/null differ diff --git a/games/hacx/fabs/joiner/secret2.lua b/games/hacx/fabs/joiner/secret2.lua deleted file mode 100644 index 93f138ab68..0000000000 --- a/games/hacx/fabs/joiner/secret2.lua +++ /dev/null @@ -1,37 +0,0 @@ --- --- Secret joiners --- - -PREFABS.Joiner_secret2_A = -{ - file = "joiner/secret2.wad", - map = "MAP01", - - prob = 150, - key = "secret", - - - - where = "seeds", - shape = "I", - - seed_w = 2, - seed_h = 1, - - deep = 16, - over = 16, - - x_fit = "frame", - y_fit = { 64,96 }, -} - - --- hint is a small gap -PREFABS.Joiner_secret2_B = -{ - template = "Joiner_secret2_A", - map = "MAP02", - - prob = 50, -} - diff --git a/games/hacx/fabs/joiner/secret2.wad b/games/hacx/fabs/joiner/secret2.wad deleted file mode 100644 index 54e731a24f..0000000000 Binary files a/games/hacx/fabs/joiner/secret2.wad and /dev/null differ diff --git a/games/hacx/fabs/misc/.gitkeep b/games/hacx/fabs/misc/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/misc/bridge.lua b/games/hacx/fabs/misc/bridge.lua deleted file mode 100644 index 700b441f0d..0000000000 --- a/games/hacx/fabs/misc/bridge.lua +++ /dev/null @@ -1,16 +0,0 @@ --- --- a simple, narrow bridge --- - -PREFABS.Bridge_narrow1 = -{ - file = "misc/bridge.wad", - map = "MAP01", - - - - prob = 90, - kind = "bridge", - where = "point", -} - diff --git a/games/hacx/fabs/misc/bridge.wad b/games/hacx/fabs/misc/bridge.wad deleted file mode 100644 index 991cac9f53..0000000000 Binary files a/games/hacx/fabs/misc/bridge.wad and /dev/null differ diff --git a/games/hacx/fabs/misc/completely_nothing.lua b/games/hacx/fabs/misc/completely_nothing.lua deleted file mode 100644 index cb31b656fa..0000000000 --- a/games/hacx/fabs/misc/completely_nothing.lua +++ /dev/null @@ -1,12 +0,0 @@ -PREFABS.Completely_nothing = -{ - file = "misc/completely_nothing.wad", - map = "MAP01", - - where = "seeds", - - - - seed_w = 1, - seed_h = 1, -} diff --git a/games/hacx/fabs/misc/completely_nothing.wad b/games/hacx/fabs/misc/completely_nothing.wad deleted file mode 100644 index ac1456c445..0000000000 Binary files a/games/hacx/fabs/misc/completely_nothing.wad and /dev/null differ diff --git a/games/hacx/fabs/misc/depot.lua b/games/hacx/fabs/misc/depot.lua deleted file mode 100644 index 9e07374d60..0000000000 --- a/games/hacx/fabs/misc/depot.lua +++ /dev/null @@ -1,32 +0,0 @@ --- --- Monster depot --- - -PREFABS.Depot_raise = -{ - file = "misc/depot.wad", - map = "MAP01", - - - - prob = 50, - where = "seeds", - - seed_w = 3, - seed_h = 6, - - tag_9 = "?trap_tag", - - tag_1 = "?out_tag1", - tag_2 = "?out_tag2", - tag_3 = "?out_tag3", -} - - -PREFABS.Depot_lower = -{ - template = "Depot_raise", - - map = "MAP02", -} - diff --git a/games/hacx/fabs/misc/depot.wad b/games/hacx/fabs/misc/depot.wad deleted file mode 100644 index 15d8fd9829..0000000000 Binary files a/games/hacx/fabs/misc/depot.wad and /dev/null differ diff --git a/games/hacx/fabs/misc/trap1.lua b/games/hacx/fabs/misc/trap1.lua deleted file mode 100644 index ab6e37cd83..0000000000 --- a/games/hacx/fabs/misc/trap1.lua +++ /dev/null @@ -1,31 +0,0 @@ --- --- Simple trap --- - -PREFABS.Trap_simple1 = -{ - file = "misc/trap1.wad", - map = "MAP01", - - - - prob = 50, - kind = "trap", - where = "seeds", - shape = "U", - - seed_w = 1, - seed_h = 1, - - deep = 16, - over = -16, - - x_fit = { 40,88 }, - y_fit = "stretch", - - bound_z1 = 0, - bound_z2 = 160, - - tag_1 = "?trap_tag", -} - diff --git a/games/hacx/fabs/misc/trap1.wad b/games/hacx/fabs/misc/trap1.wad deleted file mode 100644 index dde19c30fa..0000000000 Binary files a/games/hacx/fabs/misc/trap1.wad and /dev/null differ diff --git a/games/hacx/fabs/picture/.gitkeep b/games/hacx/fabs/picture/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/picture/pic_box.lua b/games/hacx/fabs/picture/pic_box.lua deleted file mode 100644 index 466c60dbe6..0000000000 --- a/games/hacx/fabs/picture/pic_box.lua +++ /dev/null @@ -1,95 +0,0 @@ --- --- Pictures (via the closet system) --- - -TEMPLATES.Pic_box_template = -{ - file = "picture/pic_box.wad", - map = "MAP02", - - prob = 100, - skip_prob = 40, - - - - env = "building", - - where = "seeds", - seed_w = 1, - seed_h = 1, - - height = 128, - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", -} - - ------ BANNERS ------------------------------ - -PREFABS.Pic_box_banner = -{ - template = "Pic_box_template", - - tex_CELTIC = { BANNER1=50, BANNER2=50, BANNER5=50, BANNER6=50 } -} - - ------ 128 HIGH PICTURES ------------------------------ - -PREFABS.Pic_box_saint1 = -{ - template = "Pic_box_template", - map = "MAP04", - - seed_w = 1, - height = 160, - - tex_CELTIC = "SAINT1", -} - - -PREFABS.Pic_box_glass = -{ - template = "Pic_box_template", - map = "MAP05", - - seed_w = 2, - height = 160, - - prob = 200, - - tex_CELTIC = { STNGLS1=50, STNGLS2=50 } -} - - -PREFABS.Pic_box_demon = -{ - template = "Pic_box_template", - map = "MAP05", - - seed_w = 2, - height = 160, - - tex_CELTIC = { GRSKULL3=50, DMNMSK=30, SKULLSB2=10 } -} - - ------ VERY WIDE PICTURES ------------------------------ - -PREFABS.Pic_box_wide = -{ - template = "Pic_box_template", - map = "MAP06", - - seed_w = 3, - height = 160, - - - skip_prob = 10, - - tex_CELTIC = { HORSES1=50, CHAINMAN=15, CELTIC=5 } -} - diff --git a/games/hacx/fabs/picture/pic_box.wad b/games/hacx/fabs/picture/pic_box.wad deleted file mode 100644 index 9ed909712f..0000000000 Binary files a/games/hacx/fabs/picture/pic_box.wad and /dev/null differ diff --git a/games/hacx/fabs/picture/wall_torch.lua b/games/hacx/fabs/picture/wall_torch.lua deleted file mode 100644 index 6c8c8cff95..0000000000 --- a/games/hacx/fabs/picture/wall_torch.lua +++ /dev/null @@ -1,45 +0,0 @@ --- --- Wall niche w/ torches --- - -PREFABS.Pic_wall_torch1 = -{ - file = "picture/wall_torch.wad", - map = "MAP01", - - - - prob = 100, - skip_prob = 35, - env = "building", - - where = "seeds", - seed_w = 2, - seed_h = 1, - - height = 128, - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", -} - - -PREFABS.Pic_wall_torch2 = -{ - template = "Pic_wall_torch1", - map = "MAP02", - - prob = 70, -} - - -PREFABS.Pic_wall_torch3 = -{ - template = "Pic_wall_torch1", - map = "MAP03", - - prob = 40, -} - diff --git a/games/hacx/fabs/picture/wall_torch.wad b/games/hacx/fabs/picture/wall_torch.wad deleted file mode 100644 index 63ea0503bb..0000000000 Binary files a/games/hacx/fabs/picture/wall_torch.wad and /dev/null differ diff --git a/games/hacx/fabs/quest/.gitkeep b/games/hacx/fabs/quest/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/road/.gitkeep b/games/hacx/fabs/road/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/skybox/.gitkeep b/games/hacx/fabs/skybox/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/stairs/.gitkeep b/games/hacx/fabs/stairs/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/stairs/gtd_stairs_128.lua b/games/hacx/fabs/stairs/gtd_stairs_128.lua deleted file mode 100644 index c606ca0f2a..0000000000 --- a/games/hacx/fabs/stairs/gtd_stairs_128.lua +++ /dev/null @@ -1,40 +0,0 @@ -PREFABS.Stairs_128 = -{ - file = "stairs/gtd_stairs_128.wad", - map = "MAP01", - - prob = 25, - style = "steepness", - - - - where = "seeds", - shape = "I", - - seed_w = 1, - - x_fit = "stretch", - - bound_z1 = 0, - - delta_h = 128, -} - -PREFABS.Stairs_128_2X = -{ - template = "Stairs_128", - map = "MAP02", - - prob = 220, - - seed_h = 2, -} - -PREFABS.Stairs_128_3X = -{ - template = "Stairs_128", - map = "MAP03", - - prob = 240, - seed_h = 3, -} diff --git a/games/hacx/fabs/stairs/gtd_stairs_128.wad b/games/hacx/fabs/stairs/gtd_stairs_128.wad deleted file mode 100644 index 2d73e8c9a9..0000000000 Binary files a/games/hacx/fabs/stairs/gtd_stairs_128.wad and /dev/null differ diff --git a/games/hacx/fabs/stairs/long_1x2.lua b/games/hacx/fabs/stairs/long_1x2.lua deleted file mode 100644 index 942fa3ccfd..0000000000 --- a/games/hacx/fabs/stairs/long_1x2.lua +++ /dev/null @@ -1,25 +0,0 @@ --- --- long narrow stair, 2 seeds high --- - -PREFABS.Stair_long_1x2 = -{ - file = "stairs/long_1x2.wad", - - prob = 90, - - - - where = "seeds", - shape = "I", - - seed_h = 2, - - x_fit = "stretch", - - bound_z1 = 0, - bound_z2 = 64, - - delta_h = 64, -} - diff --git a/games/hacx/fabs/stairs/long_1x2.wad b/games/hacx/fabs/stairs/long_1x2.wad deleted file mode 100644 index 129c9192d1..0000000000 Binary files a/games/hacx/fabs/stairs/long_1x2.wad and /dev/null differ diff --git a/games/hacx/fabs/stairs/long_1x3.lua b/games/hacx/fabs/stairs/long_1x3.lua deleted file mode 100644 index 1176c1faa8..0000000000 --- a/games/hacx/fabs/stairs/long_1x3.lua +++ /dev/null @@ -1,25 +0,0 @@ --- --- long narrow stair, 3 seeds high --- - -PREFABS.Stair_long_1x3 = -{ - file = "stairs/long_1x3.wad", - - prob = 90, - - - - where = "seeds", - shape = "I", - - seed_h = 3, - - x_fit = "stretch", - - bound_z1 = 0, - bound_z2 = 96, - - delta_h = 96, -} - diff --git a/games/hacx/fabs/stairs/long_1x3.wad b/games/hacx/fabs/stairs/long_1x3.wad deleted file mode 100644 index d36749a267..0000000000 Binary files a/games/hacx/fabs/stairs/long_1x3.wad and /dev/null differ diff --git a/games/hacx/fabs/stairs/stair_32.lua b/games/hacx/fabs/stairs/stair_32.lua deleted file mode 100644 index 5c60cbd1be..0000000000 --- a/games/hacx/fabs/stairs/stair_32.lua +++ /dev/null @@ -1,23 +0,0 @@ --- --- basic stair, 32 units high --- - -PREFABS.Stair_32 = -{ - file = "stairs/stair_32.wad", - - prob = 90, - - - - where = "seeds", - shape = "I", - - x_fit = "stretch", - - bound_z1 = 0, - bound_z2 = 32, - - delta_h = 32, -} - diff --git a/games/hacx/fabs/stairs/stair_32.wad b/games/hacx/fabs/stairs/stair_32.wad deleted file mode 100644 index 328b36dabe..0000000000 Binary files a/games/hacx/fabs/stairs/stair_32.wad and /dev/null differ diff --git a/games/hacx/fabs/stairs/wide_3x1.lua b/games/hacx/fabs/stairs/wide_3x1.lua deleted file mode 100644 index d3fff1c70e..0000000000 --- a/games/hacx/fabs/stairs/wide_3x1.lua +++ /dev/null @@ -1,45 +0,0 @@ --- --- wide stair, 3 seeds across --- - -PREFABS.Stair_wide_3x1 = -{ - file = "stairs/wide_3x1.wad", - map = "MAP01", - - prob = 800, - - - - where = "seeds", - shape = "I", - - seed_w = 3, - - bound_z1 = 0, - bound_z2 = 32, - - delta_h = 32, -} - - -PREFABS.Stair_wide_3x1_torch = -{ - file = "stairs/wide_3x1.wad", - map = "MAP02", - - - - prob = 400, - - where = "seeds", - shape = "I", - - seed_w = 3, - - bound_z1 = 0, - bound_z2 = 32, - - delta_h = 32, -} - diff --git a/games/hacx/fabs/stairs/wide_3x1.wad b/games/hacx/fabs/stairs/wide_3x1.wad deleted file mode 100644 index 5e02795632..0000000000 Binary files a/games/hacx/fabs/stairs/wide_3x1.wad and /dev/null differ diff --git a/games/hacx/fabs/start/.gitkeep b/games/hacx/fabs/start/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/start/basic.lua b/games/hacx/fabs/start/basic.lua deleted file mode 100644 index f134b619c8..0000000000 --- a/games/hacx/fabs/start/basic.lua +++ /dev/null @@ -1,15 +0,0 @@ --- --- Start pedestal --- - -PREFABS.Start_basic = -{ - file = "start/basic.wad", - - - - prob = 50, - - where = "point", -} - diff --git a/games/hacx/fabs/start/basic.wad b/games/hacx/fabs/start/basic.wad deleted file mode 100644 index eb6c84938b..0000000000 Binary files a/games/hacx/fabs/start/basic.wad and /dev/null differ diff --git a/games/hacx/fabs/start/closet1.lua b/games/hacx/fabs/start/closet1.lua deleted file mode 100644 index 1797f3e474..0000000000 --- a/games/hacx/fabs/start/closet1.lua +++ /dev/null @@ -1,21 +0,0 @@ --- --- Simple start closet (with door) --- - -PREFABS.Start_closet1 = -{ - file = "start/closet1.wad", - map = "MAP01", - - - - prob = 80, - - where = "seeds", - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", -} - diff --git a/games/hacx/fabs/start/closet1.wad b/games/hacx/fabs/start/closet1.wad deleted file mode 100644 index 804e6505f3..0000000000 Binary files a/games/hacx/fabs/start/closet1.wad and /dev/null differ diff --git a/games/hacx/fabs/start/closet2.lua b/games/hacx/fabs/start/closet2.lua deleted file mode 100644 index 77edcce362..0000000000 --- a/games/hacx/fabs/start/closet2.lua +++ /dev/null @@ -1,23 +0,0 @@ --- --- An open start closet --- - -PREFABS.Start_closet2 = -{ - file = "start/closet2.wad", - map = "MAP01", - - - - prob = 240, - - where = "seeds", - seed_w = 2, - - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", -} - diff --git a/games/hacx/fabs/start/closet2.wad b/games/hacx/fabs/start/closet2.wad deleted file mode 100644 index db3c5286f1..0000000000 Binary files a/games/hacx/fabs/start/closet2.wad and /dev/null differ diff --git a/games/hacx/fabs/switch/.gitkeep b/games/hacx/fabs/switch/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/switch/niche2.lua b/games/hacx/fabs/switch/niche2.lua deleted file mode 100644 index 1a447b2b22..0000000000 --- a/games/hacx/fabs/switch/niche2.lua +++ /dev/null @@ -1,26 +0,0 @@ --- --- Niche switch --- - -PREFABS.Switch_niche2 = -{ - file = "switch/niche2.wad", - map = "MAP01", - - key = "sw_metal", - prob = 50, - - - - where = "seeds", - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", - - tag_1 = "?switch_tag", - - -- use the occasional-blink FX (fairly rarely) - sector_1 = { [0]=80, [1]=15, [2]=5, [3]=5, [8]=5 }, -} diff --git a/games/hacx/fabs/switch/niche2.wad b/games/hacx/fabs/switch/niche2.wad deleted file mode 100644 index 80a3560484..0000000000 Binary files a/games/hacx/fabs/switch/niche2.wad and /dev/null differ diff --git a/games/hacx/fabs/switch/small.lua b/games/hacx/fabs/switch/small.lua deleted file mode 100644 index 30e1742e0d..0000000000 --- a/games/hacx/fabs/switch/small.lua +++ /dev/null @@ -1,19 +0,0 @@ --- --- Small switch --- - -PREFABS.Switch_small = -{ - file = "switch/small.wad", - map = "MAP01", - - - - key = "sw_metal", - prob = 50, - - where = "point", - - tag_1 = "?switch_tag", -} - diff --git a/games/hacx/fabs/switch/small.wad b/games/hacx/fabs/switch/small.wad deleted file mode 100644 index a962f43401..0000000000 Binary files a/games/hacx/fabs/switch/small.wad and /dev/null differ diff --git a/games/hacx/fabs/switch/tight.lua b/games/hacx/fabs/switch/tight.lua deleted file mode 100644 index 6e7ac33ee2..0000000000 --- a/games/hacx/fabs/switch/tight.lua +++ /dev/null @@ -1,25 +0,0 @@ -PREFABS.Switch_wall_tight = -{ - file = "switch/tight.wad", - - map = "MAP01", - - - - prob = 18, - - where = "seeds", - seed_w = 1, - seed_h = 1, - - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", - - tag_1 = "?switch_tag", - - sector_1 = { [0]=70, [1]=15, [2]=5, [3]=5, [8]=10, [12]=3, [13]=3 }, - -} \ No newline at end of file diff --git a/games/hacx/fabs/switch/tight.wad b/games/hacx/fabs/switch/tight.wad deleted file mode 100644 index 9989b3b89b..0000000000 Binary files a/games/hacx/fabs/switch/tight.wad and /dev/null differ diff --git a/games/hacx/fabs/switch/wall_box1.lua b/games/hacx/fabs/switch/wall_box1.lua deleted file mode 100644 index 9a97a7744a..0000000000 --- a/games/hacx/fabs/switch/wall_box1.lua +++ /dev/null @@ -1,28 +0,0 @@ --- --- Niche switch --- - -PREFABS.Switch_wall_box1 = -{ - file = "switch/wall_box1.wad", - - prob = 50, - - - - where = "seeds", - seed_w = 1, - seed_h = 1, - - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", - - tag_1 = "?switch_tag", - - sector_1 = { [0]=70, [1]=15, [2]=5, [3]=5, [8]=10, [12]=3, [13]=3 }, - -} - diff --git a/games/hacx/fabs/switch/wall_box1.wad b/games/hacx/fabs/switch/wall_box1.wad deleted file mode 100644 index 918f841c66..0000000000 Binary files a/games/hacx/fabs/switch/wall_box1.wad and /dev/null differ diff --git a/games/hacx/fabs/teleporter/.gitkeep b/games/hacx/fabs/teleporter/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/teleporter/closet2.lua b/games/hacx/fabs/teleporter/closet2.lua deleted file mode 100644 index d22f3f0432..0000000000 --- a/games/hacx/fabs/teleporter/closet2.lua +++ /dev/null @@ -1,26 +0,0 @@ --- --- Teleporter closet --- - -PREFABS.Teleporter_closet = -{ - file = "teleporter/closet2.wad", - - prob = 50, - - - - where = "seeds", - seed_w = 1, - seed_h = 1, - - deep = 16, - over = -16, - - x_fit = "frame", - y_fit = "top", - - tag_1 = "?out_tag", - tag_2 = "?in_tag", -} - diff --git a/games/hacx/fabs/teleporter/closet2.wad b/games/hacx/fabs/teleporter/closet2.wad deleted file mode 100644 index c6f92340d8..0000000000 Binary files a/games/hacx/fabs/teleporter/closet2.wad and /dev/null differ diff --git a/games/hacx/fabs/teleporter/pad2.lua b/games/hacx/fabs/teleporter/pad2.lua deleted file mode 100644 index 4739bc474e..0000000000 --- a/games/hacx/fabs/teleporter/pad2.lua +++ /dev/null @@ -1,19 +0,0 @@ --- --- Teleporter pad --- - -PREFABS.Teleporter2 = -{ - file = "teleporter/pad2.wad", - map = "MAP01", - - - - prob = 50, - - where = "point", - - tag_1 = "?out_tag", - tag_2 = "?in_tag", -} - diff --git a/games/hacx/fabs/teleporter/pad2.wad b/games/hacx/fabs/teleporter/pad2.wad deleted file mode 100644 index 6247dec279..0000000000 Binary files a/games/hacx/fabs/teleporter/pad2.wad and /dev/null differ diff --git a/games/hacx/fabs/trap/.gitkeep b/games/hacx/fabs/trap/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/wall/.gitkeep b/games/hacx/fabs/wall/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/wall/cavish.lua b/games/hacx/fabs/wall/cavish.lua deleted file mode 100644 index 64b0764ce8..0000000000 --- a/games/hacx/fabs/wall/cavish.lua +++ /dev/null @@ -1,40 +0,0 @@ --- --- Cavey walls --- - -PREFABS.Wall_cave1 = -{ - file = "wall/cavish.wad", - map = "MAP01", - - - - prob = 50, - env = "cave", - - where = "edge", - deep = 24, - - bound_z1 = 0, - bound_z2 = 2, - - x_fit = "stretch", - z_fit = "stretch", -} - - -PREFABS.Wall_cave2 = -{ - template = "Wall_cave1", - map = "MAP02", -} - - -PREFABS.Wall_cave3 = -{ - template = "Wall_cave1", - map = "MAP03", - - deep = 16, -} - diff --git a/games/hacx/fabs/wall/cavish.wad b/games/hacx/fabs/wall/cavish.wad deleted file mode 100644 index 56b29e276b..0000000000 Binary files a/games/hacx/fabs/wall/cavish.wad and /dev/null differ diff --git a/games/hacx/fabs/wall/torches.lua b/games/hacx/fabs/wall/torches.lua deleted file mode 100644 index 9c98f92dc5..0000000000 --- a/games/hacx/fabs/wall/torches.lua +++ /dev/null @@ -1,25 +0,0 @@ --- --- Diagonal wall with some torches --- --- NOTE: no straight wall version, as a torch might completely --- block player movement. --- - -PREFABS.Wall_torches1_diag = -{ - file = "wall/torches.wad", - map = "MAP02", - - - - prob = 50, - group = "torches1", - - where = "diagonal", - - bound_z1 = 0, - bound_z2 = 64, - - z_fit = "top", -} - diff --git a/games/hacx/fabs/wall/torches.wad b/games/hacx/fabs/wall/torches.wad deleted file mode 100644 index ffb0633845..0000000000 Binary files a/games/hacx/fabs/wall/torches.wad and /dev/null differ diff --git a/games/hacx/fabs/wall/wall_16.lua b/games/hacx/fabs/wall/wall_16.lua deleted file mode 100644 index 91a91ae7ac..0000000000 --- a/games/hacx/fabs/wall/wall_16.lua +++ /dev/null @@ -1,42 +0,0 @@ --- --- Plain wall --- - -PREFABS.Wall_plain = -{ - file = "wall/wall_16.wad", - map = "MAP01", - - - - prob = 50, - - where = "edge", - long = 128, - deep = 16, - - bound_z1 = 0, - bound_z2 = 2, - - x_fit = "stretch", - z_fit = "stretch", -} - - -PREFABS.Wall_plain_diag = -{ - file = "wall/wall_16.wad", - map = "MAP02", - - - - prob = 50, - - where = "diagonal", - - bound_z1 = 0, - bound_z2 = 2, - - z_fit = "stretch", -} - diff --git a/games/hacx/fabs/wall/wall_16.wad b/games/hacx/fabs/wall/wall_16.wad deleted file mode 100644 index e7384bc3cd..0000000000 Binary files a/games/hacx/fabs/wall/wall_16.wad and /dev/null differ diff --git a/games/hacx/fabs/window/.gitkeep b/games/hacx/fabs/window/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/games/hacx/fabs/window/square.lua b/games/hacx/fabs/window/square.lua deleted file mode 100644 index 20b905e0c7..0000000000 --- a/games/hacx/fabs/window/square.lua +++ /dev/null @@ -1,46 +0,0 @@ --- --- a simple square shaped window --- - -PREFABS.Window_square1 = -{ - file = "window/square.wad", - map = "MAP01", - - - - group = "square", - - prob = 50, - - where = "edge", - seed_w = 1, - - deep = 16, - over = 16, - height = 112, - - bound_z1 = 0, - bound_z2 = 112, -} - - -PREFABS.Window_square2 = -{ - template = "Window_square1", - - map = "MAP02", - - seed_w = 2, -} - - -PREFABS.Window_square3 = -{ - template = "Window_square1", - - map = "MAP03", - - seed_w = 3, -} - diff --git a/games/hacx/fabs/window/square.wad b/games/hacx/fabs/window/square.wad deleted file mode 100644 index 99ad9eacd6..0000000000 Binary files a/games/hacx/fabs/window/square.wad and /dev/null differ diff --git a/games/hacx/fabs/window/tall.lua b/games/hacx/fabs/window/tall.lua deleted file mode 100644 index dd8854bdd7..0000000000 --- a/games/hacx/fabs/window/tall.lua +++ /dev/null @@ -1,82 +0,0 @@ --- --- a tall square window --- - -PREFABS.Window_tall_1 = -{ - file = "window/tall.wad", - map = "MAP01", - - - - group = "tall", - prob = 50, - - rank = 2, - height = 176, - - where = "edge", - seed_w = 1, - deep = 16, - over = 16, - - bound_z1 = 0, - bound_z2 = 176, -} - - -PREFABS.Window_tall_2 = -{ - template = "Window_tall_1", - - map = "MAP02", - - seed_w = 2, -} - - -PREFABS.Window_tall_3 = -{ - template = "Window_tall_1", - - map = "MAP03", - - seed_w = 3, -} - - ------ Fallbacks for height-limited spots ------------------- - - -PREFABS.Window_tallish_1 = -{ - template = "Window_tall_1", - - map = "MAP11", - - rank = 1, - height = 128, -} - -PREFABS.Window_tallish_2 = -{ - template = "Window_tall_1", - - map = "MAP12", - seed_w = 2, - - rank = 1, - height = 128, -} - -PREFABS.Window_tallish_3 = -{ - template = "Window_tall_1", - - map = "MAP13", - seed_w = 3, - - rank = 1, - height = 128, -} - diff --git a/games/hacx/fabs/window/tall.wad b/games/hacx/fabs/window/tall.wad deleted file mode 100644 index 0982f58909..0000000000 Binary files a/games/hacx/fabs/window/tall.wad and /dev/null differ diff --git a/games/hacx/factory.lua b/games/hacx/factory.lua deleted file mode 100644 index fa1e859bea..0000000000 --- a/games/hacx/factory.lua +++ /dev/null @@ -1,9627 +0,0 @@ ------------------------------------------------------------------------- --- BASE FILE for HACX ------------------------------------------------------------------------- --- --- Oblige Level Maker --- --- Copyright (C) 2006-2017 Andrew Apted --- Copyright (C) 2011,2014, 2022 Reisal --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; either version 2, --- of the License, or (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- ------------------------------------------------------------------------- - -HACX.FACTORY = { } - -HACX.FACTORY.PREFABS = -{ - --- Note: texture names (like STARTAN3) are never used here. --- Instead the names here (like "beam_w") are looked-up in a --- SKIN table. This allows the same prefab to be used with --- different textures (which are game-dependent). - -PLAIN = -{ - scale=64, - - structure = { "." }, - - elements = { }, -}, - -PLAIN_BIG = -{ - scale=64, - - structure = - { - "..", - "..", - }, - - elements = { }, -}, - -SOLID = -{ - scale=64, - - structure = { "#" }, - - elements = { }, -}, - -SOLID_WIDE = -{ - scale=64, - - structure = { "##" }, - - elements = { }, -}, - -SOLID_BIG = -{ - scale=64, - - structure = - { - "##", - "##", - }, - - elements = { }, -}, - - ------- Arches ------------------------------------ - -ARCH = -{ - structure = - { - "##aaaaaaaa##", - "##aaaaaaaa##", - "##aaaaaaaa##", - "##aaaaaaaa##", - }, - - elements = - { - a = { f_h=0, c_rel="door_top", c_h=0, }, - }, -}, - -ARCH_EDGE = -{ - copy="ARCH", - - mirror=true, - - structure = - { - "#aaa", - "#aaa", - "#aaa", - "#aaa", - }, -}, - -ARCH_NARROW = -{ - copy="ARCH", - - structure = - { - "#aaaaaa#", - "#aaaaaa#", - "#aaaaaa#", - "#aaaaaa#", - }, -}, - -ARCH_ARCHED = -{ - structure = - { - "##cbaaaabc##", - "##cbaaaabc##", - "##cbaaaabc##", - "##cbaaaabc##", - }, - - elements = - { - a = { f_h=0, c_rel="door_top", c_h=0, }, - - b = { copy="a", c_h=-16 }, - c = { copy="a", c_h=-32 }, - }, -}, - -ARCH_HOLE1 = -{ - structure = - { - "##cbaaaabc##", - "##cbaaaabc##", - "##cbaaaabc##", - "##cbaaaabc##", - }, - - elements = - { - a = { f_h=0, c_rel="door_top", c_h=0, }, - - b = { copy="a", f_h=12, c_h=-12 }, - c = { copy="a", f_h=24, c_h=-24 }, - }, -}, - -ARCH_TRUSS = -{ - structure = - { - "##BaaaaaaB##", - "##CaaaaaaC##", - "##CaaaaaaC##", - "##BaaaaaaB##", - }, - - elements = - { - a = { f_h=0, c_rel="door_top", c_h=0, }, - - B = { f_rel="door_top", f_h=0, c_rel="door_top", c_h=0, - l_tex="beam_w", f_tex="beam_c", - }, - - C = { f_h=0, c_rel="door_top", c_h=-8, - u_tex="beam_w", c_tex="beam_c", u_peg="top", - } - }, -}, - -ARCH_RUSSIAN = -{ - structure = - { - "##aaaaaaaa##", - "##BssssssB##", - "##BssssssB##", - "##aaaaaaaa##", - }, - - elements = - { - a = { f_h=0, c_rel="door_top", c_h=16, }, - - s = { f_h=0, c_rel="door_top", c_h=0, - u_tex="beam_w", c_tex="beam_c", u_peg="top" - }, - - B = { solid="beam_w" }, - }, -}, - -ARCH_BEAMS = -{ - copy="ARCH_RUSSIAN", - - structure = - { - "#aaaaaaaaaa#", - "#aaaaaaaaaa#", - "#aBaaaaaaBa#", - "#aaaaaaaaaa#", - }, -}, - -ARCH_BEAM_WIDE = -{ - copy="ARCH_BEAMS", - - structure = - { - "##aaaaaaaaaaaa##", - "##aBBaaaaaaBBa##", - "##aBBaaaaaaBBa##", - "##aaaaaaaaaaaa##", - }, -}, - -ARCH_CURVY = -{ - structure = - { - "##aaaaaaaa##", - "#RaaaaaaaaS#", - "#TaaaaaaaaU#", - "##aaaaaaaa##", - }, - - elements = - { - a = { f_h=0, c_rel="door_top", c_h=0, }, - - R = { solid="wall", [9]={ dx= 16,dy=0 }, [3]={ dx= 20,dy=0 } }, - S = { solid="wall", [7]={ dx=-16,dy=0 }, [1]={ dx=-20,dy=0 } }, - - T = { solid="wall", [3]={ dx= 16,dy=0 } }, - U = { solid="wall", [1]={ dx=-16,dy=0 } }, - }, -}, - - -ARCH_FENCE = -{ - structure = - { - "fed......def", - "fed......def", - "fed......def", - "fed......def", - }, - - elements = - { - c = { f_h= 8, f_rel="floor_h" }, - d = { f_h=16, f_rel="floor_h" }, - - e = { f_h=32, f_rel="floor_h", - [4] = { impassible=true }, - [6] = { impassible=true }, - }, - - f = { f_h=0, f_rel="low_h", }, - - B = { f_h=16, f_rel="low_h", f_add="beam_h", - l_tex="beam_w", f_tex="beam_f", l_peg="top" - }, - }, -}, - -ARCH_FENCE_NARROW = -{ - copy="ARCH_FENCE", - - structure = - { - "fe....ef", - "fe....ef", - "fe....ef", - "fe....ef", - }, -}, - -ARCH_FENCE_WIDE = -{ - copy="ARCH_FENCE", - - structure = - { - "feddcc........ccddef", - "feddcc........ccddef", - "feddcc........ccddef", - "feddcc........ccddef", - }, -}, - -ARCH_WIRE_FENCE = -{ - copy="ARCH_FENCE", - - structure = - { - "f..........f", - "BB........BB", - "BB........BB", - "f..........f", - }, -}, - -ARCH_WIRE_FENCE_NARROW = -{ - copy="ARCH_FENCE", - - structure = - { - "f......f", - "BB....BB", - "BB....BB", - "f......f", - }, -}, - -ARCH_WIRE_FENCE_WIDE = -{ - copy="ARCH_FENCE", - - structure = - { - "f..................f", - "BB................BB", - "BB................BB", - "f..................f", - }, -}, - - ------- Windows ------------------------------------ - -WINDOW_NARROW = -{ - structure = - { - "#ww#", - "#ww#", - "#ww#", - "#ww#", - }, - - elements = - { - w = { f_h=0, f_rel="low_h", c_h=0, c_rel="high_h" }, - } -}, - -WINDOW_EDGE = -{ - mirror=true, - - structure = - { - "#www", - "#www", - "#www", - "#www", - }, - - elements = - { - w = { f_h=0, f_rel="low_h", c_h=0, c_rel="high_h" }, - } -}, - -WINDOW_ARCHED = -{ - structure = - { - "#abwwba#", - "#abwwba#", - "#abwwba#", - "#abwwba#", - }, - - elements = - { - w = { f_h=0, f_rel="low_h", c_h=0, c_rel="high_h" }, - - a = { copy="w", f_h=12, c_h=-12 }, - b = { copy="w", f_h=24, c_h=-24 }, - } -}, - -WINDOW_ARCHED_BIG = -{ - copy="WINDOW_ARCHED", - - structure = - { - "#abbwwwwbba#", - "#abbwwwwbba#", - "#abbwwwwbba#", - "#abbwwwwbba#", - }, -}, - -WINDOW_CROSS = -{ - structure = - { - "#aawwaa#", - "#aawwaa#", - "#aawwaa#", - "#aawwaa#", - }, - - elements = - { - w = { f_h=0, f_rel="low_h", c_h=0, c_rel="high_h" }, - - a = { f_h=-32, f_rel="mid_h", c_h=32, c_rel="mid_h" }, - } -}, - -WINDOW_CROSS_BIG = -{ - copy="WINDOW_CROSS", - - structure = - { - "#aaaawwaaaa#", - "#aaaawwaaaa#", - "#aaaawwaaaa#", - "#aaaawwaaaa#", - }, -}, - -WINDOW_BARRED = -{ - structure = - { - "#wwwwwwwww##", - "#wBwwwBwww##", - "#wwwBwwwBw##", - "#wwwwwwwww##", - }, - - elements = - { - w = { f_h=0, f_rel="low_h", c_h=0, c_rel="high_h" }, - - B = { solid="bar_w" }, - } -}, - -WINDOW_RAIL = -{ - structure = - { - "#wwwwwwwwww#", - "#RRRRRRRRRR#", - "#wwwwwwwwww#", - "#wwwwwwwwww#", - }, - - elements = - { - w = { f_h=0, f_rel="low_h", c_h=0, c_rel="high_h" }, - - R = { copy="w", mark=1, - [2] = { rail="rail_w", l_peg="bottom", impassible=true } }, - } -}, - -WINDOW_RAIL_NARROW = -{ - copy="WINDOW_RAIL", - - structure = - { - "#wwwwww#", - "#RRRRRR#", - "#wwwwww#", - "#wwwwww#", - }, -}, - ------- Doors ------------------------------------ - -DOOR = -{ - structure = - { - "##ssssssss##", - "#TddddddddT#", - "#TddddddddT#", - "##ssssssss##", - }, - - elements = - { - -- steps - s = { f_h=8, c_rel="floor_h", c_add="door_h", c_h=8, - f_tex="frame_f", c_tex="frame_c", l_tex="step_w", - l_peg="top", - }, - - -- door - d = { f_h=8, c_rel="floor_h", c_h=8, - f_tex="frame_f", c_tex="door_c", - u_tex="door_w", u_peg="bottom", l_peg="bottom", - kind="door_kind", tag="tag", - }, - - -- track - T = { solid="track_w", l_peg="bottom" }, - }, -}, - -DOOR_NARROW = -{ - copy="DOOR", - - structure = - { - "##ssss##", - "#TddddT#", - "#TddddT#", - "##ssss##", - }, -}, - -DOOR_SUPER_NARROW = -{ - copy="DOOR", - - structure = - { - "#ss#", - "TddT", - "TddT", - "#ss#", - }, - - elements = - { - -- steps - s = { f_h=8, c_rel="floor_h", c_add="door_h", c_h=8, - f_tex="frame_f", c_tex="frame_c", l_tex="step_w", - l_peg="top", - - [1] = { dx=-12,dy=0 }, [3] = { dx=12,dy=0 }, - [7] = { dx=-12,dy=0 }, [9] = { dx=12,dy=0 }, - }, - - -- door - d = { f_h=8, c_rel="floor_h", c_h=8, - f_tex="frame_f", c_tex="door_c", - u_tex="door_w", u_peg="bottom", l_peg="bottom", - kind="door_kind", tag="tag", - [2] = { x_offset=4 }, [8] = { x_offset=4 }, - }, - - -- track - T = { solid="track_w", l_peg="bottom" }, - } -}, - -DOOR_LIT = -{ - structure = - { - "#LssssssssM#", - "#TddddddddT#", - "#TddddddddT#", - "#LssssssssM#", - }, - - elements = - { - -- steps - s = { f_h=8, c_rel="floor_h", c_add="door_h", c_h=8, - f_tex="frame_f", c_tex="frame_c", l_tex="step_w", - l_peg="top", - light=224 - }, - - -- door - d = { f_h=8, c_rel="floor_h", c_h=8, - f_tex="frame_f", c_tex="door_c", u_tex="door_w", - u_peg="bottom", l_peg="bottom", - kind="door_kind", tag="tag", - light=224 - }, - - -- track - T = { solid="track_w", l_peg="bottom" }, - - -- lights - L = { solid="wall", [6]={ l_tex="lite_w", l_peg="bottom" }}, - M = { solid="wall", [4]={ l_tex="lite_w", l_peg="bottom" }}, - }, -}, - -DOOR_LIT_NARROW = -{ - copy="DOOR_LIT", - - structure = - { - "#LssssM#", - "#TddddT#", - "#TddddT#", - "#LssssM#", - }, -}, - -DOOR_LIT_LOCKED = -{ - structure = - { - "KKssssssssKK", - "KTddddddddTK", - "KTddddddddTK", - "KKssssssssKK", - }, - - elements = - { - -- steps - s = { f_h=8, c_rel="floor_h", c_add="door_h", c_h=8, - f_tex="frame_f", c_tex="frame_c", l_tex="step_w", - l_peg="top", - light=224 - }, - - -- door - d = { f_h=8, c_rel="floor_h", c_h=8, - f_tex="frame_f", c_tex="door_c", u_tex="door_w", - u_peg="bottom", l_peg="bottom", - kind="door_kind", tag="tag", - light=224 - }, - - -- track - T = { solid="track_w", l_peg="bottom" }, - - -- key - K = { solid="key_w" }, - }, -}, - -DOOR_WOLFY = -{ - structure = - { - "#TssssssssT#", - "#TssssssssT#", - "#TddddddddT#", - "#TssssssssT#", - }, - - elements = - { - -- step - s = { f_h=0, c_rel="floor_h", c_add="door_h", c_h=0, - f_tex="frame_f", c_tex="frame_c", l_tex="step_w", - l_peg="top", - }, - - -- door - d = { f_h=0, c_rel="floor_h", c_h=0, - f_tex="frame_f", c_tex="door_c", - u_tex="door_w", u_peg="bottom", l_peg="bottom", - kind="door_kind", tag="tag", - - [8] = { u_tex="back_w", u_peg="bottom" }, - - [1] = { dx=0, dy=12 }, [7] = { dx=0, dy=4 }, - [3] = { dx=0, dy=12 }, [9] = { dx=0, dy=4 }, - }, - - -- track - T = { solid="track_w", l_peg="bottom" }, - }, -}, - - -BARS_1 = -{ - structure = - { - "##ssssssss##", - "##sBBssBBs##", - "##sBBssBBs##", - "##ssssssss##", - }, - - elements = - { - -- step - s = { c_rel="door_top", c_h=0 }, - - -- bars - B = { f_rel="door_top", f_h=0, f_tex="bar_f", - c_rel="door_top", c_h=0, c_tex="bar_f", - u_tex="bar_w", u_peg="bottom", - l_tex="bar_w", l_peg="bottom", - - kind="door_kind", tag="tag", - }, - }, -}, - -BARS_2 = -{ - copy="BARS_1", - - structure = - { - "##sssssssss#", - "##sssssssss#", - "##sBsBsBsBs#", - "##sssssssss#", - }, -}, - -BARS_NARROW = -{ - copy="BARS_1", - - structure = - { - "#ssssss#", - "#ssBBss#", - "#ssBBss#", - "#ssssss#", - }, -}, - -BARS_FENCE = -{ - structure = - { - "f..........f", - "f.BB.BB.BB.f", - "f.BB.BB.BB.f", - "f..........f", - }, - - elements = - { - f = { f_h=0, f_rel="low_h", }, - - B = { f_h=128, f_rel="floor_h", - l_tex="beam_w", f_tex="beam_f", l_peg="top", - kind="door_kind", tag="tag", - }, - }, -}, - -BARS_FENCE_DOOR = -{ - structure = - { - "f..........f", - "f.DDDDDDDD.f", - "f..........f", - "f..........f", - }, - - elements = - { - f = { f_h=0, f_rel="low_h", }, - - D = { f_h=128, f_rel="floor_h", - l_tex="side_w", f_tex="door_f", l_peg="top", - kind="door_kind", tag="tag", - - [2] = { l_tex="door_w" }, - [8] = { l_tex="door_w" }, - }, - }, -}, - - ------- Exit Stuff ------------------------------------ - -EXIT_DOOR = -{ - structure = - { - "#MssssL#", - "#TddddT#", - "#LssssM#", - "##ssss##", - }, - - elements = - { - -- steps - s = { f_h=8, c_rel="door_top", c_h=8, - f_tex="frame_f", c_tex="frame_c", l_tex="step_w", - l_peg="top", light=224 - }, - - -- door - d = { copy="s", c_rel="floor_h", c_h=8, u_tex="door_w", c_tex = "door_c", - kind="door_kind", tag="tag", u_peg="bottom", l_peg="bottom" - }, - - -- sign - X = { copy="s", u_tex="exit_w", c_rel="door_top", c_h=-8, - c_tex="exit_c", u_peg="top", - [4] = { x_offset=32 }, [6] = { x_offset=32 }, - }, - - -- front sign - F = { solid="front_w", l_peg="bottom" }, - - -- track - T = { solid="track_w", l_peg="bottom" }, - - -- light - L = { solid="wall", l_peg="bottom", - [4] = { l_tex="door_w", x_offset=72 }, - [6] = { l_tex="door_w", x_offset=72 } - }, - - M = { solid="wall", l_peg="bottom", - [4] = { l_tex="door_w", x_offset=88 }, - [6] = { l_tex="door_w", x_offset=88 } - }, - }, -}, - -EXIT_DOOR_WIDE = -{ - copy="EXIT_DOOR", - - structure = - { - "###MssssL###", - "###TddddT###", - "###LssssM###", - "FFFFssssFFFF", - }, -}, - -EXIT_DOOR_W_SIGN = -{ - copy="EXIT_DOOR", - - structure = - { - "##ssss##", - "##sXXs##", - "#MssssL#", - "#TddddT#", - "#LssssM#", - "##ssss##", - "##sXXs##", - "##ssss##", - }, -}, - -EXIT_SIGN_CEIL = -{ - region="ceil", --- environment="indoor", --- height_range={ 80,160 }, - - structure = - { - "....", - "....", - ".XX.", - "....", - }, - - elements = - { - -- sign - X = { c_h=-16, u_tex="exit_w", c_tex="exit_c", u_peg="top", - [4] = { x_offset=32 }, [6] = { x_offset=32 }, - }, - }, -}, - -EXIT_SIGN_FLOOR = -{ - region="floor", - - structure = - { - "....", - "....", - ".XX.", - "....", - }, - - elements = - { - -- sign - X = { f_h=16, l_tex="exit_w", f_tex="exit_c", l_peg="top", - [4] = { x_offset=32 }, [6] = { x_offset=32 }, - }, - }, -}, - -EXIT_HOLE_ROUND = -{ - structure = - { - "............", - "............", - "............", - "............", - "....jihg....", - "....kzzf....", - "....mzze....", - "....abcd....", - "............", - "............", - "............", - "............", - }, - - elements = - { - z = { f_tex="hole_f", f_h=-16, }, - - a = { copy="z", - [1] = { dx=-12, dy=-12 }, [7] = { dx=-24, dy=-8 }, - [2] = { x_offset=336 }, [4] = { x_offset=313 }, - }, - b = { copy="z", - [1] = { dx=-8, dy=-24 }, - [2] = { x_offset=359 }, - }, - c = { copy="z", - [1] = { dx= 0, dy=-29 }, - [2] = { x_offset= 0 }, - }, - - d = { copy="z", - [3] = { dx=12, dy=-12 }, [1] = { dx=8, dy=-24 }, - [6] = { x_offset= 48 }, [2] = { x_offset= 25 }, - }, - e = { copy="z", - [3] = { dx=24, dy=-8 }, - [6] = { x_offset= 71 }, - }, - f = { copy="z", - [3] = { dx=29, dy= 0 }, - [6] = { x_offset= 96 }, - }, - - g = { copy="z", - [9] = { dx=12, dy=12 }, [3] = { dx=24, dy=8 }, - [8] = { x_offset=144 }, [6] = { x_offset=121 }, - }, - h = { copy="z", - [9] = { dx=8, dy=24 }, - [8] = { x_offset=167 }, - }, - i = { copy="z", - [9] = { dx= 0, dy=29 }, - [8] = { x_offset=192 }, - }, - - j = { copy="z", - [7] = { dx=-12, dy=12 }, [9] = { dx=-8, dy=24 }, - [4] = { x_offset=240 }, [8] = { x_offset=217 }, - }, - k = { copy="z", - [7] = { dx=-24, dy=8 }, - [4] = { x_offset=263 }, - }, - m = { copy="z", - [7] = { dx=-29, dy= 0 }, - [4] = { x_offset=288 }, - }, - }, -}, - -EXIT_DEATHMATCH = -{ - structure = - { - "############", - "##iiWWWWii##", - "##iiiiiiii##", - "##iiiiiiii##", - "##iiiiiiii##", - "##iiiiiiii##", - "##iiiiiiii##", - "##iiiiiiii##", - "##iiiiiiii##", - "####ssss####", - "###TddddT###", - "FFFFssssFFFF", - }, - - elements = - { - -- inside area - i = { f_h=0, c_rel="floor_h", c_add="inside_h", c_h=0, }, - - -- step - s = { f_h=8, c_rel="floor_h", c_add="door_h", c_h=8, - f_tex="frame_f", c_tex="frame_c", l_tex="step_w", - l_peg="top", light=224 - }, - - -- front sign - F = { solid="front_w", l_peg="bottom" }, - - -- door - d = { f_h=8, c_rel="floor_h", c_h=8, - f_tex="frame_f", l_tex="step_w", l_peg="bottom", - c_tex="door_c", u_tex="door_w", u_peg="bottom", - light=224, kind="door_kind", tag="tag", - }, - - -- track - T = { solid="track_w", l_peg="bottom" }, - - -- switch - W = { copy="i", f_h=72, f_tex="switch_f", - l_tex="side_w", l_peg="top", - - [2] = { l_tex="switch_w", l_peg="top", y_offset="switch_yo", - kind="switch_kind", tag="tag" }, - }, - }, -}, - - ------- Switches ------------------------------------ - -SWITCH_PILLAR = -{ - scale=64, - add_mode="island", ---FIXME height_range={ 128,384 }, - - structure = - { - "P" - }, - - elements = - { - P = { solid="side_w", - - [2] = { l_tex="switch_w", l_peg="bottom", kind="kind", tag="tag" } - }, - }, -}, - -SWITCH_WIDE = -{ - scale=64, - - structure = - { - "ss" - }, - - elements = - { - s = { solid="wall", - [2] = { l_tex="switch_w", l_peg="bottom", kind="kind", tag="tag" } - }, - }, -}, - -SWITCH_FLUSH = -{ - scale=64, - - structure = - { - "LsR" - }, - - elements = - { - s = { solid="wall", - [2] = { l_tex="switch_w", l_peg="bottom", kind="kind", tag="tag" } - }, - - L = { solid="wall", [2] = { l_tex="left_w", l_peg="bottom" }}, - R = { solid="wall", [2] = { l_tex="right_w", l_peg="bottom" }}, - }, -}, - -SWITCH_FLOOR = -{ - region="floor", ---FIXME height_range={ 96,999 }, - - structure = - { - "....", - "ssss", - "....", - "....", - }, - - elements = - { - s = { f_add="switch_h", f_h=0, - l_tex="side_w", f_tex="switch_f", l_peg="top", - - [2] = { l_tex="switch_w", l_peg="top", kind="kind", tag="tag", - x_offset="x_offset", y_offset="y_offset" - } - }, - - -- beam - B = { f_add="switch_h", f_h=12, - l_tex="beam_w", f_tex="beam_f", l_peg="top" - }, - }, -}, - -SWITCH_FLOOR_BEAM = -{ - copy="SWITCH_FLOOR", - - structure = - { - "........", - ".BssssB.", - "........", - "........", - }, -}, - -SWITCH_FLOOR_TINY = -{ - region="floor", ---FIXME height_range={ 64,512 }, - - structure = - { - "....", - ".ss.", - "....", - "....", - }, - - elements = - { - s = { f_add="switch_h", f_h=0, - l_tex="side_w", f_tex="switch_f", l_peg="top", - - [2] = { l_tex="switch_w", l_peg="top", kind="kind", tag="tag", - x_offset="x_offset", y_offset="y_offset" - } - }, - }, -}, - -SWITCH_FLOOR_TINY_PED = -{ - region="floor", ---FIXME height_range={ 64,512 }, - - structure = - { - "pppp", - "pssp", - "pppp", - "....", - }, - - elements = - { - s = { f_h=20, f_add="switch_h", - l_tex="side_w", f_tex="switch_f", l_peg="top", - - [2] = { l_tex="switch_w", l_peg="top", kind="kind", tag="tag", - x_offset="x_offset", y_offset="y_offset" - }, - - }, - - p = { f_h=20, - l_tex="ped_w", f_tex="ped_f", l_peg="top", - } - }, -}, - -SWITCH_CEILING = -{ - add_mode="island", ---FIXME height_range={ 96,256 }, - - structure = - { - "bbbb", - "ssss", - "bbbb", - "....", - }, - - elements = - { - s = { c_rel="floor_h", c_h=24, f_h=0, - u_tex="side_w", c_tex="switch_c", u_peg="top", - - [2] = { u_tex="switch_w", u_peg="top", kind="kind", tag="tag", - x_offset="x_offset", y_offset="y_offset" - } - }, - - -- beam coming down from ceiling - b = { c_rel="floor_h", c_add="switch_h", c_h=24, f_h=0, - c_tex="beam_c", u_tex="beam_w", u_peg="bottom", - } - }, -}, - -SWITCH_NICHE = -{ - structure = - { - "########", - "########", - "##ssss##", - "#LnnnnL#", - }, - - elements = - { - -- niche - n = { f_h=0, c_rel="floor_h", c_add="switch_h", c_h=0, - f_tex="frame_f", c_tex="frame_c", - light=192 - }, - - -- switch - s = { solid="switch_w", l_peg="top", - [2] = { kind="kind", tag="tag", - x_offset="x_offset", y_offset="y_offset" - } - }, - - -- light - L = { solid="wall", light=192, - [4] = { l_tex="lite_w" }, - [6] = { l_tex="lite_w" }, - }, - }, -}, - -SWITCH_NICHE_TINY = -{ - structure = - { - "####", - "####", - "#ss#", - "LnnM", - }, - - elements = - { - -- niche - n = { f_h=32, c_rel="floor_h", c_add="switch_h", c_h=32, - f_tex="frame_f", c_tex="frame_c", - [2] = { x_offset=16, l_peg="bottom", u_peg="top" }, - }, - - -- switch - s = { solid="switch_w", l_peg="top", - [2] = { kind="kind", tag="tag", - x_offset="x_offset", y_offset="y_offset" } - }, - - -- sides - L = { solid="wall", [6] = { l_tex="frame_w" }, - [2] = { x_offset=0, l_peg="top" } - }, - M = { solid="wall", [4] = { l_tex="frame_w" }, - [2] = { x_offset=48, l_peg="top" } - }, - }, -}, - -SWITCH_NICHE_TINY_DEEP = -{ - copy="SWITCH_NICHE_TINY", - - structure = - { - "####", - "#ss#", - "LnnM", - "LnnM", - }, -}, - -SWITCH_NICHE_HEXEN = -{ - structure = - { - "###ss###", - "###nn###", - "LLL..RRR", - "........", - }, - - elements = - { - -- niche - n = { f_h=32, c_rel="floor_h", c_add="switch_h", c_h=32, - f_tex="frame_f", c_tex="frame_c", - }, - - -- switch - s = { solid="wall", - [2] = { kind="kind", tag="tag", l_tex="switch_w", - x_offset="x_offset", y_offset="y_offset" }, - - [1] = { dx=0, dy=-8 }, - [3] = { dx=0, dy=-8 }, - }, - - -- diagonals - L = { solid="wall", mark=7, [3] = { VDEL=true }}, - R = { solid="wall", mark=8, [1] = { VDEL=true }}, - }, -}, - - ------- Wall Stuff ------------------------------------ - -WALL_LAMP_NARROW = -{ - structure = - { - "####", - "#ii#", - "#ii#", - "#ii#", - }, - - elements = - { - i = { f_rel="low_h", f_h=0, c_rel="high_h", c_h=0, - light=224 - }, - }, - - things = - { - { kind="lamp_t", x = 32, y = 24 }, - }, -}, - -WALL_LAMP = -{ - structure = - { - "########", - "##iiii##", - "##iiii##", - "##iiii##", - }, - - elements = - { - i = { f_rel="low_h", f_h=0, c_rel="high_h", c_h=0, - light=224 - }, - }, - - things = - { - { kind="lamp_t", x = 64, y = 24 }, - }, -}, - -WALL_PIC = -{ - structure = - { - "############", - "##pppppppp##", - "#LiiiiiiiiL#", - "#LiiiiiiiiL#", - }, - - elements = - { - i = { f_rel="low_h", f_h=0, c_rel="low_h", c_h=0, c_add="pic_h", - light=192, - }, - - p = { solid="pic_w" }, - - L = { solid="wall", - [4] = { l_tex="lite_w" }, - [6] = { l_tex="lite_w" }, - }, - }, -}, - -WALL_PIC_SHALLOW = -{ - copy="WALL_PIC", - - structure = - { - "############", - "############", - "##pppppppp##", - "#LiiiiiiiiL#", - }, -}, - -WALL_PIC_SCROLLER = -{ - structure = - { - "############", - "############", - "##pppppppp##", - "##iiiiiiii##", - }, - - elements = - { - i = { f_rel="low_h", f_h=0, c_rel="low_h", c_h=0, c_add="pic_h", - light=182, - }, - - p = { solid="pic_w", [2] = { kind="kind" } }, - }, -}, - -WALL_PIC_NARROW = -{ - copy="WALL_PIC", - - structure = - { - "########", - "########", - "##pppp##", - "#LiiiiL#", - }, -}, - -WALL_PIC_TWO_SIDED = -{ - copy="WALL_PIC", - - structure = - { - "#LiiiiiiiiL#", - "##pppppppp##", - "##pppppppp##", - "#LiiiiiiiiL#", - }, -}, - -WALL_PIC_FOUR_SIDED = -{ - structure = - { - "#LiiiiiiiiL#", - "MppppppppppM", - "ippppppppppi", - "ippppppppppi", - "ippppppppppi", - "ippppppppppi", - "ippppppppppi", - "ippppppppppi", - "ippppppppppi", - "ippppppppppi", - "MppppppppppM", - "#LiiiiiiiiL#", - }, - - elements = - { - i = { f_rel="high_h", f_h=-128, c_rel="high_h", c_h=0, - light=192, - }, - - p = { solid="pic_w" }, - - L = { solid="wall", [4] = { l_tex="lite_w" }, [6] = { l_tex="lite_w" }}, - M = { solid="wall", [2] = { l_tex="lite_w" }, [8] = { l_tex="lite_w" }}, - }, -}, - -WALL_CROSS = -{ - structure = - { - "############", - "############", - "##BBBBBBBB##", - "#LaaawwaaaL#", - }, - - elements = - { - B = { solid="back_w" }, - - L = { solid="wall", - [4]={ l_tex="cross_w" }, - [6]={ l_tex="cross_w" }, - }, - - a = { f_h=-24, f_rel="mid_h", c_h=0, c_rel="mid_h", - f_tex="cross_f", c_tex="cross_f", - light="cross_lt", kind="kind", - [4]={ l_tex="cross_w", u_tex="cross_w" }, - [6]={ l_tex="cross_w", u_tex="cross_w" }, - }, - - w = { copy="a", f_h=-78, c_h=78 }, - } -}, - -WALL_LIGHTS_THIN = -{ - structure = - { - "########", - "########", - "##B##B##", - "#LsRLsR#", - }, - - elements = - { - s = { f_h=0, f_rel="low_h", c_h=0, c_rel="high_h", - f_tex="frame_f", c_tex="frame_f", - light="wall_lt", kind="kind", - }, - - B = { solid="lite_w" }, - - L = { solid="wall", [6] = { l_tex="lite_side" }}, - R = { solid="wall", [4] = { l_tex="lite_side" }}, - }, -}, - -WALL_LIGHTS_WIDE = -{ - copy="WALL_LIGHTS_THIN", - - structure = - { - "############", - "#BB##BB##BB#", - "LssRLssRLssR", - "LssRLssRLssR", - }, -}, - - -FENCE_RAIL = -{ - structure = - { - "ffff", - "RRRR", - "ffff", - "ffff", - }, - - elements = - { - f = { f_h=0, f_rel="low_h" }, - - R = { copy="f", mark=2, - [2] = { rail="rail_w", l_peg="bottom", impassible=true } }, - } -}, - -FENCE_BEAM_W_LAMP = -{ - structure = - { - "ffff", - "BffB", - "BffB", - "ffff", - }, - - elements = - { - f = { f_h=0, f_rel="low_h" }, - - B = { copy="f", f_h=0, f_add="beam_h", - l_tex="beam_w", f_tex="beam_f", l_peg="top" }, - }, - - things = - { - { kind="lamp_t", x=32, y=32 }, - }, -}, - - ------- Pickup & Players ------------------------------------ - -TECH_PICKUP_SMALL = -{ --- height_range={ 160,256 }, - - structure = - { - "####aaaaaaaa####", - "####bbbbbbbb####", - "##LLccccccccLL##", - "##L#dddddddd#L##", - "abcdeeeeeeeedcba", - "abcdeeeeeeeedcba", - "abcdeeeeeeeedcba", - "abcdeeeeeeeedcba", - "abcdeeeeeeeedcba", - "abcdeeeeeeeedcba", - "abcdeeeeeeeedcba", - "abcdeeeeeeeedcba", - "##L#dddddddd#L##", - "##LLccccccccLL##", - "####bbbbbbbb####", - "####aaaaaaaa####", - }, - - elements = - { - -- steps - a = { l_tex="step_w", light=128, c_h=-48, l_peg="top" }, - - b = { copy="a", f_h= -8, c_h=-56 }, - c = { copy="a", f_h=-16, c_h=-64, light=192 }, - d = { copy="a", f_h=-24, c_h=-56 }, - - e = { copy="a", f_h=-32, c_h=0, light=160, f_tex="carpet_f", c_tex="sky_c" }, - - -- light - L = { solid="lite_w" }, - }, - - things = - { - { kind="pickup_spot", x=128, y=128 }, - }, -}, - -TECH_PICKUP_LARGE = -{ - copy="TECH_PICKUP_SMALL", - - structure = - { - "####aaaaaaaaaaaa####", - "####bbbbbbbbbbbb####", - "##LLccccccccccccLL##", - "##L#dddddddddddd#L##", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "abcdeeeeeeeeeeeedcba", - "##L#dddddddddddd#L##", - "##LLccccccccccccLL##", - "####bbbbbbbbbbbb####", - "####aaaaaaaaaaaa####", - }, - - things = - { - { kind="pickup_spot", x=160, y=160 }, - }, -}, - -LAUNCH_PAD_LARGE = -{ - region="floor", - - structure = - { - "........................", - "........dddddddd........", - "........bbbbbbbb........", - "...OOOOOOOOOOOOOOOOOO...", - "...OssssssssssssssssO...", - "...OssssssssssssssssO...", - "...OssssssssssssssssO...", - "...OssssTssssssTssssO...", - ".caOssssTssssssTssssOac.", - ".caOssssTssssssTssssOac.", - ".caOssssTssssssTssssOac.", - ".caOssssTTTTTTTTssssOac.", - ".caOssssTssssssTssssOac.", - ".caOssssTssssssTssssOac.", - ".caOssssTssssssTssssOac.", - ".caOssssTssssssTssssOac.", - "...OssssssssssssssssO...", - "...OssssssssssssssssO...", - "...OssssssssssssssssO...", - "...OssssssssssssssssO...", - "...OOOOOOOOOOOOOOOOOO...", - "........bbbbbbbb........", - "........dddddddd........", - "........................", - }, - - elements = - { - s = { f_h=16, f_tex="pad_f" }, - T = { f_h=16, f_tex="letter_f" }, - - O = { f_h=24, f_tex="outer_f", l_tex="outer_w", l_peg="top" }, - - a = { f_h=16, f_tex="step_f", l_tex="side_w", l_peg="top", - [4] = { l_tex="step_w" }, [6] = { l_tex="step_w" }, - }, - - b = { f_h=16, f_tex="step_f", l_tex="side_w", l_peg="top", - [2] = { l_tex="step_w" }, [8] = { l_tex="step_w" }, - }, - - c = { copy="a", f_h=8 }, - d = { copy="b", f_h=8 }, - }, - - things = - { - { kind="pickup_spot", x=192, y=192 }, - }, -}, - -LAUNCH_PAD_MEDIUM = -{ - copy="LAUNCH_PAD_LARGE", - - structure = - { - "....................", - ".......dddddd.......", - ".......bbbbbb.......", - "...OOOOOOOOOOOOOO...", - "...OssssssssssssO...", - "...OssssssssssssO...", - ".caOssTTTTTTTTssOac.", - ".caOssTsssssssssOac.", - ".caOssTsssssssssOac.", - ".caOssTsssssssssOac.", - ".caOssTTTTTTTTssOac.", - ".caOssTsssssssssOac.", - ".caOssTsssssssssOac.", - ".caOssTsssssssssOac.", - "...OssssssssssssO...", - "...OssssssssssssO...", - "...OOOOOOOOOOOOOO...", - ".......bbbbbb.......", - ".......dddddd.......", - "....................", - }, - - things = - { - { kind="pickup_spot", x=160, y=160 }, - }, -}, - -LAUNCH_PAD_SMALL = -{ - copy="LAUNCH_PAD_LARGE", - - structure = - { - ".....dddddd.....", - ".....bbbbbb.....", - "..OOOOOOOOOOOO..", - "..OssssssssssO..", - "..OssTTTTTTssO..", - "caOssTsssssssOac", - "caOssTsssssssOac", - "caOssTTTTTTssOac", - "caOsssssssTssOac", - "caOsssssssTssOac", - "caOssTTTTTTssOac", - "..OssssssssssO..", - "..OssssssssssO..", - "..OOOOOOOOOOOO..", - ".....bbbbbb.....", - ".....dddddd.....", - }, - - things = - { - { kind="pickup_spot", x=128, y=128 }, - }, -}, - -LIQUID_PICKUP = -{ - structure = - { - "##ssssssssssss##", - "##ssssssssssss##", - "ssbLLLLccLLLLbss", - "ssbbbbbccbbbbbss", - "ssbLLLLccLLLLbss", - "ssbbbbbccbbbbbss", - "ssbLLLLccLLLLbss", - "ssccccccccccccss", - "ssccccccccccccss", - "ssbLLLLccLLLLbss", - "ssbbbbbccbbbbbss", - "ssbLLLLccLLLLbss", - "ssbbbbbccbbbbbss", - "ssbLLLLccLLLLbss", - "##ssssssssssss##", - "##ssssssssssss##", - }, - - elements = - { - s = { f_h=16, c_h=-12 }, - - c = { copy="s" }, - - b = { copy="s", f_h=8 }, - - L = { f_h= 0, f_tex="liquid_f", c_h=12, c_tex="sky_c", - light=208, - - [1] = { dx=-4,dy=-4 }, [3] = { dx= 4,dy=-4 }, - [7] = { dx=-4,dy= 4 }, [9] = { dx= 4,dy= 4 }, - }, - }, - - things = - { - { kind="pickup_spot", x=128, y=128 }, - }, -}, - -PEDESTAL = -{ - scale=64, - region="floor", - - structure = - { - "p", - }, - - elements = - { - p = { f_h=0, f_add="ped_h", - f_tex = "ped_f", l_tex = "ped_side", - l_peg = "top", - } - }, -}, - -PEDESTAL_PLUT = -{ --- environment="outdoor", - - structure = - { - "pppp", - "pppp", - "pTpp", - "pppp", - }, - - elements = - { - p = { f_h=16, f_tex="ped_f", l_tex="ped_w", l_peg="top", - light=80, - }, - - T = { f_h=28, f_tex="ped_f2", l_tex="ped_w2", l_peg="top", - - light=255, kind="kind", - - [1] = { dx=16, dy=-6 }, - [3] = { dx=22, dy=16 }, - [7] = { dx=-6, dy= 0 }, - [9] = { dx= 0, dy=22 }, - }, - }, -}, - -PEDESTAL_PLUT_DOUBLE = -{ - copy="PEDESTAL_PLUT", - --- environment="indoor", --- height_range={ 112,999 }, - - elements = - { - p = { f_h= 16, f_tex="ped_f", l_tex="ped_w", l_peg="top", - c_h=-16, c_tex="ped_f", u_tex="ped_w", u_peg="bottom", - light=80, - }, - - T = { f_h= 28, f_tex="ped_f2", l_tex="ped_w2", l_peg="top", - c_h=-28, c_tex="ped_f2", u_tex="ped_w2", u_peg="bottom", - - light=255, kind="kind", - - [1] = { dx=16, dy=-6 }, - [3] = { dx=22, dy=16 }, - [7] = { dx=-6, dy= 0 }, - [9] = { dx= 0, dy=22 }, - }, - }, - -}, - - ------- Decorative I ------------------------------------ - -STATUE_TECH_1 = -{ - structure = - { - "....................", - "....................", - "..aaaaaaaaaaaaaaaa..", - "..aaaaaaaaaaaaaaaa..", - "..aabbbbccccbbbbaa..", - "..aabbbbccccbbbbaa..", - "..aabbbbccccbbbbaa..", - "..aabbbbccccbbbbaa..", - "..aaffffggggffffaa..", - "..aaffffggggffffaa..", - "..aaffffggggffffaa..", - "..aaffffggggffffaa..", - "..aabbbbccccbbbbaa..", - "..aabbbbccccbbbbaa..", - "..aabbbbccccbbbbaa..", - "..aabbbbccccbbbbaa..", - "..aaaaaaaaaaaaaaaa..", - "..aaaaaaaaaaaaaaaa..", - "....................", - "....................", - }, - - elements = - { - a = { f_h=8, c_rel="floor_h", c_h=256, - l_tex="step_w", l_peg="top" - }, - - b = { f_h=16, c_rel="floor_h", c_h=192, - l_tex="step_w", f_tex="carpet_f", - u_tex="span_w", c_tex="lite_c", - light=192 - }, - - c = { f_h=64, c_rel="floor_h", c_h=256, - f_tex="comp_f", l_tex="comp_w", - }, - - f = { copy="c", f_h=128, l_tex="comp2_w", x_offset=128 }, - - g = { copy="c", f_h=192, l_tex="wall" }, - }, - - things = - { - { kind="lamp_t", x = 96, y = 96 }, - { kind="lamp_t", x =224, y = 96 }, - { kind="lamp_t", x = 96, y =224 }, - { kind="lamp_t", x =224, y =224 }, - }, -}, - -STATUE_TECH_2 = -{ - structure = - { - "................", - ".OOOOOOOOOOOOOO.", - ".OccccccccccccO.", - ".OcccsssssscccO.", - ".OcccsddddscccO.", - ".OcsscaaaacsscO.", - ".OcsdbMMMMbdscO.", - ".OcsdbMMMMbdscO.", - ".OcsdbMMMMbdscO.", - ".OcsdbMMMMbdscO.", - ".OcsscaaaacsscO.", - ".OcccsddddscccO.", - ".OcccsssssscccO.", - ".OccccccccccccO.", - ".OOOOOOOOOOOOOO.", - "................", - }, - - elements = - { - O = { l_tex="outer_w", l_peg="top", - u_tex="outer_w", u_peg="bottom", - }, - - c = { f_h=-8, c_h=8, f_tex="carpet_f", c_tex="lite_c", - l_peg="top", light=208, - }, - - M = { copy="c", f_h=112, f_tex="tv_f", l_tex="tv_w", - }, - - a = { copy="M", f_h=64, l_tex="span_w", - [2]={ l_tex="tv_w", y_offset=23 }, - [8]={ l_tex="tv_w", y_offset=23 } - }, - b = { copy="M", f_h=64, l_tex="span_w", - [4]={ l_tex="tv_w", y_offset=23 }, - [6]={ l_tex="tv_w", y_offset=23 } - }, - - d = { copy="M", f_h=16, l_tex="span_w", f_tex="span_f" }, - s = { copy="M", f_h=8, l_tex="span_w" }, - }, -}, - -STATUE_TECH_JR = -{ - structure = - { - "............", - "....dddd....", - "..BjjjjjkB..", - "..kmmmmmms..", - ".csmLmmLmsc.", - ".csmmTTmmsc.", - ".csmmTTmmsc.", - ".csmLmmLmsc.", - "..smmmmmmk..", - "..BkjjjjjB..", - "....dddd....", - "............", - }, - - elements = - { - -- inside - m = { f_h=32, f_tex="tech_f", - c_h=0, c_tex="tech_c", - light="tech_lt", kind="kind" - }, - - T = { solid="tech_w" }, - - L = { f_h=12, f_rel="mid_h", f_tex="lite_f", - l_tex="lite_w", c_tex="tech_c", - light="tech_lt" - }, - - -- outside - B = { solid="beam_w" }, - - k = { f_h= 64, f_tex="outer_f", l_tex="outer_w", - c_h=-64, c_tex="outer_f", u_tex="outer_w", - light="outer_lt", - }, - - j = { copy="k", [2] = { x_offset=16 }, [8] = { x_offset=16 }}, - s = { copy="k", [4] = { x_offset=16 }, [6] = { x_offset=16 }}, - - -- shiny decoration - c = { f_h= 16, f_tex="shine_f", l_tex="shine_w", l_peg="top", - c_h=-16, c_tex="shine_f", u_tex="shine_w", u_peg="top", - light="shine_lt", - [2] = { l_tex="shine_side", u_tex="shine_side" }, - [8] = { l_tex="shine_side", u_tex="shine_side" }, - }, - d = { f_h= 16, f_tex="shine_f", l_tex="shine_w", l_peg="top", - c_h=-16, c_tex="shine_f", u_tex="shine_w", u_peg="top", - light="shine_lt", - [4] = { l_tex="shine_side", u_tex="shine_side" }, - [6] = { l_tex="shine_side", u_tex="shine_side" }, - }, - }, -}, - -STATUE_CHAIR_DUDE = -{ - region="floor", --- height_range={ 136,999 }, - - structure = - { - "........", - ".b....b.", - ".bbbbbb.", - "SSSHHSSS", - ".aBBBBa.", - ".aLccLa.", - "..L..L..", - "..F..F..", - }, - - elements = - { - -- chair seat, back, armrest - c = { f_h=24, f_tex="chair_f", l_tex="chair_w" }, - b = { copy="c", f_h=96 }, - a = { copy="c", f_h=48 }, - - -- body, head, shoulders - B = { f_h=56, f_tex="body_f", l_tex="body_w" }, - H = { copy="B", f_h=108 }, - S = { copy="B", f_h=72 }, - - -- legs, feet - L = { copy="B", f_h=32 }, - F = { copy="B", f_h=12 }, - }, -}, - -MACHINE_PUMP = -{ - structure = - { - "ZZZZZZZZZZZZZZZZ", - "ZZZZZZZZZZZZZZZZ", - "ZZZZZZZZZZZZZZZZ", - "ZbbbbbbccccddddZ", - "ZbaaaabccccdLddZ", - "ZbaPQabccccddddZ", - "ZbaRSabccccddddZ", - "ZbaaaabccccdLddZ", - "ZbbbbbbccccddddZ", - "ZZZZZZZZZZZZZZZZ", - "ZZZZZZZZZZZZZZZZ", - "ZZZZZZZZZZZZZZZZ", - }, - - elements = - { - -- outside - Z = { f_h=0, c_rel="floor_h", c_h=216 }, - - c = { f_h=112, c_rel="floor_h", c_h=176, - f_tex="metal_f", l_tex="metal4_w", l_peg="top", - c_tex="metal_c", u_tex="metal5_w", u_peg="bottom", - }, - - d = { copy="c", l_tex="metal3_w" }, - - b = { copy="c", f_h=48, l_tex="metal4_w" }, - - a = { copy="b", f_h=80, l_tex="metal5_w", - c_rel="floor_h", c_h=144 - }, - - -- supports - L = { solid="beam_w" }, - - -- pump ---- P = { f_h=56, c_h=-64, ---- f_tex="metal_f", l_tex="metal5_w", l_peg="top", ---- c_tex="pump_c", u_tex="pump_w", u_peg="bottom", ---- kind="tag", ---- }, - - P = { solid="pump_w", [7] = { dx= 2, dy=-2 }, [9] = { dx= 0, dy= 4 }, - [8] = { x_offset= 64, kind="kind" }, - [4] = { x_offset= 80, kind="kind" }, - }, - Q = { solid="pump_w", [9] = { dx=-2, dy=-2 }, [3] = { dx= 4, dy= 0 }, - [6] = { x_offset= 32, kind="kind" }, - [8] = { x_offset= 48, kind="kind" }, - }, - R = { solid="pump_w", [7] = { dx=-4, dy= 0 }, [1] = { dx= 2, dy= 2 }, - [4] = { x_offset= 96, kind="kind" }, - [2] = { x_offset=112, kind="kind" }, - }, - S = { solid="pump_w", [1] = { dx= 0, dy=-4 }, [3] = { dx=-2, dy= 2 }, - [2] = { x_offset= 0, kind="kind" }, - [6] = { x_offset= 16, kind="kind" }, - }, - }, -}, - - -DRINKS_BAR = -{ - region="floor", - - structure = - { - "............", - "bbbbbbbbbbbb", - "bbbbbbbbbbbb", - "............", - }, - - elements = - { - b = { f_h=32, f_tex="bar_f", l_tex="bar_w", l_peg="top" }, - }, - - things = - { - { kind="drink_t", x= 16, y=32 }, - { kind="drink_t", x= 36, y=32 }, - { kind="drink_t", x= 56, y=32 }, - { kind="drink_t", x= 76, y=32 }, - { kind="drink_t", x= 96, y=32 }, - { kind="drink_t", x=116, y=32 }, - { kind="drink_t", x=136, y=32 }, - { kind="drink_t", x=156, y=32 }, - { kind="drink_t", x=176, y=32 }, - }, -}, - -GROUND_LIGHT = -{ - region="floor", - - structure = - { - "aaaaaaa.", - "abbbbba.", - "abcccba.", - "abcdcba.", - "abcccba.", - "abbbbba.", - "aaaaaaa.", - "........", - }, - - elements = - { - a = { f_h=0 }, - - b = { f_h=8, l_tex="shawn_w", f_tex="shawn_f", l_peg="top", }, - - c = { copy="b", f_h=40, light=192 }, - - d = { f_h=64, l_tex="lite_w", f_tex="lite_f", light=200 }, - }, -}, - -STREET_LAMP_TWO_SIDED = -{ - structure = - { - "........................", - "........................", - "........ttffffuu........", - "...oggggffffffffggggp...", - "..ogLLLLdddffcccLLLLgp..", - "..ggLLLLeeeMMeeeLLLLgg..", - "..ggLLLLeeeMMeeeLLLLgg..", - "..mgLLLLbbbffaaaLLLLgn..", - "...mggggffffffffggggn...", - "........rrffffss........", - "........................", - "........................", - }, - - elements = - { - -- central pillar and arms - M = { solid="beam_w" }, - - f = { f_h =12, f_tex="arm_f", l_tex="arm_w", - light=208, - }, - - r = { copy="f", mark=1, [1] = { VDEL=true }}, - s = { copy="f", mark=2, [3] = { VDEL=true }}, - t = { copy="f", mark=3, [7] = { VDEL=true }}, - u = { copy="f", mark=4, [9] = { VDEL=true }}, - - e = { copy="f", - c_h=-16, c_tex="arm_c", u_tex="arm_u", u_peg="bottom", - }, - - a = { copy="e", [1] = { VDEL=true }}, - b = { copy="e", [3] = { VDEL=true }}, - c = { copy="e", [7] = { VDEL=true }}, - d = { copy="e", [9] = { VDEL=true }}, - - -- lights and glow - L = { c_h=-40, c_tex="lite_c", u_tex="lite_w", - light=255, - }, - - g = { light=255 }, - - m = { copy="g", mark=1, [1]={ VDEL=true }}, - n = { copy="g", mark=2, [3]={ VDEL=true }}, - o = { copy="g", mark=3, [7]={ VDEL=true }}, - p = { copy="g", mark=4, [9]={ VDEL=true }}, - }, -}, - - -BOOKCASE_WIDE = -{ - scale=64, - region="floor", - - structure = - { - "cc", - }, - - elements = - { - c = { f_h=128, f_tex="book_f", l_tex="side_w", l_peg="top", - [2] = { l_tex="book_w" }, - [8] = { l_tex="book_w" }, - } - }, -}, - -FOUNTAIN_SQUARE = -{ - region="floor", - - structure = - { - "................", - ".eeeeeeeeeeeeee.", - ".eLLLLLLLLLLLLe.", - ".eLLLLLLLLLLLLe.", - ".eLLLLLLLLLLLLe.", - ".eLLLLLLLLLLLLe.", - ".eLLLLsFFsLLLLe.", - ".eLLLLFppFLLLLe.", - ".eLLLLFppFLLLLe.", - ".eLLLLsFFsLLLLe.", - ".eLLLLLLLLLLLLe.", - ".eLLLLLLLLLLLLe.", - ".eLLLLLLLLLLLLe.", - ".eLLLLLLLLLLLLe.", - ".eeeeeeeeeeeeee.", - "................", - }, - - elements = - { - e = { f_h=28, f_tex="edge_f", l_tex="edge_w", l_peg="top" }, - p = { f_h=76, f_tex="beam_f", l_tex="beam_w", l_peg="top" }, - s = { copy="p", f_h=64 }, - - L = { f_h=20, f_tex="liquid_f", l_tex="liquid_w" }, - F = { copy="L", f_h=56 }, - }, -}, - - ------- Ceiling Lights -------------------------------- - -SKYLIGHT_MEGA_1 = -{ - region="ceil", - - structure = - { - "ffffffffffffffffffff", - "ffffffffffffffffffff", - "ffssBBBBBBBBBBBBssff", - "ffssBBBBBBBBBBBBssff", - "ffssssCCssssCCssssff", - "ffssssCCssssCCssssff", - "ffssssCCssssCCssssff", - "ffssssCCssssCCssssff", - "ffssssCCssssCCssssff", - "ffssssCCssssCCssssff", - "ffssssCCssssCCssssff", - "ffssssCCssssCCssssff", - "ffssBBBBBBBBBBBBssff", - "ffssBBBBBBBBBBBBssff", - "ffffffffffffffffffff", - "ffffffffffffffffffff", - }, - - elements = - { - s = { c_h=12, c_tex="sky_c", light=192 }, - - f = { c_h=-20, c_tex="frame_c", u_tex="frame_w" }, - - B = { c_h=-4, c_tex="beam_c", u_tex="beam_w" }, - - C = { copy="B", c_h=4 }, - }, -}, - -SKYLIGHT_MEGA_2 = -{ - copy="SKYLIGHT_MEGA_1", - - structure = - { - "ffffffffffffffff", - "ffffffffffffffff", - "ffsBssBssBssBsff", - "ffsBssBssBssBsff", - "ffsBssBssBssBsff", - "ffBBBBBBBBBBBBff", - "ffsBssBssBssBsff", - "ffsBssBssBssBsff", - "ffsBssBssBssBsff", - "ffsBssBssBssBsff", - "ffBBBBBBBBBBBBff", - "ffsBssBssBssBsff", - "ffsBssBssBssBsff", - "ffsBssBssBssBsff", - "ffffffffffffffff", - "ffffffffffffffff", - }, -}, - -SKYLIGHT_MEGA_3 = -{ - copy="SKYLIGHT_MEGA_1", - - structure = - { - "ffffffffffffffff", - "ffffffffffffffff", - "ffssBssBBssBssff", - "ffssBssBBssBssff", - "ffBBBBBBBBBBBBff", - "ffssBssBBssBssff", - "ffssBssssssBssff", - "ffBBBBssssBBBBff", - "ffBBBBssssBBBBff", - "ffssBssssssBssff", - "ffssBssBBssBssff", - "ffBBBBBBBBBBBBff", - "ffssBssBBssBssff", - "ffssBssBBssBssff", - "ffffffffffffffff", - "ffffffffffffffff", - }, -}, - -SKYLIGHT_CROSS_SMALL = -{ - region="ceil", - - structure = - { - "fffffff.", - "fffSfff.", - "fffffff.", - "fTfffUf.", - "fffffff.", - "fffXfff.", - "fffffff.", - "........", - }, - - elements = - { - f = { c_h=-8, c_tex="frame_c", u_tex="frame_w" }, - --- B = { c_h=-4, c_tex="beam_c", u_tex="beam_w" }, - - S = { c_h=8, c_tex="sky_c", light=208, - [1] = { dx= 8, dy=-16 }, - [3] = { dx=24, dy=16 }, - [7] = { dx=-24,dy= 0 }, - }, - T = { c_h=8, c_tex="sky_c", light=208, - [9] = { dx=16, dy=-8 }, - [3] = { dx=-16,dy=-24 }, - [7] = { dx= 0, dy=24 }, - }, - U = { c_h=8, c_tex="sky_c", light=208, - [1] = { dx=-16,dy= 8 }, - [7] = { dx=16, dy=24 }, - [3] = { dx= 0, dy=-24 }, - }, - X = { c_h=8, c_tex="sky_c", light=208, - [9] = { dx=-8, dy=16 }, - [7] = { dx=-24,dy=-16 }, - [3] = { dx=24, dy= 0 }, - }, - }, -}, - -LIGHT_GROOVY = -{ - structure = - { - "..bmmmmmma..", - "..mmtLLumm..", - "..mmLLLLmm..", - "..mtLLLLum..", - "..mrLLLLsm..", - "..mmLLLLmm..", - "..mmLLLLmm..", - "..mtLLLLum..", - "..mrLLLLsm..", - "..mmLLLLmm..", - "..mmLLLLmm..", - "..mtLLLLum..", - "..mrLLLLsm..", - "..mmLLLLmm..", - "..mmrLLsmm..", - "..dmmmmmmc..", - }, - - elements = - { - -- light area - L = { c_h=0, c_tex="lite_c", - light="lite_lt", kind="kind", - }, - - -- frame - m = { c_h=-8, c_tex="frame_c", u_tex="frame_w", u_peg="top", - light="frame_lt", - }, - - r = { copy="L", mark=1, [1] = { VDEL=true }}, - s = { copy="L", mark=2, [3] = { VDEL=true }}, - t = { copy="L", mark=3, [7] = { VDEL=true }}, - u = { copy="L", mark=4, [9] = { VDEL=true }}, - - -- outside - a = { [1] = { VDEL=true }}, - b = { [3] = { VDEL=true }}, - c = { [7] = { VDEL=true }}, - d = { [9] = { VDEL=true }}, - }, -}, - - ------- Decorative II ------------------------------------ - -BILLBOARD = -{ - structure = - { - "................", - ".DCCssssssssCCE.", - ".CCrpppppppprCC.", - ".CCCssssssssCCC.", - }, - - elements = - { - -- corner - C = { f_h=0, f_add="corn_h", - l_tex="corn_w", f_tex="corn_f", l_peg="top", }, - - D = { copy="C", mark=1, [7] = { VDEL=true }}, - E = { copy="C", mark=2, [9] = { VDEL=true }}, - - -- pic - r = { f_h=8, f_add="pic_h", - l_tex="pic_back", f_tex="pic_f", l_peg="top", - }, - - p = { copy="r", [2] = { l_tex="pic_w" }}, - - -- step - s = { f_h=8, l_tex="step_w", f_tex="step_f", l_peg="top" }, - } -}, - -BILLBOARD_LIT = -{ - region="floor", - - structure = - { - "................", - ".CCC........DDD.", - ".CLEppppppppELD.", - ".CtEssssssssEtD.", - }, - - elements = - { - -- corner - E = { f_h=0, f_add="corn_h", - l_tex="corn2_w", f_tex="corn_f", l_peg="top", }, - - C = { copy="E", - [4] = { l_tex="corn_w" }, - [8] = { l_tex="corn_w" }, - }, - - D = { copy="E", - [6] = { l_tex="corn_w" }, - [8] = { l_tex="corn_w" }, - }, - - -- light - L = { copy="E", [2] = { l_tex="lite_w" }, }, - - -- pic - p = { f_h=8, f_add="pic_h", - l_tex="pic_back", [2] = { l_tex="pic_w" }, - f_tex="pic_f", l_peg="top", - }, - - -- step - s = { f_h=8, l_tex="step_w", f_tex="step_f", l_peg="top" }, - - t = { copy="s", f_h=16, light=208 }, - }, -}, - -BILLBOARD_ON_STILTS = -{ - structure = - { - "............", - ".CrrrrrrrrC.", - ".BppppppppB.", - "............", - }, - - elements = - { - -- picture - p = { mark = 1, - [8] = { rail="pic_w", l_peg="bottom", - x_offset=8, y_offset="pic_offset_h" }, - }, - - r = { mark = 2, [2] = { x_offset=8 }}, - - -- beams - B = { f_add="pic_offset_h", f_h=140, - l_tex="beam_w", f_tex="beam_f", l_peg="top", - }, - - C = { copy="B", - [1] = { dx=-8, dy=0 }, - [3] = { dx= 8, dy=0 }, - }, - }, -}, - -BILLBOARD_STILTS_HUGE = -{ - structure = - { - ".CrrrrrrrrC.", - ".BppppppppB.", - ".s.......s..", - ".s.......s..", - ".s.......s..", - ".s.......s..", - ".s.......s..", - ".s.......s..", - ".s.......s..", - ".s.......s..", - ".BqqqqqqqqB.", - ".DrrrrrrrrD.", - }, - - elements = - { - -- picture - p = { mark = 1, - [8] = { rail="pic_w", l_peg="bottom", - x_offset=8, y_offset="pic_offset_h" }, - }, - - q = { mark = 1, - [2] = { rail="pic_w", l_peg="bottom", - x_offset=8, y_offset="pic_offset_h" }, - }, - - r = { mark = 2, - [2] = { x_offset=8 }, [8] = { x_offset=8 } }, - - s = { mark = 3, - [6] = { rail="pic_w", l_peg="bottom", - y_offset="pic_offset_h" }, - }, - - -- beams - B = { f_add="pic_offset_h", f_h=140, - l_tex="beam_w", f_tex="beam_f", l_peg="top", - }, - - C = { copy="B", - [1] = { dx=-8, dy=0 }, - [3] = { dx= 8, dy=0 }, - }, - - D = { copy="B", - [7] = { dx=-8, dy=0 }, - [9] = { dx= 8, dy=0 }, - }, - }, - - things = - { - { kind="pickup_spot", x=96, y=96 }, - }, -}, - -COMPUTER_TALL = -{ - scale=64, - region="floor", - - structure = - { - "cc", - }, - - elements = - { - c = { f_h=80, f_tex="comp_f", l_tex="side_w", l_peg="top", - [2] = { l_tex="comp_w" }, - [8] = { l_tex="comp_w" }, - } - }, -}, - -COMPUTER_TALL_THIN = -{ - copy="COMPUTER_TALL", - - scale=16, - - structure = - { - "cccccccc", - "cccccccc", - "........", - "........", - }, -}, - -COMPUTER_DESK = -{ - scale=64, - region="floor", - - structure = - { - "cc", - }, - - elements = - { - c = { f_h=28, f_tex="comp_f", l_tex="side_w", l_peg="top", } - }, -}, - -COMPUTER_DESK_U_SHAPE = -{ - scale=64, - region="floor", - - structure = - { - "aa", - ".b", - "dd", - }, - - elements = - { - a = { f_h=28, f_tex="comp_Sf", l_tex="side_w", l_peg="top", }, - b = { f_h=28, f_tex="comp_Wf", l_tex="side_w", l_peg="top", }, - d = { f_h=28, f_tex="comp_Nf", l_tex="side_w", l_peg="top", }, - - -- corner - c = { f_h=28, f_tex="comp_cf", l_tex="side_w", l_peg="top", }, - }, - - things = - { - { kind="pickup_spot", x=36, y=96 }, - }, -}, - -COMPUTER_DESK_HUGE = -{ - copy="COMPUTER_DESK_U_SHAPE", - - structure = - { - "aac", - "..b", - "..b", - "ddc", - }, - - things = - { - { kind="pickup_spot", x=80, y=128 }, - }, -}, - -PENTAGRAM = -{ - region="floor", - - structure = - { - "............", - "............", - "............", - "............", - "....ttt.....", - "....ttt.....", - "..llppprr...", - "....b.c.....", - "....b.c.....", - "............", - "............", - "............", - }, - - elements = - { - -- pentagram - p = { f_add="gram_h", f_h=0, - f_tex="gram_f", l_tex="gram_w", l_peg="top", - light="gram_lt", kind="kind", - }, - - t = { copy="p", - [7] = { dx= 22, dy= 32 }, - [9] = { dx=-22, dy= 32 }, - [1] = { dx= 12, dy= 12 }, - [3] = { dx=-12, dy= 12 }, - }, - - l = { copy="p", - [7] = { dx=-20, dy= 18 }, - [1] = { dx=-20, dy= 30 }, - [3] = { dx= 0, dy= 0 }, - [9] = { dx= 0, dy= 0 }, - }, - - r = { copy="p", - [9] = { dx= 20, dy= 18 }, - [3] = { dx= 20, dy= 30 }, - [1] = { dx= 0, dy= 0 }, - [7] = { dx= 0, dy= 0 }, - }, - - b = { copy="p", - [1] = { dx=-26, dy=-24 }, - [3] = { dx=-38, dy=-24 }, - [7] = { dx= 0, dy= -4 }, - [9] = { dx= 6, dy=-16 }, - }, - - c = { copy="p", - [3] = { dx= 26, dy=-24 }, - [1] = { dx= 38, dy=-24 }, - [9] = { dx= 0, dy= -4 }, - [7] = { dx= -6, dy=-16 }, - }, - - -- outside - x = { l_tex="outer_w" }, - }, - - things = - { - { kind="gram_t", x=88, y=88+54 }, - { kind="gram_t", x=88-54, y=88+18 }, - { kind="gram_t", x=88+54, y=88+18 }, - { kind="gram_t", x=88-32, y=88-40 }, - { kind="gram_t", x=88+32, y=88-40 }, - }, -}, - - ------- Nature Stuff ---------------------------------- - -POND_LARGE = -{ - region="floor", - - structure = - { - "xxxxxxxxxxxxxxxxxxxxxxxx", - "xxxxxxxxxxxxxxxxxxxxxxxx", - "xxxxxxxxxxxcccddxxxxxxxx", - "xxxxxcccppppppppdxxxxxxx", - "xxxxcbbwwwwwwwwwapddxxxx", - "xxxcbwwwwwwwwwwwwwwadxxx", - "xxcbwwwccppwwwwwwwwwadxx", - "xcpwwwwpppbwwwwwwwwwwadx", - "xcpwwwwwwwwwwwwwwwwwwwdx", - "xapwwwwwwwwwwwwwwwwwwwpx", - "xxawwwwwwccddwwwwwwwwwcx", - "xxadwwwcppppppdwwwwwcpcx", - "xxxapppbbxxxxxaaapppbbxx", - "xxxxabcxxxxxxxxxxxxxxxxx", - "xxxxxxxxxxxxxxxxxxxxxxxx", - "xxxxxxxxxxxxxxxxxxxxxxxx", - }, - - elements = - { - -- pool boundary - p = { f_h=-14, f_tex="pond_f", l_tex="pond_w", l_peg="top" }, - - a = { copy="p", mark=1, [1] = { VDEL=true }}, - b = { copy="p", mark=2, [3] = { VDEL=true }}, - c = { copy="p", mark=3, [7] = { VDEL=true }}, - d = { copy="p", mark=4, [9] = { VDEL=true }}, - - -- water - w = { f_h=-24, f_tex="liquid_f", light=192, kind="kind" }, - - -- outside area - x = { l_tex="outer_w", l_peg="top" }, - }, - - --FIXME: pickup spot (on island) -}, - -POND_SMALL = -{ - region="floor", - - structure = - { - "xxxxxxxxxxxx", - "xxccppddxxxx", - "xcbwwwwappdx", - "xpwwwwwwwwpx", - "xpwwwwwwwwpx", - "xppdwccddwbx", - "xaxaapppppbx", - "xxxxxxxxxxxx", - }, - - elements = - { - -- water - w = { f_h=-16, f_tex="liquid_f", light=192, kind="kind" }, - - -- pool boundary - p = { f_h=-9, f_tex="pond_f", l_tex="pond_w", l_peg="top" }, - - a = { copy="p", mark=1, [1] = { VDEL=true }}, - b = { copy="p", mark=2, [3] = { VDEL=true }}, - c = { copy="p", mark=3, [7] = { VDEL=true }}, - d = { copy="p", mark=4, [9] = { VDEL=true }}, - - -- outside area - x = { l_tex="outer_w", l_peg="top" }, - }, -}, - -POND_MEDIUM = -{ - region="floor", - - structure = - { - "xxxxxxxxxxxxxxxx", - "xxxxxgssssshhxxx", - "xxxggsppppppshxx", - "xsssspbwwwwasshx", - "xessspwwwwwapphx", - "xxesspwwwwwwwpsx", - "xxxespwwwwwwwpsx", - "xxxespddwwwccpsx", - "xxxxeespppppsffx", - "xxxxxxeessssfxxx", - "xxxxxxxxxxxxxxxx", - "xxxxxxxxxxxxxxxx", - }, - - elements = - { - -- water - w = { f_h=-22, f_tex="liquid_f", light=192, kind="kind" }, - - -- pool inner - p = { f_h=-16, f_tex="pond_f", l_tex="pond_w", l_peg="top" }, - - a = { copy="p", mark=1, [1] = { VDEL=true }}, - b = { copy="p", mark=2, [3] = { VDEL=true }}, - c = { copy="p", mark=3, [7] = { VDEL=true }}, - d = { copy="p", mark=4, [9] = { VDEL=true }}, - - -- pool outer - s = { f_h=-8, f_tex="pond_f2", l_tex="pond_w2", l_peg="top" }, - - e = { copy="s", mark=5, [1] = { VDEL=true }}, - f = { copy="s", mark=6, [3] = { VDEL=true }}, - g = { copy="s", mark=7, [7] = { VDEL=true }}, - h = { copy="s", mark=8, [9] = { VDEL=true }}, - - -- outside area - x = { l_tex="outer_w", l_peg="top" }, - }, -}, - -ROCK_PIECES = -{ - structure = - { - "xxxxxxxxxxxx", - "xxxxxxxxxxxx", - "xxxxxxxxxxxx", - "xxxxxxxmxnxx", - "xxxxxxxmxnxx", - "xxxxhhxjepxx", - "xccceexjepxx", - "xccceexjekkx", - "xxxxbbxjekkx", - "xxxxbbxxxxxx", - "xxxxxxxxxxxx", - "xxxxxxxxxxxx", - }, - - elements = - { - x = { l_tex="outer_w" }, - - e = { f_h=0, f_add="rock_h", f_tex="rock_f", l_tex="rock_w" }, - - b = { copy="e", - [1] = { dx=-40, dy= 44 }, [3] = { dx=-56, dy= 8 }, - [7] = { dx= -8, dy= 26 }, [9] = { dx=-24, dy=-16 }, - }, - - c = { copy="e", - [1] = { dx= 24, dy= 72 }, [7] = { dx= 56, dy= 86 }, - }, - - h = { copy="e", - [1] = { dx= 24, dy= 22 }, [3] = { dx=-20, dy=-18 }, - [7] = { dx= 40, dy= 6 }, [9] = { dx= 00, dy=-10 }, - }, - - j = { copy="e", - [1] = { dx= -4, dy= 24 }, [7] = { dx= 24, dy= 8 }, - [3] = { dx=-20, dy= 4 }, - }, - - k = { copy="e", - [1] = { dx= -8, dy= 0 }, [3] = { dx=-26, dy=-10 }, - [7] = { dx= -4, dy= 8 }, [9] = { dx= -6, dy=-24 }, - }, - - m = { copy="e", - [1] = { dx= 00, dy= 00 }, [3] = { dx= 26, dy= -6 }, - [7] = { dx= 56, dy= -8 }, [9] = { dx= 40, dy=-24 }, - }, - - n = { copy="e", - [1] = { dx= 14, dy=-12 }, [3] = { dx= 00, dy= 00 }, - [7] = { dx= 44, dy=-24 }, [9] = { dx= 24, dy=-38 }, - }, - - p = { copy="e", - [3] = { dx= 00, dy= 00 }, [9] = { dx= 00, dy=-30 }, - }, - }, -}, - ---[[ -ROCK_VOLCANO = -{ - structure = - { - "..wwhzppzz..", - ".wwwhzzzzzz.", - "wwffkwwwwizz", - "wkkkeyyyywwz", - "wkkkeyyyywwz", - "gwkyyxccydwz", - "gwwyaxxxxdwz", - ".jjeaxxxyyh.", - ".jjeyybbywh.", - ".njjjooyyw..", - ".zzzzzzzzz..", - "...zzzzmm...", - }, - - elements = - { - x = { f_h=248, f_tex="rock_f", l_tex="rock_w" }, - - y = { copy="x", f_h=192, f_tex="liquid_f" }, - - w = { copy="y", f_h=120 }, - k = { copy="y", f_h=160 }, - j = { copy="y", f_h=96 }, - z = { copy="y", f_h=64 }, - - a = { copy="x", l_tex="liquid_w" }, - b = { copy="x", l_tex="liquid_w", [3] = { VDEL=true }}, - c = { copy="x", l_tex="liquid_w", [9] = { VDEL=true }}, - - d = { copy="y", l_tex="liquid_w" }, - e = { copy="y", l_tex="liquid_w" }, - o = { copy="y", l_tex="liquid_w" }, - f = { copy="k", l_tex="liquid_w", [7] = { VDEL=true }}, - - g = { copy="w", l_tex="liquid_w", [1] = { dx=0, dy=12 }}, - i = { copy="w", l_tex="liquid_w", [9] = { VDEL=true }}, - h = { copy="w", [6] = { l_tex="liquid_w" }}, - - m = { copy="z", [2] = { l_tex="liquid_w" }, [3] = { dx=-8, dy=0 }}, - p = { copy="z", l_tex="liquid_w" }, - - n = { copy="j", l_tex="liquid_w", [1] = { VDEL=true }}, - }, - ---- a = { copy="x", [4] = { l_tex="liquid_w" }}, ---- b = { copy="x", [2] = { l_tex="liquid_w" }}, ---- c = { copy="x", [8] = { l_tex="liquid_w" }}, ---- ---- d = { copy="y", [6] = { l_tex="liquid_w" }}, ---- e = { copy="y", [4] = { l_tex="liquid_w" }}, ---- o = { copy="y", [2] = { l_tex="liquid_w" }}, ---- f = { copy="k", [8] = { l_tex="liquid_w" }}, ---- ---- g = { copy="w", [4] = { l_tex="liquid_w" }}, ---- i = { copy="w", [8] = { l_tex="liquid_w" }, [6] = { l_tex="liquid_w" }}, -}, ---]] - -STALAGMITE = -{ - structure = - { - "........", - ".jjjjjk.", - ".mdbbbk.", - ".md##ck.", - ".meeeck.", - ".mnnnnn.", - "........", - "........", - }, - - elements = - { - -- inside column (# = WALL) - - -- middle column - b = { f_h=36, c_h=-56, l_peg="top", c_peg="bottom", - [1] = { dx = -2, dy = 0 }, - [7] = { dx = 8, dy = 0 }, - [9] = { dx = -6, dy = -6 }, - [3] = { dx = 00, dy = 00 }, - }, - c = { f_h=36, c_h=-56, l_peg="top", c_peg="bottom", - [1] = { dx = 00, dy = 00 }, - [7] = { dx = 2, dy = -6 }, - [9] = { dx = 0, dy = -8 }, - [3] = { dx = -8, dy = 4 }, - }, - d = { f_h=36, c_h=-56, l_peg="top", c_peg="bottom", - [1] = { dx = 0, dy = 8 }, - [7] = { dx = 2, dy = -6 }, - [9] = { dx = 00, dy = 00 }, - [3] = { dx = 0, dy = 6 }, - }, - e = { f_h=36, c_h=-56, l_peg="top", c_peg="bottom", - [1] = { dx = 10, dy = 4 }, - [7] = { dx = 00, dy = 00 }, - [9] = { dx = -4, dy = 0 }, - [3] = { dx = -8, dy = 0 }, - }, - - -- outer column - j = { f_h=16, c_h=-24, l_peg="top", c_peg="bottom", - [1] = { dx = 00, dy = 00 }, - [7] = { dx = 8, dy = -8 }, - [9] = { dx =-24, dy = 0 }, - [3] = { dx = 00, dy = 00 }, - }, - k = { f_h=16, c_h=-24, l_peg="top", c_peg="bottom", - [1] = { dx = 00, dy = 00 }, - [7] = { dx = 00, dy = 00 }, - [9] = { dx =-12, dy =-10 }, - [3] = { dx = 0, dy = 24 }, - }, - m = { f_h=16, c_h=-24, l_peg="top", c_peg="bottom", - [1] = { dx = 6, dy = 12 }, - [7] = { dx = 0, dy =-24 }, - [9] = { dx = 00, dy = 00 }, - [3] = { dx = 00, dy = 00 }, - }, - n = { f_h=16, c_h=-24, l_peg="top", c_peg="bottom", - [1] = { dx = 24, dy = 0 }, - [7] = { dx = 00, dy = 00 }, - [9] = { dx = 00, dy = 00 }, - [3] = { dx = -6, dy = 12 }, - }, - }, -}, - -STALAGMITE_HUGE = -{ - structure = - { - "................", - ".jjjjjjkkkkkkkk.", - ".jjooooooooookk.", - ".jjoddddffffokk.", - ".jjoddeeeeffokk.", - ".hhocce##effokk.", - ".hhocceeeebbogg.", - ".hhoccccbbbbogg.", - ".hhoooooooooogg.", - ".hhhhhhhhgggggg.", - "................", - "................", - }, - - elements = - { - e = { f_rel="mid_h", c_rel="mid_h", f_h=-16, c_h=16 }, - - b = { f_rel="mid_h", c_rel="mid_h", f_h=-32, c_h=32, - [1] = { dx=1* -2, dy=1* -8 }, - [7] = { dx=1* 8, dy=1* -4 }, - [9] = { dx=1* 6, dy=1* 10 }, - [3] = { dx=1* -4, dy=1* 6 }, - }, - c = { f_rel="mid_h", c_rel="mid_h", f_h=-32, c_h=32, - [1] = { dx=0* 8, dy=0* 6 }, - [7] = { dx=0* 6, dy=0* 4 }, - [9] = { dx=0* 4, dy=0* -8 }, - [3] = { dx=0* -8, dy=0* -4 }, - }, - d = { f_rel="mid_h", c_rel="mid_h", f_h=-32, c_h=32, - [1] = { dx=1* -2, dy=1* -2 }, - [7] = { dx=1* -4, dy=1*-10 }, - [9] = { dx=1* 0, dy=1* -6 }, - [3] = { dx=1* 8, dy=1* 4 }, - }, - f = { f_rel="mid_h", c_rel="mid_h", f_h=-32, c_h=32, - [1] = { dx=0* -6, dy=0* 8 }, - [7] = { dx=0* 4, dy=0* 2 }, - [9] = { dx=0* 8, dy=0* -4 }, - [3] = { dx=0* -8, dy=0* 6 }, - }, - - o = { f_rel="mid_h", c_rel="mid_h", f_h=-48, c_h=48 }, - - g = { f_rel="mid_h", c_rel="mid_h", f_h=-64, c_h=64, - [1] = { dx=0* 2, dy=0*-10 }, - [7] = { dx=0* -6, dy=0* 8 }, - [9] = { dx=0* 6, dy=0* -8 }, - [3] = { dx=0* 4, dy=0* 6 }, - }, - h = { f_rel="mid_h", c_rel="mid_h", f_h=-64, c_h=64, - [1] = { dx=1* 2, dy=1* -8 }, - [7] = { dx=1* -8, dy=1* 6 }, - [9] = { dx=1* -2, dy=1* 0 }, - [3] = { dx=1* 6, dy=1*-20 }, - }, - j = { f_rel="mid_h", c_rel="mid_h", f_h=-64, c_h=64, - [1] = { dx=0* -4, dy=0* -6 }, - [7] = { dx=1* 0, dy=1*-10 }, - [9] = { dx=0* -8, dy=0* 8 }, - [3] = { dx=0* 10, dy=0* 2 }, - }, - k = { f_rel="mid_h", c_rel="mid_h", f_h=-64, c_h=64, - [1] = { dx=1* -6, dy=1* -8 }, - [7] = { dx=1* 6, dy=1* 2 }, - [9] = { dx=1*-10, dy=1*-10 }, - [3] = { dx=1* 4, dy=1* -4 }, - }, - }, -}, - -CAVE_IN_SMALL = -{ - structure = - { - ".qq...rrr...", - ".qq.ctrrr...", - "qqq.sttttd..", - "....sttttsss", - "..cssttccsss", - ".csssssssuuu", - "ssssuuuusuuc", - "sttadduusuuc", - "stttssssssss", - "sttcsbttssb.", - "aasssttx.ab.", - "..mmmdtx....", - }, - - elements = - { - -- sky - s = { c_h=16, c_tex="sky_c", light=192 }, - - a = { copy="s", [1] = { VDEL=true }}, - b = { copy="s", [3] = { VDEL=true }}, - c = { copy="s", [7] = { VDEL=true }}, - d = { copy="s", [9] = { VDEL=true }}, - - m = { copy="s", [1] = { dx=20, dy=8 }}, - - -- rocks - r = { f_h=10, f_tex="rock_f", l_tex="rock_w" }, - q = { copy="r", f_h=8, [1]={ dx=0, dy=8 } }, - - t = { copy="r", c_h=16, c_tex="sky_c", light=192 }, - u = { copy="t", f_h=6 }, - - x = { copy="r", [7] = { VDEL=true }}, - }, -}, - -LEAKAGE_POOL = -{ - structure = - { - "................", - "................", - "................", - "......twwu......", - ".....twwwwu.....", - ".....twwwwwu....", - "....twohhpwwuu..", - ".twwwwhcdhwwww..", - ".wwwwwhabhwws...", - "....rwmhhnws....", - ".....wwwwws.....", - ".....rrwww......", - ".......wwww.....", - ".......rwws.....", - "........rw......", - "................", - }, - - elements = - { - -- pool - w = { f_h=-12, f_tex="liquid_f", l_tex="liquid_w", - light=192, kind="kind", - }, - - r = { copy="w", mark=1, [1]={ VDEL=true }}, - s = { copy="w", mark=2, [3]={ VDEL=true }}, - t = { copy="w", mark=3, [7]={ VDEL=true }}, - u = { copy="w", mark=4, [9]={ VDEL=true }}, - - -- pipe - h = { copy="w", c_rel="floor_h", c_h=116 }, - - m = { copy="h", mark=1, [1]={ VDEL=true }}, - n = { copy="h", mark=2, [3]={ VDEL=true }}, - o = { copy="h", mark=3, [7]={ VDEL=true }}, - p = { copy="h", mark=4, [9]={ VDEL=true }}, - - -- failing liquid - a = { copy="h", mark=5, - [2] = { rail="liquid_w", x_offset=84 }, - [4] = { rail="liquid_w", x_offset=72 }, - [1]={ dx=4,dy=4 }, - }, - b = { copy="h", mark=6, - [2] = { rail="liquid_w", x_offset=0 }, - [6] = { rail="liquid_w", x_offset=12 }, - [3]={ dx=-4,dy=4 }, - }, - c = { copy="h", mark=7, - [8] = { rail="liquid_w", x_offset=48 }, - [4] = { rail="liquid_w", x_offset=60 }, - [7]={ dx=4,dy=-4 }, - }, - d = { copy="h", mark=8, - [8] = { rail="liquid_w", x_offset=36 }, - [6] = { rail="liquid_w", x_offset=24 }, - [9]={ dx=-4,dy=-4 }, - }, - }, -}, - -PUMP_INTO_VAT = -{ - structure = - { - "............", - "..CCZZZZDD..", - ".CBwwwwwwAD.", - ".CwwwwwwwwD.", - ".ZwwohhpwwZ.", - ".ZwwhcdhwwZ.", - ".ZwwhabhwwZ.", - ".ZwwmhhnwwZ.", - ".AwwwwwwwwB.", - ".ADwwwwwwCB.", - "..AAZZZZBB..", - "............", - }, - - elements = - { - -- vat - Z = { f_h=26, f_tex="vat_f", l_tex="vat_w", l_peg="top" }, - - A = { copy="Z", mark=1, [1]={ VDEL=true }}, - B = { copy="Z", mark=2, [3]={ VDEL=true }}, - C = { copy="Z", mark=3, [7]={ VDEL=true }}, - D = { copy="Z", mark=4, [9]={ VDEL=true }}, - - -- pool - w = { f_h=16, f_tex="liquid_f", l_tex="liquid_w", kind="kind" }, - - r = { copy="w", mark=1, [1]={ VDEL=true }}, - s = { copy="w", mark=2, [3]={ VDEL=true }}, - t = { copy="w", mark=3, [7]={ VDEL=true }}, - u = { copy="w", mark=4, [9]={ VDEL=true }}, - - -- hose - h = { copy="w", c_rel="floor_h", c_h=136, - c_tex="hose_c", u_tex="hose_w", u_peg="bottom", - }, - - m = { copy="h", mark=1, [1]={ VDEL=true }}, - n = { copy="h", mark=2, [3]={ VDEL=true }}, - o = { copy="h", mark=3, [7]={ VDEL=true }}, - p = { copy="h", mark=4, [9]={ VDEL=true }}, - - -- failing liquid - a = { copy="h", mark=5, - [2] = { rail="liquid_w", x_offset=84 }, - [4] = { rail="liquid_w", x_offset=72 }, - [1]={ dx=4,dy=4 }, - }, - b = { copy="h", mark=6, - [2] = { rail="liquid_w", x_offset=0 }, - [6] = { rail="liquid_w", x_offset=12 }, - [3]={ dx=-4,dy=4 }, - }, - c = { copy="h", mark=7, - [8] = { rail="liquid_w", x_offset=48 }, - [4] = { rail="liquid_w", x_offset=60 }, - [7]={ dx=4,dy=-4 }, - }, - d = { copy="h", mark=8, - [8] = { rail="liquid_w", x_offset=36 }, - [6] = { rail="liquid_w", x_offset=24 }, - [9]={ dx=-4,dy=-4 }, - }, - }, -}, - - ------- Crates ------------------------------------ - -CRATE = -{ - scale=64, - region="floor", - - structure = - { - "c" - }, - - elements = - { - c = { f_add="crate_h", f_h=0, - f_tex="crate_f", l_tex="crate_w", l_peg="top" }, - }, -}, - -CRATE_LONG = -{ - copy="CRATE", - - structure = - { - "cc", - }, -}, - -CRATE_BIG = -{ - copy="CRATE", - - structure = - { - "cc", - "cc", - }, -}, - -CRATE_TWO_SIDED = -{ - copy="CRATE", - - elements = - { - c = { f_add="crate_h", f_h=0, - f_tex="crate_f", l_tex="crate_w", l_peg="top", - [4] = { l_tex="crate_w2", x_offset="x_offset" }, - [6] = { l_tex="crate_w2", x_offset="x_offset" }, - }, - }, -}, - -CRATE_ROTATE_NARROW = -{ - structure = - { - "....", - "....", - ".c..", - "....", - }, - - elements = - { - c = { f_add="crate_h", f_h=0, - f_tex="crate_f", l_tex="crate_w", l_peg="top", - - [1] = { dx=-14, dy= 16 }, - [3] = { dx= 0, dy=-14 }, - [9] = { dx= 30, dy= 0 }, - [7] = { dx= 16, dy= 30 }, - - [2] = { x_offset=10 }, [4] = { x_offset=10 }, - [6] = { x_offset=10 }, [8] = { x_offset=10 }, - }, - }, -}, - -CRATE_ROTATE = -{ - structure = - { - "........", - "........", - "........", - "........", - "...c....", - "........", - "........", - "........", - }, - - elements = - { - c = { f_add="crate_h", f_h=0, - f_tex="crate_f", l_tex="crate_w", l_peg="top", - - [1] = { dx=-29, dy= 16 }, - [3] = { dx= 0, dy=-29 }, - [9] = { dx= 45, dy= 0 }, - [7] = { dx= 16, dy= 45 }, - }, - }, -}, - -CRATE_ROTATE_22DEG = -{ - structure = - { - "........", - "........", - "........", - "........", - "...c....", - "........", - "........", - "........", - }, - - elements = - { - c = { f_add="crate_h", f_h=0, - f_tex="crate_f", l_tex="crate_w", l_peg="top", - - [1] = { dx=-24, dy= 0 }, - [3] = { dx= 19, dy=-24 }, - [9] = { dx= 43, dy= 19 }, - [7] = { dx= 0, dy= 43 }, - }, - }, -}, - -CRATE_TRIPLE = -{ - structure = - { - "aaaacccc", - "aaaacccc", - "aaaacccc", - "aaaaccdd", - "bbbfee..", - "bbbfee..", - "bbbb....", - "bbbb....", - }, - - elements = - { - a = { f_h=128, f_tex="crate_f1", l_tex="crate_w1", l_peg="top" }, - b = { f_h=64, f_tex="crate_f2", l_tex="crate_w2", l_peg="top" }, - c = { f_h=64, f_tex="crate_f3", l_tex="crate_w3", l_peg="top" }, - - e = { f_h=32, f_tex="small_f", l_tex="small_w", l_peg="top" }, - - d = { copy="c", [2] = { x_offset=32 }}, - f = { copy="b", [6] = { x_offset=32 }}, - }, -}, - -CRATE_JUMBLE = -{ - scale=64, - - structure = - { - ".Cd..", - "BCTWX", - "BTB.d", - "eWe..", - ".X...", - }, - - elements = - { - T = { f_h=192, f_tex="tall_f", l_tex="tall_w", l_peg="top" }, - W = { f_h=128, f_tex="wide_f", l_tex="wide_w", l_peg="top", [6] = { x_offset=64 } }, - X = { copy="W", [2] = { x_offset=64 }, [4] = { x_offset=64 }, [6] = {} }, - - B = { f_h=128, f_tex="crate_f1", l_tex="crate_w1", l_peg="top" }, - C = { f_h=128, f_tex="crate_f2", l_tex="crate_w2", l_peg="top" }, - - d = { f_h=64, f_tex="crate_f1", l_tex="crate_w1", l_peg="top" }, - e = { f_h=64, f_tex="crate_f2", l_tex="crate_w2", l_peg="top" }, - }, -}, - - ------- Cages ------------------------------------ - -CAGE_PILLAR = -{ - scale=64, - - structure = { "c" }, - - elements = - { - c = { f_rel="cage_base_h", f_h=0, f_tex="cage_f", l_tex="cage_w", - c_rel="cage_base_h", c_h=0, c_add="rail_h", - c_tex="cage_c", u_tex="cage_w", - u_peg="bottom", l_peg="bottom", - - [2] = { rail="rail_w", impassible=true }, - [4] = { rail="rail_w", impassible=true }, - [6] = { rail="rail_w", impassible=true }, - [8] = { rail="rail_w", impassible=true }, - }, - }, - - things = - { - { kind="cage_spot", x=32, y=32 }, - }, -}, - -CAGE_SMALL = -{ - scale=64, - - structure = { "c" }, - - elements = - { - c = { f_rel="cage_base_h", f_h=0, - f_tex="cage_f", l_tex="cage_w", l_peg="bottom", - - [2] = { rail="rail_w", impassible=true }, - [4] = { rail="rail_w", impassible=true }, - [6] = { rail="rail_w", impassible=true }, - [8] = { rail="rail_w", impassible=true }, - }, - }, - - things = - { - { kind="cage_spot", x=32, y=32 }, - }, -}, - -CAGE_MEDIUM = -{ - copy="CAGE_SMALL", - - structure = - { - "cc", - "cc", - }, - - things = - { - { kind="cage_spot", x=32, y=32, double=true, }, - }, -}, - -CAGE_LARGE = -{ - copy="CAGE_SMALL", - - structure = - { - "ccc", - "ccc", - "ccc", - }, - - things = - { - { kind="cage_spot", x=64, y=64, double=true }, - }, -}, - -CAGE_OPEN_W_POSTS = -{ - region="floor", - - structure = - { - "OOccccccccPP", - "OBddddddddBP", - "cfccccccccgc", - "cfccccccccgc", - "cfccccccccgc", - "cfccccccccgc", - "cfccccccccgc", - "cfccccccccgc", - "cfccccccccgc", - "cfccccccccgc", - "MBeeeeeeeeBN", - "MMccccccccNN", - }, - - elements = - { - -- posts - B = { f_add="rail_h", f_h=56, - l_tex="beam_w", f_tex="beam_f", - }, - - M = { copy="B", - [1] = { dx= 8, dy= 8 }, - [7] = { dx= 8, dy= 0 }, - [3] = { dx= 0, dy= 8 }, - }, - N = { copy="B", - [3] = { dx=-8, dy= 8 }, - [9] = { dx=-8, dy= 0 }, - [1] = { dx= 0, dy= 8 }, - }, - O = { copy="B", - [7] = { dx= 8, dy=-8 }, - [1] = { dx= 8, dy= 0 }, - [9] = { dx= 0, dy=-8 }, - }, - P = { copy="B", - [9] = { dx=-8, dy=-8 }, - [3] = { dx=-8, dy= 0 }, - [7] = { dx= 0, dy=-8 }, - }, - - -- cage area - c = { f_h=48, l_tex="cage_w", f_tex="cage_f", - }, - - -- grating - d = { copy="c", mark=1, - [8] = { rail="rail_w", l_peg="bottom", impassible=true }, - [7] = { dx=0, dy=-4 }, [9] = { dx=0, dy=-4 }, - }, - e = { copy="c", mark=1, - [2] = { rail="rail_w", l_peg="bottom", impassible=true }, - [1] = { dx=0, dy=4 }, [3] = { dx=0, dy=4 }, - }, - f = { copy="c", mark=1, - [4] = { rail="rail_w", l_peg="bottom", impassible=true }, - [1] = { dx=4, dy=0 }, [7] = { dx=4, dy=0 }, - }, - g = { copy="c", mark=1, - [6] = { rail="rail_w", l_peg="bottom", impassible=true }, - [3] = { dx=-4, dy=0 }, [9] = { dx=-4, dy=0 }, - }, - }, - - things = - { - { kind="cage_spot", x=64, y=64, double=true }, - }, -}, - -CAGE_LARGE_W_LIQUID = -{ - scale=64, - - structure = - { - "MNNNO", - "PLaLQ", - "PcedQ", - "PLbLQ", - "STTTU", - }, - - elements = - { - -- liquid - L = { f_h=-56, f_tex="liquid_f" }, - - N = { copy="L", [8] = { rail="rail_w", impassible=true } }, - P = { copy="L", [4] = { rail="rail_w", impassible=true } }, - Q = { copy="L", [6] = { rail="rail_w", impassible=true } }, - T = { copy="L", [2] = { rail="rail_w", impassible=true } }, - - M = { [2] = { rail="rail_w", impassible=true }, - [6] = { rail="rail_w", impassible=true }, - [3] = { VDEL=true } - }, - O = { [2] = { rail="rail_w", impassible=true }, - [4] = { rail="rail_w", impassible=true }, - [1] = { VDEL=true } - }, - S = { [8] = { rail="rail_w", impassible=true }, - [6] = { rail="rail_w", impassible=true }, - [9] = { VDEL=true } - }, - U = { [8] = { rail="rail_w", impassible=true }, - [4] = { rail="rail_w", impassible=true }, - [7] = { VDEL=true } - }, - - -- pillar - e = { f_h=168, f_tex="cage_f", l_tex="cage_w", l_peg="top" }, - - a = { copy="e", f_h=104, [8] = { l_tex="cage_sign_w" }, - [7] = { dx=0,dy=-32 }, [9] = { dx=0,dy=-32 } }, - - b = { copy="e", f_h=104, [2] = { l_tex="cage_sign_w" }, - [1] = { dx=0,dy= 32 }, [3] = { dx=0,dy= 32 } }, - - c = { copy="e", f_h=104, [4] = { l_tex="cage_sign_w" }, - [1] = { dx= 32,dy=0 }, [7] = { dx= 32,dy=0 } }, - - d = { copy="e", f_h=104, [6] = { l_tex="cage_sign_w" }, - [3] = { dx=-32,dy=0 }, [9] = { dx=-32,dy=0 } }, - }, - - things = - { - { kind="cage_spot", x=160, y=160 }, - }, -}, - -CAGE_MEDIUM_W_LIQUID = -{ - scale=64, - - structure = - { - "MNNO", - "PeeQ", - "PeeQ", - "STTU", - }, - - elements = - { - -- liquid - L = { f_h=-32, f_tex="liquid_f" }, - - N = { copy="L", [8] = { rail="rail_w", impassible=true } }, - P = { copy="L", [4] = { rail="rail_w", impassible=true } }, - Q = { copy="L", [6] = { rail="rail_w", impassible=true } }, - T = { copy="L", [2] = { rail="rail_w", impassible=true } }, - - M = { copy="P", [8] = { rail="rail_w", impassible=true } }, - O = { copy="Q", [8] = { rail="rail_w", impassible=true } }, - S = { copy="P", [2] = { rail="rail_w", impassible=true } }, - U = { copy="Q", [2] = { rail="rail_w", impassible=true } }, - - -- central pillar - e = { f_h=96, f_tex="cage_f", l_tex="cage_w", l_peg="top" }, - }, - - things = - { - { kind="cage_spot", x=96, y=96, double=true }, - }, -}, - -CAGE_NICHE = -{ - structure = - { - "########", - "#cccccc#", - "#cccccc#", - "#cccccc#", - "#cccccc#", - "#cccccc#", - "#cccccc#", - "#cccccc#", - }, - - elements = - { - c = { f_rel="low_h", f_h=0, - c_rel="low_h", c_h=0, c_add="rail_h", - l_peg="bottom", u_peg="bottom", - - [2] = { rail="rail_w", impassible=true }, - }, - }, - - things = - { - { kind="cage_spot", x=64, y=64 }, - }, -}, - - ------- Corners ------------------------------------ - -CORNER_BEAM = -{ - add_mode="corner", - - structure = - { - "BB..", - "BB..", - "....", - "....", - }, - - elements = - { - B = { solid="beam_w" } - }, -}, - -CORNER_LIGHT = -{ - add_mode="corner", - environment="indoor", - - structure = - { - "BBB.", - "BLs.", - "Bss.", - "....", - }, - - elements = - { - B = { solid="beam_w" }, - L = { solid="lite_w" }, - - s = { f_h=16, c_h=-16, l_tex="beam_w", u_tex="beam_w", - f_tex="beam_f", c_tex="beam_f", - light=192 - } - }, -}, - -CORNER_DIAGONAL = -{ - add_mode="corner", - - structure = - { - "AAA.", - "AAA.", - "AAA.", - "....", - }, - - elements = - { ---# A = { solid="wall", [3] = {VDEL=true}, [9] = {VDEL=true} }, - A = { solid="wall", [3] = {VDEL=true} }, - }, -}, - -CORNER_DIAG_BIG = -{ - copy="CORNER_DIAGONAL", - - structure = - { - "AAAAAAA.", - "AAAAAAA.", - "AAAAAAA.", - "AAAAAAA.", - "AAAAAAA.", - "AAAAAAA.", - "AAAAAAA.", - "........", - }, -}, - -CORNER_DIAG_30DEG = -{ - copy="CORNER_DIAGONAL", - - structure = - { - "AAAAAAA.", - "AAAAAAA.", - "AAAAAAA.", - "........", - }, -}, - -CORNER_CONCAVE = -{ - add_mode="corner", - - structure = - { - "##B.", - "##B.", - "AA..", - "....", - }, - - elements = - { - A = { solid="wall", [3]={ dx=-27, dy=16 }, [9]={ dx=-16, dy=16 }, - [2] = { x_offset=0 }, [6] = { x_offset=17 }, - }, - - B = { solid="wall", [3] = { dx=-16, dy=27 }, - [2] = { x_offset=36 }, [6] = { x_offset=55 }, - }, - }, -}, - -CORNER_CONCAVE_BIG = -{ - add_mode="corner", - - structure = - { - "####BB..", - "####BB..", - "####BB..", - "####BB..", - "AAAA....", - "AAAA....", - "........", - "........", - }, - - elements = - { - A = { solid="wall", [3]={ dx=-54, dy=32 }, [9]={ dx=-32, dy=32 }, - [2] = { x_offset=0 }, [6] = { x_offset=34 }, - }, - - B = { solid="wall", [3] = { dx=-32, dy=54 }, - [2] = { x_offset=72 }, [6] = { x_offset=110 }, - }, - }, -}, - -CORNER_CONVEX = -{ - add_mode="corner", - - structure = - { - "##B.", - "##B.", - "AA..", - "....", - }, - - elements = - { - A = { solid="wall", [3] = { dx=-16, dy=5 }, - [2] = { x_offset=0 }, [6] = { x_offset=17 }, - }, - - B = { solid="wall", [3] = { dx=-5, dy=16 }, - [2] = { x_offset=36 }, [6] = { x_offset=55 }, - }, - }, -}, - - ------- Pillars ------------------------------------ - -PILLAR = -{ - scale=64, - - structure = { "P" }, - - elements = - { - P = { solid="wall", l_peg="bottom" } - }, -}, - -PILLAR_WIDE = -{ - copy="PILLAR", - - structure = - { - "PP", - "PP", - }, -}, - -PILLAR_LIGHT1 = -{ - structure = - { - "BsB.", - "sLs.", - "BsB.", - "....", - }, - - elements = - { - B = { solid="beam_w" }, - L = { solid="lite_w" }, - - s = { f_h=16, c_h=-16, l_tex="beam_w", u_tex="beam_w", - f_tex="beam_f", c_tex="beam_f", - light=192 - } - }, -}, - -PILLAR_LIGHT2 = -{ - copy="PILLAR_LIGHT1", - - structure = - { - "BssB", - "sLLs", - "sLLs", - "BssB", - }, -}, - -PILLAR_LIGHT3 = -{ - structure = - { - "pppp", - "pLLp", - "pLLp", - "pppp", - }, - - elements = - { - L = { solid="lite_w" }, - - p = { f_h=48, c_h=-48, light=192, } - }, -}, - -PILLAR_ROUND_SMALL = -{ - structure = - { - "....", - ".ab.", - ".cd.", - "....", - }, - - elements = - { - a = { solid="wall", [7] = { dx=-6, dy= 6 }, [9] = { dx= 0, dy=14 }, - [8] = { x_offset= 96 }, [4] = { x_offset=120 }, - }, - b = { solid="wall", [9] = { dx= 6, dy= 6 }, [3] = { dx=14, dy= 0 }, - [6] = { x_offset= 48 }, [8] = { x_offset= 72 }, - }, - c = { solid="wall", [7] = { dx=-14,dy= 0 }, [1] = { dx=-6, dy=-6 }, - [4] = { x_offset=144 }, [2] = { x_offset=168 }, - }, - d = { solid="wall", [1] = { dx= 0, dy=-14}, [3] = { dx= 6, dy=-6 }, - [2] = { x_offset= 0 }, [6] = { x_offset= 24 }, - }, - }, -}, - -PILLAR_ROUND_MEDIUM = -{ - structure = - { - "........", - "........", - "..jihg..", - "..k##f..", - "..m##e..", - "..abcd..", - "........", - "........", - }, - - elements = - { - a = { solid="wall", - [1] = { dx=-12, dy=-12 }, [7] = { dx=-24, dy=-8 }, - [2] = { x_offset=336 }, [4] = { x_offset=313 }, - }, - b = { solid="wall", - [1] = { dx=-8, dy=-24 }, - [2] = { x_offset=359 }, - }, - c = { solid="wall", - [1] = { dx= 0, dy=-29 }, - [2] = { x_offset= 0 }, - }, - - d = { solid="wall", - [3] = { dx=12, dy=-12 }, [1] = { dx=8, dy=-24 }, - [6] = { x_offset= 48 }, [2] = { x_offset= 25 }, - }, - e = { solid="wall", - [3] = { dx=24, dy=-8 }, - [6] = { x_offset= 71 }, - }, - f = { solid="wall", - [3] = { dx=29, dy= 0 }, - [6] = { x_offset= 96 }, - }, - - g = { solid="wall", - [9] = { dx=12, dy=12 }, [3] = { dx=24, dy=8 }, - [8] = { x_offset=144 }, [6] = { x_offset=121 }, - }, - h = { solid="wall", - [9] = { dx=8, dy=24 }, - [8] = { x_offset=167 }, - }, - i = { solid="wall", - [9] = { dx= 0, dy=29 }, - [8] = { x_offset=192 }, - }, - - j = { solid="wall", - [7] = { dx=-12, dy=12 }, [9] = { dx=-8, dy=24 }, - [4] = { x_offset=240 }, [8] = { x_offset=217 }, - }, - k = { solid="wall", - [7] = { dx=-24, dy=8 }, - [4] = { x_offset=263 }, - }, - m = { solid="wall", - [7] = { dx=-29, dy= 0 }, - [4] = { x_offset=288 }, - }, - }, -}, - -PILLAR_ROUND_LARGE = -{ - structure = - { - "............", - "............", - "............", - "............", - "....jihg....", - "....k##f....", - "....m##e....", - "....abcd....", - "............", - "............", - "............", - "............", - }, - - elements = - { - a = { solid="wall", - [1] = { dx=-26, dy=-26 }, [7] = { dx=-42, dy=-16 }, - [2] = { x_offset=448 }, [4] = { x_offset=417 }, - }, - b = { solid="wall", - [1] = { dx=-16, dy=-42 }, - [2] = { x_offset=479 }, - }, - c = { solid="wall", - [1] = { dx= 0, dy=-49 }, - [2] = { x_offset= 0 }, - }, - - d = { solid="wall", - [3] = { dx=26, dy=-26 }, [1] = { dx=16, dy=-42 }, - [6] = { x_offset= 64 }, [2] = { x_offset= 33 }, - }, - e = { solid="wall", - [3] = { dx=42, dy=-16 }, - [6] = { x_offset= 95 }, - }, - f = { solid="wall", - [3] = { dx=49, dy= 0 }, - [6] = { x_offset=128 }, - }, - - g = { solid="wall", - [9] = { dx=26, dy=26 }, [3] = { dx=42, dy=16 }, - [8] = { x_offset=192 }, [6] = { x_offset=161 }, - }, - h = { solid="wall", - [9] = { dx=16, dy=42 }, - [8] = { x_offset=223 }, - }, - i = { solid="wall", - [9] = { dx= 0, dy=49 }, - [8] = { x_offset=256 }, - }, - - j = { solid="wall", - [7] = { dx=-26, dy=26 }, [9] = { dx=-16, dy=42 }, - [4] = { x_offset=320 }, [8] = { x_offset=289 }, - }, - k = { solid="wall", - [7] = { dx=-42, dy=16 }, - [4] = { x_offset=351 }, - }, - m = { solid="wall", - [7] = { dx=-49, dy= 0 }, - [4] = { x_offset=384 }, - }, - }, -}, - -PILLAR_DOUBLE_TECH_LARGE = -{ - structure = - { - "........................", - ".oaaaaaaaap..oaaaaaaaap.", - ".aatbbbbuaa..aatbbbbuaa.", - ".atbddddbuaaaatbddddbua.", - ".abceffecbbbbbbceffecba.", - ".abcfLLfcbbbbbbcfLLfcba.", - ".abcfLLfcbbbbbbcfLLfcba.", - ".abceffecbbbbbbceffecba.", - ".arbddddbsaaaarbddddbsa.", - ".aarbbbbsaa..aarbbbbsaa.", - ".maaaaaaaan..maaaaaaaan.", - "........................", - }, - - elements = - { - -- outer base - a = { f_h= 8, f_tex="outer_f", l_tex="outer_w", - c_h=-8, c_tex="outer_f", u_tex="outer_w", - light="outer_lt", - }, - - m = { copy="a", mark=1, [1] = { VDEL=true }}, - n = { copy="a", mark=2, [3] = { VDEL=true }}, - o = { copy="a", mark=3, [7] = { VDEL=true }}, - p = { copy="a", mark=4, [9] = { VDEL=true }}, - - -- inner base - b = { f_h= 16, f_tex="inner_f", l_tex="inner_w", - c_h=-16, c_tex="inner_f", u_tex="inner_w", - light="inner_lt", - }, - - r = { copy="b", mark=1, [1] = { VDEL=true }}, - s = { copy="b", mark=2, [3] = { VDEL=true }}, - t = { copy="b", mark=3, [7] = { VDEL=true }}, - u = { copy="b", mark=4, [9] = { VDEL=true }}, - - -- shiny decoration - c = { f_h= 32, f_tex="shine_f", l_tex="shine_w", l_peg="top", - c_h=-32, c_tex="shine_f", u_tex="shine_w", u_peg="top", - light="shine_lt", - [2] = { l_tex="shine_side", u_tex="shine_side" }, - [8] = { l_tex="shine_side", u_tex="shine_side" }, - }, - d = { f_h= 32, f_tex="shine_f", l_tex="shine_w", l_peg="top", - c_h=-32, c_tex="shine_f", u_tex="shine_w", u_peg="top", - light="shine_lt", - [4] = { l_tex="shine_side", u_tex="shine_side" }, - [6] = { l_tex="shine_side", u_tex="shine_side" }, - }, - - -- pillars - e = { solid="pillar_w" }, - L = { solid="light_w" }, - - f = { f_h= 48, f_tex="pillar_f", l_tex="pillar_w", l_peg="bottom", - c_h=-48, c_tex="pillar_f", u_tex="pillar_w", u_peg="top", - light="pillar_lt", kind="kind", - }, - }, - - -- FIXME: spot for thing -}, - - ------- Overhangs ------------------------------------ - -OVERHANG_1 = -{ - structure = - { - "PooooooooooP", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "PooooooooooP", - }, - - elements = - { - P = { solid="beam_w" }, - - o = { c_h=-24, c_tex="hang_c", u_tex="hang_u", - u_peg="top", light_add = -32, - }, - }, -}, - -OVERHANG_2 = -{ - copy="OVERHANG_1", - - structure = - { - "PPooooooooPP", - "PPooooooooPP", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "PPooooooooPP", - "PPooooooooPP", - }, -}, - -OVERHANG_3 = -{ - copy="OVERHANG_1", - - structure = - { - "oooooooooooo", - "oPPooooooPPo", - "oPPooooooPPo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oooooooooooo", - "oPPooooooPPo", - "oPPooooooPPo", - "oooooooooooo", - }, -}, - - ------- Doom and Doom II ------------------------------- - -DOOM2_667_END_SWITCH = -{ - region="floor", - - structure = - { - "................", - ".RRRRRRRRRRRRRR.", - ".RnnnnnnnnnnnnR.", - ".RnnnnnnnnnnnnR.", - ".RnnnnnnnnnnnnR.", - ".RnnnnnnnnnnnnR.", - ".RnnnnSSSSnnnnR.", - ".RnnnnSSSSnnnnR.", - ".RnnnnSSSSnnnnR.", - ".RnnnnSSSSnnnnR.", - ".RnnnnnnnnnnnnR.", - ".RnnnnnnnnnnnnR.", - ".RnnnnnnnnnnnnR.", - ".RnnnnnnnnnnnnR.", - ".RRRRRRRRRRRRRR.", - "................", - }, - - elements = - { - n = { f_h=32 }, - - -- Raising part - R = { f_h=-6, kind="kind", tag="tag" }, - - -- Switch - S = { f_h=96, f_tex="switch_f", l_tex="switch_w", - l_peg="top", y_offset="y_offset", - } - }, -}, - - ------- Heretic and Hexen ------------------------------- - -HEXEN_V_TELEPORT = -{ - structure = - { - "............", - "..WWWWZZZZ..", - "..WWWWZZZZ..", - "..WWWWZZZZ..", - "..WWWWZZZZ..", - "..WWxxxxZZ..", - "..WWxxxxZZ..", - "..WWttttZZ..", - "..WWssssZZ..", - "............", - "............", - "............", - }, - - elements = - { - s = { f_h=16, c_rel="floor_h", c_h=144, light=200, - f_tex="frame_f", c_tex="frame_c", - l_tex="frame_w", u_tex="frame_w", - l_peg="bottom", u_peg="top", - }, - - t = { copy="s", mark=1, - [7] = { dx=0, dy=-12 }, - [9] = { dx=0, dy=-12 }, - [2] = { rail="border_w", l_peg="bottom", }, - [8] = { rail="telep_w", l_peg="bottom", }, - }, - - x = { copy="s", light=0, - [2] = { kind="kind", tag="tag" }, - }, - - W = { solid="frame_w", [7] = { dx= 48, dy=0 }}, - Z = { solid="frame_w", [9] = { dx=-48, dy=0 }}, - }, -}, - -HEXEN_TRIPLE_PED = -{ - scale=64, - region="floor", - - structure = - { - "p.p", - "...", - ".p.", - }, - - elements = - { - p = { f_h=0, f_add="ped_h", - f_tex="ped_f", l_tex="ped_w", l_peg="top", - } - }, - - things = - { - { kind="item_F_t", x=96, y=96 }, - { kind="item_C_t", x=32, y=160 }, - { kind="item_M_t", x=160, y=160 }, - }, -}, - - ------- Wolfenstein ------------------------------------ - -WOLF_ELEVATOR = -{ - scale=64, - - structure = - { - "#####", - "##E##", - "#E.E#", - "#FdF#", - }, - - elements = - { - E = { solid="elevator" }, - F = { solid="front" }, - - d = { kind="door_kind" }, - }, -}, - -WOLF_PACMAN_BASE = -{ - scale=64, - - structure = { "#" }, -- dummy - - elements = - { - G = { solid="ghost_w" }, - - B = { thing="blinky", angle=90 }, - C = { thing="clyde", angle=90 }, - I = { thing="inky", angle=270 }, - P = { thing="pinky", angle=270 }, - - d = { thing="dot_t" }, - t = { thing="treasure1" }, - u = { thing="treasure2" }, - m = { thing="first_aid" }, - }, -}, - -WOLF_PACMAN_MID_1 = -{ - copy="WOLF_PACMAN_BASE", - - structure = - { - "##B.####.######.####C.##", - "##d.####.######.####d.##", - "##..##..d.d.d.d.d.##..##", - "##d.##............##d.##", - "##..##.dGGG..GGGd.##..##", - "##d.##.dGGG..GGGd.##d.##", - "#...##.dGG.tt.GGd.##...#", - "d.G....dG.tttt.Gd....G.d", - "..G.d..dGttttttGd..d.G..", - "#...##.dGGttttGGd.##...#", - "##d.##.dGGGuuGGGd.##d.##", - "##..##.dGGGGGGGGd.##..##", - "##d.##............##d.##", - "##..##.d.d.d.d.d..##..##", - "##d.####.######.####d.##", - "##I.####.######.####P.##", - }, -}, - -WOLF_PACMAN_MID_2 = -{ - copy="WOLF_PACMAN_BASE", - - structure = - { - "##B.#######..#######.C##", - "##d.#######.d#######.d##", - "##d.###..........###.d##", - "##d.##...d..d..d..##.d##", - "##d.##d.GGGGGGGG.d##.d##", - "###ddd..GGtt.GGG..ddd###", - "######d.GGttt.GG.d######", - "######..GGtutt....######", - "######d.GGtutt...d######", - "######..GGttt.GG..######", - "###dddd.GGtt.GGG.dddd###", - "##d.##..GGGGGGGG..##.d##", - "##d.##.d..d..d..d.##.d##", - "##d.###..........###.d##", - "##d.#######d.#######.d##", - "##I.#######..#######.P##", - }, -}, - -WOLF_PACMAN_MID_3 = -{ - copy="WOLF_PACMAN_BASE", - - structure = - { - "##B.####.######.####C.##", - "##d.####d######.####d.##", - "##..d.d.........d.d...##", - "######..d.d.d.d...######", - "dddddd..GGGGGGGGd.dddddd", - "d#####.dGGtuutGG..#####d", - "d#####..GttttttGd.#####d", - "d#####.dG.tttt.G..#####d", - "dddddd..GGGttGGGd.dddddd", - "######.dGGGttGGG..######", - "##...d..G......Gd.d.d.##", - "##.d##.dG.GGGG.G..##..##", - "##..##...d.d.d.d..##.d##", - "##.d##............##..##", - "##..#######d.#######.d##", - "##Id#######..#######P.##", - }, -}, - -WOLF_PACMAN_CORN_1 = -{ - copy="WOLF_PACMAN_BASE", - - structure = - { - "#########...........", - "#########d.d.d.d.d..", - "#########.########.#", - "####.d...d########d#", - "####...d....##m.....", - ".d.d.d####d.##..d.d.", - ".........#..d.d.####", - "d.#####..#####..d.d.", - "..###..d..d.##......", - "m.###d.###..###d####", - ".......###..###.####", - ".d.d.d.###d.d.d.d.d.", - }, -}, - -WOLF_PACMAN_CORN_2 = -{ - copy="WOLF_PACMAN_BASE", - - structure = - { - "##########..####....", - "..d.d...d.d.####.d..", - "..###.d#########..##", - "d.###..#####.d.d.d##", - "..###d.d.d.d..######", - "m.######..#####md.d.", - "..######..d.###d####", - "d.#########.###.####", - "..d.d.d.###d.d.d..##", - "######..###.####..##", - "######d.d.d.####.d..", - "##########..####....", - }, -}, - -WOLF_PACMAN_CORN_3 = -{ - copy="WOLF_PACMAN_BASE", - - structure = - { - "##########..####.##.", - "#####..d.d.d.d..d##d", - "#####.........d#.##.", - "#####.d######..#.d.d", - "#d.##....d.m#.d#..##", - "...d...####.#....d##", - ".....d.####.#.d#####", - "#d.##....d.m#...d.d.", - "#####.d######.d####d", - "#####............##.", - "#####..d.d.d.d.d.##d", - "##########..####....", - }, -}, - - -} -- HACX.FACTORY.PREFABS - -HACX.FACTORY.DM_LINE_TYPES = -{ - --- general --- - - A1_scroll_left = { kind=48 }, - - S1_exit = { kind=11 }, - W1_exit = { kind=52 }, - - S1_secret_exit = { kind=51 }, - W1_secret_exit = { kind=124 }, - - WR_teleport = { kind=97 }, - MR_teleport = { kind=126 }, -- monster only - - S1_bars = { kind=23 }, - - --- doors --- - - PR_door = { kind=1 }, - PR_blaze_door = { kind=117 }, - - W1_door = { kind=2 }, - S1_door = { kind=103 }, - - SR_door = { kind=63 }, - SR_blaze_door = { kind=114 }, - - P1_blue_door = { kind=32 }, - PR_blue_door = { kind=26 }, - P1_yellow_door = { kind=34 }, - PR_yellow_door = { kind=27 }, - P1_red_door = { kind=33 }, - PR_red_door = { kind=28 }, - - --- lifts --- - - SR_lift = { kind=62 }, - WR_lift = { kind=88 }, - - SR_blaze_lift = { kind=123 }, - WR_blaze_lift = { kind=120 }, -} - -HACX.FACTORY.DM_SECTOR_TYPES = -{ - secret = { kind=9 }, - - random_off = { kind=1 }, - blink_fast = { kind=2 }, - blink_slow = { kind=3 }, - - glow = { kind=8 }, - flicker = { kind=17 }, - - damage_5 = { kind=7 }, - damage_10 = { kind=5 }, - damage_20 = { kind=16 }, -} - - ----------------------------------------------------------------- - -HACX.FACTORY.DM_COMBOS = -{ - ---- TECH ------------ - - TECH_BASE = - { - theme_probs = { TECH=80 }, - mat_pri = 8, - - wall = "STARTAN3", - floor = "FLOOR4_8", - ceil = "CEIL3_6", - - pic_wd = "COMPSTA2", -- "COMP2" for Doom 1 !! - pic_wd_h = 64, - - lift = "PLAT1", - step = "STEP1", - step_floor = "STEP2", - - scenery = "lamp", - good_liquid = "blood", - - sc_fabs = { pillar_COMPWERD=50, other=30 }, - }, - - TECH_BASE2 = - { - theme_probs = { TECH=40 }, - mat_pri = 8, - - wall = "STARG3", - floor = "FLOOR5_1", - ceil = "FLOOR4_5", - - lift = "PLAT1", - step = "STEP1", - step_floor = "STEP1", - - scenery = "tech_column", - - sc_fabs = { pillar_COMPWERD=50, other=30 }, - }, - - TECH_SILVER = - { - theme_probs = { TECH=40 }, - mat_pri = 8, - - wall = "STARGR2", - floor = "FLOOR0_1", - ceil = "FLAT3", - - lift = "PLAT1", - step = "STEP1", - step_floor = "STEP1", - - scenery = "tech_column", - }, - - TECH_BROWN = - { - theme_probs = { TECH=60 }, - mat_pri = 8, - - wall = "STARBR2", - floor = "FLOOR5_1", - ceil = "CEIL4_3", - - lift = "PLAT1", - step = "STEP1", - step_floor = "STEP1", - - scenery = "tech_column", - }, - - ---- HELL ---------- - - HELL_MARBLE = - { - theme_probs = { HELL=70 }, - mat_pri = 6, - - wall = "MARBLE2", - void = "SP_DUDE5", - step = "STEP1", - pic_wd = "SP_DUDE1", - - lift = "SKSPINE1", - lift_floor = "FLAT5_6", - - floor = "FLOOR7_2", - ceil = "FLOOR7_1", - - scenery = { red_pillar=5, red_column=5, red_column_skl=5 }, - - bad_liquid = "nukage", - good_liquid = "blood", - - sc_fabs = { pillar_GSTLION=50, other=30 }, - }, - - HELL_HOT = - { - theme_probs = { HELL=60 }, - mat_pri = 6, - - wall = "SP_HOT1", - step = "STEP6", -- STEP4 - - floor = "FLAT5_1", -- was: FLAT5_7 - ceil = "FLAT5_3", -- was: FLOOR6_1 - - lift = "SKSPINE1", - lift_floor = "FLAT5_6", - - scenery = "red_torch", - - bad_liquid = "blood", - good_liquid = "lava", - }, - - HELL_VINE = - { - theme_probs = { HELL=20 }, - mat_pri = 1, - - wall = "GSTVINE1", - floor = "SFLR6_1", - ceil = "FLOOR7_1", - - step = "STONE3", - - lift = "SKSPINE1", - lift_floor = "FLAT5_6", - - scenery = "red_torch", - }, - - ---- URBAN -------- - - URBAN_STONE = - { - theme_probs = { URBAN=70 }, - outdoor = true, - mat_pri = 5, - - wall = "STONE", - floor = "MFLR8_1", - ceil = "MFLR8_1", - --- void = "STONE3", - step = "STEP4", - piller = "STONE5", - - scenery = { blue_torch=5, blue_torch_sm=3 }, - - door_probs = { out_diff=75, combo_diff=10, normal=5 } - }, - - URBAN_BROWN = - { - theme_probs = { URBAN=50 }, - outdoor = true, - mat_pri = 3, - - wall = "BROWN1", - floor = "MFLR8_2", -- "RROCK16" (not in doom 1) - ceil = "MFLR8_2", - --- void = "BROWNPIP", - step = "STEP5", - lift = "SUPPORT3", - pillar = "BROWN96", -- was "BRONZE2" (not in doom 1) - - -- lift_floor = "FLOOR4_8", - - scenery = { skull_pole=5, skull_kebab=5 }, - good_liquid = "blood", - - door_probs = { out_diff=75, combo_diff=10, normal=5 } - }, - - URBAN_WOOD = - { - theme_probs = { URBAN=30 }, - mat_pri = 7, - - wall = "WOOD1", - floor = "FLAT5_1", - ceil = "CEIL1_1", - --- void = "WOOD3", - step = "STEP1", - pillar = "WOODGARG", -- "WOODMET4" not in doom 1 - pic_wd = "MARBFACE", - - scenery = { impaled_human=5, hang_twitching=5 }, - }, - - ---- INDUSTRIAL -------- - - INDY_CEMENT = - { - theme_probs = { INDUSTRIAL=50 }, - mat_pri = 1, - - wall = "CEMENT6", - floor = "FLAT9", - ceil = "CEIL3_5", -- "SLIME14" not in doom 1 - - step = "STEP1", - pillar = "BROWNGRN", -- "CEMENT8" not in doom 1 - - lift = "SUPPORT3", --- lift_floor = "FLOOR4_8", - - wall_fabs = { solid_CEMENT4=20, solid_CEMENT5=20, other=50 }, - }, - - INDY_SLAD = - { - theme_probs = { INDUSTRIAL=50, TECH=10 }, - mat_pri = 4, - - wall = "SLADWALL", - floor = "FLOOR0_5", - ceil = "CEIL5_1", - --- void = "SLADSKUL", - step = "STEP1", - - vista_support = "DOORSTOP", - - scenery = "burning_barrel", - good_liquid = "nukage", - - sc_fabs = { pillar_rnd_sm_POIS=50, other=30 }, - - wall_fabs = { solid_SLADSKUL=30, other=50 }, - }, - - INDY_GRAY = - { - theme_probs = { INDUSTRIAL=50 }, - mat_pri = 3, - - wall = "GRAY7", - floor = "FLOOR0_5", - ceil = "FLAT1", - - lift = "SUPPORT3", - pic_wd = "REDWALL", - --- lift_floor = "FLOOR4_8", - - scenery = { green_pillar=5, green_column=5, green_column_hrt=5 }, - - sc_fabs = { crate_rotnar_GRAY2=30, other=50 }, - }, - - INDY_PIPES = - { - theme_probs = { INDUSTRIAL=45 }, - mat_pri = 4, - - wall = "PIPE2", - floor = "FLAT1_1", - ceil = "FLAT1_1", - - step = "STEP1", - lift = "SUPPORT3", - pic_wd = "REDWALL", - --- lift_floor = "FLOOR4_8", - - scenery = { green_pillar=5, green_column=5, green_column_hrt=5 }, - - wall_fabs = { solid_PIPE4=20, other=30 }, - }, - - INDY_ICKY = - { - theme_probs = { INDUSTRIAL=25 }, - mat_pri = 4, - - wall = "ICKWALL3", - floor = "FLAT4", - ceil = "CEIL3_1", -- CEIL1_3 - - step = "STEP4", - lift = "SUPPORT3", - pic_wd = "REDWALL", - --- lift_floor = "FLOOR4_8", - - scenery = { green_pillar=5, green_column=5, green_column_hrt=5 }, - - wall_fabs = { solid_ICKWALL4=20, solid_ICKWALL5=20, - solid_ICKWALL7=20, other=60 }, - }, - - ---- CAVE ---------- - - CAVE_BROWN = - { - theme_probs = { CAVE=50 }, - mat_pri = 3, - - wall = "BROWNHUG", - floor = "FLAT10", - ceil = "FLAT10", - - arch = "arch_hole", - - sc_fabs = { stalagmite_MED=90, other=10 }, - }, - - -- FIXME: SP_ROCK1 - -} - -HACX.FACTORY.DM_EXITS = -{ - TECH = - { - mat_pri = 9, - - wall = "TEKWALL1", - floor = "CEIL4_3", - ceil = "TLITE6_5", - - sign = "EXITSIGN", - sign_ceil="CEIL5_2", - - switch = - { - prefab="SWITCH_NICHE", - add_mode="wall", - skin = - { - switch_w="SW1COMP", switch_h=64, - lite_w="LITE5", --- frame_f="FLAT14", frame_c="FLAT14", - - x_offset=0, y_offset=64, kind=11, tag=0, - } - }, - - door = { wall="EXITDOOR", w=64, h=72, - frame_ceil="TLITE6_5", -- frame_wall="BROWN96" - }, - }, - - STONE = - { - mat_pri = 9, - - wall = "STONE2", - void = "STONE", - - floor = "FLOOR7_2", - ceil = "FLAT1", - - hole_tex = "MARBLE1", - - front_mark = "EXITSTON", - - switch = - { - prefab="SWITCH_FLOOR", - skin = - { - switch_w="SW1HOT", side_w="SP_HOT1", - switch_f="FLAT5_3", switch_h=64, - - x_offset=0, y_offset=56, kind=11, tag=0, - } - }, - - door = { wall="EXITDOOR", w=64, h=72, - frame_ceil="TLITE6_6", frame_wall="LITE5" }, - }, - - BROWN = - { - mat_pri = 6, - - wall = "BROWN96", - void = "BROWN1", - - floor = "FLOOR3_3", - ceil = "CEIL5_2", - - sign = "EXITSIGN", - sign_ceil="CEIL5_2", - - switch = - { - prefab="SWITCH_WIDE", - add_mode="wall", - skin = - { - switch_w="SW1BRCOM", wall="BROWN96", - kind=11, tag=0, - } - }, - - door = { wall="EXITDOOR", w=64, h=72, - frame_ceil="TLITE6_5", - frame_floor="FLOOR3_3" - }, - }, - - --- Small Exits --- - - BLUE = - { - small_exit = true, - mat_pri = 9, - - wall = "TEKWALL1", - floor = "FLAT14", - ceil = "FLAT22", - ---- void = "COMPBLUE", - - sign = "EXITSIGN", - sign_ceil="CEIL5_2", - - switch = - { - prefab="SWITCH_FLOOR", - skin = - { - switch_w="SW1COMM", side_w="SHAWN2", - switch_f="FLAT23", switch_h=64, - - x_offset=0, y_offset=0, kind=11, tag=0, - } - }, - - - door = { wall="EXITDOOR", w=64, h=72, frame_ceil="TLITE6_5" }, - }, - - STARTAN = - { - small_exit = true, - mat_pri = 6, - - wall = "STARTAN2", - floor = "FLOOR5_2", - ceil = "TLITE6_4", - - sign = "EXITSIGN", - sign_ceil="CEIL5_2", - - switch = - { - prefab="SWITCH_FLUSH", - add_mode="wall", - skin = - { - switch_w="SW1STRTN", wall="STARTAN2", - kind=11, tag=0, - } - }, - - door = { wall="EXITDOOR", w=64, h=72, - frame_ceil="TLITE6_5", - frame_floor="FLOOR5_2", - frame_wall="LITE3" - }, - }, - - BLOODY = - { - secret_exit = true, - small_exit = true, - - mat_pri = 9, - - exit_h = 128, - - wall = "GSTVINE2", - floor = "BLOOD1", - ceil = "FLOOR7_2", - --- void = "GSTONE2", - - liquid_prob = 0, - - sign = "EXITSIGN", - sign_ceil="CEIL5_2", - - flush = true, - flush_left = "GSTFONT1", - flush_right = "GSTFONT2", - - switch = - { - prefab="SWITCH_FLUSH", - add_mode="wall", - skin = - { - switch_w="SW1GSTON", wall="GSTONE2", - left_w="GSTFONT1", right_w="GSTFONT2", - kind=51, tag=0, - } - }, - - door = { wall="EXITDOOR", w=64, h=72, - frame_ceil="FLOOR7_2", - frame_floor="FLOOR7_2" }, - }, - -} - -HACX.FACTORY.DM_HALLWAYS = -{ - BROWN1 = - { - mat_pri = 0, - - wall = "BROWNPIP", - void = "BROWN1", - step = "BROWN1", - pillar = "BROVINE2", - - floor = "FLOOR5_1", - ceil = "CEIL5_2", - - theme_probs = { INDUSTRIAL=50,URBAN=20 }, - trim_mode = "guillotine", - }, - - SP_ROCK = - { - mat_pri = 0, - - wall = "SP_ROCK1", - void = "SP_ROCK1", - step = "STEP6", - pillar = "GRAYVINE", - - floor = "MFLR8_3", - ceil = "FLOOR6_2", - - arch = "arch_arched", - - theme_probs = { HELL=70,CAVE=30 }, - trim_mode = "rough_hew", - }, - - BLUECARPET = - { - mat_pri = 0, - - wall = "STARTAN2", - void = "STARTAN3", - step = "STEP1", - pillar = "STARGR2", -- or STARBR2 - - floor = "FLAT14", - ceil = "TLITE6_4", - - arch_floor = "FLAT20", - arch_ceil = "CEIL3_2", - - theme_probs = { TECH=80,INDUSTRIAL=30 }, - well_lit = true, - trim_mode = "guillotine", - }, -} - ----- BASE MATERIALS ------------ - -HACX.FACTORY.DM_MATS = -{ - METAL = - { - mat_pri = 5, - - wall = "METAL", - void = "METAL1", - floor = "CEIL5_2", - ceil = "CEIL5_2", - }, - - ARCH = - { - wall = "METAL", - void = "METAL1", - floor = "CEIL5_2", - ceil = "CEIL5_2", - }, - - SHINY = - { - wall = "SHAWN2", - void = "SHAWN1", - floor = "FLAT23", - ceil = "FLAT23", - }, - - STEP = - { - wall = "STEP1", - floor = "FLAT1", - }, - - LIFT = - { - wall = "SUPPORT2", - floor = "STEP2" - }, - - CAGE = - { - wall = "METAL", - floor = "CEIL5_2", - ceil = "TLITE6_4", - }, - - TRACK = - { - wall = "DOORTRAK", - floor = "FLOOR6_2", - }, - - DOOR_FRAME = - { - wall = "LITE5", - floor = "FLAT1", - ceil = "TLITE6_6", - }, - - SW_FRAME = - { - wall = "LITE5", - floor = "TLITE6_6", - }, -} - ---- PEDESTALS -------------- - -HACX.FACTORY.DM_PEDESTALS = -{ - PLAYER = - { - wall = "SHAWN2", void = "SHAWN2", - floor = "FLAT22", ceil = "FLAT22", - h = 8, - }, - - QUEST = - { - wall = "METAL", void = "METAL", - floor = "GATE4", ceil = "GATE4", - h = 24, - }, - - WEAPON = - { - wall = "METAL", void = "METAL", - floor = "CEIL1_2", ceil = "CEIL1_2", - h = 12, - }, -} - ----- OVERHANGS ------------ - -HACX.FACTORY.DM_OVERHANGS = -{ - METAL = - { - ceil = "CEIL5_1", - upper = "METAL", - thin = "METAL", - }, - - MARBLE = - { - thin = "MARBLE1", - upper = "MARBLE3", - ceil = "DEM1_6", - }, - - STONE = - { - thin = "STONE", - upper = "STONE", - ceil = "FLAT5_4", - }, - - WOOD = - { - thin = "WOOD1", - upper = "WOOD1", - ceil = "FLAT5_1", - }, -} - ----- CRATES ------------ - -HACX.FACTORY.DM_CRATES = -{ - CRATE1 = - { - wall = "CRATE1", h=64, floor = "CRATOP2" - }, - - CRATE2 = - { - wall = "CRATE2", h=64, floor = "CRATOP1" - }, - - CRATELIT = - { - wall = "CRATELIT", h=128, floor = "CRATOP1" - }, - - GRAY = - { - wall = "GRAY2", h=64, floor = "FLAT5_4", can_rotate=true - }, - - ICKWALL = - { - wall = "ICKWALL4", h=64, floor = "FLAT19", - can_rotate=true, can_yshift=64 - }, - - SHAWN = - { - wall = "SHAWN3", h=64, floor = "FLAT23", can_rotate=true - }, - - WOOD3A = - { - wall = "WOOD3", h=64, floor = "CEIL1_1", - side_x_offset=64 - }, - - WOOD3B = - { - wall = "WOOD3", h=64, floor = "CEIL1_1", - x_offset=128, y_offset=59, side_x_offset=64 - }, - - WOODSKUL = - { - wall = "WOOD4", h=64, floor = "CEIL1_1", - can_rotate=true, can_yshift=59 - }, -} - - ----- ARCH STUFF ------------ - -HACX.FACTORY.DM_LIQUIDS = -{ - water = { floor="FWATER1", wall="FIREMAG1" }, - blood = { floor="BLOOD1", wall="BFALL1", sec_kind=7 }, -- 5% damage - nukage= { floor="NUKAGE1", wall="SFALL1", sec_kind=5 }, -- 10% damage - lava = { floor="LAVA1", wall="ROCKRED1", sec_kind=16, add_light=64 }, -- 20% damage -} - -HACX.FACTORY.DM_SWITCHES = -{ - sw_blue = - { - switch = - { - prefab = "SWITCH_FLOOR", - skin = - { - switch_w="SW1BLUE", side_w="COMPBLUE", - switch_f="FLAT14", switch_h=64, - - beam_w="WOOD1", beam_f="FLAT5_2", - - x_offset=0, y_offset=56, kind=103, - } - }, - - switch2 = - { - prefab = "SWITCH_FLOOR_BEAM", - skin = - { - switch_w="SW1BLUE", side_w="COMPBLUE", - switch_f="FLAT14", switch_h=64, - - beam_w="WOOD1", beam_f="FLAT5_2", - - x_offset=0, y_offset=56, kind=103, - } - }, - - door = - { - w=128, h=112, - prefab = "DOOR_LIT_LOCKED", - skin = - { - key_w="COMPBLUE", - door_w="BIGDOOR3", door_c="FLOOR7_2", - step_w="STEP1", track_w="DOORTRAK", - frame_f="FLAT1", frame_c="FLAT1", - door_h=112, - door_kind=0, - } - }, - }, - - sw_hot = - { - switch = - { - prefab = "SWITCH_PILLAR", - skin = - { - switch_w="SW1HOT", wall="SP_HOT1", kind=103, - } - }, - - door = - { - w=128, h=112, - prefab = "DOOR_LIT_LOCKED", - skin = - { - key_w="SP_HOT1", - door_w="BIGDOOR3", door_c="FLOOR7_2", - step_w="STEP1", track_w="DOORTRAK", - frame_f="FLAT1", frame_c="FLAT1", - door_h=112, - door_kind=0, - } - }, - - bars = - { - w=128, h=112, - prefab = "BARS_FENCE_DOOR", - environment = "outdoor", - skin = - { - door_w="BIGDOOR7", door_f="CEIL5_2", - side_w="METAL", --- beam_w="SP_HOT1", beam_f="FLAT5_3", - door_kind=0, - } - }, - }, - - sw_skin = - { - --FIXME: SKINBORD is doom1 only - switch = - { - prefab = "SWITCH_PILLAR", - skin = - { - switch_w="SW1SKIN", wall="SKINBORD", kind=103, - } - }, - - door = - { - w=128, h=112, - prefab = "DOOR_LIT_LOCKED", - skin = - { - key_w="SKINFACE", - door_w="BIGDOOR3", door_c="FLOOR7_2", - step_w="STEP1", track_w="DOORTRAK", - frame_f="FLAT1", frame_c="FLAT1", - door_h=112, - door_kind=0, - } - }, - }, - - sw_vine = - { - switch = - { - prefab = "SWITCH_PILLAR", - skin = - { - switch_w="SW1VINE", wall="GRAYVINE", kind=103, - } - }, - - door = - { - w=128, h=112, - prefab = "DOOR_LIT_LOCKED", - skin = - { - key_w="GRAYVINE", - door_w="BIGDOOR3", door_c="FLOOR7_2", - step_w="STEP1", track_w="DOORTRAK", - frame_f="FLAT1", frame_c="FLAT1", - door_h=112, - door_kind=0, - } - }, - }, - - sw_metl = - { - switch = - { - prefab = "SWITCH_CEILING", - environment = "indoor", - skin = - { - switch_w="SW1GARG", side_w="METAL", - switch_c="CEIL5_2", switch_h=56, - - beam_w="SUPPORT3", beam_c="CEIL5_2", - - x_offset=0, y_offset=64, kind=23, - } - }, - - door = - { - w=128, h=128, - prefab = "BARS_1", - skin = - { - bar_w="SUPPORT3", bar_f="CEIL5_2", - door_kind=0, - } - }, - }, - - sw_gray = - { - switch = - { - prefab = "SWITCH_PILLAR", - skin = - { - switch_w="SW1GRAY1", wall="GRAY1", kind=23, - } - }, - - door = - { - w=128, h=128, - prefab = "BARS_2", - skin = - { - bar_w="GRAY7", bar_f="FLAT19", - door_kind=0 - }, - }, - - }, - ---FIXME: (not in doom1) sw_rock = { wall="ROCK3", switch="SW1ROCK", floor="RROCK13", bars=true }, ---FIXME: sw_wood = { wall="WOODMET1", switch="SW1WDMET", floor="FLAT5_1", bars=true, stand_h=128 }, - -} - -HACX.FACTORY.DM_DOORS = -{ - -- Note: most of these with h=112 are really 128 pixels - -- tall, but work fine when truncated. - - d_big2 = { prefab="DOOR_LIT", w=128, h=112, - - skin = - { - door_w="BIGDOOR2", door_c="FLAT1", - lite_w="LITE5", step_w="STEP1", - frame_f="FLAT1", frame_c="TLITE6_6", - track_w="DOORTRAK", - door_h=112, - } - }, - ---[[ !!! HACX.FACTORY.DM_DOORS - d_uac = { wall="BIGDOOR1", w=128, h=72 }, -- actual height is 96 - d_big1 = { wall="BIGDOOR2", w=128, h=112 }, - d_big2 = { wall="BIGDOOR3", w=128, h=112 }, - d_big3 = { wall="BIGDOOR4", w=128, h=112 }, - - d_wood1 = { wall="BIGDOOR5", ceil="CEIL5_2", w=128, h=112 }, - d_wood2 = { wall="BIGDOOR6", ceil="CEIL5_2", w=128, h=112 }, -- this is the real height! - d_wood3 = { wall="BIGDOOR7", ceil="CEIL5_2", w=128, h=112 }, ---]] - - d_small1 = { wall="DOOR1", w=64, h=72 }, - d_small2 = { wall="DOOR3", w=64, h=72 }, -} - -HACX.FACTORY.DM_KEY_DOORS = -{ - k_blue = - { - w=128, h=112, - - prefab = "DOOR_LIT_LOCKED", - - skin = - { - key_w="DOORBLU2", - door_w="BIGDOOR4", door_c="FLOOR3_3", - step_w="STEP1", track_w="DOORTRAK", - frame_f="FLAT1", frame_c="FLAT1", - door_h=112, - door_kind=26, tag=0, -- kind_once=32 - } - }, - - k_yellow = - { - w=128, h=112, - - prefab = "DOOR_LIT_LOCKED", - - skin = - { - key_w="DOORYEL2", - door_w="BIGDOOR4", door_c="FLOOR3_3", - step_w="STEP1", track_w="DOORTRAK", - frame_f="FLAT1", frame_c="FLAT1", - door_h=112, - door_kind=27, tag=0, -- kind_once=34 - } - }, - - k_red = - { - w=128, h=112, - - prefab = "DOOR_LIT_LOCKED", - - skin = - { - key_w="DOORRED2", - door_w="BIGDOOR4", door_c="FLOOR3_3", - step_w="STEP1", track_w="DOORTRAK", - frame_f="FLAT1", frame_c="FLAT1", - door_h=112, - door_kind=28, tag=0, -- kind_once=33 - } - }, - -} - -HACX.FACTORY.DM_LIFTS = -{ - slow = { kind=62, walk=88 }, - fast = { kind=123, walk=120 }, -} - -HACX.FACTORY.DM_IMAGES = -{ - { wall = "CEMENT1", w=128, h=128, glow=true }, - { wall = "CEMENT2", w=64, h=64, floor="MFLR8_3" } -} - -HACX.FACTORY.DM_LIGHTS = -{ - metal = { floor="CEIL1_2", side="METAL" }, - wood = { floor="CEIL1_3", side="WOOD1" }, - star = { floor="CEIL3_4", side="STARTAN2" }, - - gray1 = { floor="FLAT2", side="GRAY5" }, - gray2 = { floor="FLAT17", side="GRAY5" }, - hot = { floor="FLOOR1_7", side="SP_HOT1" }, - - tl61 = { floor="TLITE6_1", side="METAL" }, - tl64 = { floor="TLITE6_4", side="METAL" }, - tl65 = { floor="TLITE6_5", side="METAL" }, - tl66 = { floor="TLITE6_6", side="METAL" }, -} - - -HACX.FACTORY.DM_SCENERY_PREFABS = -{ - pillar_COMPWERD = - { - prefab = "PILLAR", add_mode = "island", - environment = "indoor", - skin = { wall="COMPWERD" }, - }, - - pillar_GSTLION = - { - prefab = "PILLAR", add_mode = "island", - environment = "indoor", - skin = { wall="GSTLION" }, - }, - - pillar_SPDUDE5 = - { - prefab = "PILLAR", add_mode = "island", - environment = "indoor", - skin = { wall="SP_DUDE5" }, - }, - - pillar_light1_METAL = - { - prefab = "PILLAR_LIGHT1", - add_mode = "island", - - environment = "indoor", - - skin = { beam_w="METAL", beam_f="CEIL5_2", - lite_w="LITE5" }, - - theme_probs = { TECH=5, INDUSTRIAL=12 }, - }, - - pillar_rnd_sm_POIS = - { - prefab = "PILLAR_ROUND_SMALL", - add_mode = "island", - environment = "indoor", - - skin = { wall="BRNPOIS" }, - }, - - stalagmite_MED = - { - prefab = "STALAGMITE", - add_mode = "island", - environment = "indoor", - min_height = 128, - skin = {}, - }, - - billboard_lit_SHAWN = - { - prefab = "BILLBOARD_LIT", - environment = "outdoor", - add_mode = "extend", - min_height = 160, - - skin = - { - pic_w = "SHAWN1", pic_back = "SHAWN2", - pic_f = "CEIL3_5", pic_h = 88, - - corn_w = "SHAWN2", corn2_w = "DOORSTOP", - corn_f = "FLAT19", corn_h = 112, - - step_w = "STEP4", step_f = "CEIL3_5", - lite_w = "LITE5", - }, - - theme_probs = { NATURE=20, URBAN=10 }, - }, - - ground_light_SILVER = - { - prefab = "GROUND_LIGHT", - environment = "outdoor", - min_height = 96, - - skin = - { - shawn_w = "SHAWN3", shawn_f = "FLAT1", - lite_w = "LITE5", lite_f = "CEIL5_1", - }, - - theme_probs = { NATURE=50, URBAN=5 }, - force_dir = 2, -- optimisation - }, - - rock_pieces_BROWN = - { - prefab = "ROCK_PIECES", - environment = "outdoor", - theme_probs = { NATURE=60 }, - skin = { rock_w="BROWNHUG", rock_f="FLAT1_2", rock_h=12 }, - }, - - rock_pieces_WHITE = - { - prefab = "ROCK_PIECES", - environment = "outdoor", - theme_probs = { NATURE=20 }, - skin = { rock_w="GRAYBIG", rock_f="MFLR8_3", rock_h=6 }, - }, - - rock_pieces_ASH_HOLE = - { - prefab = "ROCK_PIECES", - environment = "outdoor", - theme_probs = { NATURE=60 }, - skin = { rock_f="FLAT5_7", rock_h=-6 }, - }, - - pentagram_RED = - { - prefab = "PENTAGRAM", - add_mode = "island", - theme_probs = { HELL=30 }, - skin = - { - gram_w="REDWALL", gram_f="FLAT5_3", - gram_h=12, gram_lt=240, kind=8, - gram_t="candle", - } - }, - - pentagram_LAVA = - { - prefab = "PENTAGRAM", - add_mode = "island", - theme_probs = { HELL=20 }, - skin = - { - gram_f="LAVA1", gram_h=-10, gram_lt=192, kind=0, - gram_t="none" - } - }, - - skylight_cross_sm_METAL = - { - prefab = "SKYLIGHT_CROSS_SMALL", - environment = "indoor", - add_mode = "island", - min_height = 80, - - skin = - { - sky_c = "F_SKY1", - frame_w = "METAL", frame_c = "CEIL5_2", - }, - - prob = 10, - }, - - crate_CRATE1 = - { - prefab = "CRATE", - - skin = - { - crate_h = 64, - crate_w = "CRATE1", - crate_f = "CRATOP2", - } - }, - - crate_CRATE2 = - { - prefab = "CRATE", - - skin = - { - crate_h = 64, - crate_w = "CRATE2", - crate_f = "CRATOP1", - } - }, - - crate_WIDE = - { - prefab = "CRATE_BIG", - - skin = - { - crate_h = 128, - crate_w = "CRATWIDE", - crate_f = "CRATOP1", - }, - - force_dir = 2, -- optimisation - }, - - crate_WOODSKUL = - { - prefab = "CRATE", - - skin = - { - crate_h = 64, - crate_w = "WOOD4", - crate_f = "CEIL1_1", - } - }, - - crate_rotate_CRATE1 = - { - prefab = "CRATE_ROTATE", - - skin = - { - crate_h = 64, - crate_w = "CRATE1", - crate_f = "CRATOP2", - } - }, - - crate_rotate_CRATE2 = - { - prefab = "CRATE_ROTATE", - - skin = - { - crate_h = 128, - crate_w = "CRATE2", - crate_f = "CRATOP1", - } - }, - - crate_rot22_CRATE1 = - { - prefab = "CRATE_ROTATE_22DEG", - - skin = - { - crate_h = 64, - crate_w = "CRATE1", - crate_f = "CRATOP2", - } - }, - - crate_rot22_CRATE2 = - { - prefab = "CRATE_ROTATE_22DEG", - - skin = - { - crate_h = 128, - crate_w = "CRATE2", - crate_f = "CRATOP1", - } - }, - - crate_triple_A = - { - prefab = "CRATE_TRIPLE", - add_mode = "island", - min_height = 144, - - skin = - { - crate_w1 = "CRATE1", crate_f1 = "CRATOP2", - crate_w2 = "CRATE1", crate_f2 = "CRATOP2", - crate_w3 = "CRATE2", crate_f3 = "CRATOP1", - small_w = "CRATELIT", small_f = "CRATOP1", - }, - }, - - crate_triple_B = - { - prefab = "CRATE_TRIPLE", - add_mode = "island", - min_height = 144, - - skin = - { - crate_w1 = "CRATE2", crate_f1 = "CRATOP1", - crate_w2 = "CRATE1", crate_f2 = "CRATOP2", - crate_w3 = "CRATE1", crate_f3 = "CRATOP2", - small_w = "CRATELIT", small_f = "CRATOP1", - }, - }, - - crate_rotnar_GRAY2 = - { - prefab = "CRATE_ROTATE_NARROW", - add_mode = "island", - - skin = - { - crate_h = 58, - crate_w = "GRAY2", - crate_f = "FLAT5_4" - } - }, - - cage_pillar_METAL = - { - prefab = "CAGE_PILLAR", - add_mode = "island", - min_height = 160, - is_cage = true, - - skin = - { - cage_w = "METAL", - cage_f = "CEIL5_2", cage_c = "TLITE6_4", - rail_w = "MIDGRATE", rail_h = 72, - }, - - prob = 3 - }, - -} - -HACX.FACTORY.DM_FEATURE_PREFABS = -{ - pillar_rnd_med_COMPSTA = - { - prefab = "PILLAR_ROUND_MEDIUM", - add_mode = "island", - - skin = { wall="COMPSTA1" }, - }, - - pillar_rnd_bg_COMPSTA = - { - prefab = "PILLAR_ROUND_LARGE", - add_mode = "island", - - skin = { wall="COMPSTA2" }, - - theme_probs = { TECH=30, INDUSTRIAL=10 }, - }, - - overhang1_WOOD = - { - prefab = "OVERHANG_1", - environment = "outdoor", - add_mode = "island", - min_height = 128, - max_height = 320, - - skin = - { - beam_w = "WOOD1", - hang_u = "WOOD1", - hang_c = "FLAT5_1", - }, - - pickup_specialness = 35, - theme_probs = { NATURE=40, URBAN=15 }, - }, - - overhang1_MARBLE = - { - prefab = "OVERHANG_1", - environment = "outdoor", - add_mode = "island", - min_height = 128, - max_height = 320, - - skin = - { - beam_w = "MARBLE1", - hang_u = "MARBLE3", - hang_c = "DEM1_6", - }, - - pickup_specialness = 35, - theme_probs = { HELL=25, NATURE=10 }, - }, - - street_lamp_1 = - { - prefab = "STREET_LAMP_TWO_SIDED", - environment = "outdoor", - add_mode = "island", - min_height = 160, - max_height = 512, - theme_probs = { URBAN=25, NATURE=5 }, - - skin = - { - lite_w="METAL", lite_c="CEIL1_2", - arm_w="BROWN1", arm_f="FLOOR3_3", - arm_u="BROWN96", arm_c="CEIL5_2", - beam_w="METAL" - }, - }, - - stalagmite_HUGE = - { - prefab = "STALAGMITE_HUGE", - environment = "indoor", - min_height = 144, - theme_probs = { CAVE=150 }, - skin = {}, - }, - - cave_in_FLOOR7 = - { - prefab = "CAVE_IN_SMALL", - environment = "indoor", - theme_probs = { CAVE=90 }, - skin = - { - rock_f="FLOOR7_1", -- rock_w="BROWN144", - sky_c="F_SKY1", - }, - }, - - pond_small_LAVA = - { - prefab = "POND_SMALL", - theme_probs = { CAVE=30 }, - skin = - { - pond_f="LAVA1", pond_w="ROCKRED1", - liquid_f="LAVA1", -- outer_w - kind=16 - }, - }, - ---[[ - rock_volcano_SPROCK_LAVA = - { - prefab = "ROCK_VOLCANO", - environment = "outdoor", - theme_probs = { NATURE=40 }, - min_height = 256, - skin = - { - rock_w="SP_ROCK1", rock_f="MFLR8_3", - liquid_w="ROCKRED1", liquid_f="LAVA1", - }, - }, ---]] - - leakage_pool_LAVA = - { - prefab = "LEAKAGE_POOL", - environment = "indoor", - min_height = 128, - max_height = 192, - theme_probs = { CAVE=90 }, - skin = { liquid_f="LAVA1", liquid_w="ROCKRED1", kind=16 }, - }, - - pump_vat_NUKAGE = - { - prefab = "PUMP_INTO_VAT", - environment = "indoor", - min_height = 160, - max_height = 256, - theme_probs = { INDUSTRIAL=40 }, - skin = - { - vat_w="SHAWN2", vat_f="FLAT23", - hose_w="PIPE2", hose_c="FLAT5", - liquid_w="SFALL1", liquid_f="NUKAGE1", - kind=16 - } - }, - - pump_vat_WATER = - { - prefab = "PUMP_INTO_VAT", - environment = "indoor", - min_height = 160, - max_height = 256, - theme_probs = { INDUSTRIAL=2 }, - skin = - { - vat_w="METAL", vat_f="CEIL5_2", - hose_w="METAL", hose_c="CEIL5_2", - liquid_w="FIREMAG1", liquid_f="FWATER1", - kind=0 - } - }, - - launch_pad_big_H = - { - prefab = "LAUNCH_PAD_LARGE", - environment = "outdoor", - add_mode = "island", - - skin = - { - pad_f="FLAT1", letter_f="CRATOP1", - outer_w="METAL1", outer_f="FLOOR4_8", - step_w="STEP1", side_w="METAL1", step_f="FLOOR4_8", - }, - - prob = 5, - pickup_specialness = 90, - force_dir = 2, -- optimisation - }, - - launch_pad_med_F = - { - prefab = "LAUNCH_PAD_MEDIUM", - environment = "outdoor", - add_mode = "island", - - skin = - { - pad_f="FLAT1", letter_f="CRATOP1", - outer_w="METAL1", outer_f="FLOOR4_8", - step_w="STEP1", side_w="METAL1", step_f="FLOOR4_8", - }, - - prob = 5, - pickup_specialness = 80, - force_dir = 4, -- optimisation - }, - - launch_pad_sml_S = - { - prefab = "LAUNCH_PAD_SMALL", - environment = "outdoor", - add_mode = "island", - - skin = - { - pad_f="FLAT1", letter_f="CRATOP1", - outer_w="METAL1", outer_f="FLOOR4_8", - step_w="STEP1", side_w="METAL1", step_f="FLOOR4_8", - }, - - prob = 5, - pickup_specialness = 80, - force_dir = 2, -- optimisation - }, - - tech_pickup_STONE = - { - prefab = "TECH_PICKUP_LARGE", - environment = "indoor", - add_mode = "island", - min_height = 224, - max_height = 320, - - skin = - { - wall="STONE2", floor="CEIL5_2", ceil="CEIL3_5", - lite_w="LITE5", sky_c="F_SKY1", - step_w="STEP1", carpet_f="FLOOR1_1", - }, - - prob = 5, - pickup_specialness = 100, - force_dir = 2, -- optimisation - }, - - liquid_pickup_NUKAGE = - { - prefab = "LIQUID_PICKUP", - min_height = 144, - max_height = 384, - - skin = - { - wall="METAL", floor="CEIL5_2", ceil="CEIL5_2", - - liquid_f="NUKAGE1", sky_c="F_SKY1", - }, - - prob = 5, - pickup_specialness = 95, - }, - - light_groovy_RED = - { - prefab = "LIGHT_GROOVY", - environment = "indoor", - add_mode = "island", - theme_probs = { TECH=50 }, - force_dir = 2, - - skin = - { - frame_c="CEIL5_2", frame_w="SKINSYMB", - lite_c="FLOOR1_7", - lite_lt=255, frame_lt=168, kind=8, - } - }, - - skylight_mega_METAL = - { - prefab = "SKYLIGHT_MEGA_1", - environment = "indoor", - add_mode = "island", - min_height = 96, - -- max_height = 304, ??? - - skin = - { - sky_c = "F_SKY1", - frame_w = "METAL", frame_c = "CEIL5_2", - beam_w = "METAL", beam_c = "CEIL5_2", - }, - - prob = 10, - }, - - crate_jumble = - { - prefab = "CRATE_JUMBLE", - add_mode = "island", - min_height = 224, - - skin = - { - tall_w = "CRATE1", tall_f = "CRATOP2", - wide_w = "CRATWIDE", wide_f = "CRATOP1", - - crate_w1 = "CRATE1", crate_f1 = "CRATOP2", - crate_w2 = "CRATE2", crate_f2 = "CRATOP1", - }, - - theme_probs = { INDUSTRIAL=20 }, - }, - - fountain_STONE = - { - prefab = "FOUNTAIN_SQUARE", - environment = "outdoor", - add_mode = "island", - - skin = - { - edge_w="STONE", edge_f="FLAT19", - beam_w="STONE", beam_f="FLAT1", - liquid_f="FWATER1", liquid_w="FIREMAG1", - }, - - theme_probs = { URBAN=90, NATURE=50, HELL=5 }, - }, - - cage_w_posts_WOOD_MIDGRATE = - { - prefab = "CAGE_OPEN_W_POSTS", - add_mode = "island", - min_height = 208, - is_cage = true, - - skin = - { - beam_w="SUPPORT3", beam_f="CEIL5_2", - cage_w="WOOD1", cage_f="FLAT5_2", - rail_w="MIDGRATE", rail_h=128, - }, - - prob = 4 - }, -} - -HACX.FACTORY.DM_WALL_PREFABS = -{ - solid_CEMENT4 = - { - prefab = "SOLID_WIDE", skin = { wall="CEMENT4" }, - }, - - solid_CEMENT5 = - { - prefab = "SOLID_WIDE", skin = { wall="CEMENT5" }, - }, - - solid_ICKWALL4 = - { - prefab = "SOLID", skin = { wall="ICKWALL4" }, - }, - - solid_ICKWALL5 = - { - prefab = "SOLID", skin = { wall="ICKWALL5" }, - }, - - solid_ICKWALL7 = - { - prefab = "SOLID", skin = { wall="ICKWALL7" }, - }, - - solid_PIPE4 = - { - prefab = "SOLID_WIDE", skin = { wall="PIPE4" }, - }, - - solid_SLADSKUL = - { - prefab = "SOLID", skin = { wall="SLADSKUL" }, - }, - - wall_lamp_RED_TORCH = - { - prefab = "WALL_LAMP", - skin = { lamp_t="red_torch_sm" }, - theme_probs = { CAVE=90, HELL=70 }, - }, - - wall_lamp_GREEN_TORCH = - { - prefab = "WALL_LAMP", - skin = { lamp_t="green_torch_sm" }, - theme_probs = { CAVE=90, HELL=30, URBAN=10 }, - }, - - wall_lamp_BLUE_TORCH = - { - prefab = "WALL_LAMP", - skin = { lamp_t="blue_torch_sm" }, - theme_probs = { CAVE=90, URBAN=20 }, - }, - - wall_pic_MARBFACE = - { - prefab = "WALL_PIC", - min_height = 160, - skin = { pic_w="MARBFACE", pic_h=128 }, - theme_probs = { HELL=90 }, - }, - - wall_pic_MARBFAC2 = - { - prefab = "WALL_PIC", - min_height = 160, - skin = { pic_w="MARBFAC2", pic_h=128 }, - theme_probs = { HELL=60, CAVE=10 }, - }, - - wall_pic_MARBFAC3 = - { - prefab = "WALL_PIC", - min_height = 160, - skin = { pic_w="MARBFAC3", pic_h=128 }, - theme_probs = { HELL=50, URBAN=5 }, - }, - - wall_pic_FIREWALL = - { - prefab = "WALL_PIC_SHALLOW", - min_height = 144, - skin = { pic_w="FIREWALL", pic_h=112 }, - theme_probs = { HELL=120 }, - }, - - wall_pic_SPDUDE1 = - { - prefab = "WALL_PIC", - min_height = 160, - skin = { pic_w="SP_DUDE1", pic_h=128 }, - }, - - wall_pic_SPDUDE2 = - { - prefab = "WALL_PIC", - min_height = 160, - skin = { pic_w="SP_DUDE2", pic_h=128 }, - }, - - wall_scroll_FACES = - { - prefab = "WALL_PIC_SCROLLER", - min_height = 144, - theme_probs = { HELL=4 }, - skin = { pic_w="SP_FACE1", pic_h=96, kind=48 }, - }, - - wall_scroll_SPINE = - { - prefab = "WALL_PIC_SCROLLER", - min_height = 144, - theme_probs = { HELL=8 }, - skin = { pic_w="SKSPINE2", pic_h=96, kind=48 }, - }, - - wall_cross_RED = - { - prefab = "WALL_CROSS", - min_height = 160, - theme_probs = { HELL=200 }, - skin = - { - cross_w="REDWALL", back_w="REDWALL", - cross_f="FLAT5_3", - cross_lt=255, kind=0, - }, - }, - - lights_thin_LITE5 = - { - prefab = "WALL_LIGHTS_THIN", - min_height = 128, - theme_probs = { TECH=40, INDUSTRIAL=10 }, - skin = - { - lite_w="LITE5", lite_side="LITE5", - frame_f="FLAT20", - wall_lt=255, kind=8, - }, - }, - - lights_wide_LITEBLU4 = - { - prefab = "WALL_LIGHTS_WIDE", - min_height = 128, - theme_probs = { INDUSTRIAL=40 }, - skin = - { - lite_w="LITEBLU4", lite_side="LITEBLU4", - frame_f="FLAT22", - wall_lt=255, kind=8, - }, - }, -} - -HACX.FACTORY.DM_ARCH_PREFABS = -{ - arch_fence = - { - prefab = "ARCH_FENCE", --- environment = "outdoor", - skin = {}, - }, - - arch_wire_fence = - { - prefab = "ARCH_WIRE_FENCE", --- environment = "outdoor", - skin = {}, - }, -} - -HACX.FACTORY.DM_DOOR_PREFABS = -{ - backup_plan = - { - w=64, h=112, prefab="DOOR_SUPER_NARROW", - - skin = - { - door_w="SPCDOOR1", door_c="FLAT1", - track_w="DOORTRAK", - door_h=112, - door_kind=1, tag=0, - }, - }, - - silver_lit = - { - w=128, h=112, prefab="DOOR_LIT", - - skin = - { - door_w="BIGDOOR2", door_c="FLAT1", - lite_w="LITE5", step_w="STEP1", - frame_f="FLAT1", frame_c="TLITE6_6", - track_w="DOORTRAK", - door_h=112, - door_kind=1, tag=0, - }, - - theme_probs = { INDUSTRIAL=70,TECH=70,URBAN=10 }, - }, - - uac_lit = -- actual height is 96 - { - w=128, h=72, prefab="DOOR_LIT", - - skin = - { - door_w="BIGDOOR1", door_c="FLAT23", - lite_w="LITE5", step_w="STEP1", - frame_f="FLAT1", frame_c="TLITE6_6", - track_w="DOORTRAK", - door_h=72, - door_kind=1, tag=0, - }, - - theme_probs = { INDUSTRIAL=20,TECH=50 }, - }, - - wooden = - { - w=128, h=112, prefab="DOOR", - - skin = - { - door_w="BIGDOOR5", door_c="FLAT5_2", - lite_w="LITE5", step_w="STEP1", - frame_f="FLAT1", frame_c="FLAT1", - track_w="DOORTRAK", - door_h=112, - door_kind=1, tag=0, - }, - - theme_probs = { URBAN=70,CAVE=30,HELL=5 } - }, - - wood_garg = - { - w=128, h=112, prefab="DOOR", - - skin = - { - door_w="BIGDOOR6", door_c="CEIL5_2", - lite_w="LITE5", step_w="STEP1", - frame_f="FLAT1", frame_c="FLAT1", - track_w="DOORTRAK", - door_h=112, - door_kind=1, tag=0, - }, - - theme_probs = { CAVE=50,HELL=30 }, - }, - - wood_skull = - { - w=128, h=112, prefab="DOOR", - - skin = - { - door_w="BIGDOOR7", door_c="CEIL5_2", - lite_w="LITE5", step_w="STEP1", - frame_f="FLAT1", frame_c="FLAT1", - track_w="DOORTRAK", - door_h=112, - door_kind=1, tag=0, - }, - - theme_probs = { HELL=90,CAVE=5 }, - }, - -} - -HACX.FACTORY.DM_WINDOW_PREFABS = -{ - window_narrow = - { - prefab = "WINDOW_NARROW", - skin = { }, - }, - - window_rail_nar_MIDGRATE = - { - prefab = "WINDOW_RAIL_NARROW", - skin = { rail_w="MIDGRATE" }, - }, - - window_cross_big = - { - prefab = "WINDOW_CROSS_BIG", - skin = { }, - }, -} - -HACX.FACTORY.DM_MISC_PREFABS = -{ - pedestal_PLAYER = - { - prefab = "PEDESTAL", - skin = { wall="SHAWN2", floor="FLAT22", ped_h=8 }, - }, - - pedestal_ITEM = - { - prefab = "PEDESTAL", - skin = { wall="METAL", floor="CEIL1_2", ped_h=12 }, - }, - - fence_wire_STD = - { - prefab = "FENCE_RAIL", - skin = { rail_w="BRNSMALC" }, - }, - - arch_arched = - { - prefab = "ARCH_ARCHED", skin = {}, - }, - - arch_hole = - { - prefab = "ARCH_HOLE1", skin = {}, - }, - - arch_russian_WOOD = - { - prefab = "ARCH_RUSSIAN", - skin = { beam_w="WOOD1", beam_c="FLAT5_2" }, - }, - - fence_beam_BLUETORCH = - { - prefab = "FENCE_BEAM_W_LAMP", - - skin = { lamp_t="blue_torch", beam_h=72, - beam_w="METAL", beam_f="CEIL5_2", - }, - }, - - image_1 = - { - prefab = "CRATE", - add_mode = "island", - skin = { crate_h=64, crate_w="CEMENT2", crate_f="MFLR8_3" }, - }, - - image_2 = - { - prefab = "WALL_PIC_SHALLOW", - add_mode = "wall", - min_height = 144, - skin = { pic_w="CEMENT1", pic_h=128 }, - }, - - exit_DOOR = - { - w=64, h=72, - - prefab = "EXIT_DOOR", - - skin = - { - door_w = "EXITDOOR", door_c = "CEIL5_2", - exit_w = "EXITSIGN", exit_c = "CEIL5_2", - - step_w="STEP1", track_w="DOORTRAK", - frame_f="FLAT1", frame_c="TLITE6_5", - door_h=72, - door_kind=1, tag=0, - } - }, - - exit_DOOR_WIDE = - { - w=64, h=72, - - prefab = "EXIT_DOOR_WIDE", - - skin = - { - front_w = "EXITSTON", - door_w = "EXITDOOR", door_c = "CEIL5_2", - exit_w = "EXITSIGN", exit_c = "CEIL5_2", - - step_w="STEP1", track_w="DOORTRAK", - frame_f="FLAT1", frame_c="TLITE6_5", - door_h=72, - door_kind=1, tag=0, - } - }, - - secret_DOOR = - { - w=128, h=128, prefab = "DOOR", - - skin = { track_w="DOORSTOP", door_h=128, - door_kind=31, tag=0, - } - }, -} - -HACX.FACTORY.DM_DEATHMATCH_EXITS = -{ - exit_deathmatch_TECH = - { - prefab = "EXIT_DEATHMATCH", - - skin = { wall="TEKWALL4", front_w="TEKWALL4", - floor="CEIL4_3", ceil="TLITE6_5", - switch_w="SW1COMM", side_w="SHAWN2", switch_f="FLAT23", - frame_f="FLAT1", frame_c="FLAT1", step_w="STEP1", - door_w="EXITDOOR", door_c="FLAT1", track_w="DOORTRAK", - - inside_h=80, door_h=72, - switch_yo=0, - door_kind=1, tag=0, switch_kind=11 - }, - }, - - exit_deathmatch_METAL = - { - prefab = "EXIT_DEATHMATCH", - - skin = { wall="METAL1", front_w="METAL1", - floor="FLOOR5_1", ceil="CEIL5_1", - switch_w="SW1BLUE", side_w="COMPBLUE", switch_f="FLAT14", - frame_f="FLOOR5_1", frame_c="TLITE6_6", step_w="STEP1", - door_w="EXITDOOR", door_c="FLAT1", track_w="DOORTRAK", - - inside_h=80, door_h=72, - switch_yo=56, - door_kind=1, tag=0, switch_kind=11 - }, - }, - - exit_deathmatch_STONE = - { - prefab = "EXIT_DEATHMATCH", - - skin = { wall="STONE2", front_w="EXITSTON", - floor="FLOOR7_2", ceil="FLAT1", - switch_w="SW1HOT", side_w="SP_HOT1", switch_f="FLAT5_3", - frame_f="FLOOR5_1", frame_c="TLITE6_6", step_w="STEP1", - door_w="EXITDOOR", door_c="FLAT1", track_w="DOORTRAK", - - inside_h=80, door_h=72, - switch_yo=56, - door_kind=1, tag=0, switch_kind=11 - }, - }, -} - - - -HACX.FACTORY.DM_ROOMS = -{ - PLAIN = - { - }, - - HALLWAY = - { - liquid_prob = 0, - - room_heights = { [96]=50, [128]=50 }, - door_probs = { out_diff=75, combo_diff=50, normal=5 }, - window_probs = { out_diff=1, combo_diff=1, normal=1 }, - space_range = { 33, 66 }, - }, - - SCENIC = - { - }, - - WAREHOUSE = - { - space_range = { 80, 99 }, - - pf_count = { 6,12 }, - - -- crate it up baby! - sc_fabs = - { - crate_CRATE1 = 50, crate_triple_A = 40, - crate_CRATE2 = 50, crate_triple_B = 40, - crate_WIDE = 20, - - crate_rotate_CRATE1 = 10, crate_rot22_CRATE1 = 20, - crate_rotate_CRATE2 = 20, crate_rot22_CRATE2 = 10, - - other = 20 - }, - }, - - WAREHOUSE2 = - { - }, - -} - -HACX.FACTORY.DM_THEMES = -{ ---[[ - (a) nature (outdoor, grassy/rocky/muddy, water) - (b) urban (outdoor, bricks/concrete, slime) - - (c) gothic (indoor, gstone, blood, castles) - (d) tech (indoor, computers, lights, lifts) - (e) cave (indoor, rocky/ashy, darkness, lava) - (f) industrial (indoor, machines, lifts, crates, nukage) - - (h) hell (indoor+outdoor, fire/lava, bodies, blood) ---]] - - URBAN = - { - room_probs= - { - PLAIN=40, WAREHOUSE2=10, WAREHOUSE=10, PRISON=5, - }, - - exit_probs= - { - STONE=70, BROWN=50, - }, - - monster_prefs = - { - zombie=2.0, shooter=2.0, gunner=2.0, - }, - }, - - - INDUSTRIAL = - { - room_probs= - { - PLAIN=30, PLANT=90, WAREHOUSE=50, COMPUTER=5, - }, - - exit_probs= - { - BROWN=50, TECH=20, STONE=10, BLUE=5, - }, - - monster_prefs = - { - caco=2.0, barrel=4.0, - }, - }, - - - TECH = - { - room_probs= - { - PLAIN=20, COMPUTER=25, WAREHOUSE=5, - }, - - exit_probs= - { - TECH=50, BLUE=50, STARTAN=50, BROWN=5, - }, - - monster_prefs = - { - zombie=2.0, shooter=2.0, gunner=2.0, - barrel=2.7, - }, - }, - - - NATURE = - { - room_probs= - { - PLAIN=50, - }, - - exit_probs= - { - STONE=40, BROWN=20, - }, - - monster_prefs = - { - demon=2.5, knight=2.0, baron=2.0, pain=2.0, - barrel=0.5, - }, - - door_probs = { out_diff=75, combo_diff=10, normal=5 }, - window_probs = { out_diff=75, combo_diff=40, normal=40 }, - space_range = { 50, 90 }, - - prefer_stairs = true, - trim_mode = "rough_hew", - }, - - - CAVE = - { - room_probs= - { - PLAIN=25, WAREHOUSE2=10, TORTURE=5, PRISON=20 - }, - - exit_probs= - { - BROWN=50, STONE=10, - }, - - room_heights = { [96]=50, [128]=50 }, - - monster_prefs = - { - imp=3.0, skull=2.0, revenant=2.0, - barrel=0.5, - }, - - diff_probs = { [0]=10, [16]=40, [32]=80, [64]=60, [96]=20 }, - bump_probs = { [0]=5, [16]=30, [32]=30, [64]=20 }, - door_probs = { out_diff=10, combo_diff= 3, normal=1 }, - window_probs = { out_diff=20, combo_diff=30, normal=5 }, - space_range = { 1, 50 }, - - prefer_stairs = true, - trim_mode = "rough_hew", - }, - - - HELL = - { - room_probs= - { - PLAIN=20, TORTURE=25, PRISON=10, - }, - - exit_probs= - { - STONE=10, BROWN=10, BLOODY=50, - }, - - monster_prefs = - { - zombie=0.2, shooter=0.5, gunner=0.5, - spectre=2.0, vile=2.0, arach=2.0, - }, - }, - - - WOLF = - { - room_probs= - { - PLAIN=50, - }, - - monster_prefs = - { - -- the SS guard normally has a very low probability, hence - -- we need a very large multiplier to make him dominant. - ss_dude=5000, - }, - }, -} - -HACX.FACTORY.DM_QUEST_LEN_PROBS = -{ - ---------- 2 3 4 5 6 7 8 9 10 ------- - - key = { 0, 17, 50, 90, 65, 30, 10, 2 }, - exit = { 0, 17, 50, 90, 65, 30, 10, 2 }, - - switch = { 0, 50, 90, 50, 25, 5, 1 }, - - weapon = { 25, 90, 50, 10, 2 }, - item = { 15, 70, 70, 15, 2 }, -} - - ------------------------------------------------------------- - --- Monster list --- ============ --- --- r : radius --- h : height --- hp : health-points --- dm : damage can inflict per second (rough approx) --- fp : firepower needed by player - -HACX.FACTORY.DM_MONSTERS = -{ - -- FIXME: probs for CLOSET/DEPOT - zombie = { prob=60, hp=20, dm=4, fp=1.0, cage_fallback=14, hitscan=true, }, - shooter = { prob=40, hp=30, dm=10, fp=1.3, cage_prob= 8, hitscan=true, }, - - imp = { prob=80, hp=60, dm=20, fp=1.6, cage_prob=50, }, - caco = { prob=80, hp=400, dm=45, fp=2.0, cage_prob=14, float=true }, - baron = { prob=50, hp=1000,dm=45, fp=3.8, cage_prob= 3, }, - - -- MELEE only monsters - demon = { prob=45, hp=150, dm=25, fp=2.3, cage_prob=66,melee=true }, - spectre = { prob=20, hp=150, dm=25, fp=2.3, cage_prob=40,melee=true }, - skull = { prob=14, hp=100, dm=7, fp=2.6, cage_prob= 2, melee=true, float=true }, - - barrel = { prob=17, hp=10, dm=2, fp=1.0, melee=true, passive=true }, -} - -HACX.FACTORY.DM_BOSSES = -{ - -- special monsters (only for boss levels) - cyber = { hp=4000,dm=150, fp=4.0 }, - spider = { hp=3000,dm=200, fp=4.0, hitscan=true }, - - -- FIXME: added just for kicks - keen = { hp=300, dm=1, fp=2.0 }, -} - -HACX.FACTORY.D2_MONSTERS = -{ - gunner = { prob=17, hp=70, dm=40, fp=2.5, hitscan=true, cage_prob=70, }, - ss_dude = { prob=0.1,hp=50, dm=15, fp=2.4, hitscan=true, cage_prob=1 }, - - revenant = { prob=70, hp=300, dm=55, fp=2.9, cage_prob=50, }, - knight = { prob=70, hp=500, dm=45, fp=2.9, cage_prob=50, }, - mancubus = { prob=95, hp=600, dm=80, fp=3.5, cage_prob=88, }, - - arach = { prob=36, hp=500, dm=70, fp=2.5, cage_prob=95, }, - vile = { prob=20, hp=700, dm=50, fp=3.7, cage_prob=12, hitscan=true }, - pain = { prob=14, hp=400, dm=88, fp=3.0, float=true }, -} - -HACX.FACTORY.DM_MONSTER_GIVE = -{ - zombie = { { ammo="bullet", give=10 } }, - shooter = { { weapon="shotty" } }, - gunner = { { weapon="chain" } } -} - --- Weapon list --- =========== --- --- fp : firepower level --- per : ammo per shot --- rate : firing rate (shots per second) --- dm : damage can inflict per shot --- freq : usage frequency (in the ideal) --- held : already held at level start - -HACX.FACTORY.DM_WEAPONS = -{ - fist = { fp=0, melee=true, rate=1.5, dm=10, freq=0.1, held=true }, - - saw = { fp=1, melee=true, rate=8.7, dm=10, freq=3 }, - berserk = { fp=1, melee=true, rate=1.5, dm=50, freq=6 }, - - pistol = { fp=1, ammo="bullet", per=1, rate=1.8, dm=10 , freq=10, held=true }, - shotty = { fp=2, ammo="shell", give=8, per=1, rate=0.9, dm=70 , freq=81 }, - - super = { fp=3, ammo="shell", give=8, per=2, rate=0.6, dm=170, freq=50 }, - chain = { fp=3, ammo="bullet", give=20,per=1, rate=8.5, dm=10 , freq=91 }, - - launch = { fp=4, ammo="rocket", give=2, per=1, rate=1.7, dm=90, freq=50, dangerous=true }, - plasma = { fp=4, ammo="cell", give=40,per=1, rate=11, dm=22 , freq=80 }, - bfg = { fp=5, ammo="cell", give=40,per=40,rate=0.8, dm=450, freq=30 }, - - -- Note: Berserk is not really an extra weapon, but a powerup - -- which makes fist do much more damage. The effect lasts till - -- the end of the level, so a weapon is a pretty good fit. -} - --- sometimes a certain weapon is preferred against a certain monster. --- These values are multiplied with the weapon's "freq" field. - -HACX.FACTORY.DM_MONSTER_WEAPON_PREFS = -{ - zombie = { shotty=6.0 }, - shooter = { shotty=6.0 }, - imp = { shotty=6.0 }, - demon = { super=3.0, launch=0.3 }, - spectre = { super=3.0, launch=0.3 }, - - pain = { launch=0.1 }, - skull = { launch=0.1 }, - - cyber = { launch=3.0, bfg=6.0 }, - spider = { launch=3.0, bfg=9.0 }, -} - - --- Pickup List --- =========== - -HACX.FACTORY.DM_PICKUPS = -{ - bullets = { stat="bullet", give=10, prob=10 }, - bullet_box = { stat="bullet", give=50, prob=70, clu_max=1 }, - shells = { stat="shell", give= 4, prob=30 }, - shell_box = { stat="shell", give=20, prob=70, clu_max=3 }, - - rockets = { stat="rocket", give= 1, prob=20 }, - rocket_box = { stat="rocket", give= 5, prob=70, clu_max=1 }, - cells = { stat="cell", give=20, prob=30 }, - cell_pack = { stat="cell", give=100,prob=70, clu_max=1 }, - - potion = { stat="health", give=1, prob=20 }, - stimpack = { stat="health", give=10, prob=40 }, - medikit = { stat="health", give=25, prob=70, clu_max=1 }, - soul = { stat="health", give=100,prob=15, clu_max=1, limit=200 }, - - -- BERSERK and MEGA are quest items - - helmet = { stat="armor", give= 1, limit=200 }, - green_armor = { stat="armor", give= 100, limit=100, clu_max=1 }, - blue_armor = { stat="armor", give= 200, limit=200, clu_max=1 }, - - -- Note: armor is handled with special code, since - -- BLUE ARMOR is a quest item. - - -- Note 2: the BACKPACK is a quest item -} - -HACX.FACTORY.DM_NICENESS = -{ - w1 = { weapon="shotty", quest=1, prob=70, always=true }, - w2 = { weapon="chain", quest=3, prob=20, always=false }, - w3 = { weapon="plasma", quest=5, prob=35, always=true }, - - p1 = { pickup="green_armor", prob=2.0 }, -} - - --- DeathMatch stuff --- ================ - -HACX.FACTORY.DM_DEATHMATCH = -{ - weapons = - { - shotty=60, super=40, chain=40, launch=40, - plasma=20, saw=10, bfg=3 - }, - - health = - { - potion=30, stimpack=60, medikit=20, - helmet=20 - }, - - ammo = - { - bullets=5, bullet_box=30, - shells=60, shell_box=5, - rockets=10, rocket_box=20, - cells=40, cell_pack=1, - }, - - items = - { - invis=40, goggle=10, berserk=50, - soul=5, green_armor=40, blue_armor=5, - }, - - max_clu = - { - potion = 8, helmet = 8, - stimpack = 4, medikit = 2, - bullets = 4, shells = 4, - rockets = 4, - }, - - min_clu = - { - potion = 3, helmet = 3, - bullets = 2, rockets = 2, - }, -} - -HACX.FACTORY.DM_INITIAL_MODEL = -{ - doomguy = - { - -- Note: bullet numbers are understated (should be 50) - -- so that the player isn't forced to empty the pistol. - - health=100, armor=0, - bullet=20, shell=0, rocket=0, cell=0, - fist=true, pistol=true, - } -} - -HACX.FACTORY.DM_THINGS = -{ - --- PLAYERS --- - - player1 = { id=1, kind="other", r=16,h=56 }, - player2 = { id=2, kind="other", r=16,h=56 }, - player3 = { id=3, kind="other", r=16,h=56 }, - player4 = { id=4, kind="other", r=16,h=56 }, - - dm_player = { id=11, kind="other", r=16,h=56 }, - teleport_spot = { id=14, kind="other", r=16,h=56 }, - - --- MONSTERS --- - - zombie = { id=3004,kind="monster", r=20,h=56 }, - shooter = { id=9, kind="monster", r=20,h=56 }, - gunner = { id=65, kind="monster", r=20,h=56 }, - imp = { id=3001,kind="monster", r=20,h=56 }, - - caco = { id=3005,kind="monster", r=31,h=56 }, - revenant = { id=66, kind="monster", r=20,h=64 }, - knight = { id=69, kind="monster", r=24,h=64 }, - baron = { id=3003,kind="monster", r=24,h=64 }, - - mancubus = { id=67, kind="monster", r=48,h=64 }, - arach = { id=68, kind="monster", r=66,h=64 }, - pain = { id=71, kind="monster", r=31,h=56 }, - vile = { id=64, kind="monster", r=20,h=56 }, - demon = { id=3002,kind="monster", r=30,h=56 }, - spectre = { id=58, kind="monster", r=30,h=56 }, - skull = { id=3006,kind="monster", r=16,h=56 }, - - spider = { id=7, kind="monster", r=128,h=100 }, - cyber = { id=16, kind="monster", r=40, h=110 }, - ss_dude = { id=84, kind="monster", r=20, h=56 }, - keen = { id=72, kind="monster", r=16, h=72, ceil=true }, - - --- PICKUPS --- - - k_red = { id=38, kind="pickup", r=20,h=16, pass=true }, - k_yellow = { id=39, kind="pickup", r=20,h=16, pass=true }, - k_blue = { id=40, kind="pickup", r=20,h=16, pass=true }, - - kc_blue = { id=5, kind="pickup", r=20,h=16, pass=true }, - kc_yellow = { id=6, kind="pickup", r=20,h=16, pass=true }, - kc_red = { id=13, kind="pickup", r=20,h=16, pass=true }, - - shotty = { id=2001, kind="pickup", r=20,h=16, pass=true }, - super = { id= 82, kind="pickup", r=20,h=16, pass=true }, - chain = { id=2002, kind="pickup", r=20,h=16, pass=true }, - launch = { id=2003, kind="pickup", r=20,h=16, pass=true }, - plasma = { id=2004, kind="pickup", r=20,h=16, pass=true }, - saw = { id=2005, kind="pickup", r=20,h=16, pass=true }, - bfg = { id=2006, kind="pickup", r=20,h=16, pass=true }, - - backpack = { id= 8, kind="pickup", r=20,h=16, pass=true }, - mega = { id= 83, kind="pickup", r=20,h=16, pass=true }, - invul = { id=2022, kind="pickup", r=20,h=16, pass=true }, - berserk = { id=2023, kind="pickup", r=20,h=16, pass=true }, - invis = { id=2024, kind="pickup", r=20,h=16, pass=true }, - suit = { id=2025, kind="pickup", r=20,h=60, pass=true }, - map = { id=2026, kind="pickup", r=20,h=16, pass=true }, - goggle = { id=2045, kind="pickup", r=20,h=16, pass=true }, - - potion = { id=2014, kind="pickup", r=20,h=16, pass=true }, - stimpack = { id=2011, kind="pickup", r=20,h=16, pass=true }, - medikit = { id=2012, kind="pickup", r=20,h=16, pass=true }, - soul = { id=2013, kind="pickup", r=20,h=16, pass=true }, - - helmet = { id=2015, kind="pickup", r=20,h=16, pass=true }, - green_armor = { id=2018, kind="pickup", r=20,h=16, pass=true }, - blue_armor = { id=2019, kind="pickup", r=20,h=16, pass=true }, - - bullets = { id=2007, kind="pickup", r=20,h=16, pass=true }, - bullet_box = { id=2048, kind="pickup", r=20,h=16, pass=true }, - shells = { id=2008, kind="pickup", r=20,h=16, pass=true }, - shell_box = { id=2049, kind="pickup", r=20,h=16, pass=true }, - rockets = { id=2010, kind="pickup", r=20,h=16, pass=true }, - rocket_box = { id=2046, kind="pickup", r=20,h=16, pass=true }, - cells = { id=2047, kind="pickup", r=20,h=16, pass=true }, - cell_pack = { id= 17, kind="pickup", r=20,h=16, pass=true }, - - - --- SCENERY --- - - -- lights -- - lamp = { id=2028,kind="scenery", r=16,h=48, light=255, }, - mercury_lamp = { id=85, kind="scenery", r=16,h=80, light=255, }, - short_lamp = { id=86, kind="scenery", r=16,h=60, light=255, }, - tech_column = { id=48, kind="scenery", r=16,h=128,light=255, }, - - candle = { id=34, kind="scenery", r=16,h=16, light=111, pass=true }, - candelabra = { id=35, kind="scenery", r=16,h=56, light=255, }, - burning_barrel = { id=70, kind="scenery", r=16,h=44, light=255, }, - - blue_torch = { id=44, kind="scenery", r=16,h=96, light=255, }, - blue_torch_sm = { id=55, kind="scenery", r=16,h=72, light=255, }, - green_torch = { id=45, kind="scenery", r=16,h=96, light=255, }, - green_torch_sm = { id=56, kind="scenery", r=16,h=72, light=255, }, - red_torch = { id=46, kind="scenery", r=16,h=96, light=255, }, - red_torch_sm = { id=57, kind="scenery", r=16,h=72, light=255, }, - - -- decoration -- - barrel = { id=2035, kind="scenery", r=12, h=44 }, - - green_pillar = { id=30, kind="scenery", r=16,h=56, }, - green_column = { id=31, kind="scenery", r=16,h=40, }, - green_column_hrt = { id=36, kind="scenery", r=16,h=56, add_mode="island" }, - - red_pillar = { id=32, kind="scenery", r=16,h=52, }, - red_column = { id=33, kind="scenery", r=16,h=56, }, - red_column_skl = { id=37, kind="scenery", r=16,h=56, add_mode="island" }, - - burnt_tree = { id=43, kind="scenery", r=16,h=56, add_mode="island" }, - brown_stub = { id=47, kind="scenery", r=16,h=56, add_mode="island" }, - big_tree = { id=54, kind="scenery", r=31,h=120,add_mode="island" }, - - -- gore -- - evil_eye = { id=41, kind="scenery", r=16,h=56, add_mode="island" }, - skull_rock = { id=42, kind="scenery", r=16,h=48, }, - skull_pole = { id=27, kind="scenery", r=16,h=52, }, - skull_kebab = { id=28, kind="scenery", r=20,h=64, }, - skull_cairn = { id=29, kind="scenery", r=20,h=40, add_mode="island" }, - - impaled_human = { id=25,kind="scenery", r=20,h=64, }, - impaled_twitch = { id=26,kind="scenery", r=16,h=64, }, - - gutted_victim1 = { id=73, kind="scenery", r=16,h=88, ceil=true }, - gutted_victim2 = { id=74, kind="scenery", r=16,h=88, ceil=true }, - gutted_torso1 = { id=75, kind="scenery", r=16,h=64, ceil=true }, - gutted_torso2 = { id=76, kind="scenery", r=16,h=64, ceil=true }, - gutted_torso3 = { id=77, kind="scenery", r=16,h=64, ceil=true }, - gutted_torso4 = { id=78, kind="scenery", r=16,h=64, ceil=true }, - - hang_arm_pair = { id=59, kind="scenery", r=20,h=84, ceil=true, pass=true }, - hang_leg_pair = { id=60, kind="scenery", r=20,h=68, ceil=true, pass=true }, - hang_leg_gone = { id=61, kind="scenery", r=20,h=52, ceil=true, pass=true }, - hang_leg = { id=62, kind="scenery", r=20,h=52, ceil=true, pass=true }, - hang_twitching = { id=63, kind="scenery", r=20,h=68, ceil=true, pass=true }, - - gibs = { id=24, kind="scenery", r=20,h=16, pass=true }, - gibbed_player = { id=10, kind="scenery", r=20,h=16, pass=true }, - pool_blood_1 = { id=79, kind="scenery", r=20,h=16, pass=true }, - pool_blood_2 = { id=80, kind="scenery", r=20,h=16, pass=true }, - pool_brains = { id=81, kind="scenery", r=20,h=16, pass=true }, - - -- Note: id=12 exists, but is exactly the same as id=10 - - dead_player = { id=15, kind="scenery", r=16,h=16, pass=true }, - dead_zombie = { id=18, kind="scenery", r=16,h=16, pass=true }, - dead_shooter = { id=19, kind="scenery", r=16,h=16, pass=true }, - dead_imp = { id=20, kind="scenery", r=16,h=16, pass=true }, - dead_demon = { id=21, kind="scenery", r=16,h=16, pass=true }, - dead_caco = { id=22, kind="scenery", r=16,h=16, pass=true }, - dead_skull = { id=23, kind="scenery", r=16,h=16, pass=true }, -} - -HACX.FACTORY.D2_COMBOS = -{ - ---- URBAN ------------ - - URBAN_PANEL = - { - theme_probs = { URBAN=50 }, - mat_pri = 6, - - wall = "PANEL7", - floor = "FLOOR5_4", - ceil = "CEIL1_2", - - step = "STEP2", - pillar = "PANBLUE", - pic_wd = "SPACEW3", - - scenery = { candelabra=6, evil_eye=3 }, - - -- FIXME: 'LIBRARY" room type - sc_fabs = { bookcase_WIDE=50, other=30 }, - - wall_fabs = { solid_PANEL8=30, solid_PANEL9=30, other=50 }, - }, - - URBAN_BRICK = - { - theme_probs = { URBAN=30 }, - mat_pri = 6, - - wall = "BRICK7", - floor = "FLOOR0_7", - ceil = "CEIL5_2", - - step = "STEP1", - pillar = "BRICKLIT", - pic_wd = "BRWINDOW", - - scenery = { red_torch=5, red_torch_sm=3 }, - bad_liquid = "slime", - }, - - URBAN_BRICK2 = - { - theme_probs = { URBAN=20 }, - mat_pri = 6, - - wall = "BIGBRIK1", - void = "BIGBRIK3", - step = "STEP1", - pillar = "BRICK12", - - floor = "RROCK12", - ceil = "FLAT1", - - scenery = { green_torch=5, green_torch_sm=3 }, - }, - - URBAN_STUCCO = - { - theme_probs = { URBAN=30 }, - mat_pri = 2, - - wall = "STUCCO3", - floor = "FLAT8", - ceil = "CEIL3_5", - - sc_fabs = { pillar_PANBLUE=20, pillar_PANRED=20, other=70 }, - - wall_fabs = { solid_STUCCO2=30, other=60 }, - }, - - URBAN_GREENBRK = - { - theme_probs = { URBAN=40 }, - outdoor = true, - mat_pri = 2, - - wall = "BRICK10", - floor = "RROCK14", - ceil = "GRNROCK", - - step = "STEP5", -- BIGBRIK1 - }, - - URBAN_BLACK = - { - theme_probs = { URBAN=20 }, - outdoor = true, - mat_pri = 6, - - wall = "BLAKWAL1", - floor = "MFLR8_4", - ceil = "MFLR8_4", - - step = "STEP4", - - piller = "STONE5", - pic_wd = "MODWALL2", pic_wd_h = 64, -- FIXME - - scenery = { skull_rock=5, brown_stub=3, evil_eye=5 }, - }, - - ---- INDUSTRIAL ------------ - - INDY_STONE4 = - { - theme_probs = { INDUSTRIAL=15 }, - mat_pri = 2, - - wall = "STONE4", - floor = "FLAT5_5", - ceil = "FLAT1", - - step = "STEP1", - }, - - ---- TECH ----------------- - - TECH_BLUECARPET = - { - theme_probs = { TECH=20 }, - mat_pri = 4, - - wall = "TEKGREN2", - floor = "FLOOR1_1", - ceil = "FLAT4", - - step = "STEP1", - pillar = "TEKLITE2", -- TODO: doom 1: "COMPUTE1" - - pic_wd = "COMPSTA1", pic_wd_h = 64, - - scenery = { mercury_lamp=5, short_lamp=5 }, - bad_liquid = "water", - - sc_fabs = { crate_rotnar_SILVER=30, other=50 }, - - wall_fabs = { solid_TEKGREN3=30, solid_TEKGREN4=30, other=30 }, - }, - - ---- HELL ---------------- - - HELL_MARBLE = - { - theme_probs = { HELL=70 }, - mat_pri = 6, - - wall = "MARBLE2", - floor = "GRNROCK", - ceil = "RROCK04", - - lift = "SKSPINE1", - lift_floor = "FLAT5_6", - - step = "STEP1", - pic_wd = "SP_DUDE1", - - scenery = { red_pillar=5, red_column=5, red_column_skl=5 }, - - bad_liquid = "nukage", - good_liquid = "blood", - - sc_fabs = { pillar_MARBFAC4=30, other=50 }, - }, - - HELL_GRAY = - { - theme_probs = { HELL=70 }, - mat_pri = 6, - - wall = "MARBGRAY", - floor = "DEM1_6", - ceil = "CEIL1_1", - - lift = "SKSPINE1", - lift_floor = "FLAT5_6", - - step = "STEP1", - pic_wd = "SP_DUDE1", - - scenery = "red_torch", - - bad_liquid = "nukage", - good_liquid = "blood", - ---- sc_fabs = { pillar_MARBFAC4=30, other=50 }, - }, - - - ---- CAVE ---------------- - - CAVE_ASH = - { - theme_probs = { CAVE=30 }, - mat_pri = 2, - - wall = "ASHWALL2", - floor = "FLOOR6_2", - ceil = "FLAT5_8", - - arch = "arch_russian_WOOD", - - sc_fabs = { stalagmite_MED=40, other=10 }, - }, - - CAVE_ZIMMER = - { - theme_probs = { CAVE=10 }, - mat_pri = 2, - - wall = "ZIMMER4", - floor = "RROCK04", - ceil = "RROCK03", - - arch = "arch_hole", - - sc_fabs = { stalagmite_MED=40, other=10 }, - }, - - CAVE_ROCK = - { - theme_probs = { CAVE=30 }, - mat_pri = 2, - - wall = "ROCK2", - floor = "RROCK13", - ceil = "CEIL5_1", - - arch = "arch_arched", - - sc_fabs = { stalagmite_MED=40, other=10 }, - }, - - ----- NATURE ----------------- - - NAT_GRASS = - { - theme_probs = { NATURE=50 }, - outdoor = true, - mat_pri = 2, - - wall = "ZIMMER7", - step = "ASHWALL2", - - floor = "RROCK19", - ceil = "RROCK19", - - scenery = "brown_stub", - - bad_liquid = "nukage", - - }, - - NAT_SWAMP = - { - theme_probs = { NATURE=70 }, - outdoor = true, - mat_pri = 2, - - wall = "ZIMMER8", - step = "ASHWALL2", - - floor = "GRASS2", - ceil = "GRASS2", - - scenery = "brown_stub", - - bad_liquid = "nukage", - }, - - NAT_TANROCK7 = - { - theme_probs = { NATURE=30 }, - outdoor = true, - mat_pri = 3, - - wall = "TANROCK7", - void = "ZIMMER4", - step = "STEP6", - lift = "SUPPORT3", - piller = "ASHWALL7", - - floor = "RROCK04", - ceil = "RROCK04", - -- lift_floor = "FLOOR4_8", - - scenery = { burnt_tree=5, big_tree=5 }, - bad_liquid = "slime", - }, - - NAT_TANROCK8 = - { - theme_probs = { NATURE=20 }, - outdoor = true, - mat_pri = 3, - - wall = "TANROCK8", - void = "ROCK4", - step = "STEP6", - lift = "SUPPORT3", - - floor = "RROCK17", - ceil = "RROCK17", - -- lift_floor = "FLOOR4_8", - - scenery = "brown_stub", - bad_liquid = "slime", - }, - - NAT_MUDDY = - { - theme_probs = { NATURE=50 }, - outdoor = true, - mat_pri = 2, - - wall = "ASHWALL4", - void = "TANROCK5", - step = "STEP5", - - floor = "FLAT10", - ceil = "FLAT10", - - scenery = "burnt_tree", - - bad_liquid = "slime", - }, - - - ---- Wolf3D Secret Levels ---- - - WOLF_CELLS = - { - mat_pri = 5, - - wall = "ZZWOLF9", - void = "ZZWOLF9", - - floor = "FLAT1", - ceil = "FLAT1", - - theme_probs = { WOLF=50 }, - }, - - WOLF_BRICK = - { - mat_pri = 6, - - wall = "ZZWOLF11", - void = "ZZWOLF11", - -- decorate = { ZZWOLF12, ZZWOLF13 } - - floor = "FLAT1", - ceil = "FLAT1", - - theme_probs = { WOLF=60 }, - }, - - WOLF_STONE = - { - mat_pri = 4, - - wall = "ZZWOLF1", - void = "ZZWOLF1", - -- decorate = { ZZWOLF2, ZZWOLF3, ZZWOLF4 } - - floor = "FLAT1", - ceil = "FLAT1", - - theme_probs = { WOLF=70 }, - }, - - WOLF_WOOD = - { - mat_pri = 4, - - wall = "ZZWOLF5", - void = "ZZWOLF5", - -- decorate = { ZZWOLF6, ZZWOLF7 } - - ceil = "CEIL1_1", - floor = "FLAT5_2", - - theme_probs = { WOLF=30 }, - }, -} - -HACX.FACTORY.D2_EXITS = -{ - METAL = - { - mat_pri = 8, - - wall = "METAL1", - void = "METAL5", - - floor = "FLOOR5_1", - ceil = "TLITE6_4", - - hole_tex = "LITE3", - - sign = "EXITSIGN", - sign_ceil="CEIL5_2", - - switch = - { - prefab="SWITCH_NICHE_TINY_DEEP", - add_mode="wall", - skin = - { - switch_w="SW1COMP", switch_h=32, - frame_w="LITEBLU4", frame_f="FLAT14", frame_c="FLAT14", - - x_offset=16, y_offset=72, kind=11, tag=0, - } - }, - - door = { wall="EXITDOOR", w=64, h=72, - frame_ceil="TLITE6_6", frame_floor="FLOOR5_1" }, - }, - - REDBRICK = - { - mat_pri = 8, - - wall = "BRICK11", - void = "BRICK11", - step = "WOOD1", - - floor = "FLAT5_2", - ceil = "FLOOR6_2", - - sign = "EXITSIGN", - sign_ceil="CEIL5_2", - - switch = - { - prefab="SWITCH_PILLAR", - skin = - { - switch_w="SW1WOOD", side_w="WOOD1", - kind=11, tag=0, - } - }, - - door = { wall="EXITDOOR", w=64, h=72, - frame_ceil="TLITE6_6", frame_floor="FLAT5_2" }, - }, - - SLOPPY = - { - small_exit = true, - mat_pri = 1, - - wall = "SKINMET2", - void = "SLOPPY1", - step = "SKINMET2", - - floor = "FWATER1", - ceil = "SFLR6_4", - - liquid_prob = 0, - - sign = "EXITSIGN", - sign_ceil="CEIL5_2", - - switch = - { - prefab="SWITCH_FLUSH", - add_mode="wall", - skin = - { - switch_w="SW1SKULL", wall="SLOPPY1", - left_w="SK_LEFT", right_w="SK_RIGHT", - kind=11, tag=0, - } - }, - - door = { wall="EXITDOOR", w=64, h=72, - frame_ceil="FLAT5_5", frame_floor="CEIL5_2" }, - }, -} - -HACX.FACTORY.D2_HALLWAYS = -{ - PANEL = - { - mat_pri = 0, - - wall = "PANEL2", - void = "PANEL3", - step = "STEP2", - pillar = "PANRED", -- PANEL5 - - floor = "FLOOR0_2", - ceil = "FLAT5_5", - - theme_probs = { URBAN=70 }, - trim_mode = "guillotine", - }, - - BRICK = - { - mat_pri = 0, - - wall = "BIGBRIK1", - void = "BIGBRIK2", - step = "STEP4", - pillar = "STONE3", - - floor = "FLAT5_7", - ceil = "FLAT5_4", - - theme_probs = { URBAN=70,NATURE=10,HELL=10 }, - trim_mode = "guillotine", - }, - - BSTONE = - { - theme_probs = { URBAN=50,NATURE=50,CAVE=30 }, - mat_pri = 0, - - wall = "BSTONE2", - floor = "FLAT5", - ceil = "FLAT1", - - step = "METAL", - pillar = "BSTONE3", - - trim_mode = "guillotine", - }, - - WOOD = - { - mat_pri = 0, - - wall = "WOODMET1", - void = "WOOD5", - step = "STEP5", - pillar = "WOODMET2", - - floor = "FLAT5_2", - ceil = "MFLR8_2", - - theme_probs = { URBAN=30 }, - trim_mode = "guillotine", - }, - - METAL = - { - mat_pri = 0, - - wall = "METAL3", - void = "METAL2", - step = "STEP5", - pillar = "SW1SATYR", - - floor = "FLAT5_5", - ceil = "CEIL5_1", - - theme_probs = { INDUSTRIAL=70,TECH=30 }, - trim_mode = "guillotine", - }, - - TEKGREN = - { - mat_pri = 0, - - wall = "TEKGREN2", - floor = "FLOOR3_3", - ceil = "GRNLITE1", - - step = "STEP2", - pillar = "TEKGREN3", -- was: "BRONZE2" - - well_lit = true, - - theme_probs = { TECH=80,INDUSTRIAL=40 }, - trim_mode = "guillotine", - - wall_fabs = { solid_TEKGREN5=30, other=50 }, - }, - - PIPES = - { - mat_pri = 0, - - wall = "PIPEWAL2", - void = "PIPEWAL1", - step = "STEP4", - pillar = "STONE4", - - floor = "FLAT5_4", - ceil = "FLAT5_4", - - theme_probs = { INDUSTRIAL=70 }, - trim_mode = "guillotine", - }, -} - -HACX.FACTORY.D2_MATS = -{ - ARCH = - { - wall = "METAL", - void = "METAL1", - floor = "SLIME14", - ceil = "SLIME14", - }, -} - -HACX.FACTORY.D2_OVERHANGS = -{ - METAL = - { - ceil = "CEIL5_1", - upper = "METAL6", - thin = "METAL", - }, - - MARBLE = - { - thin = "MARBLE1", - upper = "MARBLE3", - ceil = "SLIME13", - }, - - PANEL = - { - thin = "PANBORD2", - thick = "PANBORD1", - upper = "PANCASE2", - ceil = "CEIL3_1", - }, - - STONE = - { - thin = "STONE4", - upper = "STONE4", - ceil = "FLAT5_4", - }, - - STONE2 = - { - thin = "STONE6", - upper = "STONE6", - ceil = "FLAT5_5", - }, - -} - -HACX.FACTORY.D2_DOORS = -{ - d_thin1 = { wall="SPCDOOR1", w=64, h=112 }, - d_thin2 = { wall="SPCDOOR2", w=64, h=112 }, - d_thin3 = { wall="SPCDOOR3", w=64, h=112 }, - - d_weird = { wall="SPCDOOR4", w=64, h=112 }, -} - -HACX.FACTORY.D2_CRATES = -{ - MODWALL = - { - wall = "MODWALL3", h=64, floor = "FLAT19" - }, - - PIPES = - { - wall = "PIPES", h=64, floor = "CEIL3_2", can_rotate=true - }, - - SILVER2 = - { - wall = "SILVER2", h=64, floor = "FLAT23", - can_rotate=true, rot_x_offset=0 - }, - - SILVER3 = - { - wall = "SILVER3", h=128, floor = "FLAT23", can_rotate=true - }, - - TVS = - { - wall = "SPACEW3", h=64, floor = "CEIL5_1" - }, -} - -HACX.FACTORY.D2_RAILS = -{ - r_1 = { wall="MIDBARS3", w=128, h=72 }, - r_2 = { wall="MIDGRATE", w=128, h=128 }, -} - -HACX.FACTORY.D2_LIGHTS = -{ - green1 = { floor="GRNLITE1", side="TEKGREN2" }, -} - -HACX.FACTORY.D2_LIQUIDS = -{ ---### slime = { floor="SLIME01", wall="BLODRIP1", sec_kind=7 } -- 5% damage -} - -HACX.FACTORY.D2_SCENERY = -{ -} - -HACX.FACTORY.D2_SCENERY_PREFABS = -{ - billboard_NAZI = - { - prefab = "BILLBOARD", --- environment = "outdoor", - add_mode = "extend", - - min_height = 160, - - skin = - { - pic_w = "ZZWOLF2", pic_back = "ZZWOLF1", - pic_f = "FLAT5_4", pic_h = 128, - - corn_w = "ZZWOLF5", corn_f = "FLAT5_1", - corn_h = 112, - - step_w = "ZZWOLF5", step_f = "FLAT5_1", - }, - - theme_probs = { WOLF=5 }, - }, - - billboard_stilts_FLAGGY = - { - prefab = "BILLBOARD_ON_STILTS", - environment = "outdoor", - add_mode = "island", - min_height = 160, - - skin = - { - pic_w = "ZZWOLF12", pic_offset_h = 64, - beam_w = "WOOD1", beam_f = "FLAT5_2", - }, - - theme_probs = { NATURE=2 }, - }, - - pond_small_GRASS = - { - prefab = "POND_SMALL", - environment = "outdoor", - theme_probs = { NATURE=90 }, - skin = - { - pond_w="ZIMMER4", pond_f="RROCK18", - outer_w="BROWNHUG", liquid_f="FWATER1", - kind=0 - }, - }, - - rock_pieces_GRNROCK = - { - prefab = "ROCK_PIECES", - environment = "outdoor", - theme_probs = { NATURE=2 }, - skin = { rock_w="ROCK2", rock_f="GRNROCK", rock_h=16 }, - }, - - comp_tall_STATION1 = - { - prefab = "COMPUTER_TALL", - skin = { comp_w="COMPSTA1", comp_f="FLAT23", side_w="SILVER1" }, - }, - - comp_tall_STATION2 = - { - prefab = "COMPUTER_TALL", - skin = { comp_w="COMPSTA2", comp_f="FLAT23", side_w="SILVER1" }, - }, - - comp_thin_STATION1 = - { - prefab = "COMPUTER_TALL_THIN", - skin = { comp_w="COMPSTA1", comp_f="FLAT23", side_w="SILVER1" }, - }, - - comp_thin_STATION2 = - { - prefab = "COMPUTER_TALL_THIN", - skin = { comp_w="COMPSTA2", comp_f="FLAT23", side_w="SILVER1" }, - }, - - comp_desk_EW8 = - { - prefab = "COMPUTER_DESK", - add_mode = "extend", - skin = { comp_f="CONS1_5", side_w="SILVER1" }, - force_dir = 2, - }, - - comp_desk_EW2 = - { - prefab = "COMPUTER_DESK", - add_mode = "extend", - skin = { comp_f="CONS1_1", side_w="SILVER1" }, - force_dir = 8, - }, - - comp_desk_NS6 = - { - prefab = "COMPUTER_DESK", - add_mode = "extend", - skin = { comp_f="CONS1_7", side_w="SILVER1" }, - force_dir = 4, - }, - - comp_desk_USHAPE1 = - { - prefab = "COMPUTER_DESK_U_SHAPE", - add_mode = "island", - skin = - { - comp_Nf="CONS1_1", comp_Wf="CONS1_7", - comp_Sf="CONS1_5", - comp_cf="COMP01", side_w ="SILVER1" - }, - --- pickup_specialness = 60, - force_dir = 2, - }, - - bookcase_WIDE = - { - prefab = "BOOKCASE_WIDE", - skin = { book_w="PANBOOK", book_f="FLAT5_2", side_w="PANCASE1" }, - }, - - drinks_bar_WOOD_POTION = - { - prefab = "DRINKS_BAR", - min_height = 64, - - skin = { bar_w = "PANBORD1", bar_f = "FLAT5_2", - drink_t = "potion", - }, - - prob = 2, - }, - - crate_WOOD3 = - { - prefab = "CRATE_TWO_SIDED", - - skin = - { - crate_h = 62, - crate_w = "WOOD3", crate_w2 = "WOOD3", - crate_f = "CEIL1_1", - x_offset = 128, - } - }, - - crate_WOODSKULL = - { - prefab = "CRATE", - - skin = - { - crate_h = 62, - crate_w = "WOOD4", - crate_f = "CEIL1_1", - } - }, - - crate_WOODMET1 = - { - prefab = "CRATE_TWO_SIDED", - - skin = - { - crate_h = 64, - crate_w = "WOODMET1", crate_w2 = "WOODMET3", - crate_f = "CEIL5_1", - x_offset = 0, - } - }, - - crate_rotate_WOOD3 = - { - prefab = "CRATE_ROTATE", - - skin = - { - crate_h = 62, - crate_w = "WOOD3", - crate_f = "CEIL1_1", - } - }, - - crate_rot22_WOODMET1 = - { - prefab = "CRATE_ROTATE", - - skin = - { - crate_h = 64, - crate_w = "WOODMET1", - crate_f = "CEIL5_1", - } - }, - - crate_big_WOOD10 = - { - prefab = "CRATE_BIG", - min_height = 144, - - skin = - { - crate_h = 128, - crate_w = "WOOD10", - crate_f = "FLAT5_2" - } - }, - - crate_TV = - { - prefab = "CRATE", - - skin = - { - crate_h = 64, - crate_w = "SPACEW3", - crate_f = "CEIL5_1" - } - }, - - crate_rotnar_SILVER = - { - prefab = "CRATE_ROTATE_NARROW", - add_mode = "island", - - skin = - { - crate_h = 64, - crate_w = "SILVER2", - crate_f = "FLAT23" - } - }, - - pillar_MARBFAC4 = - { - prefab = "PILLAR", add_mode = "island", - environment = "indoor", - skin = { wall="MARBFAC4" }, - }, - - pillar_PANBLUE = - { - prefab = "PILLAR", add_mode = "island", - environment = "indoor", - skin = { wall="PANBLUE" }, - }, - - pillar_PANRED = - { - prefab = "PILLAR", add_mode = "island", - environment = "indoor", - skin = { wall="PANRED" }, - }, - - pillar_PANEL5 = - { - prefab = "PILLAR", add_mode = "island", - environment = "indoor", - skin = { wall="PANEL5" }, - }, - - cage_small_METAL = - { - prefab = "CAGE_SMALL", - add_mode = "island", - min_height = 144, - is_cage = true, - - skin = - { - cage_w = "METAL", - cage_f = "CEIL5_2", - - rail_w = "MIDBARS3", - } - }, - - cage_medium_METAL = - { - prefab = "CAGE_MEDIUM", - add_mode = "island", - is_cage = true, - - skin = - { - cage_w = "METAL", - cage_f = "CEIL5_2", - - rail_w = "MIDBARS3", - }, - - prob = 1, - force_dir = 2, -- optimisation - }, - -} - - -HACX.FACTORY.D2_FEATURE_PREFABS = -{ - overhang3_METAL6 = - { - prefab = "OVERHANG_3", - environment = "outdoor", - add_mode = "island", - min_height = 128, - max_height = 320, - - skin = - { - beam_w = "METAL", - hang_u = "METAL6", - hang_c = "CEIL5_1", - }, - - pickup_specialness = 35, - theme_probs = { URBAN=30 }, - }, - - billboard_stilts4_WREATH = - { - prefab = "BILLBOARD_STILTS_HUGE", - environment = "outdoor", - add_mode = "island", - min_height = 160, - - skin = - { - pic_w = "ZZWOLF13", pic_offset_h = 128, - beam_w = "WOOD1", beam_f = "FLAT5_2", - }, - - theme_probs = { NATURE=3 }, - pickup_specialness = 61, - force_dir = 2, -- optimisation - }, - - statue_tech1 = - { - prefab = "STATUE_TECH_1", - environment = "indoor", - min_height = 176, - max_height = 248, - - skin = - { - wall="COMPWERD", floor="FLAT14", ceil="FLOOR4_8", - step_w="STEP1", carpet_f="FLOOR1_1", - - comp_w="SPACEW3", comp2_w="COMPTALL", span_w="COMPSPAN", - comp_f="CEIL5_1", lite_c="TLITE6_5", - - lamp_t="lamp" - }, - - theme_probs = { TECH=80, INDUSTRIAL=20 }, - force_dir = 2, -- optimisation - }, - - statue_tech2 = - { - prefab = "STATUE_TECH_2", - environment = "indoor", - min_height = 160, - max_height = 256, - - skin = - { - wall="METAL", floor="FLAT23", ceil="FLAT23", - outer_w="STEP4", - - carpet_f="FLAT14", lite_c="TLITE6_5", - - tv_w="SPACEW3", tv_f="CEIL5_1", - span_w="COMPSPAN", span_f="FLAT4", - }, - - theme_probs = { TECH=80, INDUSTRIAL=20 }, - force_dir = 2, -- optimisation - }, - - machine_pump1 = - { - prefab = "MACHINE_PUMP", - environment = "indoor", - add_mode = "island", - theme_probs = { INDUSTRIAL=80 }, - - min_height = 192, - max_height = 240, - - skin = - { - ceil="FLAT1", - - metal3_w="METAL3", metal_f="CEIL5_1", - metal4_w="METAL4", metal_c="CEIL5_1", - metal5_w="METAL5", - - pump_w="SPACEW4", pump_c="FLOOR3_3", - beam_w="DOORSTOP", - - kind=48 -- scroll left - }, - - }, - - pillar_double_TEKLITE = - { - prefab = "PILLAR_DOUBLE_TECH_LARGE", - environment = "indoor", - add_mode = "island", - min_height = 160, - theme_probs = { TECH=90 }, - - skin = - { - outer_f ="FLOOR0_3", outer_w ="STEP4", outer_lt =160, - inner_f ="FLOOR0_2", inner_w ="STEP5", inner_lt =160, - shine_f ="RROCK03", shine_w ="METAL6", shine_lt =160, - pillar_f="FLOOR7_1", pillar_w="TEKLITE", pillar_lt=240, - shine_side="METAL2", light_w ="LITEBLU4", kind=8, - }, - }, - - statue_tech_jr_BLUE_METAL = - { - prefab = "STATUE_TECH_JR", - environment = "indoor", - add_mode = "island", - min_height = 160, - max_height = 480, - theme_probs = { TECH=70 }, - - skin = - { - outer_f ="CEIL5_1", outer_w ="METAL5", outer_lt =176, - tech_f ="FLAT14", tech_w ="TEKWALL4", tech_lt =255, - tech_c ="FLAT14", beam_w ="SUPPORT3", - lite_f ="FLAT14", lite_w ="LITEBLU4", - shine_f ="RROCK03", shine_w ="METAL6", shine_lt =144, - shine_side="METAL2", kind=3, - }, - }, - - pond_medium_GRASS = - { - prefab = "POND_MEDIUM", - environment = "outdoor", - skin = - { - pond_w="BROWNHUG", pond_w2="ZIMMER2", - pond_f="RROCK18", pond_f2="RROCK19", - outer_w="ZIMMER2", liquid_f="FWATER1", - kind=0 - }, - theme_probs = { NATURE=100 }, - }, - - pond_large_GRASS = - { - prefab = "POND_LARGE", - environment = "outdoor", - theme_probs = { NATURE=170 }, - skin = - { - pond_w="ZIMMER2", pond_f="RROCK19", - outer_w="BROWNHUG", liquid_f="FWATER1", - kind=0 - }, - }, - - four_sided_pic_ADOLF = - { - prefab = "WALL_PIC_FOUR_SIDED", - environment = "outdoor", - add_mode = "island", - min_height = 192, - - skin = { pic_w="ZZWOLF7" }, - theme_probs = { WOLF=40, URBAN=5 }, - force_dir = 2, -- optimisation - }, - - skylight_mega_METALWOOD = - { - prefab = "SKYLIGHT_MEGA_2", - environment = "indoor", - add_mode = "island", - min_height = 96, - - skin = - { - sky_c = "F_SKY1", - frame_w = "METAL", frame_c = "CEIL5_2", - beam_w = "WOOD12", beam_c = "FLAT5_2", - }, - - prob = 10, - }, - - comp_desk_USHAPE2 = - { - prefab = "COMPUTER_DESK_HUGE", - add_mode = "island", - skin = - { - comp_Nf="CONS1_1", comp_Wf="CONS1_7", - comp_Sf="CONS1_5", - comp_cf="COMP01", side_w ="SILVER1" - }, - pickup_specialness = 60, - force_dir = 2, - }, - - cage_large_METAL = - { - prefab = "CAGE_LARGE", - add_mode = "island", - is_cage = true, - - skin = - { - cage_w = "METAL", - cage_f = "CEIL5_2", - - rail_w = "MIDBARS3", - }, - - prob = 1, - force_dir = 2, -- optimisation - }, - - cage_large_liq_NUKAGE = - { - prefab = "CAGE_LARGE_W_LIQUID", - add_mode = "island", - min_height = 256, - is_cage = true, - - skin = - { - liquid_f = "NUKAGE1", - - cage_w = "SLADWALL", - cage_f = "CEIL5_2", - cage_sign_w = "SLADPOIS", - - rail_w = "MIDBARS3", - }, - - prob = 4, - force_dir = 2, -- optimisation - }, - - cage_medium_liq_BLOOD = - { - prefab = "CAGE_MEDIUM_W_LIQUID", - add_mode = "island", - min_height = 160, - is_cage = true, - - skin = - { - liquid_f = "BLOOD1", - - cage_w = "GSTFONT1", - cage_f = "FLOOR7_2", - - rail_w = "MIDBARS3", - }, - - prob = 2, - force_dir = 2, -- optimisation - }, - - cage_medium_liq_LAVA = - { - prefab = "CAGE_MEDIUM_W_LIQUID", - add_mode = "island", - is_cage = true, - - skin = - { - liquid_f = "LAVA1", - - cage_w = "BRNPOIS", - cage_f = "CEIL5_2", - - rail_w = "MIDBARS3", - }, - - prob = 2, - force_dir = 2, -- optimisation - }, -} - -HACX.FACTORY.D2_WALL_PREFABS = -{ - solid_STUCCO2 = - { - prefab = "SOLID", skin = { wall="STUCCO2" }, - }, - - solid_TEKGREN3 = - { - prefab = "SOLID", skin = { wall="TEKGREN3" }, - }, - - solid_TEKGREN4 = - { - prefab = "SOLID", skin = { wall="TEKGREN4" }, - }, - - solid_TEKGREN5 = - { - prefab = "SOLID", skin = { wall="TEKGREN5" }, - }, - - solid_PANEL8 = - { - prefab = "SOLID", skin = { wall="PANEL8" }, - }, - - solid_PANEL9 = - { - prefab = "SOLID", skin = { wall="PANEL9" }, - }, - - wall_pic_TV = - { - prefab = "WALL_PIC", - min_height = 160, - skin = { pic_w="SPACEW3", lite_w="SUPPORT2", pic_h=128 }, - theme_probs = { TECH=90, INDUSTRIAL=30 }, - }, - - wall_pic_2S_EAGLE = - { - prefab = "WALL_PIC_SHALLOW", - min_height = 160, - skin = { pic_w="ZZWOLF6", lite_w="LITE5", pic_h=128 }, - - theme_probs = { URBAN=8 }, - }, - - wall_pic_SPDUDE7 = - { - prefab = "WALL_PIC", - min_height = 160, - skin = { pic_w="SP_DUDE7", pic_h=128 }, - }, - - wall_pic_SPDUDE8 = - { - prefab = "WALL_PIC", - min_height = 160, - skin = { pic_w="SP_DUDE8", pic_h=128 }, - }, - - cage_niche_MIDGRATE = - { - prefab = "CAGE_NICHE", ---- environment = "indoor", - add_mode = "wall", - is_cage = true, - - min_height = 160, - - skin = - { - rail_w = "MIDGRATE", - rail_h = 128, - }, - - prob = 2, - }, -} - -HACX.FACTORY.D2_DOOR_PREFABS = -{ - spacey = - { - w=64, h=112, prefab="DOOR_LIT_NARROW", - - skin = - { - door_w="SPCDOOR3", door_c="FLAT23", - lite_w="LITE5", step_w="STEP1", - frame_f="FLAT1", frame_c="TLITE6_6", - track_w="DOORTRAK", - door_h=112, - door_kind=1, tag=0, - }, - - theme_probs = { TECH=60,INDUSTRIAL=5 }, - }, - - wolfy = - { - w=128, h=128, prefab="DOOR_WOLFY", - - skin = - { - door_w="ZDOORF1", door_c="FLAT23", - back_w="ZDOORB1", trace_w="ZZWOLF10", - door_h=128, - door_kind=1, tag=0, - }, - - theme_probs = { WOLF=50 }, - }, -} - -HACX.FACTORY.D2_MISC_PREFABS = -{ - fence_wire_STD = - { - prefab = "FENCE_RAIL", - skin = { rail_w="MIDBARS3" }, - }, - - exit_hole_SKY = - { - prefab = "EXIT_HOLE_ROUND", - add_mode = "island", - - skin = - { - hole_f="F_SKY1", - walk_kind = 52 -- exit_W1 - }, - ---FIXME HOLE.is_cage = true -- don't place items/monsters here - }, - - end_switch_667 = - { - prefab = "DOOM2_667_END_SWITCH", - add_mode = "island", - - skin = - { - switch_w="SW1SKIN", switch_f="SFLR6_4", - kind=9, tag=667, - } - }, -} - -HACX.FACTORY.D2_ROOMS = -{ - PLANT = - { - sc_fabs = - { - crate_TV = 50, - comp_desk_EW8 = 30, - comp_desk_EW2 = 30, - comp_desk_NS6 = 30, - comp_desk_USHAPE1 = 20, - other = 30 - }, - - wall_fabs = - { - wall_pic_TV = 30, - other = 100 - }, - }, - - COMPUTER = - { - pf_count = { 2,4 }, - - sc_fabs = - { - comp_tall_STATION1 = 10, comp_tall_STATION2 = 10, - comp_thin_STATION1 = 30, comp_thin_STATION2 = 30, - - other = 50 - }, - - wall_fabs = - { - wall_pic_TV = 30, - other = 100 - }, - }, - - TORTURE = - { - space_range = { 60, 90 }, - - sc_count = { 6,16 }, - - scenery = - { - impaled_human = 40, impaled_twitch = 40, - gutted_victim1 = 40, gutted_victim2 = 40, - gutted_torso1 = 40, gutted_torso2 = 40, - gutted_torso3 = 40, gutted_torso4 = 40, - - hang_arm_pair = 40, hang_leg_pair = 40, - hang_leg_gone = 40, hang_leg = 40, - hang_twitching = 40, - ---- pool_blood_1 = 10, pool_blood_2 = 10, pool_brains = 10, - - other = 50 - }, - - sc_fabs = - { - pillar_SPDUDE5=30, other=50 - }, - - wall_fabs = - { - cage_niche_MIDGRATE = 50, - wall_pic_SPDUDE1 = 20, wall_pic_SPDUDE2 = 20, - wall_pic_SPDUDE7 = 30, wall_pic_SPDUDE8 = 30, - - other = 50 - }, - }, - - PRISON = - { - space_range = { 40, 80 }, - - sc_fabs = - { - cage_pillar_METAL=50, other=10 - }, - - wall_fabs = - { - cage_niche_MIDGRATE = 50, other = 10 - }, - }, - - WAREHOUSE2 = - { - space_range = { 80, 99 }, - - pf_count = { 5,10 }, - - -- crate it up baby! - sc_fabs = - { - crate_WOOD3 = 50, - crate_WOODMET1 = 40, - crate_WOODSKULL = 30, - crate_big_WOOD10 = 25, - - crate_rotate_WOOD3 = 10, - crate_rot22_WOODMET1 = 15, - - other = 20 - }, - }, - - -- TODO: check in-game level names for ideas -} - -HACX.FACTORY.D2_THEMES = -{ -} - ------------------------------------------------------------- - -HACX.FACTORY.D2_QUESTS = -{ - key = - { - k_blue=50, k_red=50, k_yellow=50 - }, - - switch = - { - sw_blue=50, sw_hot=30, - sw_vine=10, -- sw_skin=40, - sw_metl=50, sw_gray=20, - -- FIXME: sw_rock=10, - -- FIXME: sw_wood=30, - }, - - weapon = - { - saw=10, super=40, launch=80, plasma=60, bfg=5 - }, - - item = - { - blue_armor=40, invis=40, mega=25, backpack=25, - berserk=20, goggle=5, invul=2, map=3 - }, -} - -HACX.FACTORY.D2_EPISODE_THEMES = -{ - { URBAN=4, INDUSTRIAL=3, TECH=3, NATURE=9, CAVE=2, HELL=2 }, - { URBAN=9, INDUSTRIAL=5, TECH=7, NATURE=4, CAVE=2, HELL=4 }, - { URBAN=3, INDUSTRIAL=2, TECH=5, NATURE=3, CAVE=6, HELL=8 }, - - -- this entry used for a single episode or level - { URBAN=5, INDUSTRIAL=4, TECH=6, NATURE=5, CAVE=4, HELL=6 }, -} - -HACX.FACTORY.D2_SECRET_KINDS = -{ - MAP31 = "wolfy", - MAP32 = "wolfy", -} - -HACX.FACTORY.D2_SECRET_EXITS = -{ - MAP15 = true, - MAP31 = true, -} - -HACX.FACTORY.D2_LEVEL_BOSSES = -{ - MAP07 = "mancubus", - MAP20 = "spider", - MAP30 = "boss_brain", - MAP32 = "keen", -} - -HACX.FACTORY.D2_SKY_INFO = -{ - { color="brown", light=192 }, - { color="gray", light=192 }, -- bright clouds + dark buildings - { color="red", light=192 }, -} - -HACX.FACTORY.D2_EPISODE_INFO = -{ - { start=1, len=11 }, - { start=12, len=11 }, -- last two are MAP31, MAP32 - { start=21, len=10 }, -} - -function HACX.get_factory_levels(episode) - - assert(GAME.FACTORY.sky_info) - - local level_list = {} - - local theme_probs = HACX.FACTORY.D2_EPISODE_THEMES[episode] - if OB_CONFIG.length ~= "full" then - theme_probs = HACX.FACTORY.D2_EPISODE_THEMES[4] - end - assert(theme_probs) - - local ep_start = HACX.FACTORY.D2_EPISODE_INFO[episode].start - local ep_length = HACX.FACTORY.D2_EPISODE_INFO[episode].len - - for map = 1,ep_length do - local Level = - { - name = string.format("MAP%02d", ep_start + map-1), - - episode = episode, - ep_along = map, - ep_length = ep_length, - - theme_probs = theme_probs, - - -- allow TNT and Plutonia to override the sky stuff - sky_info = GAME.FACTORY.sky_info[episode], - - toughness_factor = 1 + 1.5 * (map-1) / (ep_length-1), - } - - -- fixup for secret levels - if episode == 2 and map >= 10 then - Level.name = string.format("MAP%02d", 21+map) - Level.sky_info = HACX.FACTORY.D2_SKY_INFO[3] - Level.theme_probs = { WOLF=10 } - Level.toughness_factor = 1.2 - end - ----!!! Level.boss_kind = HACX.FACTORY.D2_LEVEL_BOSSES[Level.name] - Level.secret_kind = HACX.FACTORY.D2_SECRET_KINDS[Level.name] - Level.secret_exit = HACX.FACTORY.D2_SECRET_EXITS[Level.name] - - std_decide_quests(Level, HACX.FACTORY.D2_QUESTS, HACX.FACTORY.DM_QUEST_LEN_PROBS) - - table.insert(level_list, Level) - end - - return level_list -end - -function HACX.factory_setup() - - GAME.FACTORY = - { - doom_format = true, - - plan_size = 10, - cell_size = 9, - cell_min_size = 6, - - caps = { heights=true, sky=true, - fragments=true, move_frag=true, rails=true, - closets=true, depots=true, - switches=true, liquids=true, - teleporters=true, - }, - - SKY_TEX = "F_SKY1", - ERROR_TEX = "FIREBLU1", - ERROR_FLAT = "SFLR6_4", - - classes = { "doomguy" }, - - monsters = HACX.FACTORY.DM_MONSTERS, - bosses = HACX.FACTORY.DM_BOSSES, - weapons = HACX.FACTORY.DM_WEAPONS, - - things = HACX.FACTORY.DM_THINGS, - - mon_give = HACX.FACTORY.DM_MONSTER_GIVE, - mon_weap_prefs = HACX.FACTORY.DM_MONSTER_WEAPON_PREFS, - initial_model = HACX.FACTORY.DM_INITIAL_MODEL, - - pickups = HACX.FACTORY.DM_PICKUPS, - pickup_stats = { "health", "bullet", "shell", "rocket", "cell" }, - niceness = HACX.FACTORY.DM_NICENESS, - - dm = HACX.FACTORY.DM_DEATHMATCH, - dm_exits = HACX.FACTORY.DM_DEATHMATCH_EXITS, - - combos = HACX.FACTORY.DM_COMBOS, - exits = HACX.FACTORY.DM_EXITS, - hallways = HACX.FACTORY.DM_HALLWAYS, - - hangs = HACX.FACTORY.DM_OVERHANGS, - pedestals = HACX.FACTORY.DM_PEDESTALS, - mats = HACX.FACTORY.DM_MATS, - crates = HACX.FACTORY.DM_CRATES, - - liquids = HACX.FACTORY.DM_LIQUIDS, - switches = HACX.FACTORY.DM_SWITCHES, - doors = HACX.FACTORY.DM_DOORS, - key_doors = HACX.FACTORY.DM_KEY_DOORS, - lifts = HACX.FACTORY.DM_LIFTS, - - images = HACX.FACTORY.DM_IMAGES, - lights = HACX.FACTORY.DM_LIGHTS, - - rooms = HACX.FACTORY.DM_ROOMS, - themes = HACX.FACTORY.DM_THEMES, - - sc_fabs = HACX.FACTORY.DM_SCENERY_PREFABS, - feat_fabs = HACX.FACTORY.DM_FEATURE_PREFABS, - wall_fabs = HACX.FACTORY.DM_WALL_PREFABS, - - door_fabs = HACX.FACTORY.DM_DOOR_PREFABS, - arch_fabs = HACX.FACTORY.DM_ARCH_PREFABS, - win_fabs = HACX.FACTORY.DM_WINDOW_PREFABS, - misc_fabs = HACX.FACTORY.DM_MISC_PREFABS, - - toughness_factor = 1.00, - - depot_info = { teleport_kind=97 }, - - room_heights = { [96]=5, [128]=25, [192]=70, [256]=70, [320]=12 }, - space_range = { 20, 90 }, - - diff_probs = { [0]=20, [16]=20, [32]=80, [64]=60, [96]=20 }, - bump_probs = { [0]=40, [16]=20, [32]=20, [64]=10 }, - - door_probs = { out_diff=75, combo_diff=50, normal=15 }, - window_probs = { out_diff=75, combo_diff=60, normal=35 }, - - hallway_probs = { 20, 30, 41, 53, 66 }, - shack_prob = 25, - } - - GAME.FACTORY.episodes = 3 - GAME.FACTORY.level_func = HACX.get_factory_levels - - GAME.FACTORY.quests = HACX.FACTORY.D2_QUESTS - GAME.FACTORY.sky_info = HACX.FACTORY.D2_SKY_INFO - - GAME.FACTORY.themes = table.merge_w_copy(GAME.FACTORY.themes, HACX.FACTORY.D2_THEMES) - GAME.FACTORY.rooms = table.merge_w_copy(GAME.FACTORY.rooms, HACX.FACTORY.D2_ROOMS) - GAME.FACTORY.monsters = table.merge_w_copy(GAME.FACTORY.monsters, HACX.FACTORY.D2_MONSTERS) - - GAME.FACTORY.combos = table.merge_w_copy(GAME.FACTORY.combos, HACX.FACTORY.D2_COMBOS) - GAME.FACTORY.hallways = table.merge_w_copy(GAME.FACTORY.hallways, HACX.FACTORY.D2_HALLWAYS) - GAME.FACTORY.exits = table.merge_w_copy(GAME.FACTORY.exits, HACX.FACTORY.D2_EXITS) - - GAME.FACTORY.rails = HACX.FACTORY.D2_RAILS - - GAME.FACTORY.hangs = table.merge_w_copy(GAME.FACTORY.hangs, HACX.FACTORY.D2_OVERHANGS) - GAME.FACTORY.crates = table.merge_w_copy(GAME.FACTORY.crates, HACX.FACTORY.D2_CRATES) - GAME.FACTORY.mats = table.merge_w_copy(GAME.FACTORY.mats, HACX.FACTORY.D2_MATS) - GAME.FACTORY.doors = table.merge_w_copy(GAME.FACTORY.doors, HACX.FACTORY.D2_DOORS) - GAME.FACTORY.lights = table.merge_w_copy(GAME.FACTORY.lights, HACX.FACTORY.D2_LIGHTS) - GAME.FACTORY.liquids = table.merge_w_copy(GAME.FACTORY.liquids, HACX.FACTORY.D2_LIQUIDS) - - GAME.FACTORY.sc_fabs = table.merge_w_copy(GAME.FACTORY.sc_fabs, HACX.FACTORY.D2_SCENERY_PREFABS) - GAME.FACTORY.feat_fabs = table.merge_w_copy(GAME.FACTORY.feat_fabs, HACX.FACTORY.D2_FEATURE_PREFABS) - GAME.FACTORY.wall_fabs = table.merge_w_copy(GAME.FACTORY.wall_fabs, HACX.FACTORY.D2_WALL_PREFABS) - GAME.FACTORY.door_fabs = table.merge_w_copy(GAME.FACTORY.door_fabs, HACX.FACTORY.D2_DOOR_PREFABS) - GAME.FACTORY.misc_fabs = table.merge_w_copy(GAME.FACTORY.misc_fabs, HACX.FACTORY.D2_MISC_PREFABS) - - local SUB_LISTS = - { - "things", - "monsters", "bosses", "weapons", "pickups", - "combos", "exits", "hallways", - "hangs", "crates", "doors", "mats", - "lights", "pics", "liquids", "rails", - "scenery", "rooms", "themes", - "sc_fabs", "misc_fabs", "feat_fabs", - } - - for zzz,sub in ipairs(SUB_LISTS) do - if GAME.FACTORY[sub] then - table.name_up(GAME.FACTORY[sub]) - end - end - - GAME.FACTORY.PREFABS = HACX.FACTORY.PREFABS - - table.name_up(GAME.FACTORY.PREFABS) - - table.expand_copies(GAME.FACTORY.PREFABS) - - for name,P in pairs(GAME.FACTORY.PREFABS) do - table.expand_copies(P.elements) - - -- set size values - local f_deep = #P.structure - local f_long = #P.structure[1] - - if not P.scale then - P.scale = 16 - end - - if P.scale == 64 then - P.long, P.deep = f_long, f_deep - - elseif P.scale == 16 then - if (f_long % 4) ~= 0 or (f_deep % 4) ~= 0 then - error("Prefab not a multiple of four: " .. tostring(P.name)) - end - - P.long = int(f_long / 4) - P.deep = int(f_deep / 4) - else - error("Unsupported scale " .. tostring(P.scale) .. " in prefab: " .. tostring(P.name)) - end - end - - table.name_up(GAME.FACTORY.PREFABS) - - local function pow_factor(info) - return 5 + 19 * info.hp ^ 0.5 * (info.dm / sel(info.melee,80,50)) ^ 1.2 - end - - for name,info in pairs(GAME.FACTORY.monsters) do - info.pow = pow_factor(info) - - gui.debugf("Monster %s : power %f\n", name, info.pow) - - local def = GAME.FACTORY.things[name] - if not def then - error("Monster has no definition?? : " .. tostring(name)) - end - - info.r = non_nil(def.r) - info.h = non_nil(def.h) - end - - local episode_num - - if OB_CONFIG.length == "single" then - episode_num = 1 - elseif OB_CONFIG.length == "episode" then - episode_num = GAME.FACTORY.min_episodes or 1 - else - episode_num = GAME.FACTORY.episodes - end - - -- build episode/level lists...should I be using the top-level map_num stuff? - Dasho - GAME.FACTORY.all_levels = {} - - for epi = 1,episode_num do - local levels = GAME.FACTORY.level_func(epi) - for zzz, L in ipairs(levels) do - table.insert(GAME.FACTORY.all_levels, L) - end - end - -end \ No newline at end of file diff --git a/games/hacx/levels.lua b/games/hacx/levels.lua deleted file mode 100644 index 6658093a89..0000000000 --- a/games/hacx/levels.lua +++ /dev/null @@ -1,275 +0,0 @@ --------------------------------------------------------------------- --- HACX LEVELS --------------------------------------------------------------------- --- --- Copyright (C) 2006-2016 Andrew Apted --- Copyright (C) 2011 Reisal --- Copyright (C) 2019 MsrSgtShooterPerson --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; either version 2 --- of the License, or (at your option) any later version. --- --------------------------------------------------------------------- - -HACX.SECRET_EXITS = -{ - -} - - -HACX.EPISODES = -{ - episode1 = - { - ep_index = 1, - - theme = "prison", - sky_patch = "RSKY1", - boss = "terminatrix", - sky_light = 0.75, - dark_prob = 10 - }, - - episode2 = - { - ep_index = 2, - - theme = "digi_ota", - sky_patch = "RSKY2", - boss = "thorn", - sky_light = 0.75, - dark_prob = 10 - }, - - episode3 = - { - ep_index = 3, - - theme = "prison", - sky_patch = "RSKY3", - boss = "mecha", - sky_light = 0.75, - dark_prob = 10 - } -} - - -HACX.PREBUILT_LEVELS = -{ - -} - - --------------------------------------------------------------------- - -function HACX.get_levels() - local MAP_LEN_TAB = { few=4, episode=11, game=30 } - - local MAP_NUM = MAP_LEN_TAB[OB_CONFIG.length] or 1 - - local EP_NUM = 1 - if MAP_NUM > 11 then EP_NUM = 2 end - if MAP_NUM > 30 then EP_NUM = 3 end - - -- create episode info... - - for ep_index = 1,3 do - local ep_info = GAME.EPISODES["episode" .. ep_index] - assert(ep_info) - - local EPI = table.copy(ep_info) - - EPI.levels = { } - - table.insert(GAME.episodes, EPI) - end - - -- create level info... - - for map = 1,MAP_NUM do - -- determine episode from map number - local ep_index - local ep_along - - local game_along = map / MAP_NUM - - if map > 30 then - ep_index = 3 ; ep_along = 0.5 ; game_along = 0.5 - elseif map > 20 then - ep_index = 3 ; ep_along = (map - 20) / 10 - elseif map > 11 then - ep_index = 2 ; ep_along = (map - 11) / 9 - else - ep_index = 1 ; ep_along = map / 11 - end - - if OB_CONFIG.length == "single" then - game_along = 0.57 - ep_along = 0.75 - - elseif OB_CONFIG.length == "few" then - ep_along = game_along - end - - assert(ep_along <= 1.0) - assert(game_along <= 1.0) - - local EPI = GAME.episodes[ep_index] - assert(EPI) - - local LEV = - { - episode = EPI, - - name = string.format("MAP%02d", map), - patch = string.format("CWILV%02d", map-1), - - ep_along = ep_along, - game_along = game_along - } - - table.insert( EPI.levels, LEV) - table.insert(GAME.levels, LEV) - - LEV.secret_exit = GAME.SECRET_EXITS[LEV.name] - - -- secret levels - if map == 31 or map == 32 then - LEV.is_secret = true - end - - - -- the 'dist_to_end' value is used for Boss monster decisions - if map >= 26 and map <= 29 then - LEV.dist_to_end = 30 - map - elseif map == 11 or map == 21 then - LEV.dist_to_end = 1 - elseif map == 16 or map == 23 then - LEV.dist_to_end = 2 - end - - -- prebuilt levels - local pb_name = LEV.name - - if PARAM.bool_prebuilt_levels == 1 then - LEV.prebuilt = GAME.PREBUILT_LEVELS[LEV.name] - end - - if LEV.prebuilt then - LEV.name_class = LEV.prebuilt.name_class or "BOSS" - end - - -- procedural gotcha management code - - -- Prebuilts are to exist over procedural gotchas - -- this means procedural gotchas will not override - -- Icon of Sin for example if prebuilts are still on - if not LEV.prebuilt then - - --handling for the Final Only option - if PARAM.gotcha_frequency == "final" then - if OB_CONFIG.length == "single" then - if map == 1 then LEV.is_procedural_gotcha = true end - elseif OB_CONFIG.length == "few" then - if map == 4 then LEV.is_procedural_gotcha = true end - elseif OB_CONFIG.length == "episode" then - if map == 11 then LEV.is_procedural_gotcha = true end - elseif OB_CONFIG.length == "game" then - if map == 30 then LEV.is_procedural_gotcha = true end - end - end - - --every 10 maps - if PARAM.gotcha_frequency == "epi" then - if map == 11 or map == 21 or map == 30 then - LEV.is_procedural_gotcha = true - end - end - if PARAM.gotcha_frequency == "2epi" then - if map == 5 or map == 11 or map == 16 or map == 21 or map == 25 or map == 30 then - LEV.is_procedural_gotcha = true - end - end - if PARAM.gotcha_frequency == "3epi" then - if map == 3 or map == 7 or map == 11 or map == 14 or map == 17 or map == 21 or map == 23 or map == 27 or map == 30 then - LEV.is_procedural_gotcha = true - end - end - if PARAM.gotcha_frequency == "4epi" then - if map == 3 or map == 6 or map == 9 or map == 11 or map == 14 or map == 16 or map == 18 or map == 21 or map == 23 or map == 26 or map == 28 or map == 30 then - LEV.is_procedural_gotcha = true - end - end - - --5% of maps after map 4, - if PARAM.gotcha_frequency == "5p" then - if map > 4 and map ~= 15 and map ~= 31 then - if rand.odds(5) then LEV.is_procedural_gotcha = true end - end - end - - -- 10% of maps after map 4, - if PARAM.gotcha_frequency == "10p" then - if map > 4 and map ~= 15 and map ~= 31 then - if rand.odds(10) then LEV.is_procedural_gotcha = true end - end - end - - -- for masochists... or debug testing - if PARAM.gotcha_frequency == "all" then - LEV.is_procedural_gotcha = true - end - end - - local special_mode = {} - - if PARAM.float_streets_mode and rand.odds(PARAM.float_streets_mode) then - table.add_unique(special_mode, "streets") - end - - if PARAM.float_linear_mode and rand.odds(PARAM.float_linear_mode) then - table.add_unique(special_mode, "linear") - end - - if PARAM.float_nature_mode and rand.odds(PARAM.float_nature_mode) then - table.add_unique(special_mode, "nature") - end - - if not table.empty(special_mode) and not LEV.prebuilt then - local selected_mode = rand.pick(special_mode) - if selected_mode == "streets" then - LEV.has_streets = true - LEV.is_linear = false - LEV.is_nature = false - elseif selected_mode == "linear" then - LEV.has_streets = false - LEV.is_linear = true - LEV.is_nature = false - else - LEV.has_streets = false - LEV.is_linear = false - LEV.is_nature = true - end - else - LEV.has_streets = false - LEV.is_linear = false - LEV.is_nature = false - end - - if MAP_NUM == 1 or (map % 10) == 3 then - LEV.demo_lump = string.format("DEMO%d", ep_index) - end - end - - -- handle "dist_to_end" for FEW and EPISODE lengths - if OB_CONFIG.length ~= "single" and OB_CONFIG.length ~= "game" then - GAME.levels[#GAME.levels].dist_to_end = 1 - - if OB_CONFIG.length == "episode" then - GAME.levels[#GAME.levels - 1].dist_to_end = 2 - GAME.levels[#GAME.levels - 2].dist_to_end = 3 - end - end -end diff --git a/games/hacx/materials.lua b/games/hacx/materials.lua deleted file mode 100644 index d9e297bf62..0000000000 --- a/games/hacx/materials.lua +++ /dev/null @@ -1,140 +0,0 @@ -HACX.LIQUIDS = -{ - water = { mat="FWATER1", light=168, special=0 }, - water2 = { mat="SLIME05", light=168, special=0 }, - - slime = { mat="SLIME01", light=168, special=16, damage=20 }, - goo = { mat="LAVA1", light=168, special=16, damage=20 }, - lava = { mat="SLIME09", light=192, special=16, damage=20 }, - elec = { mat="NUKAGE1", light=176, special=16, damage=20 } -} - -HACX.MATERIALS = -{ - -- special materials -- - _ERROR = { t="HW209", f="RROCK03" }, - _SKY = { t="HW209", f="F_SKY1" }, - _DEFAULT = { t="HW209", f="RROCK03" }, - _LIQUID = { f="FWATER1", t="BLODRIP1" }, - XEMPTY = { t="-", f="-" }, - - -- crates -- - HW200 = { t="HW200", f="RROCK03" }, - - -- walls -- - BRICK10 = { t="BRICK10", f="FLOOR0_2" }, - BLAKWAL2 = { t="BLAKWAL2", f="FLOOR0_2" }, - BRNSMALC = { t="BRNSMALC", f="FLOOR0_1" }, - BSTONE1 = { t="BSTONE1", f="FLAT5_4" }, - BSTONE2 = { t="BSTONE2", f="FLAT5_4" }, - COMPUTE1 = { t="COMPUTE1", f="FLAT5_5" }, - HD6 = { t="HD6", f="RROCK03" }, - HW185 = { t="HW185", f="FLOOR0_1" }, - HW201 = { t="HW201", f="RROCK03" }, - HW202 = { t="HW202", f="RROCK03" }, - HW203 = { t="HW203", f="RROCK02" }, - HW211 = { t="HW211", f="RROCK03" }, - HW218 = { t="HW218", f="CONS1_5"}, - HW506 = { t="HW506", f="RROCK14" }, - HW510 = { t="HW510", f="SLIME15" }, - HW511 = { t="HW511", f="SLIME14" }, - HW512 = { t="HW512", f="SLIME13" }, - HW513 = { t="HW513", f="SLIME16" }, - LITE2 = { t="LITE2", f="DEM1_2" }, - MODWALL3 = { t="MODWALL3", f="CEIL3_3" }, - PANEL9 = { t="PANEL9", f="CEIL4_3" }, - PLAT1 = { t="PLAT1", f="FLOOR6_2" }, - STARTAN3 = { t="STARTAN3", f="GRASS2" }, - ZZWOLF6 = { t="ZZWOLF6", f="CONS1_5" }, - MIDSPACE = { t="MIDSPACE", f="FLOOR0_1" }, - MIDBARS1 = { t="MIDBARS1", f="TLITE6_5" }, - METAL6 = { t="METAL6", f="CEIL3_2" }, - ZDOORB1 = { t="ZDOORB1", f="CONS1_5" }, - - -- flats -- - CEIL1_1 = { t="PLAT1", f="CEIL1_1" }, - CEIL3_2 = { t="METAL6", f="CEIL3_2" }, - CEIL3_4 = { t="MODWALL3", f="CEIL3_4" }, - CEIL4_3 = { t="PANEL9", f="CEIL4_3" }, - CONS1_5 = { t="ZZWOLF6", f="CONS1_5" }, - DEM1_3 = { t="MIDSPACE", f="DEM1_3" }, - FLAT1_2 = { t="BRNSMALC", f="FLAT1_2" }, - FLAT5_4 = { t="BSTONE2", f="FLAT5_4" }, - FLAT5_5 = { t="COMPUTE1", f="FLAT5_5" }, - FLOOR0_1 = { t="HW185", f="FLOOR0_1" }, - FLOOR0_2 = { t="BRICK10", f="FLOOR0_2" }, - FLOOR6_1 = { t="MIDBARS1", f="FLOOR6_1" }, - FLOOR6_2 = { t="PLAT1", f="FLOOR6_2" }, - MFLR8_2 = { t="BSTONE3", f="MFLR8_2" }, - GRASS2 = { t="STARTAN3", f="GRASS2" }, - RROCK03 = { t="HW209", f="RROCK03" }, - RROCK04 = { t="HW209", f="RROCK04" }, - RROCK14 = { t="HW506", f="RROCK14" }, - TLITE6_5 = { t="MIDBARS1", f="TLITE6_5" }, - - -- doorjamb/window frame -- - HW502 = { t="HW502", f="CONS1_5" }, - - -- doors -- - BIGDOOR2 = { t="BIGDOOR2", f="CONS1_5" }, - HD5 = { t="HD5", f="CONS1_5" }, - - -- switches -- - - -- floors -- - - -- rails -- - - CABLE = { t="HW167", rail_h=48 }, - SHARKS = { t="FIREWALB", rail_h=128 }, - SHELVES = { t="TEKGREN1", rail_h=128 }, - GRILL = { t="TEKGREN2", rail_h=128 }, - WEB = { t="HW213", rail_h=34 }, - - CAGE3 = { t="SPACEW3", rail_h=128 }, - CAGE4 = { t="SPACEW4", rail_h=128 }, - CAGE_BUST = { t="HW181", rail_h=128 }, - - FORCE_FIELD = { t="SLADRIP1", rail_h=128 }, - HIGH_BARS = { t="HW203", rail_h=128 }, - BRIDGE_RAIL = { t="HW211", rail_h=128 }, - SUPT_BEAM = { t="SHAWN2", rail_h=128 }, - BARRACADE = { t="HW225", rail_h=128 }, - - DARK_CONC_HOLE = { t="HW204", rail_h=128 }, - GRAY_ROCK_HOLE = { t="HW183", rail_h=128 }, - WASHGTON_HOLE = { t="HW353", rail_h=128 }, - - - -- liquids / animated -- - - NUKAGE1 = { f="NUKAGE1", t="HW177" }, - LAVA1 = { f="LAVA1", t="HW325" }, - FWATER1 = { f="FWATER1", t="BLODRIP1" }, - SLIME05 = { f="SLIME05", t="WFALL1" }, - SLIME09 = { f="SLIME09", t="SFALL1" }, - SLIME01 = { f="SLIME01", t="BRICK6" }, - WFALL1 = { f="SLIME05", t="WFALL1" }, - - -- teleporter - BLOOD1 = { f="BLOOD1", t="BRONZE1" }, - - - -- other -- - - O_PILL = { t="HW313", f="O_PILL", sane=1 }, - O_BOLT = { t="HW316", f="O_BOLT", sane=1 }, - O_RELIEF = { t="HW329", f="O_RELIEF", sane=1 }, - O_CARVE = { t="HW309", f="O_CARVE", sane=1 } -} - ------------------------------------------------------------------------- - -HACX.PREFAB_FIELDS = -{ -} - - -HACX.SKIN_DEFAULTS = -{ -} diff --git a/games/hacx/monsters.lua b/games/hacx/monsters.lua deleted file mode 100644 index dc00168916..0000000000 --- a/games/hacx/monsters.lua +++ /dev/null @@ -1,170 +0,0 @@ -HACX.MONSTERS = -{ - thug = - { - id = 3004, - r = 21, - h = 72, - level = 1, - prob = 60, - health = 60, - damage = 5, - attack = "hitscan" - }, - - android = - { - id = 9, - r = 21, - h = 70, - level = 2, - prob = 50, - health = 75, - damage = 10, - attack = "hitscan" - }, - - stealth = - { - id = 58, - r = 32, - h = 68, - level = 1, - prob = 5, - health = 30, - damage = 25, - attack = "melee", - float = true, - invis = true, - density = 0.25 - }, - - -- this thing just blows up on contact - roam_mine = - { - id = 84, - r = 5, - h = 32, - level = 1, - prob = 12, - health = 50, - damage = 5, - attack = "hitscan", - float = true, - density = 0.5 - }, - - phage = - { - id = 67, - r = 25, - h = 96, - level = 3, - prob = 40, - health = 150, - damage = 70, - attack = "missile" - }, - - buzzer = - { - id = 3002, - r = 25, - h = 68, - level = 3, - prob = 25, - health = 175, - damage = 25, - attack = "melee", - float = true - }, - - i_c_e = - { - id = 3001, - r = 32, - h = 56, - level = 4, - prob = 10, - health = 225, - damage = 7, - attack = "melee" - }, - - d_man = - { - id = 3006, - r = 48, - h = 78, - level = 4, - prob = 10, - health = 250, - damage = 7, - attack = "melee", - float = true - }, - - monstruct = - { - id = 65, - r = 35, - h = 88, - level = 5, - prob = 50, - health = 400, - damage = 80, - attack = "missile" - }, - - majong7 = - { - id = 71, - r = 31, - h = 56, - level = 5, - prob = 10, - health = 400, - damage = 20, - attack = "missile", - density = 0.5, - weap_prefs = { launch=0.2 } - }, - - terminatrix = - { - id = 3003, - r = 32, - h = 80, - level = 6, - prob = 25, - health = 450, - damage = 40, - attack = "hitscan", - density = 0.8 - }, - - thorn = - { - id = 68, - r = 66, - h = 96, - level = 7, - prob = 25, - health = 600, - damage = 70, - attack = "missile" - }, - - mecha = - { - id = 69, - r = 24, - h = 96, - level = 8, - prob = 10, - health = 800, - damage = 150, - attack = "missile", - density = 0.2 - } -} diff --git a/games/hacx/pickups.lua b/games/hacx/pickups.lua deleted file mode 100644 index 3b3b6ad2af..0000000000 --- a/games/hacx/pickups.lua +++ /dev/null @@ -1,163 +0,0 @@ -HACX.PICKUPS = -{ - -- HEALTH -- - - dampener = - { - id = 2014, - add_prob = 20, - cluster = { 4,7 }, - give = { {health=1} } - }, - - microkit = - { - id = 2011, - add_prob = 60, - cluster = { 2,5 }, - give = { {health=10} } - }, - - hypo = - { - id = 2012, - add_prob = 100, - cluster = { 1,3 }, - give = { {health=25} } - }, - - smart_drug = - { - id = 2013, - add_prob = 3, - big_item = true, - give = { {health=150} } - }, - - -- ARMOR -- - - inhaler = - { - id = 2015, - add_prob = 10, - armor = true, - cluster = { 4,7 }, - give = { {health=1} } - }, - - kevlar_armor = - { - id = 2018, - add_prob = 5, - armor = true, - big_item = true, - give = { {health=30} } - }, - - super_armor = - { - id = 2019, - add_prob = 2, - armor = true, - big_item = true, - give = { {health=90} } - }, - - -- AMMO -- - - bullets = - { - id = 2007, - add_prob = 10, - cluster = { 2,5 }, - give = { {ammo="bullet",count=10} } - }, - - bullet_box = - { - id = 2048, - add_prob = 40, - cluster = { 1,3 }, - give = { {ammo="bullet", count=50} } - }, - - shells = - { - id = 2008, - add_prob = 20, - cluster = { 2,5 }, - give = { {ammo="shell",count=4} } - }, - - shell_box = - { - id = 2049, - add_prob = 40, - cluster = { 1,3 }, - give = { {ammo="shell",count=20} } - }, - - torpedos = - { - id = 2010, - add_prob = 10, - cluster = { 4,7 }, - give = { {ammo="torpedo",count=1} } - }, - - torpedo_box = - { - id = 2046, - add_prob = 40, - cluster = { 1,3 }, - give = { {ammo="torpedo",count=5} } - }, - - molecules = - { - id = 2047, - add_prob = 20, - cluster = { 2,5 }, - give = { {ammo="molecule",count=20} } - }, - - mol_tank = - { - id = 17, - add_prob = 40, - cluster = { 1,2 }, - give = { {ammo="molecule",count=100} } - } -} - -HACX.NICE_ITEMS = -{ - - smart_drug = - { - id = 2013, - add_prob = 3, - big_item = true, - give = { {health=150} } - }, - - super_armor = - { - id = 2019, - add_prob = 2, - armor = true, - big_item = true, - give = { {health=90} } - }, - - reznator = - { - id = 2005, - kind = "other", -- really a weapon - add_prob = 5, - secret_prob = 10, - once_only = true - }, - -} - diff --git a/games/hacx/vanilla_mats.lua b/games/hacx/vanilla_mats.lua deleted file mode 100644 index 7d71d0e818..0000000000 --- a/games/hacx/vanilla_mats.lua +++ /dev/null @@ -1,674 +0,0 @@ -HACX.VANILLA_MATS = -{ - -- There are always added by Obsidian regardless of Engine selected - "O_BOLT", - -- Added for exit sign fabs - "HAC_EXIT", - -- Vanilla Flats - "BLOOD1", - "BLOOD2", - "BLOOD3", - "CEIL1_1", - "CEIL1_2", - "CEIL1_3", - "CEIL3_1", - "CEIL3_2", - "CEIL3_3", - "CEIL3_4", - "CEIL3_5", - "CEIL3_6", - "CEIL4_1", - "CEIL4_2", - "CEIL4_3", - "CEIL5_1", - "CEIL5_2", - "COMP01", - "CONS1_1", - "CONS1_5", - "CONS1_7", - "CRATOP1", - "CRATOP2", - "DEM1_1", - "DEM1_2", - "DEM1_3", - "DEM1_4", - "DEM1_5", - "DEM1_6", - "FLAT1", - "FLAT10", - "FLAT14", - "FLAT17", - "FLAT18", - "FLAT19", - "FLAT1_1", - "FLAT1_2", - "FLAT1_3", - "FLAT2", - "FLAT20", - "FLAT22", - "FLAT23", - "FLAT3", - "FLAT4", - "FLAT5", - "FLAT5_1", - "FLAT5_2", - "FLAT5_3", - "FLAT5_4", - "FLAT5_5", - "FLAT5_6", - "FLAT5_7", - "FLAT5_8", - "FLAT8", - "FLAT9", - "FLOOR0_1", - "FLOOR0_2", - "FLOOR0_3", - "FLOOR0_5", - "FLOOR0_6", - "FLOOR0_7", - "FLOOR1_1", - "FLOOR1_6", - "FLOOR1_7", - "FLOOR3_3", - "FLOOR4_1", - "FLOOR4_5", - "FLOOR4_6", - "FLOOR4_8", - "FLOOR5_1", - "FLOOR5_2", - "FLOOR5_3", - "FLOOR5_4", - "FLOOR6_1", - "FLOOR6_2", - "FLOOR7_1", - "FLOOR7_2", - "FWATER1", - "FWATER2", - "FWATER3", - "FWATER4", - "F_SKY1", - "GATE1", - "GATE2", - "GATE3", - "GATE4", - "GRASS1", - "GRASS2", - "GRNLITE1", - "GRNROCK", - "LAVA1", - "LAVA2", - "LAVA3", - "LAVA4", - "MFLR8_1", - "MFLR8_2", - "MFLR8_3", - "MFLR8_4", - "NUKAGE1", - "NUKAGE2", - "NUKAGE3", - "RROCK01", - "RROCK02", - "RROCK03", - "RROCK04", - "RROCK05", - "RROCK06", - "RROCK07", - "RROCK08", - "RROCK09", - "RROCK10", - "RROCK11", - "RROCK12", - "RROCK13", - "RROCK14", - "RROCK15", - "SFLR6_1", - "SFLR6_4", - "SFLR7_1", - "SFLR7_4", - "SLIME01", - "SLIME02", - "SLIME03", - "SLIME04", - "SLIME05", - "SLIME06", - "SLIME07", - "SLIME08", - "SLIME09", - "SLIME10", - "SLIME11", - "SLIME12", - "SLIME13", - "SLIME14", - "SLIME15", - "SLIME16", - "STEP1", - "STEP2", - "TLITE6_1", - "TLITE6_4", - "TLITE6_5", - "TLITE6_6", - -- Vanilla textures - "AASHITTY", - "AASTINKY", - "ASHWALL2", - "ASHWALL3", - "ASHWALL4", - "ASHWALL6", - "ASHWALL7", - "BFALL1", - "BFALL2", - "BFALL3", - "BFALL4", - "BIGBRIK1", - "BIGBRIK2", - "BIGBRIK3", - "BIGDOOR1", - "BIGDOOR2", - "BIGDOOR4", - "BLAKWAL1", - "BLAKWAL2", - "BLODGR1", - "BLODGR2", - "BLODGR3", - "BLODGR4", - "BLODRIP1", - "BLODRIP2", - "BLODRIP3", - "BLODRIP4", - "BRICK1", - "BRICK10", - "BRICK11", - "BRICK12", - "BRICK2", - "BRICK3", - "BRICK4", - "BRICK5", - "BRICK6", - "BRICK7", - "BRICK8", - "BRICK9", - "BRICKLIT", - "BRNBIGC", - "BRNBIGL", - "BRNBIGR", - "BRNPOIS", - "BRNPOIS2", - "BRNSMAL1", - "BRNSMAL2", - "BRNSMALC", - "BRNSMALL", - "BRNSMALR", - "BRONZE1", - "BRONZE2", - "BRONZE3", - "BRONZE4", - "BROWN1", - "BROWN144", - "BROWN96", - "BROWNGRN", - "BROWNHUG", - "BROWNPIP", - "BRWINDOW", - "BSTONE1", - "BSTONE2", - "BSTONE3", - "CEMENT7", - "CEMENT8", - "CEMENT9", - "COMP2", - "COMPSPAN", - "COMPSTA1", - "COMPSTA2", - "COMPTALL", - "COMPTILE", - "COMPUTE1", - "COMPUTE2", - "COMPUTE3", - "CRACKLE2", - "CRACKLE4", - "CRATE3", - "DBRAIN1", - "DBRAIN2", - "DBRAIN3", - "DBRAIN4", - "DOOR1", - "DOOR3", - "DOORBLU", - "DOORRED", - "DOORSTOP", - "DOORTRAK", - "DOORYEL", - "EXITDOOR", - "EXITSIGN", - "FIREWALA", - "FIREWALB", - "FIREWALC", - "FIREWALD", - "FIREWALL", - "GRAY4", - "GRAY5", - "GRAY7", - "GRAYTALL", - "GSTFONT1", - "GSTFONT2", - "GSTFONT3", - "HD1", - "HD2", - "HD3", - "HD4", - "HD5", - "HD6", - "HD7", - "HD8", - "HD9", - "HW162", - "HW163", - "HW164", - "HW165", - "HW166", - "HW167", - "HW168", - "HW169", - "HW170", - "HW171", - "HW172", - "HW173", - "HW174", - "HW175", - "HW176", - "HW177", - "HW178", - "HW179", - "HW180", - "HW181", - "HW182", - "HW183", - "HW184", - "HW185", - "HW186", - "HW187", - "HW188", - "HW189", - "HW190", - "HW191", - "HW192", - "HW193", - "HW194", - "HW195", - "HW196", - "HW197", - "HW198", - "HW199", - "HW200", - "HW201", - "HW202", - "HW203", - "HW204", - "HW205", - "HW206", - "HW207", - "HW208", - "HW209", - "HW210", - "HW211", - "HW212", - "HW213", - "HW214", - "HW215", - "HW216", - "HW217", - "HW218", - "HW219", - "HW221", - "HW222", - "HW223", - "HW224", - "HW225", - "HW226", - "HW227", - "HW228", - "HW229", - "HW24", - "HW300", - "HW301", - "HW302", - "HW303", - "HW304", - "HW305", - "HW306", - "HW307", - "HW308", - "HW309", - "HW310", - "HW311", - "HW312", - "HW313", - "HW314", - "HW315", - "HW316", - "HW317", - "HW318", - "HW319", - "HW320", - "HW321", - "HW322", - "HW323", - "HW324", - "HW325", - "HW326", - "HW327", - "HW328", - "HW329", - "HW330", - "HW331", - "HW332", - "HW333", - "HW334", - "HW335", - "HW336", - "HW337", - "HW338", - "HW339", - "HW340", - "HW341", - "HW343", - "HW344", - "HW345", - "HW347", - "HW348", - "HW349", - "HW350", - "HW351", - "HW352", - "HW353", - "HW354", - "HW355", - "HW356", - "HW357", - "HW358", - "HW361", - "HW363", - "HW364", - "HW365", - "HW366", - "HW367", - "HW500", - "HW501", - "HW502", - "HW503", - "HW504", - "HW505", - "HW506", - "HW507", - "HW508", - "HW509", - "HW510", - "HW511", - "HW512", - "HW513", - "HW600", - "HW601", - "LITE2", - "LITE3", - "LITE4", - "LITE5", - "LITEBLU1", - "LITEBLU2", - "LITEBLU3", - "LITEBLU4", - "MARBFAC4", - "MARBGRAY", - "METAL1", - "METAL2", - "METAL3", - "METAL4", - "METAL5", - "METAL6", - "METAL7", - "MIDBARS1", - "MIDBARS3", - "MIDBRONZ", - "MIDSPACE", - "MODWALL1", - "MODWALL2", - "MODWALL3", - "MODWALL4", - "NUKE24", - "NUKEDGE1", - "NUKESLAD", - "PANBLACK", - "PANBLUE", - "PANBOOK", - "PANBORD1", - "PANBORD2", - "PANCASE1", - "PANCASE2", - "PANEL1", - "PANEL2", - "PANEL3", - "PANEL4", - "PANEL5", - "PANEL6", - "PANEL7", - "PANEL8", - "PANEL9", - "PANRED", - "PIPE2", - "PIPES", - "PIPEWAL1", - "PIPEWAL2", - "PLANET1", - "PLAT1", - "REDWALL1", - "ROCK1", - "ROCK2", - "ROCK3", - "ROCK4", - "ROCK5", - "SAILBOTA", - "SAILBOTB", - "SAILTOPA", - "SAILTOPB", - "SFALL1", - "SFALL2", - "SFALL3", - "SFALL4", - "SHAWN2", - "SILVER1", - "SILVER2", - "SILVER3", - "SKY1", - "SKY2", - "SKY3", - "SK_LEFT", - "SK_RIGHT", - "SLADPOIS", - "SLADRIP1", - "SLADRIP2", - "SLADRIP3", - "SLADWALL", - "SLOPPY1", - "SLOPPY2", - "SPACEW2", - "SPACEW3", - "SPACEW4", - "SPCDOOR1", - "SPCDOOR2", - "SPCDOOR3", - "SPCDOOR4", - "SP_DUDE7", - "SP_DUDE8", - "SP_FACE2", - "STARG1", - "STARG3", - "STARGR1", - "STARTAN1", - "STARTAN2", - "STARTAN3", - "STEP1", - "STEP2", - "STEP3", - "STEP4", - "STEP5", - "STEP6", - "STONE", - "STONE2", - "STONE3", - "STONE4", - "STONE5", - "STONE6", - "STONE7", - "STONPOIS", - "STUCCO", - "STUCCO1", - "STUCCO2", - "STUCCO3", - "SUPPORT2", - "SW1BLUE", - "SW1BRCOM", - "SW1BRIK", - "SW1BRN1", - "SW1BRN2", - "SW1BRNGN", - "SW1BROWN", - "SW1CMT", - "SW1COMM", - "SW1COMP", - "SW1DIRT", - "SW1EXIT", - "SW1GARG", - "SW1GRAY", - "SW1GRAY1", - "SW1GSTON", - "SW1HOT", - "SW1LION", - "SW1MARB", - "SW1MET2", - "SW1METAL", - "SW1MOD1", - "SW1PANEL", - "SW1PIPE", - "SW1ROCK", - "SW1SATYR", - "SW1SKIN", - "SW1SKULL", - "SW1SLAD", - "SW1STARG", - "SW1STON1", - "SW1STON2", - "SW1STON6", - "SW1STONE", - "SW1STRTN", - "SW1TEK", - "SW1VINE", - "SW1WDMET", - "SW1WOOD", - "SW1ZIM", - "SW2BLUE", - "SW2BRCOM", - "SW2BRIK", - "SW2BRN1", - "SW2BRN2", - "SW2BRNGN", - "SW2BROWN", - "SW2CMT", - "SW2COMM", - "SW2COMP", - "SW2DIRT", - "SW2EXIT", - "SW2GARG", - "SW2GRAY", - "SW2GRAY1", - "SW2GSTON", - "SW2HOT", - "SW2LION", - "SW2MARB", - "SW2MET2", - "SW2METAL", - "SW2MOD1", - "SW2PANEL", - "SW2PIPE", - "SW2ROCK", - "SW2SATYR", - "SW2SKIN", - "SW2SKULL", - "SW2SLAD", - "SW2STARG", - "SW2STON1", - "SW2STON2", - "SW2STON6", - "SW2STONE", - "SW2STRTN", - "SW2TEK", - "SW2VINE", - "SW2WDMET", - "SW2WOOD", - "SW2ZIM", - "TANROCK2", - "TANROCK3", - "TANROCK4", - "TANROCK5", - "TANROCK7", - "TANROCK8", - "TEKBRON1", - "TEKBRON2", - "TEKGREN1", - "TEKGREN2", - "TEKGREN3", - "TEKGREN4", - "TEKGREN5", - "TEKLITE", - "TEKLITE2", - "TEKWALL1", - "TEKWALL2", - "TEKWALL3", - "TEKWALL4", - "TEKWALL5", - "TEKWALL6", - "WFALL1", - "WFALL2", - "WFALL3", - "WFALL4", - "WOOD10", - "WOOD12", - "WOOD6", - "WOOD7", - "WOOD8", - "WOOD9", - "WOODMET1", - "WOODMET2", - "WOODMET3", - "WOODMET4", - "WOODVERT", - "ZDOORB1", - "ZDOORF1", - "ZELDOOR", - "ZIMMER1", - "ZIMMER2", - "ZIMMER3", - "ZIMMER4", - "ZIMMER5", - "ZIMMER7", - "ZIMMER8", - "ZZWOLF1", - "ZZWOLF10", - "ZZWOLF11", - "ZZWOLF12", - "ZZWOLF13", - "ZZWOLF2", - "ZZWOLF3", - "ZZWOLF4", - "ZZWOLF5", - "ZZWOLF6", - "ZZWOLF7", - "ZZWOLF9", - "ZZZFACE1", - "ZZZFACE2", - "ZZZFACE3", - "ZZZFACE4", - "ZZZFACE5", - "ZZZFACE6", - "ZZZFACE7", - "ZZZFACE8", - "ZZZFACE9", -} diff --git a/games/hacx/weapons.lua b/games/hacx/weapons.lua deleted file mode 100644 index 0f3deceebe..0000000000 --- a/games/hacx/weapons.lua +++ /dev/null @@ -1,107 +0,0 @@ -HACX.WEAPONS = -{ - boot = - { - rate = 2.5, - damage = 5, - attack = "melee" - }, - - pistol = - { - pref = 5, - rate = 2.0, - damage = 20, - attack = "hitscan", - ammo = "bullet", - per = 1 - }, - - tazer = - { - id = 2001, - level = 1, - pref = 20, - add_prob = 10, - start_prob = 60, - attack = "hitscan", - rate = 1.2, - damage = 70, - ammo = "shell", - per = 1, - give = { {ammo="shell",count=8} } - }, - - cryogun = - { - id = 82, - level = 3, - pref = 40, - add_prob = 20, - attack = "hitscan", - rate = 0.9, - damage = 170, - splash = { 0,30 }, - ammo = "shell", - per = 2, - give = { {ammo="shell",count=8} } - }, - - fu2 = - { - id = 2002, - level = 3, - pref = 40, - add_prob = 35, - attack = "hitscan", - rate = 8.6, - damage = 10, - ammo = "bullet", - per = 1, - give = { {ammo="bullet",count=20} } - }, - - zooka = - { - id = 2003, - level = 3, - pref = 20, - add_prob = 25, - attack = "missile", - rate = 1.7, - damage = 80, - splash = { 50,20,5 }, - ammo = "torpedo", - per = 1, - give = { {ammo="torpedo",count=2} } - }, - - antigun = - { - id = 2004, - level = 5, - pref = 50, - add_prob = 13, - attack = "missile", - rate = 16, - damage = 20, - ammo = "molecule", - per = 1, - give = { {ammo="molecule",count=40} } - }, - - nuker = - { - id = 2006, - level = 7, - pref = 20, - add_prob = 30, - attack = "missile", - rate = 1.4, - damage = 300, - splash = {60,60,60,60, 60,60,60,60 }, - ammo = "molecule", - per = 40, - give = { {ammo="molecule",count=40} } - } -} diff --git a/modules/chex1/ctl_chex.lua b/modules/chex1/ctl_chex.lua deleted file mode 100644 index 320f8d7611..0000000000 --- a/modules/chex1/ctl_chex.lua +++ /dev/null @@ -1,288 +0,0 @@ ---------------------------------------------------------------- --- MODULE: Chex Quest 1 Control ----------------------------------------------------------------- --- --- Copyright (C) 2009-2010 Andrew Apted --- Copyright (C) 2020-2021 MsrSgtShooterPerson --- Copyright (C) 2021 Cubebert --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; either version 2, --- of the License, or (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- ----------------------------------------------------------------- - -CTL_CHEX1 = {} - -function CTL_CHEX1.monster_setup(self) - - module_param_up(self) - - for _,opt in pairs(self.options) do - - local M = GAME.MONSTERS[string.sub(opt.name, 7)] - - if M and PARAM[opt.name] ~= gui.gettext("Default") then - M.prob = PARAM[opt.name] * 100 - M.density = M.prob * .006 + .1 - - -- allow Spectres to be controlled individually - M.replaces = nil - - -- loosen some of the normal restrictions - M.skip_prob = nil - M.crazy_prob = nil - - if M.prob > 40 then - M.level = 1 - M.weap_min_damage = nil - end - - if M.prob > 200 then - M.boss_type = nil - end - end - end - -end - - -OB_MODULES["chex1_mon_control"] = -{ - name = "chex1_mon_control", - - label = _("Chex Quest 1 Monster Control"), - - game = "chex1", - engine = "idtech_1", - port = "!limit_enforcing", - where = "combat", - - - hooks = - { - setup = CTL_CHEX1.monster_setup - }, - - options = - { - { - name = "float_commonus", - label = _("Commonus"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Commoni."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_bipedicus", - label = _("Bipedicus"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Bipedici."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_armored_biped", - label = _("Armored Bipedicus"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Armored Bipedici."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_cycloptis", - label = _("Cycloptis"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Cyclopti."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - } - }, -} - - ----------------------------------------------------------------- - -CTL_CHEX1.WEAPON_PREF_CHOICES = -{ - "normal", _("Normal"), - "vanilla", _("Vanilla"), - "none", _("NONE"), -} - - -function CTL_CHEX1.weapon_setup(self) - - module_param_up(self) - - for _,opt in pairs(self.options) do - - local W = GAME.WEAPONS[string.sub(opt.name, 7)] -- Strip the float_ prefix from the weapon name for table lookup - - if W and PARAM[opt.name] ~= gui.gettext("Default") then - W.add_prob = PARAM[opt.name] * 100 - W.pref = W.add_prob * 0.28 + 1 -- Complete guesswork right now - Dasho - - -- loosen some of the normal restrictions - W.level = 1 - end - end -- for opt - - if PARAM.weapon_prefs == "vanilla" - or PARAM.weapon_prefs == "none" then - for _,mon in pairs(GAME.MONSTERS) do - mon.weapon_prefs = nil - end - end - - if PARAM.weapon_prefs == "vanilla" then - GAME.MONSTERS["Flem Mine"].weap_prefs = { zorch_propulsor = 2.0 } - end - -end - - -OB_MODULES["chex1_weapon_control"] = -{ - - name = "chex1_weapon_control", - - label = _("Chex Quest 1 Weapon Control"), - - game = "chex1", - engine = "idtech_1", - port = "!limit_enforcing", - where = "pickup", - - hooks = - { - setup = CTL_CHEX1.weapon_setup - }, - - options = - { - - { - name = "float_super_bootspork", - label = _("Super Bootspork"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the likelihood of finding the Super Bootspork."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_large_zorcher", - label = _("Large Zorcher"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Large Zorchers."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_rapid_zorcher", - label = _("Rapid Zorcher"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Rapid Zorchers."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_zorch_propulsor", - label = _("Zorch Propulsor"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Zorch Propulsors."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_phasing_zorcher", - label = _("Phasing Zorcher"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Phasing Zorchers."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_laz_device", - label = _("LAZ Device"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of LAZ Devices."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name="weapon_prefs", - label=_("Weapon Preferences"), - choices=CTL_CHEX1.WEAPON_PREF_CHOICES, - tooltip = _("Alters selection of weapons that are prefered to show up depending on enemy palette for a chosen map.\n\nNormal: Monsters have weapon preferences. Stronger weapons and ammo are more likely to appear directly with stronger enemies.\n\nVanilla: Vanilla Oblige-style preferences. Increases Zorch Propulsors if the map has more Flem Mines. \n\nNONE: No preferences at all. For those who like to live life dangerously with Super Cyclopti and only Super Bootsporks."), - default="normal", - priority = 0, - }, - }, -} \ No newline at end of file diff --git a/modules/hacx/ctl_hacx.lua b/modules/hacx/ctl_hacx.lua deleted file mode 100644 index 20c78caa80..0000000000 --- a/modules/hacx/ctl_hacx.lua +++ /dev/null @@ -1,447 +0,0 @@ ---------------------------------------------------------------- --- MODULE: Hacx Control ----------------------------------------------------------------- --- --- Copyright (C) 2009-2010 Andrew Apted --- Copyright (C) 2020-2021 MsrSgtShooterPerson --- Copyright (C) 2021 Cubebert --- --- This program is free software; you can redistribute it and/or --- modify it under the terms of the GNU General Public License --- as published by the Free Software Foundation; either version 2, --- of the License, or (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- ----------------------------------------------------------------- - -CTL_HACX = {} - -function CTL_HACX.monster_setup(self) - - module_param_up(self) - - for _,opt in pairs(self.options) do - - local M = GAME.MONSTERS[string.sub(opt.name, 7)] - - if M and PARAM[opt.name] ~= gui.gettext("Default") then - M.prob = PARAM[opt.name] * 100 - M.density = M.prob * .006 + .1 - - -- allow Spectres to be controlled individually - M.replaces = nil - - -- loosen some of the normal restrictions - M.skip_prob = nil - M.crazy_prob = nil - - if M.prob > 40 then - M.level = 1 - M.weap_min_damage = nil - end - - if M.prob > 200 then - M.boss_type = nil - end - end - end - -end - - -OB_MODULES["hacx_mon_control"] = -{ - - name = "hacx_mon_control", - - label = _("HacX 1.2 Monster Control"), - - game = "hacx", - engine = "idtech_1", - port = "!limit_enforcing", - where = "combat", - - hooks = - { - setup = CTL_HACX.monster_setup - }, - - options = - { - { - name = "float_thug", - label = _("Thug"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Thugs."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_android", - label = _("Android"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Androids."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_stealth", - label = _("Stealth Buzzer"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Stealth Buzzers."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_roam_mine", - label = _("Roaming Mine"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Roaming Mines."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_phage", - label = _("Phage"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Phages."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_buzzer", - label = _("Buzzer"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Buzzers."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_i_c_e", - label = _("ICE"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of ICEs."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_d_man", - label = _("D-Man"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of D-Men."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_monstruct", - label = _("Monstruct"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Monstructs."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_majong7", - label = _("Majong 7"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Majong 7s."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_terminatrix", - label = _("Terminatrix"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Terminatrixes."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_thorn", - label = _("Thorn"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Thorns."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - }, - - { - name = "float_mecha", - label = _("Mecha Maniac"), - valuator = "slider", - min = 0, - max = 20, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Mecha Maniacs."), - presets = _("0:0 (None at all),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),20:20 (INSANE)"), - randomize_group = "monsters" - } - }, -} - - ----------------------------------------------------------------- - -CTL_HACX.WEAPON_PREF_CHOICES = -{ - "normal", _("Normal"), - "vanilla", _("Vanilla"), - "none", _("NONE"), -} - - -function CTL_HACX.weapon_setup(self) - - module_param_up(self) - - for _,opt in pairs(self.options) do - - if opt.name == "float_reznator" then - if PARAM["float_reznator"] and PARAM["float_reznator"] ~= gui.gettext("Default") then - local info = GAME.NICE_ITEMS.reznator - local mult = PARAM["float_reznator"] or 0 - - if info.add_prob then info.add_prob = info.add_prob * mult end - if info.start_prob then info.start_prob = info.start_prob * mult end - if info.crazy_prob then info.crazy_prob = info.crazy_prob * mult end - if info.closet_prob then info.closet_prob = info.closet_prob * mult end - if info.secret_prob then info.secret_prob = info.secret_prob * mult end - if info.storage_prob then info.storage_prob = info.storage_prob * mult end - end - goto skip - end - - local W = GAME.WEAPONS[string.sub(opt.name, 7)] -- Strip the float_ prefix from the weapon name for table lookup - - if W and PARAM[opt.name] ~= gui.gettext("Default") then - W.add_prob = PARAM[opt.name] * 100 - W.pref = W.add_prob * 0.28 + 1 -- Complete guesswork right now - Dasho - - -- loosen some of the normal restrictions - W.level = 1 - end - - ::skip:: - - end -- for opt - - if PARAM.weapon_prefs == "vanilla" - or PARAM.weapon_prefs == "none" then - for _,mon in pairs(GAME.MONSTERS) do - mon.weapon_prefs = nil - end - end - - if PARAM.weapon_prefs == "vanilla" then - GAME.MONSTERS["ICE"].weap_prefs = { zooka = 2.0 } - GAME.MONSTERS["D-Man"].weap_prefs = { zooka = 2.0 } - GAME.MONSTERS["Roaming Mine"].weap_prefs = { zooka = 2.0 } - end - -end - - -OB_MODULES["hacx_weapon_control"] = -{ - - name = "hacx_weapon_control", - - label = _("HacX 1.2 Weapon Control"), - - game = "hacx", - engine = "idtech_1", - port = "!limit_enforcing", - where = "pickup", - - hooks = - { - setup = CTL_HACX.weapon_setup - }, - - options = - { - - { - name = "float_reznator", - label = _("Hoig Reznator"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the likelihood of finding the Hoig Reznator."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_tazer", - label = _("Tazer"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Tazers."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_cryogun", - label = _("Cryogun"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Cryoguns."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_fu2", - label = _("Uzi"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Uzis."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_zooka", - label = _("Photon 'Zooka"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Photon 'Zookas."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_antigun", - label = _("Anti-Gun"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Anti-Guns."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name = "float_nuker", - label = _("Nuker"), - valuator = "slider", - min = 0, - max = 10, - increment = .02, - default = _("Default"), - nan = _("Default"), - tooltip = _("Control the amount of Nukers."), - presets = _("0:0 (None),.02:0.02 (Scarce),.14:0.14 (Less),.5:0.5 (Plenty),1.2:1.2 (More),3:3 (Heaps),10:10 (I LOVE IT)"), - randomize_group = "pickups" - }, - - { - name="weapon_prefs", - label=_("Weapon Preferences"), - choices=CTL_HACX.WEAPON_PREF_CHOICES, - tooltip = _("Alters selection of weapons that are prefered to show up depending on enemy palette for a chosen map.\n\nNormal: Monsters have weapon preferences. Stronger weapons and ammo are more likely to appear directly with stronger enemies.\n\nVanilla: Vanilla Oblige-style preferences. Increases 'Zookas if the map has more ICEs, D-Mans, or roaming mines. \n\nNONE: No preferences at all. For those who like to live life dangerously with ICEs and only 'Zookas."), - default="normal", - }, - }, -} \ No newline at end of file diff --git a/modules/historical_versions.lua b/modules/historical_versions.lua index 03380cefef..0b79d4cce5 100644 --- a/modules/historical_versions.lua +++ b/modules/historical_versions.lua @@ -35,7 +35,7 @@ OB_MODULES["historical_versions"] = where = "arch", priority = 103, port = "!limit_enforcing", - game = { chex1=1, doom1=1, doom2=1, ultdoom=1, heretic=1, hacx=1, wolf=0, noah=0 }, + game = { chex1=0, doom1=1, doom2=1, ultdoom=1, heretic=1, hacx=0, wolf=0, noah=0 }, tooltip = _("Options to generate levels using past releases of Oblige, Obsidian's predecessor."), diff --git a/ports/boom.lua b/ports/boom.lua index 9c9d55c5ad..532afe3e85 100644 --- a/ports/boom.lua +++ b/ports/boom.lua @@ -149,7 +149,7 @@ OB_PORTS["boom"] = priority = 98, -- this makes it top-most, and the default engine - game = { chex1=1, doom1=1, doom2=1, hacx=1 }, + game = { chex1=0, doom1=1, doom2=1, hacx=0 }, tables = { diff --git a/ports/edge.lua b/ports/edge.lua index 42fac037b7..8bbfea8561 100644 --- a/ports/edge.lua +++ b/ports/edge.lua @@ -161,7 +161,7 @@ OB_PORTS["edge"] = priority = 95, - game = { chex1=1, doom1=1, doom2=1, hacx=1, heretic=1, ultdoom=1, tnt=1, plutonia=1 }, + game = { chex1=0, doom1=1, doom2=1, hacx=0, heretic=1, ultdoom=1, tnt=1, plutonia=1 }, tables = { diff --git a/ports/zdoom.lua b/ports/zdoom.lua index 340376804d..ae1db37f20 100644 --- a/ports/zdoom.lua +++ b/ports/zdoom.lua @@ -66,7 +66,7 @@ OB_PORTS["zdoom"] = game = { - chex1=1, doom1=1, doom2=1, heretic=1, hacx=1 + chex1=0, doom1=1, doom2=1, heretic=1, hacx=0 }, tables = diff --git a/scripts/grower.lua b/scripts/grower.lua index 406ec5c1a5..b75adc184b 100644 --- a/scripts/grower.lua +++ b/scripts/grower.lua @@ -891,10 +891,12 @@ function Grower_calc_rule_probs(LEVEL) -- outdoor openness pass if LEVEL.outdoor_openness then for _,rule in pairs(SHAPE_GRAMMAR) do - if string.match(rule.name, "COLONNADE") or - string.match(rule.name, "PILLAR") then - rule.env = "building" - rule.outdoor_openness = "low" + if type(rule) == "table" then + if string.match(rule.name, "COLONNADE") or + string.match(rule.name, "PILLAR") then + rule.env = "building" + rule.outdoor_openness = "low" + end end end end diff --git a/scripts/level.lua b/scripts/level.lua index 4dbf51f5fa..f8b81ac30c 100644 --- a/scripts/level.lua +++ b/scripts/level.lua @@ -2776,7 +2776,7 @@ function Level_make_all() GAME.episodes = {} -- semi-supported games warning - if ob_match_game({ game = { chex1=1} }) then + if ob_match_game({ game = { unused=1 } }) then if ob_mod_enabled("experimental_games") == 0 then error(gui.gettext("\nWarning: The game that you have selected is in an experimental state. WADs may not build successfully and certain gameplay features may not be implemented yet! To ignore this warning and continue generation for these games, check the \"Allow Partially Supported Games\" checkbox located under the Experimental tab.\n\nUse the tooltip for the \"Allow Partially Supported Games\" module to find the exact status for the game in question.")) end diff --git a/scripts/obsidian.lua b/scripts/obsidian.lua index 90a19d4f5e..d985775648 100644 --- a/scripts/obsidian.lua +++ b/scripts/obsidian.lua @@ -569,7 +569,7 @@ function ob_update_ports() if OB_CONFIG.engine == "idtech_0" then OB_CONFIG.port = "vanilla" elseif OB_CONFIG.engine == "idtech_1" then - if OB_CONFIG.game == "chex1" then -- Ugh + if OB_CONFIG.game == "chex1" or OB_CONFIG.game == "hacx" then -- Ugh OB_CONFIG.port = "limit_enforcing" else OB_CONFIG.port = "zdoom" diff --git a/scripts/render.lua b/scripts/render.lua index 797de92976..29be37eeac 100644 --- a/scripts/render.lua +++ b/scripts/render.lua @@ -27,7 +27,7 @@ function Render_add_exit_sign(E, z, SEEDS, LEVEL) if PARAM.bool_exit_signs ~= 1 then return end -- These games need an engine that supports TX_START/TX_END merging - if ob_match_game({ game = { chex1=1, hacx=1, heretic=1} }) then + if ob_match_game({ game = { heretic=1} }) then if not ob_match_port({ port = { edge=1, zdoom=1 } }) then return end end