diff --git a/scripts/vscripts/anv_mapfixes.nut b/scripts/vscripts/anv_mapfixes.nut index 288c03e0..68c498f9 100644 --- a/scripts/vscripts/anv_mapfixes.nut +++ b/scripts/vscripts/anv_mapfixes.nut @@ -129,1853 +129,11 @@ __CollectEventCallbacks( this, "OnGameEvent_", "GameEventCallbacks", RegisterScr } } + IncludeScript( "anv_mapfixes/" + g_MapName ); + switch( g_MapName ) { //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - /*============================== - || || - || DEAD CENTER || - || || - ==============================*/ - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c1m1_hotel": - { - g_Chapter = "DEAD CENTER - HOTEL"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_cliphang_window", "Survivors", 1, "-72 -123 -12", "127 14 44", "2335 6420 2804" ); -make_clip( "_cliphang_ledge", "Survivors", 1, "-450 -8 0", "1130 8 216", "1222 6232 2912" ); -make_clip( "_barricadefire_bypass", "Survivors", 1, "-17 -96 -64", "17 96 64", "1326 5624 2528" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c1m2_streets": - { - g_Chapter = "DEAD CENTER - STREETS"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_mindthegap_lolvalve", "SI Players", 1, "-32 -4 -64", "32 4 64", "-2472 137 64" ); -make_clip( "_stuckwarpassist_walltovoid", "SI Players", 1, "-1536 -476 -5", "0 500 0", "-5056 1500 1344" ); -make_clip( "_nav_cedaramp_in", "SI Players and AI", 1, "0 -18 -14", "10 21 51", "-4268 2566 75", "-50 -35 0" ); -make_clip( "_nav_cedaramp_out", "SI Players and AI", 1, "-95 -20 4", "38 17 11", "-4322 2567 102", "-8 0 0" ); -make_clip( "_colastore_clipgap", "Survivors", 1, "-8 -97 0", "8 75 856", "-6792 -3215 616" ); -make_clip( "_colastore_clipawn", "Survivors", 1, "-23 -541 1", "41 547 17", "-7017 -1699 599" ); -make_clip( "_ladderqol_railing", "SI Players", 1, "-138 -1 -12", "758 4 36", "-2614 2319 300" ); -make_clip( "_save4lesscurb_smoother1", "Everyone", 1, "-7 -110 0", "14 113 5", "-6515 -2681 384" ); -make_clip( "_save4lesscurb_smoother2", "Everyone", 1, "-7 -127 0", "14 129 5", "-6515 -2302 384" ); -make_clip( "_save4lesscurb_smoother3", "Everyone", 1, "-7 -432 0", "9 435 5", "-6899 -1601 384" ); -make_clip("_ladderqol_smootherl", "Everyone", 1, "-7 -190 0", "7 190 2", "-6059 -2238 430", "-45 0 0" ); -make_clip("_ladderqol_smootherm", "Everyone", 1, "-7 -255 0", "7 118 2", "-6060 -2586 427", "-45 0 0" ); -make_clip("_ladderqol_smootherr", "Everyone", 1, "-7 -36 0", "7 77 2", "-6056 -2960 412", "-45 0 0" ); -make_clip( "_whitakercurb_smoother1", "Everyone", 1, "-9 -315 0", "15 294 6", "-5525 -2349 448" ); -make_clip( "_whitakercurb_smoother2", "Everyone", 1, "-9 -208 0", "15 160 6", "-5525 -1719 448" ); -make_clip( "_booster_bridgestairsa", "Survivors", 1, "-4 -84 0", "4 84 700", "-5572 932 768" ); -make_clip( "_booster_bridgestairsb", "Survivors", 1, "-56 -8 0", "56 8 700", "-5512 1016 832" ); -make_clip( "_booster_building", "Survivors", 1, "-8 -384 0", "8 384 128", "-5064 1408 1344" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_booster_mallroof", "Survivors", 1, "0 -130 -377", "2150 136 448", "-9218 -4415 1024" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - -make_clip( "_tanker_blowfish", "Survivors", 1, "-85 -435 -6", "33 331 791", "-6740 -758 681", "0 328 0" ); - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c1m3_mall": - { - g_Chapter = "DEAD CENTER - MALL"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_commonhop_maproom", "Survivors", 1, "-24 -17 0", "100 17 112", "3673 -2517 424" ); -make_clip( "_cliprework_skylighta", "Survivors", 1, "-192 -193 -23", "192 191 57", "6464 -2591 559" ); -make_clip( "_cliprework_skylightb", "Survivors", 1, "-541 -189 -1", "547 195 32", "4173 -2627 793" ); -make_clip( "_cliprework_skylightc", "Survivors", 1, "-194 -544 -1", "190 544 32", "2274 -672 793" ); -make_clip( "_cliprework_skylightd", "Survivors", 1, "-1017 -167 0", "1018 149 32", "1465 -3418 794", "0 45 0" ); - -con_comment( "FIX:\tMoved an exposed stairwell hurt trigger down inside a vending machine." ); - -local hndHurtStairwell = Entities.FindByName( null, "hurt_stairwell" ); - -if ( SafelyExists( hndHurtStairwell ) ) -{ - hndHurtStairwell.SetOrigin( Vector( 683.5, -583, 307 ) ); -} - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c1m4_atrium": - { - g_Chapter = "DEAD CENTER - ATRIUM"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_booster_storefrontleft", "Survivors", 1, "-900 -16 0", "900 82 36", "-4256 -4464 196" ); -make_clip( "_booster_storefrontright", "Survivors", 1, "-169 -32 0", "785 16 36", "-3344 -3280 196" ); -make_clip( "_booster_pillarclip", "Survivors", 1, "-18 -32 0", "38 8 362", "-3434 -3533 472", "0 45 0" ); -make_clip( "_booster_cedaplastic", "Survivors", 1, "-125 -2 -22", "130 1 186", "-2787 -4193 302" ); -make_clip( "_booster_thicklongledge", "Survivors", 1, "-3856 0 -72", "0 81 256", "-2368 -4224 1080" ); -make_clip( "_booster_nodrawcorner", "Survivors", 1, "-555 -400 0", "0 400 256", "-5770 -3926 1024", "0 45 0" ); -make_clip( "_booster_libertymall", "Survivors", 1, "-18 -257 0", "18 257 500", "-2386 -3840 824" ); -make_clip( "_booster_fallbanner", "Survivors", 1, "-1 -81 0", "1 81 256", "-2929 -3889.5 991" ); -make_clip( "_booster_bridgeroof", "Survivors", 1, "-345 -110 0", "345 18 512", "-3339 -3857 864", "0 -70.5 0" ); -make_clip( "_booster_hardhatsa", "Survivors", 1, "-128 -14 0", "128 14 512", "-3070 -4206 536" ); -make_clip( "_booster_hardhatsb", "Survivors", 1, "-42 -14 0", "42 14 512", "-3370 -4206 536" ); -make_clip( "_booster_highbalcony", "Survivors", 1, "-260 -162 0", "260 162 520", "-4695 -4336 792" ); -make_clip( "_booster_glassbalcony", "Survivors", 1, "-128 -82 0", "128 0 1", "-3688 -4334 791" ); -make_clip( "_nav_ladyshoes", "Survivors", 1, "-103 -3 0", "70 3 56", "-4971 -4461 432" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - /*============================== - || || - || DARK CARNIVAL || - || || - ==============================*/ - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c2m1_highway": - { - g_Chapter = "DARK CARNIVAL - HIGHWAY"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_permstuck_tanktreea", "Everyone", 1, "-24 -24 -64", "24 24 17", "4096 5123 -938" ); -make_clip( "_permstuck_tanktreeb", "Everyone", 1, "-24 -24 -64", "24 24 17", "4067 4930 -913" ); -make_clip( "_permstuck_tanktreec", "Everyone", 1, "-24 -24 -64", "24 24 17", "3911 3914 -941" ); -make_clip( "_cargocontainer_oob_01", "SI Players", 1, "-32 -464 -376", "32 464 376", "3616 2512 -632" ); -make_clip( "_cargocontainer_oob_02", "SI Players", 1, "-32 -192 -48", "32 192 48", "3616 1328 -1744" ); -make_clip( "_cargocontainer_oob_03", "SI Players", 1, "-64 -96 -200", "64 96 200", "3136 2595 -1243", "0 0 -42" ); -make_clip( "_cargocontainer_dispcrouch", "SI Players", 1, "-388 -16 0", "388 32 484", "3203 1572 -1822", "0 -5 -12" ); -make_clip( "_dispcrouch_rocka", "Everyone", 1, "-8 -161 -320", "8 110 240", "1280 2115 -1615", "0 135 0" ); -make_clip( "_dispcrouch_rockb", "Everyone", 1, "-140 -8 -320", "160 8 380", "1046 2025 -1615", "0 10 0" ); -make_clip( "_dispcrouch_rockc", "Everyone", 1, "-80 -8 -320", "80 8 230", "820 2010 -1611", "0 -14 0" ); -make_clip( "_dispcrouch_rockd", "Everyone", 1, "-80 -8 -320", "90 8 216", "686 2100 -1585", "0 -51 0" ); -make_clip( "_dispcrouch_rocke", "Everyone", 1, "-99 -8 -320", "84 8 106", "618 2260 -1464", "0 90 0" ); -make_clip( "_dispcrouch_swampa", "Everyone", 1, "-132 -8 0", "150 8 101", "2523 1855 -1805", "0 90 0" ); -make_clip( "_dispcrouch_swampb", "Everyone", 1, "-100 -8 0", "80 8 101", "2595 1654 -1807", "0 142 0" ); -make_clip( "_cliprework_fence", "Survivors", 1, "-70 -480 0", "8 480 640", "-193 -1932 -900" ); -make_clip( "_commonhop_barrier", "Survivors", 1, "-210 -2 0", "210 2 690", "365 -1098 -950" ); -make_clip( "_commonhop_tree", "Survivors", 1, "-150 -200 0", "200 150 640", "-46 -1242 -900" ); -make_clip( "_shoppingcart_roof", "Survivors", 1, "-290 -320 0", "256 264 1024", "-517 -2678 -940" ); -make_clip( "_shoppingcart_tarpa", "Survivors", 1, "-51 -222 0", "50 256 711", "-1718 -2783 -967", "0 38 0" ); -make_clip( "_shoppingcart_tarpb", "Survivors", 1, "-51 -232 0", "48 258 711", "-1800 -2319 -967", "0 -21 0" ); -make_clip( "_shoppingcart_tarpc", "Survivors", 1, "-78 -506 0", "8 518 711", "-1838 -1583 -952", "0 16 0" ); -make_clip( "_booster_clipgap", "Survivors", 1, "-20 -20 24", "365 120 700", "3632 5712 -880" ); -make_clip( "_shortcut_start_trucka", "Survivors", 1, "-5 -174 0", "96 188 514", "4493 7285 -756", "0 16 0" ); -make_clip( "_shortcut_start_truckb", "Survivors", 1, "36 -157 0", "96 76 514", "4388 7285 -756", "0 16 0" ); -make_clip( "_shortcut_start_busblu", "Survivors", 1, "-236 -47 0", "251 66 500", "4379 7676 -756", "0 -45 0" ); -make_clip( "_shortcut_start_shruba", "Survivors", 1, "-8 -114.5 -17", "8 67 514", "4779 7377 -756", "0 11 0" ); -make_clip( "_shortcut_start_shrubb", "Survivors", 1, "-8 -105 -17", "8 71 514", "4669 7457 -756", "0 79 0" ); -make_clip( "_shortcut_start_shrubc", "Survivors", 1, "-8 -91 -17", "8 59 514", "4626 7363 -756", "0 193 0" ); -make_clip( "_shortcut_start_shrubd", "Survivors", 1, "-8 -105 -17", "8 47 514", "4736 7283 -756", "0 255 0" ); -make_clip( "_booster_motelsign", "Survivors", 1, "-105 -13 -71", "132 17 252", "2932 4894 -507" ); -make_clip( "_permstuck_startfence", "Everyone", 1, "-147 -34 0", "45 39 1206", "11140 7179 -566", "0 21 0" ); -make_clip( "_longbush_booster", "Survivors", 1, "-205 -770 0", "379 1585 111", "4092 3921 -369", "0 -4 0" ); -make_clip( "_longbush_undermapa", "SI Players", 1, "-42 -1313 -145", "3 1555 552", "4625 4099 -805" ); -make_clip( "_longbush_undermapb", "SI Players", 1, "-174 -5 0", "475 5 822", "4142 2981 -983" ); -make_clip( "_clipextend_poolwalla", "Survivors", 1, "-517 -10 0", "517 10 360", "2561 3843 -640" ); -make_clip( "_clipextend_poolwallb", "Survivors", 1, "-6 -350 0", "6 350 360", "3067 4200 -640" ); -make_clip( "_permstuck_endfence", "Everyone", 1, "-93 -28 0", "53 38 143", "547 -635 -1087", "0 -33 0" ); -make_clip( "_clipextend_umbrella1", "Survivors", 1, "-48 -50 0", "50 48 522", "2683 4055 -773" ); -make_clip( "_clipextend_umbrella2", "Survivors", 1, "-48 -50 0", "50 48 522", "2483 3989 -773" ); -make_clip( "_clipextend_umbrella3", "Survivors", 1, "-48 -52 0", "50 50 522", "2243 4047 -773" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - -con_comment( "KILL:\tShrubwall shortcut unpatched for Coop (popular request)." ); - -EntFire( g_UpdateName + "_shortcut_start*", "Kill" ); - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_overpass_trucknuke", "Survivors", 1, "-126 -45 0", "-33 45 156", "3467 7102 -704", "0 -14 0" ); -make_clip( "_tank_busleft", "Survivors", 1, "-258 -56 0", "271 52 430", "1731 6723 -574", "0 -28 0" ); -make_clip( "_tank_busright", "Survivors", 1, "-284 -48 -200", "284 48 200", "1688 7008 -344", "0 22 0" ); -make_clip( "_tank_fence", "Survivors", 1, "-780 -14 -130", "780 14 156", "2588 7168 -412" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - -make_clip( "_survival_midnightride", "Survivors", 1, "-839 -4 0", "448 15 422", "2618 6269 -679" ); -make_clip( "_survival_midnightsign", "Survivors", 1, "-190 -155 -37", "190 145 162", "2338 6131 -415" ); -make_clip( "_survival_boostshrub", "Survivors", 1, "-24 -208 0", "27 280 112", "3079 6479 -343" ); -make_clip( "_survival_fence_extend", "Survivors", 1, "0 -234 0", "77 0 360", "2042 3837 -640" ); - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - -make_clip( "_scavenge_fence_painthop", "Survivors", 1, "0 -234 -145", "77 0 360", "2042 3837 -640" ); - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c2m2_fairgrounds": - { - g_Chapter = "DARK CARNIVAL - FAIRGROUND"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_bunnyhop_roundtable", "Survivors", 1, "-45 -256 0", "100 256 502", "2360 -244 266" ); -make_clip( "_booster_unattackable", "Survivors", 1, "-100 -17 0", "700 17 512", "4000 -2304 268" ); -make_clip( "_forklift_roof", "Survivors", 1, "-7 -128 0", "10 128 575", "1750 -1660 193" ); -make_clip( "_commonhop_whitefence", "Survivors", 1, "-77 -5 0", "77 5 777", "-3903 -1141 -15" ); -make_clip( "_commonhop_carouselroofs", "Survivors", 1, "-230 -5 0", "302 1142 666", "-990 -5501 192" ); -make_clip( "_void_filler", "Everyone", 1, "-222 0 -125", "222 16 55", "-1792 -7311 250" ); -make_clip( "_charger_smoother", "Everyone", 1, "-56 -256 -6", "56 256 6", "-3119 -896 152", "-40 0 0" ); -make_clip( "_cliprework_unattackable", "Survivors", 1, "-8 -1009 0", "8 1007 128", "-504 -1535 128" ); -make_clip( "_cliprework_beanbinninga", "Survivors", 1, "-8 -961 0", "8 959 128", "-888 -1535 128" ); -make_clip( "_cliprework_beanbinningb", "Survivors", 1, "-178 -11 0", "190 5 128", "-702 -2549 128" ); -make_clip( "_cliprework_unattackablea", "Survivors", 1, "-23 -1191 0", "29 177 597", "-3405 -6489 204" ); -make_clip( "_cliprework_unattackableb", "Survivors", 1, "-178 -24 0", "82 24 597", "-3510 -6336 204" ); -make_clip( "_cliprework_unattackablec", "Survivors", 1, "-24 -236 0", "24 304 597", "-3664 -6076 204" ); -make_clip( "_cliprework_unattackabled", "Survivors", 1, "-1108 -23 0", "324 21 597", "-4012 -5793 204" ); -make_clip( "_cliprework_unattackablee", "Survivors", 1, "-4 -303 0", "4 865 492", "-4352 -5473 272" ); -make_clip( "_cliprework_wrongwaya", "Survivors", 1, "-207 -7 0", "218 1 578", "-481 -5505 192" ); -make_clip( "_cliprework_wrongwayb", "Survivors", 1, "-8 -866 0", "8 799 578", "-258 -6303 192" ); -make_clip( "_cliprework_wrongwayc", "Survivors", 1, "-2113 -10 0", "1219 5 578", "-1471 -7166 192" ); -make_clip( "_nav_exitsign", "Survivors", 1, "-8 -11 0", "11 12 120", "1048 -1269 128" ); -make_clip( "_cliprework_blockergap", "Survivors", 1, "-121 -8 0", "123 8 384", "-4235 -3968 384" ); -make_clip( "_unattackable_traintunnel", "Survivors", 1, "-324 -1040 -171", "220 1040 342", "-604 -1536 428" ); -make_clip( "_dispcollision_fairgrounds", "All and Physics", 1, "-1400 -1700 -2", "1400 1700 0", "-1903 -142 -128" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_booster_uppertrackb", "Survivors", 1, "-64 -448 -320", "64 448 320", "-1536 -2368 448" ); -make_clip( "_booster_uppertracka", "Survivors", 1, "-57 -313 -208.5", "57 313 208.5", "-2721 -825 337" ); -make_clip( "_clipextend_carouselboost", "Survivors", 1, "-234 -4 0", "234 4 666", "-1446 -5248 192" ); - -// Piggyback on Survivor-filtered trigger just beyond the carousel off switch. - -con_comment( "LOGIC:\tAnti-boost ToL clips will be deleted by existing trigger after carousel switch." ); - -make_clip( "_tol_clip_brush_a", "Survivors", 1, "-818 -16 0", "82 599 572", "-3530 -5162 192" ); -make_clip( "_tol_clip_brush_b", "Survivors", 1, "-9 -263 0", "488 -1 572", "-3439 -5178 192" ); -DoEntFire( "!self", "AddOutput", "OnTrigger anv_mapfixes_tol_clip_brush*:Kill::-1", 0.0, null, Entities.FindByClassnameNearest( "trigger_once", Vector( -2496, -6544, 4 ), 1 ) ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c2m3_coaster": - { - g_Chapter = "DARK CARNIVAL - COASTER"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_smokerinfamya", "SI Players", 1, "-4000 -80 -1337", "0 1600 0", "-4450 2525 309" ); -make_clip( "_smokerinfamyb", "SI Players", 1, "-4000 0 0", "160 1111 1337", "-4450 3005 309" ); -make_clip( "_smokerinfamyc", "SI Players", 1, "-4000 -289 0", "0 271 1337", "-5119 2734 309" ); -make_clip( "_shortcut_commonhopa", "Survivors", 1, "-10 -10 -64", "10 10 216", "-3720 1144 96" ); -make_clip( "_shortcut_commonhopb", "Survivors", 1, "-10 -10 -56", "10 10 232", "-3720 1352 72" ); -make_clip( "_shortcut_commonhopc", "Survivors", 1, "-10 -10 -52", "10 10 227", "-3720 1768 77" ); -make_clip( "_stuckwarp_gatearm", "Everyone", 1, "-31 -36 -54", "31 36 54", "-3799 1100 82" ); -make_clip( "_cliprework_tunnelb", "Survivors", 1, "-777 -110 -108", "82 360 1100", "-3418 3460 652" ); -make_clip( "_cliprework_tunnela", "Survivors", 1, "-300 -80 -108", "82 360 1100", "-3902 3021 655" ); -make_clip( "_nav_extinguisher", "Survivors", 1, "-16 -4 0", "16 4 44", "-325 4116 244" ); -make_clip( "_commonhop_curvedrail", "Survivors", 1, "-5 -120 0", "17 260 25", "-3498 2060 250" ); -make_clip( "_cliprework_fourvents", "Survivors", 1, "-223 -1 0", "225 4 64", "239 3676 272" ); -make_clip( "_cliprework_semipermstuck", "Everyone", 1, "-20 -50 0", "19 22 32", "-3254 2792 0", "0 -15 0" ); -make_clip( "_cliprework_culdesaca", "Survivors", 1, "-95 -4 0", "98 4 206", "-3917 2979 152", "0 25 0" ); -make_clip( "_cliprework_culdesacb", "Survivors", 1, "-176 -4 0", "142 4 1603", "-3659 3066 152", "0 15 0" ); -make_clip( "_cliprework_culdesacc", "Survivors", 1, "-175 -4 0", "178 4 206", "-3351 3058 152", "0 -15 0" ); -make_clip( "_cliprework_culdesacd", "Survivors", 1, "-4 -280 0", "4 106 1387", "-3493 3256 368" ); -make_clip( "_shortcut_commonhopd", "Survivors", 1, "-10 -10 -56", "10 10 227", "-3512 1352 77" ); -make_clip( "_shortcut_commonhope", "Survivors", 1, "-10 -10 -56", "10 10 227", "-3512 1768 77" ); -make_clip( "_shortcut_commonhopf", "Survivors", 1, "-10 -10 -56", "10 10 263", "-3720 1976 57" ); -make_clip( "_cliprework_shrubgap", "Survivors", 1, "-112 -80 0", "112 80 286", "-3072 128 152" ); -make_clip( "_onewaybreakwall_elecbox", "Everyone", 1, "-64 -4 0", "64 4 236", "-64 3524 100" ); -make_clip( "_endbridge_shiftsmoother1", "Everyone", 1, "-1 -42 0", "1 38 2", "-4183 2320 272" ); -make_clip( "_endbridge_shiftsmoother2", "Everyone", 1, "-42 -1 0", "38 1 2", "-4729 2277 164" ); -make_clip( "_permstuck_irredeemable", "SI Players", 1, "-48 -42 0", "16 94 152", "-2064 -174 0" ); -make_clip( "_permstuck_swanroom_rest", "Everyone", 1, "-54 -20 0", "58 29 108", "510 4084 -7" ); -make_clip( "_semiperm_coastergate", "Survivors", 1, "-64 -664 0", "64 16 140", "-2784 1688 0" ); -make_clip( "_recompilepls_pillar1", "Survivors", 1, "-10 -10 0", "10 10 272", "-3760 2360 0" ); -make_clip( "_recompilepls_pillar2", "Survivors", 1, "-10 -10 0", "10 10 272", "-3760 2280 0" ); -make_clip( "_recompilepls_pillar3", "Survivors", 1, "-10 -10 0", "10 10 272", "-4032 2280 0" ); -make_clip( "_recompilepls_pillar4", "Survivors", 1, "-10 -10 0", "10 10 272", "-4032 2360 0" ); -make_clip( "_recompilepls_pillar5", "Survivors", 1, "-10 -10 0", "10 10 272", "-4176 2360 0" ); -make_clip( "_recompilepls_pillar6", "Survivors", 1, "-10 -10 0", "10 10 272", "-4176 2280 0" ); -make_clip( "_cliprework_permstuck", "Survivors", 1, "-93 -81 -55", "108 47 88", "-3266 3057 413" ); -make_clip( "_stuckwarp_swanstairs", "Everyone", 1, "-52 0 0", "143 3 37", "298 4192 43", "-34.5 0 0" ); -make_brush( "_permstuck_swanroom_dead", "-54 -20 0", "58 29 108", "510 4084 -7" ); -make_trigduck( "_duckqol_swanhole", "-5 -32 -32", "5 32 32", "1348 4096 32" ); - -make_clip( "_onewayhole_blockclip", "Everyone", 1, "-64 -13 -20", "64 13 28", "336 3777 180", "0 160 0" ); -make_prop( "dynamic", "_onewayhole_blockpipe", "models/props_pipes/pipeset08d_128_001a.mdl", "336 3777 180", "0 160 90", "shadow_no" ); - -//con_comment( "LOGIC:\tBeta Coaster Rubble restored for Campaign and Survival relays." ); - -//make_prop( "dynamic", "_dynamic_coaster_rubble", "models/rollercoaster/coaster_debris.mdl", "0 0 -8", "0 0 0", "shadow_no", "solid_no" ); -//EntFire( "relay_start_onslaught", "AddOutput", "OnTrigger anv_mapfixes_dynamic_coaster_rubble:SetAnimation:debris:6.33:-1" ); -//EntFire( "relay_panicevent", "AddOutput", "OnTrigger anv_mapfixes_dynamic_coaster_rubble:SetAnimation:debris:6.33:-1" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_shortcut_longjump", "Survivors", 1, "-17 -216 0", "17 216 1580", "-4240 2616 171" ); - -make_clip( "_shortcut_supports", "Survivors", 1, "-86 -10 -137", "86 10 32", "-3904 2062 96" ); -make_clip( "_cliprework_scaffnuke_skipa", "Survivors", 1, "-120 -111 -48", "150 88 310", "-3044 3000 177" ); -make_clip( "_cliprework_scaffnuke_skipb", "Survivors", 1, "-90 -211 -48", "82 0 310", "-2788 2760 177" ); -make_clip( "_cliprework_scaffnuke_skipc", "Survivors", 1, "-120 -111 -48", "20 -73 1545", "-3044 3000 177" ); -make_clip( "_cliprework_scaffnuke_skipd", "Survivors", 1, "-90 -211 -48", "-61 0 1545", "-2788 2760 177" ); -make_clip( "_cliprework_roofa", "Survivors", 1, "-108 -224 -320", "108 224 1100", "-3596 1560 640" ); -make_clip( "_cliprework_roofb", "Survivors", 1, "-295 -444 -280", "295 444 1100", "-3970 1558 640" ); -make_clip( "_cliprework_sign", "Survivors", 1, "-307 -70 0", "307 70 1320", "-3902 2321 431" ); -make_clip( "_chargerassist_container", "Survivors", 1, "-207 -62 0", "182 66 832", "-718 590 128" ); -make_clip( "_shortcut_commonhopg", "Survivors", 1, "-10 -10 -56", "10 10 103", "-3848 1976 57" ); -make_clip( "_shortcut_supportdropa", "Survivors", 1, "-28 -55 0", "35 35 1150", "-3260 2854 576" ); -make_clip( "_shortcut_supportdropb", "Survivors", 1, "-28 -216 0", "35 35 1150", "-3300 2810 576" ); -make_clip( "_shortcut_finally_done", "Survivors", 1, "-8 -146 0", "0 146 255", "-2894 2609 253", "9 0 0" ); -make_clip( "_booster_eventskip1", "Survivors", 1, "-253 -16 -459", "332 23 32", "-3106 3081 960" ); -make_clip( "_booster_eventskip2", "Survivors", 1, "-253 -72 -459", "-246 23 32", "-3106 3081 960" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c2m4_barns": - { - g_Chapter = "DARK CARNIVAL - BARNS"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_outhouse_saferoof", "Survivors", 1, "-94 -32 0", "94 32 1111", "2608 3920 -88" ); -make_clip( "_booster_barnbeam1", "Survivors", 1, "-145 -3 0", "158 5 65", "-2022 -129 32" ); -make_clip( "_booster_barnbeam2", "Survivors", 1, "-145 -3 0", "158 5 65", "-2022 -321 32" ); -make_clip( "_booster_barnbeam3", "Survivors", 1, "-145 -3 0", "158 5 65", "-1318 63 32" ); -make_clip( "_booster_barnbeam4", "Survivors", 1, "-145 -3 0", "158 5 65", "-1318 -129 32" ); -make_clip( "_booster_barnbeam5", "Survivors", 1, "-145 -3 0", "158 5 65", "-1318 -321 32" ); -make_clip( "_booster_barnbeam6", "Survivors", 1, "-125 -11 0", "138 5 82", "-614 63 32" ); -make_clip( "_booster_barnbeam7", "Survivors", 1, "-145 -3 0", "158 5 65", "-614 -129 32" ); -make_clip( "_booster_barnbeam8", "Survivors", 1, "-145 -3 0", "158 5 65", "-614 -321 32" ); -make_clip( "_nav_eventfenceback", "Survivors", 1, "-8 -159 0", "25 164 1036", "-2266 807 -12", "0 72 0" ); -make_clip( "_booster_clipextend", "Survivors", 1, "-38 -67 0", "10 61 668", "646 1995 356" ); -make_clip( "_cliprework_finalfence", "Survivors", 1, "-96 -6 0", "120 11 704", "-120 2446 320" ); -make_clip( "_booster_lightpole1", "Survivors", 1, "-59 -20 0", "64 18 637", "280 2077 387" ); -make_clip( "_booster_lightpole2", "Survivors", 1, "-20 -59 0", "18 64 637", "1 1508 387" ); -make_clip( "_booster_lightpole3", "Survivors", 1, "-20 -59 0", "18 64 637", "-226 846 387" ); -make_clip( "_booster_lightpole4", "Survivors", 1, "-20 -59 0", "18 64 637", "-483 1508 387" ); -make_clip( "_booster_lightpole5", "Survivors", 1, "-20 -59 0", "18 64 637", "-985 1508 387" ); -make_clip( "_booster_lightpole6", "Survivors", 1, "-20 -59 0", "18 64 637", "-1765 1508 387" ); -make_clip( "_booster_lightpole7", "Survivors", 1, "-20 -59 0", "18 64 637", "-2162 901 387" ); -make_clip( "_booster_lightpole8", "Survivors", 1, "-20 -59 0", "18 64 637", "-1198 902 387" ); -make_clip( "_booster_dualtents", "Survivors", 1, "-80 -221 0", "59 232 607", "-2993 1146 417" ); -make_clip( "_booster_awning", "Survivors", 1, "-17 -16 -34", "274 13 134", "-3119 528 5" ); -make_clip( "_booster_elecroof", "Survivors", 1, "-170 -28 0", "182 21 967", "426 2316 57" ); -make_clip( "_ladder_askewhedgeshared_base", "Everyone", 1, "-2 -336 0", "4 195 128", "609 1233 -192" ); -patch_spawninfront( "-596 2312 -256", "-76 -8 0", "76 8 160" ); -patch_spawninfront( "-508 2503 -256", "-8 -51 0", "8 51 160" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - -con_comment( "KILL:\tSafe roof exploit unpatched for Coop (popular request)." ); - -EntFire( g_UpdateName + "_outhouse_saferoof", "Kill" ); - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_commonhop_generator1", "Survivors", 1, "-35 -16 0", "35 16 50", "-1716 273 -81", "0 0 20" ); -make_clip( "_commonhop_generator2", "Everyone", 1, "8 0 0", "58 8 164", "-1660 275 -192", "0 -19 0" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - -make_clip( "_eventskip_fencehang", "Survivors", 1, "-6 -50 0", "6 50 1072", "398 1990 -48" ); - -make_clip( "_nav_eventfencea", "Survivors", 1, "-49 -3 0", "48 14 1045", "-2751 749 -21" ); -make_clip( "_nav_eventfenceb", "Survivors", 1, "-49 -3 0", "48 14 1045", "-2499 749 -21" ); - -make_clip( "_ladder_askewhedgeshared_clip", "SI Players and AI", 1, "-3 -279 -7", "3 245 79", "593 1177 -63" ); -make_ladder( "_ladder_askewhedgebotr1_cloned_askewhedgebotl", "610 1209.88 -123.984", "0 26 0" ); -make_ladder( "_ladder_askewhedgebotr2_cloned_askewhedgebotl", "610 1209.88 -123.984", "0 52 0" ); -make_ladder( "_ladder_askewhedgetopl1_cloned_askewhedgetopr", "594 1262 -24", "0 -26 0" ); -make_ladder( "_ladder_askewhedgetopl2_cloned_askewhedgetopr", "594 1262 -24", "0 -52 0" ); - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c2m5_concert": - { - g_Chapter = "DARK CARNIVAL - CONCERT"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_nav_lightingtrussa", "Survivors", 1, "-11 -506 0", "11 506 65", "-1275 2261 368" ); -make_clip( "_nav_lightingtrussd", "Survivors", 1, "-11 -506 0", "11 506 65", "-2060 2261 368" ); -make_clip( "_nav_lightingtrussf", "Survivors", 1, "-11 -506 0", "11 506 65", "-2549 2261 368" ); -make_clip( "_nav_lightingtrussh", "Survivors", 1, "-11 -506 0", "11.5 506 65", "-3065 2261 368" ); -make_clip( "_nav_lightingtrussi", "Survivors", 1, "-11 -506 0", "11.5 506 65", "-3318 2261 368" ); -make_clip( "_nav_lightingtrussg", "Survivors", 1, "-11 -506 0", "11.5 506 65", "-2822.5 2261 367.7" ); -make_clip( "_nav_lightingtrusse", "Survivors", 1, "-11 -506 0", "11 506 65", "-2296 2261 368" ); -make_clip( "_nav_lightingtrussb", "Survivors", 1, "-11 -506 0", "11 506 65", "-1544 2261 368" ); -make_clip( "_nav_lightingtrussc", "Survivors", 1, "-11 -506 0", "11 506 65", "-1800 2261 368" ); -make_clip( "_permstuck_fence", "Survivors", 1, "-1 -102 0", "4 102 128", "-1110 2274 -112", "0 44 0" ); -make_clip( "_cliprework_lastwindow", "Survivors", 1, "-9 -36 -8", "11 35 747", "-3853 2279 280", "0 45 0" ); -make_clip( "_nav_duediligence", "Survivors", 1, "-3 -49 0", "5 48 1152", "-997 3049 -128" ); -make_clip( "_cliprework_concertlights", "Survivors", 1, "-324 -74 0", "318 73 162", "-2305 3277 140" ); -make_clip( "_cliprework_concertposter", "Survivors", 1, "-338 -16 -200", "338 17 98", "-2304 3687 204" ); -make_clip( "_cliprework_concertroofio", "Survivors", 1, "-656 -32 -98", "616 515 652", "-2302 3197 352" ); -make_clip( "_smoother_windows", "SI Players and AI", 1, "-250 -32 0", "298 32 8", "-609 2387 329", "0 45 30" ); -make_clip( "_missing_staircase_clip", "Everyone", 1, "-40 -40 -1", "40 40 40", "-922 1933 173", "0 315 0" ); -make_clip( "_booster_lightleft", "Survivors", 1, "-8 -104 0", "8 29 725", "-2472 3148 278" ); -make_clip( "_booster_lightright", "Survivors", 1, "-8 -104 0", "8 29 725", "-2152 3148 278" ); -//make_clip( "_commentary_replace_01", "Survivors", 1, "-40 -84 -256", "40 84 944", "-1248 3316 80" ); -make_clip( "_backstairs_left", "Survivors", 1, "-8 -160 0", "8 160 760", "-4086 2688 264" ); -make_clip( "_backstairs_right", "Survivors", 1, "-8 -158 0", "8 197 760", "-951 2073 264", "0 -45 0" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - -make_prop( "dynamic", "_helistuck_caseunique", "models/props_fairgrounds/bass_case.mdl", "-3466 2899 -106", "-15 1 89.73", "shadow_no" ); -make_prop( "dynamic", "_helistuck_casecaster", "models/props_fairgrounds/anvil_case_casters_64.mdl", "-3488 2870 -128", "0 180 0", "shadow_no" ); - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_prop( "dynamic", "_helistuck_caseunique", "models/props_fairgrounds/bass_case.mdl", "-3466 2899 -106", "-15 1 89.73", "shadow_no" ); -make_prop( "dynamic", "_helistuck_casecaster", "models/props_fairgrounds/anvil_case_casters_64.mdl", "-3488 2870 -128", "0 180 0", "shadow_no" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - /*============================== - || || - || SWAMP FEVER || - || || - ==============================*/ - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c3m1_plankcountry": - { - g_Chapter = "SWAMP FEVER - PLANK COUNTRY"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_hedge_behindtrains", "Survivors", 1, "-532 -120 0", "800 58 701", "-11078 8237 320" ); -make_clip( "_commonhop_crossing", "Survivors", 1, "-99 -260 0", "99 426 691", "-1025 4859 332" ); -make_clip( "_clipgap_fence", "Survivors", 1, "-4 -124 -155", "4 124 155", "-11084 7220 428" ); -make_clip( "_permstuck_coolingtank", "Everyone", 1, "-62 -58 -56", "21 21 56", "-10754 8610 216" ); -make_clip( "_commonhop_coolingtank", "Survivors", 1, "-74 -236 0", "70 156 880", "-6806 7572 144" ); -make_clip( "_booster_treetop", "Survivors", 1, "-108 -186 0", "108 174 717", "-5696 7348 247" ); -make_clip( "_chargerassist_trainwheel", "Survivors", 1, "-133 -444 -130", "28 131 765", "-12379 8416 259", "0 -19 0" ); -make_clip( "_chargerassist_fenceladdy", "Survivors", 1, "-94 0 -41", "88 11 952", "-6248 5650 72" ); -make_clip( "_cliprework_garage", "Survivors", 1, "-558 -274 0", "483 270 536", "-11106 10498 488" ); -make_clip( "_cliprework_house", "Survivors", 1, "-259 -526 0", "257 530 704", "-11343 7758 320" ); -make_clip( "_fallenlog_shrub_survivor", "Survivors", 1, "-182 -383 -99", "27 142 941", "560 9614 83", "0 19 0" ); -make_clip( "_fallenlog_shrub_infected", "SI Players and AI", 1, "-182 -383 -99", "27 142 61", "560 9614 83", "0 19 0" ); -make_clip( "_chargerassist_commonhop1", "Survivors", 1, "-155 -16 0", "117 5 864", "-7093 6280 160" ); -make_clip( "_chargerassist_commonhop2", "Survivors", 1, "-49 -170 0", "63 134 864", "-7093 6452 160", "0 -3 0" ); -make_clip( "_booster_powerpole", "Survivors", 1, "-9 -8 0", "9 10 582", "-7630 6718 444" ); - -make_prop( "dynamic", "_keepcalmgator", "models/props_fairgrounds/alligator.mdl", "-5274 7386 -19", "0 150 0", "shadow_no", "solid_no" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_cliprework_jonesroof", "Survivors", 1, "-276 -296 -396", "276 296 396", "-8304 7216 628" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - -make_clip( "_survivalcrit_bayouboost", "Survivors", 1, "-64 -351 0", "-2 321 1045", "-4358 6079 -21" ); -make_clip( "_survival_brushextenda", "Survivors", 1, "-674 -60 0", "400 160 717", "-7967 7806 308" ); -make_clip( "_survival_brushextendb", "Survivors", 1, "-224 4 0", "236 594 717", "-8832 7232 336" ); -make_clip( "_survival_brushextendc", "Survivors", 1, "-289 -16 0", "439 20 717", "-9471 7496 384" ); -make_clip( "_nav_pubsign", "Survivors", 1, "-4 -34 0", "4 31 822", "-7264 7167 202" ); -make_clip( "_nav_trailertree", "Survivors", 1, "-48 -26 0", "78 36 742", "-7742 7721 287" ); - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c3m2_swamp": - { - g_Chapter = "SWAMP FEVER - SWAMP"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -// This map is clipped like a tunnel. No known gamebreaking exploits. - -make_clip( "_boat_smoother", "Everyone", 1, "-16 -24 0", "16 24 30", "-7863 5391 -8", "-10 -30 0" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_brokenhouse_hedgegap", "Survivors", 1, "-68 -468 0", "98 257 502", "3915 2029 145", "0 -11 0" ); - -con_comment( "LOGIC:\tAnti-skip plane clips will be deleted when door is blown." ); - -make_clip( "_cabin_door_button_a", "Survivors", 1, "-138 -176 -13", "138 372 444", "-1932 3700 196", "0 28 0" ); -make_clip( "_cabin_door_button_b", "Survivors", 1, "-147 -434 -70", "138 404 444", "-1888 3079 226" ); -make_clip( "_cabin_door_button_c", "Survivors", 1, "-112 -516 -30", "108 431 521", "-1622 2298 162", "0 28 0" ); -EntFire( "Blow_door", "AddOutput", "OnTrigger anv_mapfixes_cabin_door_button*:Kill::0:-1" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c3m3_shantytown": - { - g_Chapter = "SWAMP FEVER - SHANTY TOWN"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_endhaybails_collision", "SI Players and AI", 1, "-42 -66 -24", "42 66 24", "5126 -3967 378" ); -make_clip( "_permstuck_fridge", "Everyone", 1, "-12 -10 -73", "12 50 0", "-3791 -2972 136" ); -make_clip( "_trailerhouse_smoother1", "Everyone", 1, "-8 -213 0", "25 219 14", "-3294 -324 -8", "45 15 0" ); -make_clip( "_trailerhouse_smoother2", "Everyone", 1, "-8 -33 0", "25 59 14", "-3298 -549 -8", "45 -75 0" ); -make_clip( "_skyboxshield_endsafehouse", "SI Players", 1, "-185 -50 -40", "183 50 82", "5067 -3777 552" ); - -make_prop( "dynamic", "_permstuck_cratebot", "models/props_crates/static_crate_40.mdl", "-3749.85 -183.67 -3.164", "0 0 0" ); -make_prop( "dynamic", "_permstuck_cratetop", "models/props_crates/static_crate_40.mdl", "-3749.85 -182.67 36.837", "0 -30 0" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_shortcut_window", "Survivors", 1, "-6 -66 -64", "6 66 110", "-4120 -2232 38" ); -make_clip( "_shortcut_barricadetarp", "Survivors", 1, "-107 -114 -1", "103 82 742", "-4786 1014 298" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c3m4_plantation": - { - g_Chapter = "SWAMP FEVER - PLANTATION"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_permstuck_housetarp", "Everyone", 1, "-24 -24 0", "24 24 120", "-1753 -996 16" ); -make_clip( "_commonhop_mansionroof", "Survivors", 1, "-711 -21 0", "711 21 500", "1856 -596 640" ); -make_clip( "_stuckwarp_understairs", "Everyone", 1, "4 -55 -25", "39 57 21", "2816 119 162" ); -make_clip( "_booster_mansionroofa", "Survivors", 1, "-204 -23 0", "212 105 533", "1660 527 640" ); -make_clip( "_booster_mansionroofb", "Survivors", 1, "-580 -341 0", "588 105 533", "1660 399 640" ); -make_clip( "_booster_mansionroofc", "Survivors", 1, "-924 -201 0", "736 152 533", "1660 -47 640" ); -make_clip( "_booster_scaffoldpins", "Survivors", 1, "-199 -1 0", "146 9 909", "527 177 243" ); -make_clip( "_booster_treeleft", "Survivors", 1, "-148 -116 0", "208 116 753", "735 1518 373" ); -make_clip( "_booster_treeright", "Survivors", 1, "-130 -179 0", "145 156 753", "2558 1526 373" ); -make_clip( "_nav_tinytree1", "Survivors", 1, "-108 -66 0", "68 66 842", "1485 997 311" ); -make_clip( "_nav_tinytree2", "Survivors", 1, "-68 -66 0", "78 106 842", "1835 937 311" ); -make_clip( "_nav_tinytree3", "Survivors", 1, "-118 -96 0", "98 146 842", "1825 1227 311" ); -make_clip( "_nav_tinytree4", "Survivors", 1, "-48 -46 0", "88 96 842", "1555 1227 311" ); -make_clip( "_nav_tinytree5", "Survivors", 1, "-58 -16 0", "98 126 842", "1429 1887 311" ); -make_clip( "_nav_tinytree6", "Survivors", 1, "-68 -66 0", "138 156 842", "1839 1817 311" ); -make_brush( "_defibtrick_undermap_dead", "-16 -58 -120", "24 54 0", "688 122 248" ); - -// For some maps the trigger_finale might exist after "round_start" and require delay -- but not this one! - -con_comment( "LOGIC:\tPoint-of-no-return clip will be Enabled when finale is started." ); - -make_clip( "_point_of_no_return", "Survivors", 0, "-168 -164 12", "128 92 196", "2064 -412 396" ); -EntFire( "trigger_finale", "AddOutput", "FinaleStart anv_mapfixes_point_of_no_return:Enable::0:-1" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - -make_clip( "_nav_shelvings", "Survivors", 1, "-48 -56 0", "65 56 63", "2127 -504 345" ); - -con_comment( "FIX:\tPoint-of-no-return clip Enabled instantly to block Survivalists from boosting out." ); - -EntFire( g_UpdateName + "_point_of_no_return", "Enable" ); - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - /*============================== - || || - || HARD RAIN || - || || - ==============================*/ - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c4m1_milltown_a": - { - g_Chapter = "HARD RAIN - MILLTOWN"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_woodwindow", "Survivors", 1, "-48 -1 -39", "48 1 39", "4144 -1423 391" ); -make_clip( "_permstuck_shruba", "SI Players", 1, "-60 -32 -36", "60 72 60", "3668 -1664 132" ); -make_clip( "_permstuck_shrubb", "SI Players", 1, "-64 -64 -48", "64 64 48", "3408 -1760 144" ); -make_clip( "_commonhop_safehouse", "Survivors", 1, "-280 -456 0", "280 456 1100", "3984 -1863 464" ); -make_clip( "_booster_burgertankpole", "Survivors", 1, "-12 -12 -170", "12 12 1000", "-5800 7496 603" ); -make_clip( "_booster_burgertankspin", "Survivors", 1, "-216 -216 -170", "216 216 640", "-5800 7496 915" ); -make_clip( "_booster_ginnytop", "Survivors", 1, "-22 -29 0", "17 29 1150", "-5425 6789 385", "0 45 0" ); -make_clip( "_booster_ginnyjon", "Survivors", 1, "6 -4 -284", "-10 4 0", "-5425 6789 385", "0 45 0" ); -make_clip( "_booster_gasextend", "Survivors", 1, "-41 -196 0", "528 164 1250", "-4624 7952 284" ); -make_clip( "_booster_blueframe", "Survivors", 1, "-17 -70 0", "17 76 1100", "-4641 7618 479", "0 -7 0" ); -make_clip( "_booster_roofwedge", "Survivors", 1, "-17 -24 0", "47 64 1200", "-5711 6528 416" ); -make_clip( "_booster_wrongwayup", "Survivors", 1, "-14 -454 0", "-2 970 906", "-4082 7142 608" ); -make_clip( "_booster_powerline", "Survivors", 1, "-47 -8 0", "86 35 1100", "-5297 7349 531" ); -make_clip( "_booster_clipextend", "Survivors", 1, "-95 -18 0", "65 33 617", "-6561 6589 912" ); -make_clip( "_burgertank_windowsmoother1", "Everyone", 1, "-5 -120 0", "6 120 4", "-5663 7268 135" ); -make_clip( "_burgertank_windowsmoother2", "Everyone", 1, "-90 -5 0", "90 6 4", "-5798 7505 135" ); -make_clip( "_burgertank_windowsmoother3", "Everyone", 1, "-90 -5 0", "90 6 4", "-6022 7777 135" ); -make_trigduck( "_duckqol_greenposts1", "-60 -97 0", "60 97 142", "-2021 5568 98" ); -make_trigduck( "_duckqol_greenposts2", "-60 -97 0", "60 97 142", "1069 6976 224" ); -make_trigduck( "_duckqol_playground", "-156 -1 0", "156 1 77", "-1442 6968 119" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_treehouse_whitefence", "Survivors", 1, "-17 -80 0", "17 77 1125", "1767 2219 267" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - -make_clip( "_survivalbig_skyboxcap", "Survivors", 1, "-1742 -907 0", "1706 1757 32", "-5802 7499 1248" ); - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c4m2_sugarmill_a": - { - g_Chapter = "HARD RAIN - SUGAR MILL"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_commonhop_roadclosed", "Survivors", 1, "-132 -132 -21", "132 132 2222", "3231 -3009 257" ); -make_clip( "_vent_roofa", "Survivors", 1, "-118 -4 -84", "118 4 0", "3699 -3727 476" ); -make_clip( "_vent_roofb", "Survivors", 1, "-14 -216 -270", "14 216 2000", "3127 -3635 502" ); -make_clip( "_permstuck_silos", "Everyone", 1, "-156 -256 -340", "0 128 0", "2696 -6088 435" ); -make_clip( "_canefield_coneroof_m2only", "Survivors", 1, "-220 -755 -380", "320 707 1938", "72 -11887 573" ); -make_clip( "_canefield_conewoof_m2only", "Survivors", 1, "1 -943 0", "302 773 2192", "-45 -10241 319" ); -make_clip( "_commonhop_dualstacks", "Survivors", 1, "-340 -642 -266", "5 450 2100", "264 -4866 498" ); -make_clip( "_permstuck_longfencea", "Survivors", 1, "-4 -130 -294", "4 130 294", "3996 -4978 506", "0 36 0" ); -make_clip( "_permstuck_longfenceb", "Survivors", 1, "-4 -130 -294", "4 130 294", "4072 -5214 506" ); -make_clip( "_permstuck_longfencec", "Survivors", 1, "-4 -130 -294", "4 130 294", "4042 -5462 506", "0 -14 0" ); -make_clip( "_permstuck_longfenced", "Survivors", 1, "-4 -130 -294", "4 130 294", "4010 -5718 506" ); -make_clip( "_permstuck_longfencee", "Survivors", 1, "-4 -130 -294", "4 130 294", "4010 -5978 506" ); -make_clip( "_permstuck_longfencef", "Survivors", 1, "-4 -130 -294", "4 130 294", "3962 -6216 506", "0 -22 0" ); -make_clip( "_permstuck_quadtank", "Everyone", 1, "-290 -32 -200", "134 32 0", "1638 -5280 292" ); -make_clip( "_shortcut_elevator_m2only", "Survivors", 1, "-64 -4 0", "64 4 777", "-1477 -9605 114" ); -make_clip( "_commonhop_ducatelroof", "Survivors", 1, "-256 -164 0", "256 164 4", "3808 -3324 407" ); -make_clip( "_permstuck_cornerbush", "Everyone", 1, "-19 -49 0", "99 18 78", "3117 -1842 110" ); -make_clip( "_cliprework_clipextenda", "Survivors", 1, "-730 -264 0", "678 312 1792", "1306 -6648 735" ); -make_clip( "_cliprework_clipextendb", "Survivors", 1, "-1200 -976 0", "351 80 1280", "-703 -8512 1232" ); -make_clip( "_cliprework_millsilos", "Survivors", 1, "-938 -516 -100", "1128 506 1593", "2782 -4349 937" ); -make_clip( "_cliprework_millwheel", "Survivors", 1, "-865 -510 -62", "803 518 1852", "1761 -5826 660" ); -make_clip( "_cliprework_plywoodlip", "Survivors", 1, "-193 -5 0", "186 5 173", "-1743 -9483 624" ); -make_clip( "_cliprework_gasstation", "Survivors", 1, "-317 -328 0", "323 312 2082", "-899 -13512 432" ); -make_clip( "_nav_silo_witch1", "Survivors", 1, "-7 -7 0", "9 8 150", "2793 -5911 284" ); -make_clip( "_nav_silo_witch2", "Survivors", 1, "-7 -7 0", "5 7 150", "2695 -5854 284" ); -make_clip( "_nav_silo_witch3", "Survivors", 1, "-7 -7 0", "9 8 150", "2596 -5911 284" ); -make_clip( "_nav_silo_witch4", "Survivors", 1, "-7 -7 0", "9 8 150", "2596 -5513 284" ); -make_clip( "_nav_silo_witch5", "Survivors", 1, "-7 -7 0", "5 7 150", "2698 -5570 284" ); -make_clip( "_nav_silo_witch6", "Survivors", 1, "-7 -7 0", "9 8 150", "2796 -5513 284" ); -make_clip( "_nav_rubblewalla", "Survivors", 1, "-6 0 -13", "6 96 114", "-1152 -8556 712" ); -make_clip( "_nav_rubblewallb", "Survivors", 1, "-6 0 -13", "6 96 114", "-1152 -9457 712" ); -make_clip( "_cliprework_thimbleroof", "Survivors", 1, "0 -480 0", "401 464 2242", "288 -7936 281" ); -make_clip( "_clipextend_thimblestack", "Survivors", 1, "-67 -52 0", "63 70 2084", "394 -7429 440" ); -make_clip( "_clipextend_generator", "Survivors", 1, "-24 -35 0", "26 31 1821", "-769 -7654 687" ); -make_clip( "_clipextend_treecluster", "Survivors", 1, "-43 -42 0", "31 40 1960", "114 -6111 576" ); -make_clip( "_rubble_smoother1", "Everyone", 1, "-1 -93 0", "1 106 4", "2239 -5093 121", "0 -15 0" ); -make_clip( "_rubble_smoother2", "Everyone", 1, "-66 -6 0", "58 0 6", "2176 -4926 98", "0 -15 0" ); -make_clip( "_rubble_smoother3", "Everyone", 1, "-58 -90 0", "61 45 13", "2055 -4931 97", "0 21 0" ); -make_clip( "_rubble_smoother4", "Everyone", 1, "-138 -26 0", "79 16 11", "1966 -5174 99", "0 15 30" ); - -con_comment( "KILL:\tInsta-kill triggers to prevent elevator skip deleted on inner-button press." ); - -make_trighurt( "_instakill_elevatora", "Survivor", "-196 -691 0", "1460 61 8", "-1204 -9549 394" ); -make_trighurt( "_instakill_elevatorb", "Survivor", "-372 -691 0", "644 -65 8", "-2044 -9549 394" ); -EntFire( "button_inelevator", "AddOutput", "OnPressed anv_mapfixes_instakill_elevator*:Kill::0:-1" ); - -// All-mode QoL clip for a Valve ladder and move it 2 units so players don't get caught on critpath anymore. - -make_clip( "_ladderqol_millladder", "Everyone", 1, "-48 -1 0", "90 0 128", "1392 -5564 228" ); -patch_ladder( "1454 -5565.5 292.25", "0 2 0" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_truck_fence1", "Survivors", 1, "-3 -128 -1546", "3 128 1546", "4292 -2990 1641.5" ); -make_clip( "_truck_fence2", "Survivors", 1, "-92 -3 -1546", "92 3 1546", "4388 -2865 1642" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - -make_clip( "_survival_construct", "Survivors", 1, "-438 -137 -272", "350 7 172", "-702 -8439 624" ); -make_clip( "_survival_extendpipe", "Survivors", 1, "-77 -203 -260", "67 302 2032", "-703 -8229 511" ); -make_clip( "_nav_semitrailer", "Survivors", 1, "-274 -63 0", "263 53 2262", "70 -8187 261" ); -make_clip( "_nav_jumptotree", "Survivors", 1, "-78 -66 0", "128 46 2202", "-1250 -7925 331" ); - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c4m3_sugarmill_b": - { - g_Chapter = "HARD RAIN - MILL ESCAPE"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_commonhop_roadclosed", "Survivors", 1, "-132 -132 -21", "132 132 2222", "3231 -3009 257" ); -make_clip( "_vent_roofa", "Survivors", 1, "-118 -4 -84", "118 4 0", "3699 -3727 476" ); -make_clip( "_vent_roofb", "Survivors", 1, "-14 -216 -270", "14 216 2000", "3127 -3635 502" ); -make_clip( "_permstuck_silos", "Everyone", 1, "-156 -256 -340", "0 128 0", "2696 -6088 435" ); -make_clip( "_commonhop_dualstacks", "Survivors", 1, "-340 -642 -266", "5 450 2100", "264 -4866 498" ); -make_clip( "_permstuck_longfencea", "Survivors", 1, "-4 -130 -294", "4 130 294", "3996 -4978 506", "0 36 0" ); -make_clip( "_permstuck_longfenceb", "Survivors", 1, "-4 -130 -294", "4 130 294", "4072 -5214 506" ); -make_clip( "_permstuck_longfencec", "Survivors", 1, "-4 -130 -294", "4 130 294", "4042 -5462 506", "0 -14 0" ); -make_clip( "_permstuck_longfenced", "Survivors", 1, "-4 -130 -294", "4 130 294", "4010 -5718 506" ); -make_clip( "_permstuck_longfencee", "Survivors", 1, "-4 -130 -294", "4 130 294", "4010 -5978 506" ); -make_clip( "_permstuck_longfencef", "Survivors", 1, "-4 -130 -294", "4 130 294", "3962 -6216 506", "0 -22 0" ); -make_clip( "_permstuck_quadtank", "Everyone", 1, "-290 -32 -200", "134 32 0", "1638 -5280 292" ); -make_clip( "_commonhop_ducatelroof", "Survivors", 1, "-256 -164 0", "256 164 4", "3808 -3324 407" ); -make_clip( "_nav_cornerledge_m3only", "Survivors", 1, "-5 -67 0", "5 69 172", "-357 -8509 624" ); -make_clip( "_permstuck_cornerbush", "Everyone", 1, "-19 -49 0", "99 18 78", "3117 -1842 110" ); -make_clip( "_cliprework_clipextenda", "Survivors", 1, "-730 -264 0", "678 312 1792", "1306 -6648 735" ); -make_clip( "_cliprework_clipextendb", "Survivors", 1, "-1200 -976 0", "351 80 1280", "-703 -8512 1232" ); -make_clip( "_cliprework_millsilos", "Survivors", 1, "-938 -516 -100", "1128 506 1593", "2782 -4349 937" ); -make_clip( "_cliprework_millwheel", "Survivors", 1, "-865 -510 -62", "803 518 1852", "1761 -5826 660" ); -make_clip( "_cliprework_plywoodlip", "Survivors", 1, "-193 -5 0", "186 5 173", "-1743 -9483 624" ); -make_clip( "_cliprework_gasstation", "Survivors", 1, "-317 -328 0", "323 312 2082", "-899 -13512 432" ); -make_clip( "_nav_silo_witch1", "Survivors", 1, "-7 -7 0", "9 8 150", "2793 -5911 284" ); -make_clip( "_nav_silo_witch2", "Survivors", 1, "-7 -7 0", "5 7 150", "2695 -5854 284" ); -make_clip( "_nav_silo_witch3", "Survivors", 1, "-7 -7 0", "9 8 150", "2596 -5911 284" ); -make_clip( "_nav_silo_witch4", "Survivors", 1, "-7 -7 0", "9 8 150", "2596 -5513 284" ); -make_clip( "_nav_silo_witch5", "Survivors", 1, "-7 -7 0", "5 7 150", "2698 -5570 284" ); -make_clip( "_nav_silo_witch6", "Survivors", 1, "-7 -7 0", "9 8 150", "2796 -5513 284" ); -make_clip( "_nav_rubblewalla", "Survivors", 1, "-6 0 -13", "6 96 114", "-1152 -8556 712" ); -make_clip( "_nav_rubblewallb", "Survivors", 1, "-6 0 -13", "6 96 114", "-1152 -9457 712" ); -make_clip( "_cliprework_thimbleroof", "Survivors", 1, "0 -480 0", "401 464 2242", "288 -7936 281" ); -make_clip( "_clipextend_thimblestack", "Survivors", 1, "-67 -52 0", "63 70 2084", "394 -7429 440" ); -make_clip( "_clipextend_generator", "Survivors", 1, "-24 -35 0", "26 31 1821", "-769 -7654 687" ); -make_clip( "_clipextend_treecluster", "Survivors", 1, "-43 -42 0", "31 40 1960", "114 -6111 576" ); -make_clip( "_rubble_smoother1", "Everyone", 1, "-1 -93 0", "1 106 4", "2239 -5093 121", "0 -15 0" ); -make_clip( "_rubble_smoother2", "Everyone", 1, "-66 -6 0", "58 0 6", "2176 -4926 98", "0 -15 0" ); -make_clip( "_rubble_smoother3", "Everyone", 1, "-58 -90 0", "61 45 13", "2055 -4931 97", "0 21 0" ); -make_clip( "_rubble_smoother4", "Everyone", 1, "-138 -26 0", "79 16 11", "1966 -5174 99", "0 15 30" ); - -// All-mode QoL clip for a Valve ladder and move it 2 units so players don't get caught on critpath anymore. - -make_clip( "_ladderqol_millladder", "Everyone", 1, "-48 -1 0", "90 0 128", "1392 -5564 228" ); -patch_ladder( "1454 -5565.5 292.25", "0 2 0" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_truck_fence1", "Survivors", 1, "-3 -128 -1546", "3 128 1546", "4292 -2990 1641.5" ); -make_clip( "_truck_fence2", "Survivors", 1, "-92 -3 -1546", "92 3 1546", "4388 -2865 1642" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c4m4_milltown_b": - { - g_Chapter = "HARD RAIN - RETURN TO TOWN"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_woodwindow", "Survivors", 1, "-48 -1 -39", "48 1 39", "4144 -1423 391" ); -make_clip( "_permstuck_shruba", "SI Players", 1, "-60 -32 -36", "60 72 60", "3668 -1664 132" ); -make_clip( "_permstuck_shrubb", "SI Players", 1, "-64 -64 -48", "64 64 48", "3408 -1760 144" ); -make_clip( "_commonhop_safehouse", "Survivors", 1, "-280 -456 0", "280 456 1100", "3984 -1863 464" ); -make_trigduck( "_duckqol_greenposts1", "-60 -97 0", "60 97 142", "-2021 5568 98" ); -make_trigduck( "_duckqol_greenposts2", "-60 -97 0", "60 97 142", "1069 6976 224" ); -make_trigduck( "_duckqol_playground", "-156 -1 0", "156 1 77", "-1442 6968 119" ); - -make_clip( "_permstuck_highuptree", "Everyone", 1, "-32 -54 0", "24 24 10", "-3312 7326 315" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_treehouse_whitefence", "Survivors", 1, "-17 -80 0", "17 77 1125", "1767 2219 267" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c4m5_milltown_escape": - { - g_Chapter = "HARD RAIN - TOWN ESCAPE"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -//make_clip( "_backtrack_dumpster", "Survivors", 1, "-32 -40 0", "32 40 1337", "-4128 7481 150" ); -//make_clip( "_backtrack_flatnose", "Survivors", 1, "0 -110 0", "540 8 1212", "-4632 7208 272", "0 -34 0" ); -make_clip( "_booster_burgertankpole", "Survivors", 1, "-12 -12 -170", "12 12 1000", "-5800 7496 603" ); -make_clip( "_booster_burgertankspin", "Survivors", 1, "-216 -216 -170", "216 216 640", "-5800 7496 915" ); -make_clip( "_permstuck_highuptree", "Everyone", 1, "-32 -54 0", "24 24 10", "-3312 7326 315" ); -make_clip( "_booster_ginnytop", "Survivors", 1, "-22 -29 0", "17 29 1150", "-5425 6789 385", "0 45 0" ); -make_clip( "_booster_ginnyjon", "Survivors", 1, "6 -4 -284", "-10 4 0", "-5425 6789 385", "0 45 0" ); -make_clip( "_booster_gasextend", "Survivors", 1, "-41 -196 0", "528 164 1250", "-4624 7952 284" ); -make_clip( "_booster_blueframe", "Survivors", 1, "-17 -70 0", "17 76 1100", "-4641 7618 479", "0 -7 0" ); -make_clip( "_booster_roofwedge", "Survivors", 1, "-17 -24 0", "47 64 1200", "-5711 6528 416" ); -make_clip( "_booster_wrongwayup", "Survivors", 1, "-14 -454 0", "-2 970 906", "-4082 7142 608" ); -make_clip( "_booster_powerline", "Survivors", 1, "-47 -8 0", "86 35 1100", "-5297 7349 531" ); -make_clip( "_booster_clipextend", "Survivors", 1, "-95 -18 0", "65 33 617", "-6561 6589 912" ); -make_clip( "_burgertank_windowsmoother1", "Everyone", 1, "-5 -120 0", "6 120 4", "-5663 7268 135" ); -make_clip( "_burgertank_windowsmoother2", "Everyone", 1, "-90 -5 0", "90 6 4", "-5798 7505 135" ); -make_clip( "_burgertank_windowsmoother3", "Everyone", 1, "-90 -5 0", "90 6 4", "-6022 7777 135" ); -make_clip( "_dockm5only_smoother", "Everyone", 1, "0 -376 0", "8 820 32", "-7039 7701 91", "-45 0 0" ); - -// Non-1st rounds require a delay because this trigger_finale exists after "round_start". - -con_comment( "LOGIC:\tPoint-of-no-return clip will be Enabled when finale is started." ); - -make_clip( "_point_of_no_return", "Survivors", 0, "-73 -135 0", "19 135 1361", "-4077 7139 125" ); -EntFire( "trigger_finale", "AddOutput", "FinaleStart anv_mapfixes_point_of_no_return:Enable::0:-1", 1 ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - /*============================== - || || - || THE PARISH || - || || - ==============================*/ - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c5m1_waterfront": - { - g_Chapter = "THE PARISH - WATERFRONT"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_vuln_balconya", "Survivors", 1, "-48 -192 -76", "48 192 76", "-720 -128 -140" ); -make_clip( "_vuln_balconyb", "Survivors", 1, "-48 -256 -253", "48 256 253", "-1136 -512 196" ); -make_clip( "_vuln_balconyc", "Survivors", 1, "0 0 0", "65 256 150", "-737 -2048 -208" ); -make_clip( "_vuln_balconyd", "Survivors", 1, "-518 -64 0", "0 0 320", "-687 -2304 -176" ); -//make_clip( "_phonebooth_hopandnav", "Survivors", 1, "-37 -14 -153", "37 14 555", "-1731 -2370 -224" ); -make_clip( "_skybox_shielda", "SI Players", 1, "-176 -5.5 22", "-175 6.5 94", "-272 -2055 50" ); -make_clip( "_skybox_shieldd", "SI Players", 1, "-21 -252.5 -147", "21 252.5 147", "-3948 257 130" ); -make_clip( "_skybox_shieldb", "SI Players", 1, "-277 -115 -138", "283 115 100", "-1543.5 -1855.5 249.6" ); -make_clip( "_skybox_shieldc", "SI Players", 1, "-145 -212 -19", "165 212 77", "-2971 -1264 125" ); -make_clip( "_signhop_awning", "Survivors", 1, "-55 -320 -80", "55 320 216", "-3088 -250 -70.5" ); -make_clip( "_cliprework_roofandwindows", "Survivors", 1, "-53 -256 0", "723 256 365", "-3279 -819 -140.6" ); -make_clip( "_nav_jukebox", "Survivors", 1, "-20 -14 -88", "20 14 88", "-1492 -1685 -287" ); -make_clip( "_nav_outhouse", "Survivors", 1, "0 0 -30", "60 50 50", "-970.4 -2352 -221.7" ); -make_clip( "_nav_bienlamps", "Survivors", 1, "-32 -75 0", "6 75 330", "-664 -835 -184" ); -make_clip( "_rampstep_smoother", "Everyone", 1, "-40 -5 0", "40 1 3", "776 44 -374", "0 0 45" ); -make_clip( "_nav_electricalbox", "Survivors", 1, "-35 -4 0", "28 3 576", "-1392 -252 -374" ); -make_clip( "_cliprework_balconya", "Survivors", 1, "-398 -54 -17", "269 44 278", "-2700 -2346 -157" ); -make_clip( "_cliprework_balconyb", "Survivors", 1, "-161 -47 0", "186 50 340", "-2937 -2098 -216" ); -make_clip( "_cliprework_huntergap", "SI Players", 1, "-136 0 0", "136 17 32", "-40 1408 80" ); -make_clip( "_permstuck_dropbehindfence", "Everyone", 1, "-226 -7 -104", "294 41 177", "-982 -2793 144" ); -make_clip( "_cliprework_unattackable", "Survivors", 1, "-802 -203 0", "558 213 832", "-2446 299 -376" ); -make_clip( "_ledgehang_startfenceleft", "Survivors", 1, "-16 -48 0", "10 48 379", "589 -142 -251", "0 29 0" ); -make_clip( "_ledgehang_startfenceright", "Survivors", 1, "-8 -24 0", "8 24 360", "599 45 -232", "0 -15 0" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_clipgap_fence", "Survivors", 1, "-32 -12 -82", "32 12 82", "-1740 -1284 -134" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c5m2_park": - { - g_Chapter = "THE PARISH - PARK"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_ladderqol_event", "SI Players", 1, "-2.5 -18 -161.5", "2.5 18 161.5", "-8446 -5214 -86" ); -make_clip( "_skybox_shieldb", "SI Players", 1, "-145 -212 -77", "145 212 77", "-2971 -1264 125" ); -make_clip( "_skybox_shielda", "SI Players", 1, "-240 -60 -20", "240 60 77", "-4014 -1296 68.8" ); -make_clip( "_booster_busdepot_extend", "Survivors", 1, "-425 -57 0", "381 85 1504", "-8078 -6407 160" ); -make_clip( "_booster_escapegap", "Survivors", 1, "-73 -66 1420", "8 129 32", "-9436 -5212 184", "0 -59 0" ); -make_clip( "_booster_watchtower_extend", "Survivors", 1, "-65 -76 0", "62 65 1142", "-8161 -5821 529" ); -make_clip( "_cliprework_parkarchway", "Survivors", 1, "-37 -404 -164", "35 402 1484", "-8125 -2207 180" ); -make_clip( "_cliprework_anomalous", "Survivors", 1, "-76 -90 -71", "20 92 86", "-9237 -3866 58" ); -make_clip( "_ghostgrief_and_stuckwarp", "Everyone", 1, "-8 -1246 -21", "18 1106 50", "-10562 -4034 -5" ); -make_clip( "_nav_electricalbox", "Survivors", 1, "-35 -6 0", "24 5 1817", "-6222 -7610 -153" ); -make_clip( "_ladderqol_purpleclip1", "SI Players", 1, "0 -245 -24", "1 308 32", "-9340 -5876 -132" ); -make_clip( "_ladderqol_purpleclip2", "SI Players", 1, "-96 -2 -4", "129 -1 29", "-8096 -5539 -129" ); -make_clip( "_ladderqol_purpleclip3", "SI Players", 1, "-96 -2 -4", "129 -1 29", "-7456 -5539 -129" ); -make_clip( "_permstuck_longbarricade", "Everyone", 1, "-491 -16 0", "54 26 168", "-6390 -8479 -247" ); -make_clip( "_cliprework_missingno", "Survivors", 1, "-164 -272 0", "172 240 1626", "-10092 -5520 48" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - -make_clip( "_nav_eventsign", "Survivors", 1, "-4 -10 -908", "4 10 908", "-8552 -6310 756" ); -patch_ladder( "-9260 -5130 -152", "0 14 0" ); - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - -make_clip( "_safedoor_antighost", "SI Players", 1, "-2 -32 0", "2 32 107", "-3775 -1368 -344" ); - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c5m3_cemetery": - { - g_Chapter = "THE PARISH - CEMETERY"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_commonhop_rooftop", "Survivors", 1, "-24 -4 -28", "24 4 88", "3080 1407 222" ); -make_clip( "_sewer_holed", "Survivors", 1, "-4 -40 -44", "4 40 44", "5212 -112 -116" ); -make_clip( "_sewer_holec", "Survivors", 1, "-264 -4 -44", "264 4 44", "5968 -452 -116" ); -make_clip( "_sewer_holeb", "Survivors", 1, "-4 -376 -44", "4 376 44", "6532 224 -116" ); -make_clip( "_sewer_holea", "Survivors", 1, "-384 -4 -44", "384 4 44", "5848 964 -116" ); -make_clip( "_bunnyhop_underfence", "Survivors", 1, "-36 -2 -268", "36 2 268", "5948 -2330 688" ); -make_clip( "_commonhop_overpass", "Survivors", 1, "-544 -576 -160", "544 576 365", "4896 7744 320" ); -make_clip( "_manhole_fencea", "Survivors", 1, "-136 -584 -160", "0 584 320", "4489 1194 321" ); -make_clip( "_manhole_fenceb", "Survivors", 1, "-56 -122.5 -160", "56 122.5 320", "4445 504 320", "0 15 0" ); -make_clip( "_manhole_fencec", "Survivors", 1, "-56 -122.5 -160", "56 122.5 320", "4437 268 320", "0 -15 0" ); -make_clip( "_manhole_fenced", "Survivors", 1, "-36.5 -151 -160", "36.5 151 320", "4399 33 326" ); -make_clip( "_manhole_fencee", "Survivors", 1, "-180 -40 -160", "180 40 320", "4182 -127 328" ); -make_clip( "_ladderqol_overpass", "SI Players", 1, "-18.5 -12 -95", "18.5 12 95", "5851 8704 192" ); -make_clip( "_stuckwarp_wrongwaya", "SI Players", 1, "-82.5 -201 -111", "82.5 201 111", "6275 9035 242" ); -make_clip( "_stuckwarp_wrongwayb", "SI Players", 1, "-21.5 -276 -111", "21.5 276 111", "6336 8960 242" ); -make_clip( "_permstuck_jetstrike", "Everyone", 1, "-46.5 -27.5 -25", "46.5 27.5 25", "6233 -2190 453" ); -make_clip( "_permstuck_cemetery", "Everyone", 1, "-145 -27 0", "145 27 1234", "7453 -6553 95" ); -make_clip( "_commonhop_endfence", "Survivors", 1, "-64 -4 -44", "64 4 580", "9152 -9004 380" ); -make_clip( "_stuckwarp_staircase", "Everyone", 1, "-32 -4 -64", "64 4 458", "3504 2668 182" ); -make_clip( "_permstuck_dualfence", "Survivors", 1, "-28 -445 0", "28 445 654", "3421 733 3.1" ); -make_clip( "_cliprework_pinkhouse", "Survivors", 1, "-386 -270 0", "414 274 320", "3434 4094 360" ); -make_clip( "_cliprework_perchroof", "Survivors", 1, "-136 -192 0", "136 192 487", "4856 3040 164" ); -make_clip( "_nav_brokenhome_highcorner", "Survivors", 1, "-4 -83 0", "16 378 469", "2052 2534 160" ); -make_clip( "_nav_opencrypt", "Survivors", 1, "-26 -47 0", "7 49 1000", "9604 -6659 344" ); -make_clip( "_nav_cornertree", "Survivors", 1, "-83 -116 0", "97 180 935", "10459 -4981 409" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_shortcut_vanjump", "Survivors", 1, "-41 0 0", "41 5 59", "4425 5257 28", "0 -16 10" ); - -make_clip( "_nav_brokenhome_shortcuta", "Survivors", 1, "-5 -51 0", "5 66 130", "2301 958 31", "-10 0 0" ); -make_clip( "_nav_brokenhome_shortcutb", "Survivors", 1, "-5 -51 0", "5 66 130", "2302 1290 31", "-10 0 0" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c5m4_quarter": - { - g_Chapter = "THE PARISH - QUARTER"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_vuln_balconya", "Survivors", 1, "-41 -64 -171.5", "41 64 171.5", "-3542 4573 395" ); -make_clip( "_vuln_balconyb", "Survivors", 1, "-243 -50 -161", "243 50 161", "-3360 4688 384" ); -make_clip( "_vuln_balconyd", "Survivors", 1, "-131 -33 -232", "131 33 232", "-2814 2912 615" ); -make_clip( "_vuln_balconye", "Survivors", 1, "-132.5 -33.5 -169.5", "132.5 33.5 169.5", "-2401 2912 553" ); -make_clip( "_vuln_balconyf", "Survivors", 1, "-261 -50 -409", "261 50 409", "-1839 2896 632" ); -make_clip( "_vuln_balconyc", "Survivors", 1, "-257.5 -34.5 -279.5", "257.5 34.5 279.5", "-3326 2531 535" ); -make_clip( "_commonhop_bench", "Survivors", 1, "-1020 -17 -310", "250 17 610", "-2684 2447 545" ); -make_clip( "_clip_anomaly", "SI Players", 1, "-36 -86 -44.5", "36 86 44.5", "-1918 661 503" ); -make_clip( "_clipgap_fence", "Survivors", 1, "-56 -2 -270", "56 2 888", "-2216 3200 309" ); -make_clip( "_booster_float", "Survivors", 1, "-430 -320 0", "999 280 777", "-986.4 -395 385" ); -make_clip( "_clipextend_afterfloata", "Survivors", 1, "-120 -354 -36", "160 350 845", "-2592 665 312.5" ); -make_clip( "_clipextend_garage", "Survivors", 1, "-320 -8 0", "320 8 732", "-1264 2992 420" ); -make_clip( "_clipextend_1ststreet", "Survivors", 1, "-8 -296 0", "272 42 600", "-368 2887 576" ); -make_clip( "_commonhop_electricalbox", "Survivors", 1, "8 -64 0", "8 64 752", "-80 1535 400" ); -make_clip( "_clipextend_afterfloatb", "Survivors", 1, "-4 -94 0", "4 94 128", "-2700 222 432" ); -make_clip( "_clipextend_2ndstreeta", "Survivors", 1, "-8 -246 0", "95 216 768", "-2848 -840 384" ); -make_clip( "_vuln_balconyg", "Survivors", 1, "-525 -48 0", "525 54 737", "-2440 -1040 416" ); -make_clip( "_clipextend_2ndstreetb", "Survivors", 1, "-50 -216 -32", "36 216 737", "-519 -870 420" ); -make_clip( "_clipextend_finalarea", "Survivors", 1, "-380 -47 0", "380 47 737", "81 -1075 416" ); -make_clip( "_clipextend_endfences", "Survivors", 1, "-12 -666 0", "12 666 717", "1700 -2016 430" ); -make_clip( "_clipgaps_finalrun", "Survivors", 1, "-1580 -16 -38", "450 55 96", "364 -2743 416" ); -make_clip( "_clipgaps_defibtrick", "Survivors", 1, "-239 -30 0", "209 26 772", "-977 -2658 380" ); -make_clip( "_commonhop_fountain", "Survivors", 1, "-44 -44 0", "44 44 144", "-3360 4288 234" ); -make_clip( "_cliprework_rollupdoor", "Survivors", 1, "-8 -183 0", "8 169 777", "-1670 1687 324" ); -make_clip( "_cliprework_unattackable", "Survivors", 1, "-28 -245 0", "28 235 704", "-3828 2709 448" ); -make_clip( "_void_cliprework", "Survivors", 1, "-288 -223 0", "288 401 697", "-224 -1425 456" ); -make_clip( "_void_filler", "SI Players", 1, "-64 17 -90", "65 301 -3", "-224 -1425 677" ); - -con_comment( "FIX:\tTotal of 13 out of 13 traffic cones need to be made non-solid -- finally we can!" ); - -unsolidify_model( "models/props_fortifications/orange_cone001_reference.mdl" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_commonhop_signalbox", "Survivors", 1, "-19 -44 -527", "19 64 527", "-1645 1946 591" ); -make_clip( "_commonhop_rollupdoor", "Survivors", 1, "-13 -65 -376", "13 65 528", "-1652 1745 573" ); -make_clip( "_commonhop_fountain", "Survivors", 1, "-71 -222 0", "71 700 777", "-2881 3746 399" ); -make_clip( "_clipgap_leftfence", "Survivors", 1, "-32 -4 0", "32 4 208", "-2976 3452 184" ); - -// Piggyback on Survivor-filtered trigger that queries Director for car alarm. - -con_comment( "LOGIC:\tTMP shortcut fence clip will be deleted when a Survivor exits final building." ); - -make_clip( "_shortcut_fence_TMP", "Survivors", 1, "-84 -12 0", "86 9 149", "-1836 -1212 208" ); -DoEntFire( "!self", "AddOutput", "OnTrigger anv_mapfixes_shortcut_fence_TMP:Kill::0:-1", 0.0, null, Entities.FindByClassnameNearest( "trigger_once", Vector( -1540, -1604, 314 ), 1 ) ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - - case "c5m5_bridge": - { - g_Chapter = "THE PARISH - BRIDGE"; - - devchap( "ALL MODES" ); - - // FIXES_ALL - -make_clip( "_antiboost_finaleskip", "Survivors", 1, "-216 -295 -96", "216 330 9001", "-12017 6306 779" ); -make_clip( "_permstuck_semiwheels", "Everyone", 1, "-45 -30 -75", "45 30 75", "5929 6072 475" ); -make_clip( "_endfence_curvejump", "Survivors", 1, "-112 -80 -180", "112 80 2400", "9552 6640 556" ); -make_clip( "_endfence_commonhop", "Survivors", 1, "-24 -240 -55", "24 240 17", "9480 6320 705" ); -make_clip( "_bunnyhop_fence", "Survivors", 1, "-68 -71 -163", "68 80 163", "-11827 6526 611" ); -make_clip( "_solidify_bridgepier01", "Everyone", 1, "-42 -280 -8", "42 280 177", "-11786 6325 200" ); -make_clip( "_solidify_bridgepier03", "Everyone", 1, "-42 -280 -8", "42 280 177", "-9226 6325 200" ); -make_clip( "_solidify_bridgepier02", "Everyone", 1, "-42 -280 -8", "42 280 177", "-11274 6325 200" ); -make_clip( "_solidify_bridgepier04", "Everyone", 1, "-42 -280 -8", "42 280 177", "-8586 6325 200" ); -make_clip( "_solidify_bridgepier05", "Everyone", 1, "-42 -280 -8", "42 280 177", "-7434 6325 200" ); -make_clip( "_solidify_bridgepier06", "Everyone", 1, "-42 -280 -8", "42 280 177", "-6154 6325 200" ); -make_clip( "_solidify_bridgepier07", "Everyone", 1, "-42 -280 -8", "42 280 177", "-4618 6325 200" ); -make_clip( "_solidify_bridgepier08", "Everyone", 1, "-42 -280 -8", "42 280 177", "-3082 6325 200" ); -make_clip( "_solidify_bridgepier09", "Everyone", 1, "-42 -280 -8", "42 280 177", "-1546 6325 200" ); -make_clip( "_solidify_bridgepier10", "Everyone", 1, "-42 -280 -8", "42 280 177", "-10 6325 200" ); -make_clip( "_solidify_bridgepier11", "Everyone", 1, "-42 -280 -8", "42 280 177", "1526 6325 200" ); -make_clip( "_solidify_bridgepier12", "Everyone", 1, "-42 -280 -8", "42 280 177", "3062 6325 200" ); -make_clip( "_solidify_bridgepier13", "Everyone", 1, "-42 -280 -8", "42 280 177", "3990 6326 200" ); -make_clip( "_solidify_bridgepier14", "Everyone", 1, "-42 -280 -8", "42 280 177", "4599 6326 200" ); -make_clip( "_solidify_bridgepier15", "Everyone", 1, "-42 -280 -8", "42 280 177", "6662 6326 200" ); -make_clip( "_solidify_bridgepier16", "Everyone", 1, "-42 -280 -8", "42 280 177", "7270 6326 200" ); -make_clip( "_solidify_bridgepier17", "Everyone", 1, "-42 -280 -8", "42 280 177", "8694 6326 200" ); -make_clip( "_booster_lighta", "Survivors", 1, "-55 -55 -17", "55 55 2121", "8755 5850 978.9" ); -make_clip( "_booster_fence", "Survivors", 1, "-99 -99 0", "99 99 1337", "8422 5899 831" ); -make_clip( "_booster_generatora", "Survivors", 1, "-32 -32 -17", "32 32 2121", "8362 5702 753" ); -make_clip( "_booster_lightb", "Survivors", 1, "-55 -55 -17", "55 55 2121", "9352 5101 977.9" ); -make_clip( "_booster_lightc", "Survivors", 1, "-55 -55 -17", "55 55 2121", "9670 4237 977.9" ); -make_clip( "_booster_lightd", "Survivors", 1, "-55 -55 -17", "55 55 2121", "9856 3385 962.9" ); -make_clip( "_booster_sign", "Survivors", 1, "-150 -45 -17", "150 45 2121", "9418 3972 798.3" ); -make_clip( "_booster_acunit", "Survivors", 1, "-35 -65 -17", "35 65 2121", "8352 1700 474.9" ); -make_clip( "_booster_rollupdoor", "Survivors", 1, "-13 -70 0", "13 70 2121", "8331 1888 346.3" ); -make_clip( "_booster_generatorb", "Survivors", 1, "-32 -32 -17", "32 32 2121", "8526 3995 485.8" ); -make_clip( "_booster_generatorc", "Survivors", 1, "-32 -32 -17", "32 32 2121", "8245 3460 485.8" ); -make_clip( "_booster_tree", "Survivors", 1, "-110 -170 -17", "120 140 2121", "7975 2389 434" ); -make_clip( "_cliprework_jeepbean", "Survivors", 1, "-339 -243 0", "528 260 1258", "8967 6328 790" ); -make_clip( "_endrubble_smoother", "Everyone", 1, "-8 -41 0", "8 38 8", "8209 6208 456", "45 0 0" ); -make_clip( "_ramp_smoother", "Everyone", 1, "-6 -42 0", "3 42 2", "8041 4102 180", "-30 -30 0" ); -make_clip( "_clipextend_endchopper", "Survivors", 1, "-125 -506 0", "135 299 1852", "7383 3797 1199", "0 25 0" ); - - if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) - { - devchap( "BASE COOP" ); - - // FIXES - - break; - } - if ( g_BaseMode == "versus" ) - { - devchap( "BASE VERSUS" ); - - // FIXES - -make_clip( "_bunnyhop_girder", "Survivors", 1, "-610 -17 -101", "40 24 256", "-5528 6568 860" ); -make_clip( "_solidify_girderleft", "Survivors", 1, "-500 0 0", "0 40 50", "4544 6600 750" ); -make_clip( "_solidify_girderright", "Survivors", 1, "-500 -40 0", "0 0 50", "4544 6050 750" ); -make_clip( "_solidify_stuckwarp1", "Survivors", 1, "-26 -10 -37", "61 11 32", "4152 6617 729" ); -make_clip( "_solidify_stuckwarp2", "Survivors", 1, "-26 -10 -37", "61 11 32", "4152 6034 729" ); -make_clip( "_solidify_stuckwarp3", "Survivors", 1, "-86 -10 -37", "15 11 32", "4502 6034 729" ); -make_clip( "_solidify_stuckwarp4", "Survivors", 1, "-86 -10 -37", "15 11 32", "4502 6617 729" ); -make_clip( "_solidify_alt_girderleft", "Survivors", 1, "-500 0 0", "0 40 50", "7187 6600 750" ); -make_clip( "_solidify_alt_girderright", "Survivors", 1, "-500 -40 0", "0 0 50", "7187 6050 750" ); -make_clip( "_solidify_alt_stuckwarp1", "Survivors", 1, "-26 -10 -37", "61 11 32", "6795 6617 729" ); -make_clip( "_solidify_alt_stuckwarp2", "Survivors", 1, "-26 -10 -37", "61 11 32", "6795 6034 729" ); -make_clip( "_solidify_alt_stuckwarp3", "Survivors", 1, "-86 -10 -37", "15 11 32", "7145 6034 729" ); -make_clip( "_solidify_alt_stuckwarp4", "Survivors", 1, "-86 -10 -37", "15 11 32", "7145 6617 729" ); - - break; - } - if ( g_BaseMode == "survival" ) - { - devchap( "BASE SURVIVAL" ); - - // FIXES - -make_clip( "_survivalbig_skyboxcap", "Survivors", 1, "-2388 -2396 0", "1787 2736 32", "8074 3332 1536" ); - -make_clip( "_booster_helipada", "Survivors", 1, "-1640 -17 -240", "32 17 2882", "7481 2202 175" ); -make_clip( "_booster_helipadb", "Survivors", 1, "-17 -1800 -240", "17 1240 2882", "5856 4019 176" ); -make_clip( "_booster_helipadc", "Survivors", 1, "-1640 -17 -240", "1240 17 2882", "7479 5276 176" ); - - break; - } - if ( g_BaseMode == "scavenge" ) - { - devchap( "BASE SCAVENGE" ); - - // FIXES - - break; - } - - break; - } - -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /*============================== diff --git a/scripts/vscripts/anv_mapfixes/c1m1_hotel.nut b/scripts/vscripts/anv_mapfixes/c1m1_hotel.nut new file mode 100644 index 00000000..07a8d65c --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c1m1_hotel.nut @@ -0,0 +1,38 @@ +g_Chapter = "DEAD CENTER - HOTEL"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_cliphang_window", "Survivors", 1, "-72 -123 -12", "127 14 44", "2335 6420 2804" ); +make_clip( "_cliphang_ledge", "Survivors", 1, "-450 -8 0", "1130 8 216", "1222 6232 2912" ); +make_clip( "_barricadefire_bypass", "Survivors", 1, "-17 -96 -64", "17 96 64", "1326 5624 2528" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c1m2_streets.nut b/scripts/vscripts/anv_mapfixes/c1m2_streets.nut new file mode 100644 index 00000000..168d25f3 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c1m2_streets.nut @@ -0,0 +1,57 @@ +g_Chapter = "DEAD CENTER - STREETS"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_mindthegap_lolvalve", "SI Players", 1, "-32 -4 -64", "32 4 64", "-2472 137 64" ); +make_clip( "_stuckwarpassist_walltovoid", "SI Players", 1, "-1536 -476 -5", "0 500 0", "-5056 1500 1344" ); +make_clip( "_nav_cedaramp_in", "SI Players and AI", 1, "0 -18 -14", "10 21 51", "-4268 2566 75", "-50 -35 0" ); +make_clip( "_nav_cedaramp_out", "SI Players and AI", 1, "-95 -20 4", "38 17 11", "-4322 2567 102", "-8 0 0" ); +make_clip( "_colastore_clipgap", "Survivors", 1, "-8 -97 0", "8 75 856", "-6792 -3215 616" ); +make_clip( "_colastore_clipawn", "Survivors", 1, "-23 -541 1", "41 547 17", "-7017 -1699 599" ); +make_clip( "_ladderqol_railing", "SI Players", 1, "-138 -1 -12", "758 4 36", "-2614 2319 300" ); +make_clip( "_save4lesscurb_smoother1", "Everyone", 1, "-7 -110 0", "14 113 5", "-6515 -2681 384" ); +make_clip( "_save4lesscurb_smoother2", "Everyone", 1, "-7 -127 0", "14 129 5", "-6515 -2302 384" ); +make_clip( "_save4lesscurb_smoother3", "Everyone", 1, "-7 -432 0", "9 435 5", "-6899 -1601 384" ); +make_clip("_ladderqol_smootherl", "Everyone", 1, "-7 -190 0", "7 190 2", "-6059 -2238 430", "-45 0 0" ); +make_clip("_ladderqol_smootherm", "Everyone", 1, "-7 -255 0", "7 118 2", "-6060 -2586 427", "-45 0 0" ); +make_clip("_ladderqol_smootherr", "Everyone", 1, "-7 -36 0", "7 77 2", "-6056 -2960 412", "-45 0 0" ); +make_clip( "_whitakercurb_smoother1", "Everyone", 1, "-9 -315 0", "15 294 6", "-5525 -2349 448" ); +make_clip( "_whitakercurb_smoother2", "Everyone", 1, "-9 -208 0", "15 160 6", "-5525 -1719 448" ); +make_clip( "_booster_bridgestairsa", "Survivors", 1, "-4 -84 0", "4 84 700", "-5572 932 768" ); +make_clip( "_booster_bridgestairsb", "Survivors", 1, "-56 -8 0", "56 8 700", "-5512 1016 832" ); +make_clip( "_booster_building", "Survivors", 1, "-8 -384 0", "8 384 128", "-5064 1408 1344" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_booster_mallroof", "Survivors", 1, "0 -130 -377", "2150 136 448", "-9218 -4415 1024" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + + make_clip( "_tanker_blowfish", "Survivors", 1, "-85 -435 -6", "33 331 791", "-6740 -758 681", "0 328 0" ); + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c1m3_mall.nut b/scripts/vscripts/anv_mapfixes/c1m3_mall.nut new file mode 100644 index 00000000..8da9f64b --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c1m3_mall.nut @@ -0,0 +1,49 @@ +g_Chapter = "DEAD CENTER - MALL"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_commonhop_maproom", "Survivors", 1, "-24 -17 0", "100 17 112", "3673 -2517 424" ); +make_clip( "_cliprework_skylighta", "Survivors", 1, "-192 -193 -23", "192 191 57", "6464 -2591 559" ); +make_clip( "_cliprework_skylightb", "Survivors", 1, "-541 -189 -1", "547 195 32", "4173 -2627 793" ); +make_clip( "_cliprework_skylightc", "Survivors", 1, "-194 -544 -1", "190 544 32", "2274 -672 793" ); +make_clip( "_cliprework_skylightd", "Survivors", 1, "-1017 -167 0", "1018 149 32", "1465 -3418 794", "0 45 0" ); + +con_comment( "FIX:\tMoved an exposed stairwell hurt trigger down inside a vending machine." ); + +local hndHurtStairwell = Entities.FindByName( null, "hurt_stairwell" ); + +if ( SafelyExists( hndHurtStairwell ) ) +{ + hndHurtStairwell.SetOrigin( Vector( 683.5, -583, 307 ) ); +} + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c1m4_atrium.nut b/scripts/vscripts/anv_mapfixes/c1m4_atrium.nut new file mode 100644 index 00000000..9d28d53a --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c1m4_atrium.nut @@ -0,0 +1,49 @@ +g_Chapter = "DEAD CENTER - ATRIUM"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_booster_storefrontleft", "Survivors", 1, "-900 -16 0", "900 82 36", "-4256 -4464 196" ); +make_clip( "_booster_storefrontright", "Survivors", 1, "-169 -32 0", "785 16 36", "-3344 -3280 196" ); +make_clip( "_booster_pillarclip", "Survivors", 1, "-18 -32 0", "38 8 362", "-3434 -3533 472", "0 45 0" ); +make_clip( "_booster_cedaplastic", "Survivors", 1, "-125 -2 -22", "130 1 186", "-2787 -4193 302" ); +make_clip( "_booster_thicklongledge", "Survivors", 1, "-3856 0 -72", "0 81 256", "-2368 -4224 1080" ); +make_clip( "_booster_nodrawcorner", "Survivors", 1, "-555 -400 0", "0 400 256", "-5770 -3926 1024", "0 45 0" ); +make_clip( "_booster_libertymall", "Survivors", 1, "-18 -257 0", "18 257 500", "-2386 -3840 824" ); +make_clip( "_booster_fallbanner", "Survivors", 1, "-1 -81 0", "1 81 256", "-2929 -3889.5 991" ); +make_clip( "_booster_bridgeroof", "Survivors", 1, "-345 -110 0", "345 18 512", "-3339 -3857 864", "0 -70.5 0" ); +make_clip( "_booster_hardhatsa", "Survivors", 1, "-128 -14 0", "128 14 512", "-3070 -4206 536" ); +make_clip( "_booster_hardhatsb", "Survivors", 1, "-42 -14 0", "42 14 512", "-3370 -4206 536" ); +make_clip( "_booster_highbalcony", "Survivors", 1, "-260 -162 0", "260 162 520", "-4695 -4336 792" ); +make_clip( "_booster_glassbalcony", "Survivors", 1, "-128 -82 0", "128 0 1", "-3688 -4334 791" ); +make_clip( "_nav_ladyshoes", "Survivors", 1, "-103 -3 0", "70 3 56", "-4971 -4461 432" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c2m1_highway.nut b/scripts/vscripts/anv_mapfixes/c2m1_highway.nut new file mode 100644 index 00000000..9327879c --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c2m1_highway.nut @@ -0,0 +1,91 @@ +g_Chapter = "DARK CARNIVAL - HIGHWAY"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_permstuck_tanktreea", "Everyone", 1, "-24 -24 -64", "24 24 17", "4096 5123 -938" ); +make_clip( "_permstuck_tanktreeb", "Everyone", 1, "-24 -24 -64", "24 24 17", "4067 4930 -913" ); +make_clip( "_permstuck_tanktreec", "Everyone", 1, "-24 -24 -64", "24 24 17", "3911 3914 -941" ); +make_clip( "_cargocontainer_oob_01", "SI Players", 1, "-32 -464 -376", "32 464 376", "3616 2512 -632" ); +make_clip( "_cargocontainer_oob_02", "SI Players", 1, "-32 -192 -48", "32 192 48", "3616 1328 -1744" ); +make_clip( "_cargocontainer_oob_03", "SI Players", 1, "-64 -96 -200", "64 96 200", "3136 2595 -1243", "0 0 -42" ); +make_clip( "_cargocontainer_dispcrouch", "SI Players", 1, "-388 -16 0", "388 32 484", "3203 1572 -1822", "0 -5 -12" ); +make_clip( "_dispcrouch_rocka", "Everyone", 1, "-8 -161 -320", "8 110 240", "1280 2115 -1615", "0 135 0" ); +make_clip( "_dispcrouch_rockb", "Everyone", 1, "-140 -8 -320", "160 8 380", "1046 2025 -1615", "0 10 0" ); +make_clip( "_dispcrouch_rockc", "Everyone", 1, "-80 -8 -320", "80 8 230", "820 2010 -1611", "0 -14 0" ); +make_clip( "_dispcrouch_rockd", "Everyone", 1, "-80 -8 -320", "90 8 216", "686 2100 -1585", "0 -51 0" ); +make_clip( "_dispcrouch_rocke", "Everyone", 1, "-99 -8 -320", "84 8 106", "618 2260 -1464", "0 90 0" ); +make_clip( "_dispcrouch_swampa", "Everyone", 1, "-132 -8 0", "150 8 101", "2523 1855 -1805", "0 90 0" ); +make_clip( "_dispcrouch_swampb", "Everyone", 1, "-100 -8 0", "80 8 101", "2595 1654 -1807", "0 142 0" ); +make_clip( "_cliprework_fence", "Survivors", 1, "-70 -480 0", "8 480 640", "-193 -1932 -900" ); +make_clip( "_commonhop_barrier", "Survivors", 1, "-210 -2 0", "210 2 690", "365 -1098 -950" ); +make_clip( "_commonhop_tree", "Survivors", 1, "-150 -200 0", "200 150 640", "-46 -1242 -900" ); +make_clip( "_shoppingcart_roof", "Survivors", 1, "-290 -320 0", "256 264 1024", "-517 -2678 -940" ); +make_clip( "_shoppingcart_tarpa", "Survivors", 1, "-51 -222 0", "50 256 711", "-1718 -2783 -967", "0 38 0" ); +make_clip( "_shoppingcart_tarpb", "Survivors", 1, "-51 -232 0", "48 258 711", "-1800 -2319 -967", "0 -21 0" ); +make_clip( "_shoppingcart_tarpc", "Survivors", 1, "-78 -506 0", "8 518 711", "-1838 -1583 -952", "0 16 0" ); +make_clip( "_booster_clipgap", "Survivors", 1, "-20 -20 24", "365 120 700", "3632 5712 -880" ); +make_clip( "_shortcut_start_trucka", "Survivors", 1, "-5 -174 0", "96 188 514", "4493 7285 -756", "0 16 0" ); +make_clip( "_shortcut_start_truckb", "Survivors", 1, "36 -157 0", "96 76 514", "4388 7285 -756", "0 16 0" ); +make_clip( "_shortcut_start_busblu", "Survivors", 1, "-236 -47 0", "251 66 500", "4379 7676 -756", "0 -45 0" ); +make_clip( "_shortcut_start_shruba", "Survivors", 1, "-8 -114.5 -17", "8 67 514", "4779 7377 -756", "0 11 0" ); +make_clip( "_shortcut_start_shrubb", "Survivors", 1, "-8 -105 -17", "8 71 514", "4669 7457 -756", "0 79 0" ); +make_clip( "_shortcut_start_shrubc", "Survivors", 1, "-8 -91 -17", "8 59 514", "4626 7363 -756", "0 193 0" ); +make_clip( "_shortcut_start_shrubd", "Survivors", 1, "-8 -105 -17", "8 47 514", "4736 7283 -756", "0 255 0" ); +make_clip( "_booster_motelsign", "Survivors", 1, "-105 -13 -71", "132 17 252", "2932 4894 -507" ); +make_clip( "_permstuck_startfence", "Everyone", 1, "-147 -34 0", "45 39 1206", "11140 7179 -566", "0 21 0" ); +make_clip( "_longbush_booster", "Survivors", 1, "-205 -770 0", "379 1585 111", "4092 3921 -369", "0 -4 0" ); +make_clip( "_longbush_undermapa", "SI Players", 1, "-42 -1313 -145", "3 1555 552", "4625 4099 -805" ); +make_clip( "_longbush_undermapb", "SI Players", 1, "-174 -5 0", "475 5 822", "4142 2981 -983" ); +make_clip( "_clipextend_poolwalla", "Survivors", 1, "-517 -10 0", "517 10 360", "2561 3843 -640" ); +make_clip( "_clipextend_poolwallb", "Survivors", 1, "-6 -350 0", "6 350 360", "3067 4200 -640" ); +make_clip( "_permstuck_endfence", "Everyone", 1, "-93 -28 0", "53 38 143", "547 -635 -1087", "0 -33 0" ); +make_clip( "_clipextend_umbrella1", "Survivors", 1, "-48 -50 0", "50 48 522", "2683 4055 -773" ); +make_clip( "_clipextend_umbrella2", "Survivors", 1, "-48 -50 0", "50 48 522", "2483 3989 -773" ); +make_clip( "_clipextend_umbrella3", "Survivors", 1, "-48 -52 0", "50 50 522", "2243 4047 -773" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + + con_comment( "KILL:\tShrubwall shortcut unpatched for Coop (popular request)." ); + + EntFire( g_UpdateName + "_shortcut_start*", "Kill" ); + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_overpass_trucknuke", "Survivors", 1, "-126 -45 0", "-33 45 156", "3467 7102 -704", "0 -14 0" ); + make_clip( "_tank_busleft", "Survivors", 1, "-258 -56 0", "271 52 430", "1731 6723 -574", "0 -28 0" ); + make_clip( "_tank_busright", "Survivors", 1, "-284 -48 -200", "284 48 200", "1688 7008 -344", "0 22 0" ); + make_clip( "_tank_fence", "Survivors", 1, "-780 -14 -130", "780 14 156", "2588 7168 -412" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + + make_clip( "_survival_midnightride", "Survivors", 1, "-839 -4 0", "448 15 422", "2618 6269 -679" ); + make_clip( "_survival_midnightsign", "Survivors", 1, "-190 -155 -37", "190 145 162", "2338 6131 -415" ); + make_clip( "_survival_boostshrub", "Survivors", 1, "-24 -208 0", "27 280 112", "3079 6479 -343" ); + make_clip( "_survival_fence_extend", "Survivors", 1, "0 -234 0", "77 0 360", "2042 3837 -640" ); + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + + make_clip( "_scavenge_fence_painthop", "Survivors", 1, "0 -234 -145", "77 0 360", "2042 3837 -640" ); + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c2m2_fairgrounds.nut b/scripts/vscripts/anv_mapfixes/c2m2_fairgrounds.nut new file mode 100644 index 00000000..8edd0fe5 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c2m2_fairgrounds.nut @@ -0,0 +1,69 @@ +g_Chapter = "DARK CARNIVAL - FAIRGROUND"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_bunnyhop_roundtable", "Survivors", 1, "-45 -256 0", "100 256 502", "2360 -244 266" ); +make_clip( "_booster_unattackable", "Survivors", 1, "-100 -17 0", "700 17 512", "4000 -2304 268" ); +make_clip( "_forklift_roof", "Survivors", 1, "-7 -128 0", "10 128 575", "1750 -1660 193" ); +make_clip( "_commonhop_whitefence", "Survivors", 1, "-77 -5 0", "77 5 777", "-3903 -1141 -15" ); +make_clip( "_commonhop_carouselroofs", "Survivors", 1, "-230 -5 0", "302 1142 666", "-990 -5501 192" ); +make_clip( "_void_filler","Everyone", 1, "-222 0 -125", "222 16 55", "-1792 -7311 250" ); +make_clip( "_charger_smoother", "Everyone", 1, "-56 -256 -6", "56 256 6", "-3119 -896 152", "-40 0 0" ); +make_clip( "_cliprework_unattackable", "Survivors", 1, "-8 -1009 0", "8 1007 128", "-504 -1535 128" ); +make_clip( "_cliprework_beanbinninga", "Survivors", 1, "-8 -961 0", "8 959 128", "-888 -1535 128" ); +make_clip( "_cliprework_beanbinningb", "Survivors", 1, "-178 -11 0", "190 5 128", "-702 -2549 128" ); +make_clip( "_cliprework_unattackablea", "Survivors", 1, "-23 -1191 0", "29 177 597", "-3405 -6489 204" ); +make_clip( "_cliprework_unattackableb", "Survivors", 1, "-178 -24 0", "82 24 597", "-3510 -6336 204" ); +make_clip( "_cliprework_unattackablec", "Survivors", 1, "-24 -236 0", "24 304 597", "-3664 -6076 204" ); +make_clip( "_cliprework_unattackabled", "Survivors", 1, "-1108 -23 0", "324 21 597", "-4012 -5793 204" ); +make_clip( "_cliprework_unattackablee", "Survivors", 1, "-4 -303 0", "4 865 492", "-4352 -5473 272" ); +make_clip( "_cliprework_wrongwaya", "Survivors", 1, "-207 -7 0", "218 1 578", "-481 -5505 192" ); +make_clip( "_cliprework_wrongwayb", "Survivors", 1, "-8 -866 0", "8 799 578", "-258 -6303 192" ); +make_clip( "_cliprework_wrongwayc", "Survivors", 1, "-2113 -10 0", "1219 5 578", "-1471 -7166 192" ); +make_clip( "_nav_exitsign", "Survivors", 1, "-8 -11 0", "11 12 120", "1048 -1269 128" ); +make_clip( "_cliprework_blockergap", "Survivors", 1, "-121 -8 0", "123 8 384", "-4235 -3968 384" ); +make_clip( "_unattackable_traintunnel", "Survivors", 1, "-324 -1040 -171", "220 1040 342", "-604 -1536 428" ); +make_clip( "_dispcollision_fairgrounds", "All and Physics", 1, "-1400 -1700 -2", "1400 1700 0", "-1903 -142 -128" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_booster_uppertrackb", "Survivors", 1, "-64 -448 -320", "64 448 320", "-1536 -2368 448" ); + make_clip( "_booster_uppertracka", "Survivors", 1, "-57 -313 -208.5", "57 313 208.5", "-2721 -825 337" ); + make_clip( "_clipextend_carouselboost", "Survivors", 1, "-234 -4 0", "234 4 666", "-1446 -5248 192" ); + + // Piggyback on Survivor-filtered trigger just beyond the carousel off switch. + + con_comment( "LOGIC:\tAnti-boost ToL clips will be deleted by existing trigger after carousel switch." ); + + make_clip( "_tol_clip_brush_a", "Survivors", 1, "-818 -16 0", "82 599 572", "-3530 -5162 192" ); + make_clip( "_tol_clip_brush_b", "Survivors", 1, "-9 -263 0", "488 -1 572", "-3439 -5178 192" ); + DoEntFire( "!self", "AddOutput", "OnTrigger anv_mapfixes_tol_clip_brush*:Kill::-1", 0.0, null, Entities.FindByClassnameNearest( "trigger_once", Vector( -2496, -6544, 4 ), 1 ) ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c2m3_coaster.nut b/scripts/vscripts/anv_mapfixes/c2m3_coaster.nut new file mode 100644 index 00000000..c3261f3a --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c2m3_coaster.nut @@ -0,0 +1,99 @@ +g_Chapter = "DARK CARNIVAL - COASTER"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_smokerinfamya", "SI Players", 1, "-4000 -80 -1337", "0 1600 0", "-4450 2525 309" ); +make_clip( "_smokerinfamyb", "SI Players", 1, "-4000 0 0", "160 1111 1337", "-4450 3005 309" ); +make_clip( "_smokerinfamyc", "SI Players", 1, "-4000 -289 0", "0 271 1337", "-5119 2734 309" ); +make_clip( "_shortcut_commonhopa", "Survivors", 1, "-10 -10 -64", "10 10 216", "-3720 1144 96" ); +make_clip( "_shortcut_commonhopb", "Survivors", 1, "-10 -10 -56", "10 10 232", "-3720 1352 72" ); +make_clip( "_shortcut_commonhopc", "Survivors", 1, "-10 -10 -52", "10 10 227", "-3720 1768 77" ); +make_clip( "_stuckwarp_gatearm", "Everyone", 1, "-31 -36 -54", "31 36 54", "-3799 1100 82" ); +make_clip( "_cliprework_tunnelb", "Survivors", 1, "-777 -110 -108", "82 360 1100", "-3418 3460 652" ); +make_clip( "_cliprework_tunnela", "Survivors", 1, "-300 -80 -108", "82 360 1100", "-3902 3021 655" ); +make_clip( "_nav_extinguisher", "Survivors", 1, "-16 -4 0", "16 4 44", "-325 4116 244" ); +make_clip( "_commonhop_curvedrail", "Survivors", 1, "-5 -120 0", "17 260 25", "-3498 2060 250" ); +make_clip( "_cliprework_fourvents", "Survivors", 1, "-223 -1 0", "225 4 64", "239 3676 272" ); +make_clip( "_cliprework_semipermstuck", "Everyone", 1, "-20 -50 0", "19 22 32", "-3254 2792 0", "0 -15 0" ); +make_clip( "_cliprework_culdesaca", "Survivors", 1, "-95 -4 0", "98 4 206", "-3917 2979 152", "0 25 0" ); +make_clip( "_cliprework_culdesacb", "Survivors", 1, "-176 -4 0", "142 4 1603", "-3659 3066 152", "0 15 0" ); +make_clip( "_cliprework_culdesacc", "Survivors", 1, "-175 -4 0", "178 4 206", "-3351 3058 152", "0 -15 0" ); +make_clip( "_cliprework_culdesacd", "Survivors", 1, "-4 -280 0", "4 106 1387", "-3493 3256 368" ); +make_clip( "_shortcut_commonhopd", "Survivors", 1, "-10 -10 -56", "10 10 227", "-3512 1352 77" ); +make_clip( "_shortcut_commonhope", "Survivors", 1, "-10 -10 -56", "10 10 227", "-3512 1768 77" ); +make_clip( "_shortcut_commonhopf", "Survivors", 1, "-10 -10 -56", "10 10 263", "-3720 1976 57" ); +make_clip( "_cliprework_shrubgap", "Survivors", 1, "-112 -80 0", "112 80 286", "-3072 128 152" ); +make_clip( "_onewaybreakwall_elecbox", "Everyone", 1, "-64 -4 0", "64 4 236", "-64 3524 100" ); +make_clip( "_endbridge_shiftsmoother1", "Everyone", 1, "-1 -42 0", "1 38 2", "-4183 2320 272" ); +make_clip( "_endbridge_shiftsmoother2", "Everyone", 1, "-42 -1 0", "38 1 2", "-4729 2277 164" ); +make_clip( "_permstuck_irredeemable", "SI Players", 1, "-48 -42 0", "16 94 152", "-2064 -174 0" ); +make_clip( "_permstuck_swanroom_rest", "Everyone", 1, "-54 -20 0", "58 29 108", "510 4084 -7" ); +make_clip( "_semiperm_coastergate", "Survivors", 1, "-64 -664 0", "64 16 140", "-2784 1688 0" ); +make_clip( "_recompilepls_pillar1", "Survivors", 1, "-10 -10 0", "10 10 272", "-3760 2360 0" ); +make_clip( "_recompilepls_pillar2", "Survivors", 1, "-10 -10 0", "10 10 272", "-3760 2280 0" ); +make_clip( "_recompilepls_pillar3", "Survivors", 1, "-10 -10 0", "10 10 272", "-4032 2280 0" ); +make_clip( "_recompilepls_pillar4", "Survivors", 1, "-10 -10 0", "10 10 272", "-4032 2360 0" ); +make_clip( "_recompilepls_pillar5", "Survivors", 1, "-10 -10 0", "10 10 272", "-4176 2360 0" ); +make_clip( "_recompilepls_pillar6", "Survivors", 1, "-10 -10 0", "10 10 272", "-4176 2280 0" ); +make_clip( "_cliprework_permstuck", "Survivors", 1, "-93 -81 -55", "108 47 88", "-3266 3057 413" ); +make_clip( "_stuckwarp_swanstairs", "Everyone", 1, "-52 0 0", "143 3 37", "298 4192 43", "-34.5 0 0" ); +make_brush( "_permstuck_swanroom_dead", "-54 -20 0", "58 29 108", "510 4084 -7" ); +make_trigduck( "_duckqol_swanhole", "-5 -32 -32", "5 32 32", "1348 4096 32" ); + +make_clip( "_onewayhole_blockclip", "Everyone", 1, "-64 -13 -20", "64 13 28", "336 3777 180", "0 160 0" ); +make_prop( "dynamic", "_onewayhole_blockpipe", "models/props_pipes/pipeset08d_128_001a.mdl", "336 3777 180", "0 160 90", "shadow_no" ); + +//con_comment( "LOGIC:\tBeta Coaster Rubble restored for Campaign and Survival relays." ); + +//make_prop( "dynamic", "_dynamic_coaster_rubble", "models/rollercoaster/coaster_debris.mdl", "0 0 -8", "0 0 0", "shadow_no", "solid_no" ); +//EntFire( "relay_start_onslaught", "AddOutput", "OnTrigger anv_mapfixes_dynamic_coaster_rubble:SetAnimation:debris:6.33:-1" ); +//EntFire( "relay_panicevent", "AddOutput", "OnTrigger anv_mapfixes_dynamic_coaster_rubble:SetAnimation:debris:6.33:-1" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_shortcut_longjump", "Survivors", 1, "-17 -216 0", "17 216 1580", "-4240 2616 171" ); + + make_clip( "_shortcut_supports", "Survivors", 1, "-86 -10 -137", "86 10 32", "-3904 2062 96" ); + make_clip( "_cliprework_scaffnuke_skipa", "Survivors", 1, "-120 -111 -48", "150 88 310", "-3044 3000 177" ); + make_clip( "_cliprework_scaffnuke_skipb", "Survivors", 1, "-90 -211 -48", "82 0 310", "-2788 2760 177" ); + make_clip( "_cliprework_scaffnuke_skipc", "Survivors", 1, "-120 -111 -48", "20 -73 1545", "-3044 3000 177" ); + make_clip( "_cliprework_scaffnuke_skipd", "Survivors", 1, "-90 -211 -48", "-61 0 1545", "-2788 2760 177" ); + make_clip( "_cliprework_roofa", "Survivors", 1, "-108 -224 -320", "108 224 1100", "-3596 1560 640" ); + make_clip( "_cliprework_roofb", "Survivors", 1, "-295 -444 -280", "295 444 1100", "-3970 1558 640" ); + make_clip( "_cliprework_sign", "Survivors", 1, "-307 -70 0", "307 70 1320", "-3902 2321 431" ); + make_clip( "_chargerassist_container", "Survivors", 1, "-207 -62 0", "182 66 832", "-718 590 128" ); + make_clip( "_shortcut_commonhopg", "Survivors", 1, "-10 -10 -56", "10 10 103", "-3848 1976 57" ); + make_clip( "_shortcut_supportdropa", "Survivors", 1, "-28 -55 0", "35 35 1150", "-3260 2854 576" ); + make_clip( "_shortcut_supportdropb", "Survivors", 1, "-28 -216 0", "35 35 1150", "-3300 2810 576" ); + make_clip( "_shortcut_finally_done", "Survivors", 1, "-8 -146 0", "0 146 255", "-2894 2609 253", "9 0 0" ); + make_clip( "_booster_eventskip1", "Survivors", 1, "-253 -16 -459", "332 23 32", "-3106 3081 960" ); + make_clip( "_booster_eventskip2", "Survivors", 1, "-253 -72 -459", "-246 23 32", "-3106 3081 960" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c2m4_barns.nut b/scripts/vscripts/anv_mapfixes/c2m4_barns.nut new file mode 100644 index 00000000..74bb74b1 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c2m4_barns.nut @@ -0,0 +1,79 @@ +g_Chapter = "DARK CARNIVAL - BARNS"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_outhouse_saferoof", "Survivors", 1, "-94 -32 0", "94 32 1111", "2608 3920 -88" ); +make_clip( "_booster_barnbeam1", "Survivors", 1, "-145 -3 0", "158 5 65", "-2022 -129 32" ); +make_clip( "_booster_barnbeam2", "Survivors", 1, "-145 -3 0", "158 5 65", "-2022 -321 32" ); +make_clip( "_booster_barnbeam3", "Survivors", 1, "-145 -3 0", "158 5 65", "-1318 63 32" ); +make_clip( "_booster_barnbeam4", "Survivors", 1, "-145 -3 0", "158 5 65", "-1318 -129 32" ); +make_clip( "_booster_barnbeam5", "Survivors", 1, "-145 -3 0", "158 5 65", "-1318 -321 32" ); +make_clip( "_booster_barnbeam6", "Survivors", 1, "-125 -11 0", "138 5 82", "-614 63 32" ); +make_clip( "_booster_barnbeam7", "Survivors", 1, "-145 -3 0", "158 5 65", "-614 -129 32" ); +make_clip( "_booster_barnbeam8", "Survivors", 1, "-145 -3 0", "158 5 65", "-614 -321 32" ); +make_clip( "_nav_eventfenceback", "Survivors", 1, "-8 -159 0", "25 164 1036", "-2266 807 -12", "0 72 0" ); +make_clip( "_booster_clipextend", "Survivors", 1, "-38 -67 0", "10 61 668", "646 1995 356" ); +make_clip( "_cliprework_finalfence", "Survivors", 1, "-96 -6 0", "120 11 704", "-120 2446 320" ); +make_clip( "_booster_lightpole1", "Survivors", 1, "-59 -20 0", "64 18 637", "280 2077 387" ); +make_clip( "_booster_lightpole2", "Survivors", 1, "-20 -59 0", "18 64 637", "1 1508 387" ); +make_clip( "_booster_lightpole3", "Survivors", 1, "-20 -59 0", "18 64 637", "-226 846 387" ); +make_clip( "_booster_lightpole4", "Survivors", 1, "-20 -59 0", "18 64 637", "-483 1508 387" ); +make_clip( "_booster_lightpole5", "Survivors", 1, "-20 -59 0", "18 64 637", "-985 1508 387" ); +make_clip( "_booster_lightpole6", "Survivors", 1, "-20 -59 0", "18 64 637", "-1765 1508 387" ); +make_clip( "_booster_lightpole7", "Survivors", 1, "-20 -59 0", "18 64 637", "-2162 901 387" ); +make_clip( "_booster_lightpole8", "Survivors", 1, "-20 -59 0", "18 64 637", "-1198 902 387" ); +make_clip( "_booster_dualtents", "Survivors", 1, "-80 -221 0", "59 232 607", "-2993 1146 417" ); +make_clip( "_booster_awning", "Survivors", 1, "-17 -16 -34", "274 13 134", "-3119 528 5" ); +make_clip( "_booster_elecroof", "Survivors", 1, "-170 -28 0", "182 21 967", "426 2316 57" ); +make_clip( "_ladder_askewhedgeshared_base", "Everyone", 1, "-2 -336 0", "4 195 128", "609 1233 -192" ); +patch_spawninfront( "-596 2312 -256", "-76 -8 0", "76 8 160" ); +patch_spawninfront( "-508 2503 -256", "-8 -51 0", "8 51 160" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + + con_comment( "KILL:\tSafe roof exploit unpatched for Coop (popular request)." ); + + EntFire( g_UpdateName + "_outhouse_saferoof", "Kill" ); + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_commonhop_generator1", "Survivors", 1, "-35 -16 0", "35 16 50", "-1716 273 -81", "0 0 20" ); + make_clip( "_commonhop_generator2", "Everyone", 1, "8 0 0", "58 8 164", "-1660 275 -192", "0 -19 0" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + + make_clip( "_eventskip_fencehang", "Survivors", 1, "-6 -50 0", "6 50 1072", "398 1990 -48" ); + + make_clip( "_nav_eventfencea", "Survivors", 1, "-49 -3 0", "48 14 1045", "-2751 749 -21" ); + make_clip( "_nav_eventfenceb", "Survivors", 1, "-49 -3 0", "48 14 1045", "-2499 749 -21" ); + + make_clip( "_ladder_askewhedgeshared_clip", "SI Players and AI", 1, "-3 -279 -7", "3 245 79", "593 1177 -63" ); + make_ladder( "_ladder_askewhedgebotr1_cloned_askewhedgebotl", "610 1209.88 -123.984", "0 26 0" ); + make_ladder( "_ladder_askewhedgebotr2_cloned_askewhedgebotl", "610 1209.88 -123.984", "0 52 0" ); + make_ladder( "_ladder_askewhedgetopl1_cloned_askewhedgetopr", "594 1262 -24", "0 -26 0" ); + make_ladder( "_ladder_askewhedgetopl2_cloned_askewhedgetopr", "594 1262 -24", "0 -52 0" ); + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c2m5_concert.nut b/scripts/vscripts/anv_mapfixes/c2m5_concert.nut new file mode 100644 index 00000000..bc03c358 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c2m5_concert.nut @@ -0,0 +1,63 @@ +g_Chapter = "DARK CARNIVAL - CONCERT"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_nav_lightingtrussa", "Survivors", 1, "-11 -506 0", "11 506 65", "-1275 2261 368" ); +make_clip( "_nav_lightingtrussd", "Survivors", 1, "-11 -506 0", "11 506 65", "-2060 2261 368" ); +make_clip( "_nav_lightingtrussf", "Survivors", 1, "-11 -506 0", "11 506 65", "-2549 2261 368" ); +make_clip( "_nav_lightingtrussh", "Survivors", 1, "-11 -506 0", "11.5 506 65", "-3065 2261 368" ); +make_clip( "_nav_lightingtrussi", "Survivors", 1, "-11 -506 0", "11.5 506 65", "-3318 2261 368" ); +make_clip( "_nav_lightingtrussg", "Survivors", 1, "-11 -506 0", "11.5 506 65", "-2822.5 2261 367.7" ); +make_clip( "_nav_lightingtrusse", "Survivors", 1, "-11 -506 0", "11 506 65", "-2296 2261 368" ); +make_clip( "_nav_lightingtrussb", "Survivors", 1, "-11 -506 0", "11 506 65", "-1544 2261 368" ); +make_clip( "_nav_lightingtrussc", "Survivors", 1, "-11 -506 0", "11 506 65", "-1800 2261 368" ); +make_clip( "_permstuck_fence", "Survivors", 1, "-1 -102 0", "4 102 128", "-1110 2274 -112", "0 44 0" ); +make_clip( "_cliprework_lastwindow", "Survivors", 1, "-9 -36 -8", "11 35 747", "-3853 2279 280", "0 45 0" ); +make_clip( "_nav_duediligence", "Survivors", 1, "-3 -49 0", "5 48 1152", "-997 3049 -128" ); +make_clip( "_cliprework_concertlights", "Survivors", 1, "-324 -74 0", "318 73 162", "-2305 3277 140" ); +make_clip( "_cliprework_concertposter", "Survivors", 1, "-338 -16 -200", "338 17 98", "-2304 3687 204" ); +make_clip( "_cliprework_concertroofio", "Survivors", 1, "-656 -32 -98", "616 515 652", "-2302 3197 352" ); +make_clip( "_smoother_windows", "SI Players and AI", 1, "-250 -32 0", "298 32 8", "-609 2387 329", "0 45 30" ); +make_clip( "_missing_staircase_clip", "Everyone", 1, "-40 -40 -1", "40 40 40", "-922 1933 173", "0 315 0" ); +make_clip( "_booster_lightleft", "Survivors", 1, "-8 -104 0", "8 29 725", "-2472 3148 278" ); +make_clip( "_booster_lightright", "Survivors", 1, "-8 -104 0", "8 29 725", "-2152 3148 278" ); +//make_clip( "_commentary_replace_01", "Survivors", 1, "-40 -84 -256", "40 84 944", "-1248 3316 80" ); +make_clip( "_backstairs_left", "Survivors", 1, "-8 -160 0", "8 160 760", "-4086 2688 264" ); +make_clip( "_backstairs_right", "Survivors", 1, "-8 -158 0", "8 197 760", "-951 2073 264", "0 -45 0" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + + make_prop( "dynamic", "_helistuck_caseunique", "models/props_fairgrounds/bass_case.mdl", "-3466 2899 -106", "-15 1 89.73", "shadow_no" ); + make_prop( "dynamic", "_helistuck_casecaster", "models/props_fairgrounds/anvil_case_casters_64.mdl", "-3488 2870 -128", "0 180 0", "shadow_no" ); + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_prop( "dynamic", "_helistuck_caseunique", "models/props_fairgrounds/bass_case.mdl", "-3466 2899 -106", "-15 1 89.73", "shadow_no" ); + make_prop( "dynamic", "_helistuck_casecaster", "models/props_fairgrounds/anvil_case_casters_64.mdl", "-3488 2870 -128", "0 180 0", "shadow_no" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c3m1_plankcountry.nut b/scripts/vscripts/anv_mapfixes/c3m1_plankcountry.nut new file mode 100644 index 00000000..75a71ee1 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c3m1_plankcountry.nut @@ -0,0 +1,61 @@ +g_Chapter = "SWAMP FEVER - PLANK COUNTRY"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_hedge_behindtrains", "Survivors", 1, "-532 -120 0", "800 58 701", "-11078 8237 320" ); +make_clip( "_commonhop_crossing", "Survivors", 1, "-99 -260 0", "99 426 691", "-1025 4859 332" ); +make_clip( "_clipgap_fence", "Survivors", 1, "-4 -124 -155", "4 124 155", "-11084 7220 428" ); +make_clip( "_permstuck_coolingtank", "Everyone", 1, "-62 -58 -56", "21 21 56", "-10754 8610 216" ); +make_clip( "_commonhop_coolingtank", "Survivors", 1, "-74 -236 0", "70 156 880", "-6806 7572 144" ); +make_clip( "_booster_treetop", "Survivors", 1, "-108 -186 0", "108 174 717", "-5696 7348 247" ); +make_clip( "_chargerassist_trainwheel", "Survivors", 1, "-133 -444 -130", "28 131 765", "-12379 8416 259", "0 -19 0" ); +make_clip( "_chargerassist_fenceladdy", "Survivors", 1, "-94 0 -41", "88 11 952", "-6248 5650 72" ); +make_clip( "_cliprework_garage", "Survivors", 1, "-558 -274 0", "483 270 536", "-11106 10498 488" ); +make_clip( "_cliprework_house", "Survivors", 1, "-259 -526 0", "257 530 704", "-11343 7758 320" ); +make_clip( "_fallenlog_shrub_survivor", "Survivors", 1, "-182 -383 -99", "27 142 941", "560 9614 83", "0 19 0" ); +make_clip( "_fallenlog_shrub_infected", "SI Players and AI", 1, "-182 -383 -99", "27 142 61", "560 9614 83", "0 19 0" ); +make_clip( "_chargerassist_commonhop1", "Survivors", 1, "-155 -16 0", "117 5 864", "-7093 6280 160" ); +make_clip( "_chargerassist_commonhop2", "Survivors", 1, "-49 -170 0", "63 134 864", "-7093 6452 160", "0 -3 0" ); +make_clip( "_booster_powerpole", "Survivors", 1, "-9 -8 0", "9 10 582", "-7630 6718 444" ); + +make_prop( "dynamic", "_keepcalmgator", "models/props_fairgrounds/alligator.mdl", "-5274 7386 -19", "0 150 0", "shadow_no", "solid_no" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_cliprework_jonesroof", "Survivors", 1, "-276 -296 -396", "276 296 396", "-8304 7216 628" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + + make_clip( "_survivalcrit_bayouboost", "Survivors", 1, "-64 -351 0", "-2 321 1045", "-4358 6079 -21" ); + make_clip( "_survival_brushextenda", "Survivors", 1, "-674 -60 0", "400 160 717", "-7967 7806 308" ); + make_clip( "_survival_brushextendb", "Survivors", 1, "-224 4 0", "236 594 717", "-8832 7232 336" ); + make_clip( "_survival_brushextendc", "Survivors", 1, "-289 -16 0", "439 20 717", "-9471 7496 384" ); + make_clip( "_nav_pubsign", "Survivors", 1, "-4 -34 0", "4 31 822", "-7264 7167 202" ); + make_clip( "_nav_trailertree", "Survivors", 1, "-48 -26 0", "78 36 742", "-7742 7721 287" ); + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c3m2_swamp.nut b/scripts/vscripts/anv_mapfixes/c3m2_swamp.nut new file mode 100644 index 00000000..7ae38a4e --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c3m2_swamp.nut @@ -0,0 +1,47 @@ +g_Chapter = "SWAMP FEVER - SWAMP"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +// This map is clipped like a tunnel. No known gamebreaking exploits. + +make_clip( "_boat_smoother", "Everyone", 1, "-16 -24 0", "16 24 30", "-7863 5391 -8", "-10 -30 0" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_brokenhouse_hedgegap", "Survivors", 1, "-68 -468 0", "98 257 502", "3915 2029 145", "0 -11 0" ); + + con_comment( "LOGIC:\tAnti-skip plane clips will be deleted when door is blown." ); + + make_clip( "_cabin_door_button_a", "Survivors", 1, "-138 -176 -13", "138 372 444", "-1932 3700 196", "0 28 0" ); + make_clip( "_cabin_door_button_b", "Survivors", 1, "-147 -434 -70", "138 404 444", "-1888 3079 226" ); + make_clip( "_cabin_door_button_c", "Survivors", 1, "-112 -516 -30", "108 431 521", "-1622 2298 162", "0 28 0" ); + EntFire( "Blow_door", "AddOutput", "OnTrigger anv_mapfixes_cabin_door_button*:Kill::0:-1" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c3m3_shantytown.nut b/scripts/vscripts/anv_mapfixes/c3m3_shantytown.nut new file mode 100644 index 00000000..7305f9b7 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c3m3_shantytown.nut @@ -0,0 +1,46 @@ +g_Chapter = "SWAMP FEVER - SHANTY TOWN"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_endhaybails_collision", "SI Players and AI", 1, "-42 -66 -24", "42 66 24", "5126 -3967 378" ); +make_clip( "_permstuck_fridge", "Everyone", 1, "-12 -10 -73", "12 50 0", "-3791 -2972 136" ); +make_clip( "_trailerhouse_smoother1", "Everyone", 1, "-8 -213 0", "25 219 14", "-3294 -324 -8", "45 15 0" ); +make_clip( "_trailerhouse_smoother2", "Everyone", 1, "-8 -33 0", "25 59 14", "-3298 -549 -8", "45 -75 0" ); +make_clip( "_skyboxshield_endsafehouse", "SI Players", 1, "-185 -50 -40", "183 50 82", "5067 -3777 552" ); + +make_prop( "dynamic", "_permstuck_cratebot", "models/props_crates/static_crate_40.mdl", "-3749.85 -183.67 -3.164", "0 0 0" ); +make_prop( "dynamic", "_permstuck_cratetop", "models/props_crates/static_crate_40.mdl", "-3749.85 -182.67 36.837", "0 -30 0" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_shortcut_window", "Survivors", 1, "-6 -66 -64", "6 66 110", "-4120 -2232 38" ); + make_clip( "_shortcut_barricadetarp", "Survivors", 1, "-107 -114 -1", "103 82 742", "-4786 1014 298" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c3m4_plantation.nut b/scripts/vscripts/anv_mapfixes/c3m4_plantation.nut new file mode 100644 index 00000000..7c8e9471 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c3m4_plantation.nut @@ -0,0 +1,64 @@ +g_Chapter = "SWAMP FEVER - PLANTATION"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_permstuck_housetarp", "Everyone", 1, "-24 -24 0", "24 24 120", "-1753 -996 16" ); +make_clip( "_commonhop_mansionroof", "Survivors", 1, "-711 -21 0", "711 21 500", "1856 -596 640" ); +make_clip( "_stuckwarp_understairs", "Everyone", 1, "4 -55 -25", "39 57 21", "2816 119 162" ); +make_clip( "_booster_mansionroofa", "Survivors", 1, "-204 -23 0", "212 105 533", "1660 527 640" ); +make_clip( "_booster_mansionroofb", "Survivors", 1, "-580 -341 0", "588 105 533", "1660 399 640" ); +make_clip( "_booster_mansionroofc", "Survivors", 1, "-924 -201 0", "736 152 533", "1660 -47 640" ); +make_clip( "_booster_scaffoldpins", "Survivors", 1, "-199 -1 0", "146 9 909", "527 177 243" ); +make_clip( "_booster_treeleft", "Survivors", 1, "-148 -116 0", "208 116 753", "735 1518 373" ); +make_clip( "_booster_treeright", "Survivors", 1, "-130 -179 0", "145 156 753", "2558 1526 373" ); +make_clip( "_nav_tinytree1", "Survivors", 1, "-108 -66 0", "68 66 842", "1485 997 311" ); +make_clip( "_nav_tinytree2", "Survivors", 1, "-68 -66 0", "78 106 842", "1835 937 311" ); +make_clip( "_nav_tinytree3", "Survivors", 1, "-118 -96 0", "98 146 842", "1825 1227 311" ); +make_clip( "_nav_tinytree4", "Survivors", 1, "-48 -46 0", "88 96 842", "1555 1227 311" ); +make_clip( "_nav_tinytree5", "Survivors", 1, "-58 -16 0", "98 126 842", "1429 1887 311" ); +make_clip( "_nav_tinytree6", "Survivors", 1, "-68 -66 0", "138 156 842", "1839 1817 311" ); +make_brush( "_defibtrick_undermap_dead", "-16 -58 -120", "24 54 0", "688 122 248" ); + +// For some maps the trigger_finale might exist after "round_start" and require delay -- but not this one! + +con_comment( "LOGIC:\tPoint-of-no-return clip will be Enabled when finale is started." ); + +make_clip( "_point_of_no_return", "Survivors", 0, "-168 -164 12", "128 92 196", "2064 -412 396" ); +EntFire( "trigger_finale", "AddOutput", "FinaleStart anv_mapfixes_point_of_no_return:Enable::0:-1" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + + make_clip( "_nav_shelvings", "Survivors", 1, "-48 -56 0", "65 56 63", "2127 -504 345" ); + + con_comment( "FIX:\tPoint-of-no-return clip Enabled instantly to block Survivalists from boosting out." ); + + EntFire( g_UpdateName + "_point_of_no_return", "Enable" ); + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c4m1_milltown_a.nut b/scripts/vscripts/anv_mapfixes/c4m1_milltown_a.nut new file mode 100644 index 00000000..eb3e7d23 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c4m1_milltown_a.nut @@ -0,0 +1,59 @@ +g_Chapter = "HARD RAIN - MILLTOWN"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_woodwindow","Survivors", 1, "-48 -1 -39", "48 1 39", "4144 -1423 391" ); +make_clip( "_permstuck_shruba", "SI Players", 1, "-60 -32 -36", "60 72 60", "3668 -1664 132" ); +make_clip( "_permstuck_shrubb", "SI Players", 1, "-64 -64 -48", "64 64 48", "3408 -1760 144" ); +make_clip( "_commonhop_safehouse", "Survivors", 1, "-280 -456 0", "280 456 1100", "3984 -1863 464" ); +make_clip( "_booster_burgertankpole", "Survivors", 1, "-12 -12 -170", "12 12 1000", "-5800 7496 603" ); +make_clip( "_booster_burgertankspin", "Survivors", 1, "-216 -216 -170", "216 216 640", "-5800 7496 915" ); +make_clip( "_booster_ginnytop", "Survivors", 1, "-22 -29 0", "17 29 1150", "-5425 6789 385", "0 45 0" ); +make_clip( "_booster_ginnyjon", "Survivors", 1, "6 -4 -284", "-10 4 0", "-5425 6789 385", "0 45 0" ); +make_clip( "_booster_gasextend", "Survivors", 1, "-41 -196 0", "528 164 1250", "-4624 7952 284" ); +make_clip( "_booster_blueframe", "Survivors", 1, "-17 -70 0", "17 76 1100", "-4641 7618 479", "0 -7 0" ); +make_clip( "_booster_roofwedge", "Survivors", 1, "-17 -24 0", "47 64 1200", "-5711 6528 416" ); +make_clip( "_booster_wrongwayup", "Survivors", 1, "-14 -454 0", "-2 970 906", "-4082 7142 608" ); +make_clip( "_booster_powerline", "Survivors", 1, "-47 -8 0", "86 35 1100", "-5297 7349 531" ); +make_clip( "_booster_clipextend", "Survivors", 1, "-95 -18 0", "65 33 617", "-6561 6589 912" ); +make_clip( "_burgertank_windowsmoother1", "Everyone", 1, "-5 -120 0", "6 120 4", "-5663 7268 135" ); +make_clip( "_burgertank_windowsmoother2", "Everyone", 1, "-90 -5 0", "90 6 4", "-5798 7505 135" ); +make_clip( "_burgertank_windowsmoother3", "Everyone", 1, "-90 -5 0", "90 6 4", "-6022 7777 135" ); +make_trigduck( "_duckqol_greenposts1", "-60 -97 0", "60 97 142", "-2021 5568 98" ); +make_trigduck( "_duckqol_greenposts2", "-60 -97 0", "60 97 142", "1069 6976 224" ); +make_trigduck( "_duckqol_playground", "-156 -1 0", "156 1 77", "-1442 6968 119" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_treehouse_whitefence", "Survivors", 1, "-17 -80 0", "17 77 1125", "1767 2219 267" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + + make_clip( "_survivalbig_skyboxcap", "Survivors", 1, "-1742 -907 0", "1706 1757 32", "-5802 7499 1248" ); + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c4m2_sugarmill_a.nut b/scripts/vscripts/anv_mapfixes/c4m2_sugarmill_a.nut new file mode 100644 index 00000000..b6713d42 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c4m2_sugarmill_a.nut @@ -0,0 +1,93 @@ +g_Chapter = "HARD RAIN - SUGAR MILL"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_commonhop_roadclosed", "Survivors", 1, "-132 -132 -21", "132 132 2222", "3231 -3009 257" ); +make_clip( "_vent_roofa","Survivors", 1, "-118 -4 -84", "118 4 0", "3699 -3727 476" ); +make_clip( "_vent_roofb","Survivors", 1, "-14 -216 -270", "14 216 2000", "3127 -3635 502" ); +make_clip( "_permstuck_silos", "Everyone", 1, "-156 -256 -340", "0 128 0", "2696 -6088 435" ); +make_clip( "_canefield_coneroof_m2only", "Survivors", 1, "-220 -755 -380", "320 707 1938", "72 -11887 573" ); +make_clip( "_canefield_conewoof_m2only", "Survivors", 1, "1 -943 0", "302 773 2192", "-45 -10241 319" ); +make_clip( "_commonhop_dualstacks", "Survivors", 1, "-340 -642 -266", "5 450 2100", "264 -4866 498" ); +make_clip( "_permstuck_longfencea", "Survivors", 1, "-4 -130 -294", "4 130 294", "3996 -4978 506", "0 36 0" ); +make_clip( "_permstuck_longfenceb", "Survivors", 1, "-4 -130 -294", "4 130 294", "4072 -5214 506" ); +make_clip( "_permstuck_longfencec", "Survivors", 1, "-4 -130 -294", "4 130 294", "4042 -5462 506", "0 -14 0" ); +make_clip( "_permstuck_longfenced", "Survivors", 1, "-4 -130 -294", "4 130 294", "4010 -5718 506" ); +make_clip( "_permstuck_longfencee", "Survivors", 1, "-4 -130 -294", "4 130 294", "4010 -5978 506" ); +make_clip( "_permstuck_longfencef", "Survivors", 1, "-4 -130 -294", "4 130 294", "3962 -6216 506", "0 -22 0" ); +make_clip( "_permstuck_quadtank", "Everyone", 1, "-290 -32 -200", "134 32 0", "1638 -5280 292" ); +make_clip( "_shortcut_elevator_m2only", "Survivors", 1, "-64 -4 0", "64 4 777", "-1477 -9605 114" ); +make_clip( "_commonhop_ducatelroof", "Survivors", 1, "-256 -164 0", "256 164 4", "3808 -3324 407" ); +make_clip( "_permstuck_cornerbush", "Everyone", 1, "-19 -49 0", "99 18 78", "3117 -1842 110" ); +make_clip( "_cliprework_clipextenda", "Survivors", 1, "-730 -264 0", "678 312 1792", "1306 -6648 735" ); +make_clip( "_cliprework_clipextendb", "Survivors", 1, "-1200 -976 0", "351 80 1280", "-703 -8512 1232" ); +make_clip( "_cliprework_millsilos", "Survivors", 1, "-938 -516 -100", "1128 506 1593", "2782 -4349 937" ); +make_clip( "_cliprework_millwheel", "Survivors", 1, "-865 -510 -62", "803 518 1852", "1761 -5826 660" ); +make_clip( "_cliprework_plywoodlip", "Survivors", 1, "-193 -5 0", "186 5 173", "-1743 -9483 624" ); +make_clip( "_cliprework_gasstation", "Survivors", 1, "-317 -328 0", "323 312 2082", "-899 -13512 432" ); +make_clip( "_nav_silo_witch1", "Survivors", 1, "-7 -7 0", "9 8 150", "2793 -5911 284" ); +make_clip( "_nav_silo_witch2", "Survivors", 1, "-7 -7 0", "5 7 150", "2695 -5854 284" ); +make_clip( "_nav_silo_witch3", "Survivors", 1, "-7 -7 0", "9 8 150", "2596 -5911 284" ); +make_clip( "_nav_silo_witch4", "Survivors", 1, "-7 -7 0", "9 8 150", "2596 -5513 284" ); +make_clip( "_nav_silo_witch5", "Survivors", 1, "-7 -7 0", "5 7 150", "2698 -5570 284" ); +make_clip( "_nav_silo_witch6", "Survivors", 1, "-7 -7 0", "9 8 150", "2796 -5513 284" ); +make_clip( "_nav_rubblewalla", "Survivors", 1, "-6 0 -13", "6 96 114", "-1152 -8556 712" ); +make_clip( "_nav_rubblewallb", "Survivors", 1, "-6 0 -13", "6 96 114", "-1152 -9457 712" ); +make_clip( "_cliprework_thimbleroof", "Survivors", 1, "0 -480 0", "401 464 2242", "288 -7936 281" ); +make_clip( "_clipextend_thimblestack", "Survivors", 1, "-67 -52 0", "63 70 2084", "394 -7429 440" ); +make_clip( "_clipextend_generator", "Survivors", 1, "-24 -35 0", "26 31 1821", "-769 -7654 687" ); +make_clip( "_clipextend_treecluster", "Survivors", 1, "-43 -42 0", "31 40 1960", "114 -6111 576" ); +make_clip( "_rubble_smoother1", "Everyone", 1, "-1 -93 0", "1 106 4", "2239 -5093 121", "0 -15 0" ); +make_clip( "_rubble_smoother2", "Everyone", 1, "-66 -6 0", "58 0 6", "2176 -4926 98", "0 -15 0" ); +make_clip( "_rubble_smoother3", "Everyone", 1, "-58 -90 0", "61 45 13", "2055 -4931 97", "0 21 0" ); +make_clip( "_rubble_smoother4", "Everyone", 1, "-138 -26 0", "79 16 11", "1966 -5174 99", "0 15 30" ); + +con_comment( "KILL:\tInsta-kill triggers to prevent elevator skip deleted on inner-button press." ); + +make_trighurt( "_instakill_elevatora", "Survivor", "-196 -691 0", "1460 61 8", "-1204 -9549 394" ); +make_trighurt( "_instakill_elevatorb", "Survivor", "-372 -691 0", "644 -65 8", "-2044 -9549 394" ); +EntFire( "button_inelevator", "AddOutput", "OnPressed anv_mapfixes_instakill_elevator*:Kill::0:-1" ); + +// All-mode QoL clip for a Valve ladder and move it 2 units so players don't get caught on critpath anymore. + +make_clip( "_ladderqol_millladder", "Everyone", 1, "-48 -1 0", "90 0 128", "1392 -5564 228" ); +patch_ladder( "1454 -5565.5 292.25", "0 2 0" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_truck_fence1", "Survivors", 1, "-3 -128 -1546", "3 128 1546", "4292 -2990 1641.5" ); + make_clip( "_truck_fence2", "Survivors", 1, "-92 -3 -1546", "92 3 1546", "4388 -2865 1642" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + + make_clip( "_survival_construct", "Survivors", 1, "-438 -137 -272", "350 7 172", "-702 -8439 624" ); + make_clip( "_survival_extendpipe", "Survivors", 1, "-77 -203 -260", "67 302 2032", "-703 -8229 511" ); + make_clip( "_nav_semitrailer", "Survivors", 1, "-274 -63 0", "263 53 2262", "70 -8187 261" ); + make_clip( "_nav_jumptotree", "Survivors", 1, "-78 -66 0", "128 46 2202", "-1250 -7925 331" ); + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c4m3_sugarmill_b.nut b/scripts/vscripts/anv_mapfixes/c4m3_sugarmill_b.nut new file mode 100644 index 00000000..3acdd9d0 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c4m3_sugarmill_b.nut @@ -0,0 +1,80 @@ +g_Chapter = "HARD RAIN - MILL ESCAPE"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_commonhop_roadclosed", "Survivors", 1, "-132 -132 -21", "132 132 2222", "3231 -3009 257" ); +make_clip( "_vent_roofa", "Survivors", 1, "-118 -4 -84", "118 4 0", "3699 -3727 476" ); +make_clip( "_vent_roofb", "Survivors", 1, "-14 -216 -270", "14 216 2000", "3127 -3635 502" ); +make_clip( "_permstuck_silos", "Everyone", 1, "-156 -256 -340", "0 128 0", "2696 -6088 435" ); +make_clip( "_commonhop_dualstacks", "Survivors", 1, "-340 -642 -266", "5 450 2100", "264 -4866 498" ); +make_clip( "_permstuck_longfencea", "Survivors", 1, "-4 -130 -294", "4 130 294", "3996 -4978 506", "0 36 0" ); +make_clip( "_permstuck_longfenceb", "Survivors", 1, "-4 -130 -294", "4 130 294", "4072 -5214 506" ); +make_clip( "_permstuck_longfencec", "Survivors", 1, "-4 -130 -294", "4 130 294", "4042 -5462 506", "0 -14 0" ); +make_clip( "_permstuck_longfenced", "Survivors", 1, "-4 -130 -294", "4 130 294", "4010 -5718 506" ); +make_clip( "_permstuck_longfencee", "Survivors", 1, "-4 -130 -294", "4 130 294", "4010 -5978 506" ); +make_clip( "_permstuck_longfencef", "Survivors", 1, "-4 -130 -294", "4 130 294", "3962 -6216 506", "0 -22 0" ); +make_clip( "_permstuck_quadtank", "Everyone", 1, "-290 -32 -200", "134 32 0", "1638 -5280 292" ); +make_clip( "_commonhop_ducatelroof", "Survivors", 1, "-256 -164 0", "256 164 4", "3808 -3324 407" ); +make_clip( "_nav_cornerledge_m3only", "Survivors", 1, "-5 -67 0", "5 69 172", "-357 -8509 624" ); +make_clip( "_permstuck_cornerbush", "Everyone", 1, "-19 -49 0", "99 18 78", "3117 -1842 110" ); +make_clip( "_cliprework_clipextenda", "Survivors", 1, "-730 -264 0", "678 312 1792", "1306 -6648 735" ); +make_clip( "_cliprework_clipextendb", "Survivors", 1, "-1200 -976 0", "351 80 1280", "-703 -8512 1232" ); +make_clip( "_cliprework_millsilos", "Survivors", 1, "-938 -516 -100", "1128 506 1593", "2782 -4349 937" ); +make_clip( "_cliprework_millwheel", "Survivors", 1, "-865 -510 -62", "803 518 1852", "1761 -5826 660" ); +make_clip( "_cliprework_plywoodlip", "Survivors", 1, "-193 -5 0", "186 5 173", "-1743 -9483 624" ); +make_clip( "_cliprework_gasstation", "Survivors", 1, "-317 -328 0", "323 312 2082", "-899 -13512 432" ); +make_clip( "_nav_silo_witch1", "Survivors", 1, "-7 -7 0", "9 8 150", "2793 -5911 284" ); +make_clip( "_nav_silo_witch2", "Survivors", 1, "-7 -7 0", "5 7 150", "2695 -5854 284" ); +make_clip( "_nav_silo_witch3", "Survivors", 1, "-7 -7 0", "9 8 150", "2596 -5911 284" ); +make_clip( "_nav_silo_witch4", "Survivors", 1, "-7 -7 0", "9 8 150", "2596 -5513 284" ); +make_clip( "_nav_silo_witch5", "Survivors", 1, "-7 -7 0", "5 7 150", "2698 -5570 284" ); +make_clip( "_nav_silo_witch6", "Survivors", 1, "-7 -7 0", "9 8 150", "2796 -5513 284" ); +make_clip( "_nav_rubblewalla", "Survivors", 1, "-6 0 -13", "6 96 114", "-1152 -8556 712" ); +make_clip( "_nav_rubblewallb", "Survivors", 1, "-6 0 -13", "6 96 114", "-1152 -9457 712" ); +make_clip( "_cliprework_thimbleroof", "Survivors", 1, "0 -480 0", "401 464 2242", "288 -7936 281" ); +make_clip( "_clipextend_thimblestack", "Survivors", 1, "-67 -52 0", "63 70 2084", "394 -7429 440" ); +make_clip( "_clipextend_generator", "Survivors", 1, "-24 -35 0", "26 31 1821", "-769 -7654 687" ); +make_clip( "_clipextend_treecluster", "Survivors", 1, "-43 -42 0", "31 40 1960", "114 -6111 576" ); +make_clip( "_rubble_smoother1", "Everyone", 1, "-1 -93 0", "1 106 4", "2239 -5093 121", "0 -15 0" ); +make_clip( "_rubble_smoother2", "Everyone", 1, "-66 -6 0", "58 0 6", "2176 -4926 98", "0 -15 0" ); +make_clip( "_rubble_smoother3", "Everyone", 1, "-58 -90 0", "61 45 13", "2055 -4931 97", "0 21 0" ); +make_clip( "_rubble_smoother4", "Everyone", 1, "-138 -26 0", "79 16 11", "1966 -5174 99", "0 15 30" ); + +// All-mode QoL clip for a Valve ladder and move it 2 units so players don't get caught on critpath anymore. + +make_clip( "_ladderqol_millladder", "Everyone", 1, "-48 -1 0", "90 0 128", "1392 -5564 228" ); +patch_ladder( "1454 -5565.5 292.25", "0 2 0" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_truck_fence1", "Survivors", 1, "-3 -128 -1546", "3 128 1546", "4292 -2990 1641.5" ); + make_clip( "_truck_fence2", "Survivors", 1, "-92 -3 -1546", "92 3 1546", "4388 -2865 1642" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c4m4_milltown_b.nut b/scripts/vscripts/anv_mapfixes/c4m4_milltown_b.nut new file mode 100644 index 00000000..54032d96 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c4m4_milltown_b.nut @@ -0,0 +1,46 @@ +g_Chapter = "HARD RAIN - RETURN TO TOWN"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_woodwindow", "Survivors", 1, "-48 -1 -39", "48 1 39", "4144 -1423 391" ); +make_clip( "_permstuck_shruba", "SI Players", 1, "-60 -32 -36", "60 72 60", "3668 -1664 132" ); +make_clip( "_permstuck_shrubb", "SI Players", 1, "-64 -64 -48", "64 64 48", "3408 -1760 144" ); +make_clip( "_commonhop_safehouse", "Survivors", 1, "-280 -456 0", "280 456 1100", "3984 -1863 464" ); +make_trigduck( "_duckqol_greenposts1", "-60 -97 0", "60 97 142", "-2021 5568 98" ); +make_trigduck( "_duckqol_greenposts2", "-60 -97 0", "60 97 142", "1069 6976 224" ); +make_trigduck( "_duckqol_playground", "-156 -1 0", "156 1 77", "-1442 6968 119" ); + +make_clip( "_permstuck_highuptree", "Everyone", 1, "-32 -54 0", "24 24 10", "-3312 7326 315" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_treehouse_whitefence", "Survivors", 1, "-17 -80 0", "17 77 1125", "1767 2219 267" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c4m5_milltown_escape.nut b/scripts/vscripts/anv_mapfixes/c4m5_milltown_escape.nut new file mode 100644 index 00000000..29251c7d --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c4m5_milltown_escape.nut @@ -0,0 +1,59 @@ +g_Chapter = "HARD RAIN - TOWN ESCAPE"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +//make_clip( "_backtrack_dumpster", "Survivors", 1, "-32 -40 0", "32 40 1337", "-4128 7481 150" ); +//make_clip( "_backtrack_flatnose", "Survivors", 1, "0 -110 0", "540 8 1212", "-4632 7208 272", "0 -34 0" ); +make_clip( "_booster_burgertankpole", "Survivors", 1, "-12 -12 -170", "12 12 1000", "-5800 7496 603" ); +make_clip( "_booster_burgertankspin", "Survivors", 1, "-216 -216 -170", "216 216 640", "-5800 7496 915" ); +make_clip( "_permstuck_highuptree", "Everyone", 1, "-32 -54 0", "24 24 10", "-3312 7326 315" ); +make_clip( "_booster_ginnytop", "Survivors", 1, "-22 -29 0", "17 29 1150", "-5425 6789 385", "0 45 0" ); +make_clip( "_booster_ginnyjon", "Survivors", 1, "6 -4 -284", "-10 4 0", "-5425 6789 385", "0 45 0" ); +make_clip( "_booster_gasextend", "Survivors", 1, "-41 -196 0", "528 164 1250", "-4624 7952 284" ); +make_clip( "_booster_blueframe", "Survivors", 1, "-17 -70 0", "17 76 1100", "-4641 7618 479", "0 -7 0" ); +make_clip( "_booster_roofwedge", "Survivors", 1, "-17 -24 0", "47 64 1200", "-5711 6528 416" ); +make_clip( "_booster_wrongwayup", "Survivors", 1, "-14 -454 0", "-2 970 906", "-4082 7142 608" ); +make_clip( "_booster_powerline", "Survivors", 1, "-47 -8 0", "86 35 1100", "-5297 7349 531" ); +make_clip( "_booster_clipextend", "Survivors", 1, "-95 -18 0", "65 33 617", "-6561 6589 912" ); +make_clip( "_burgertank_windowsmoother1", "Everyone", 1, "-5 -120 0", "6 120 4", "-5663 7268 135" ); +make_clip( "_burgertank_windowsmoother2", "Everyone", 1, "-90 -5 0", "90 6 4", "-5798 7505 135" ); +make_clip( "_burgertank_windowsmoother3", "Everyone", 1, "-90 -5 0", "90 6 4", "-6022 7777 135" ); +make_clip( "_dockm5only_smoother", "Everyone", 1, "0 -376 0", "8 820 32", "-7039 7701 91", "-45 0 0" ); + +// Non-1st rounds require a delay because this trigger_finale exists after "round_start". + +con_comment( "LOGIC:\tPoint-of-no-return clip will be Enabled when finale is started." ); + +make_clip( "_point_of_no_return", "Survivors", 0, "-73 -135 0", "19 135 1361", "-4077 7139 125" ); +EntFire( "trigger_finale", "AddOutput", "FinaleStart anv_mapfixes_point_of_no_return:Enable::0:-1", 1 ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c5m1_waterfront.nut b/scripts/vscripts/anv_mapfixes/c5m1_waterfront.nut new file mode 100644 index 00000000..268aa56d --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c5m1_waterfront.nut @@ -0,0 +1,60 @@ +g_Chapter = "THE PARISH - WATERFRONT"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_vuln_balconya", "Survivors", 1, "-48 -192 -76", "48 192 76", "-720 -128 -140" ); +make_clip( "_vuln_balconyb", "Survivors", 1, "-48 -256 -253", "48 256 253", "-1136 -512 196" ); +make_clip( "_vuln_balconyc", "Survivors", 1, "0 0 0", "65 256 150", "-737 -2048 -208" ); +make_clip( "_vuln_balconyd", "Survivors", 1, "-518 -64 0", "0 0 320", "-687 -2304 -176" ); +//make_clip( "_phonebooth_hopandnav", "Survivors", 1, "-37 -14 -153", "37 14 555", "-1731 -2370 -224" ); +make_clip( "_skybox_shielda", "SI Players", 1, "-176 -5.5 22", "-175 6.5 94", "-272 -2055 50" ); +make_clip( "_skybox_shieldd", "SI Players", 1, "-21 -252.5 -147", "21 252.5 147", "-3948 257 130" ); +make_clip( "_skybox_shieldb", "SI Players", 1, "-277 -115 -138", "283 115 100", "-1543.5 -1855.5 249.6" ); +make_clip( "_skybox_shieldc", "SI Players", 1, "-145 -212 -19", "165 212 77", "-2971 -1264 125" ); +make_clip( "_signhop_awning", "Survivors", 1, "-55 -320 -80", "55 320 216", "-3088 -250 -70.5" ); +make_clip( "_cliprework_roofandwindows", "Survivors", 1, "-53 -256 0", "723 256 365", "-3279 -819 -140.6" ); +make_clip( "_nav_jukebox", "Survivors", 1, "-20 -14 -88", "20 14 88", "-1492 -1685 -287" ); +make_clip( "_nav_outhouse", "Survivors", 1, "0 0 -30", "60 50 50", "-970.4 -2352 -221.7" ); +make_clip( "_nav_bienlamps", "Survivors", 1, "-32 -75 0", "6 75 330", "-664 -835 -184" ); +make_clip( "_rampstep_smoother", "Everyone", 1, "-40 -5 0", "40 1 3", "776 44 -374", "0 0 45" ); +make_clip( "_nav_electricalbox", "Survivors", 1, "-35 -4 0", "28 3 576", "-1392 -252 -374" ); +make_clip( "_cliprework_balconya", "Survivors", 1, "-398 -54 -17", "269 44 278", "-2700 -2346 -157" ); +make_clip( "_cliprework_balconyb", "Survivors", 1, "-161 -47 0", "186 50 340", "-2937 -2098 -216" ); +make_clip( "_cliprework_huntergap", "SI Players", 1, "-136 0 0", "136 17 32", "-40 1408 80" ); +make_clip( "_permstuck_dropbehindfence", "Everyone", 1, "-226 -7 -104", "294 41 177", "-982 -2793 144" ); +make_clip( "_cliprework_unattackable", "Survivors", 1, "-802 -203 0", "558 213 832", "-2446 299 -376" ); +make_clip( "_ledgehang_startfenceleft", "Survivors", 1, "-16 -48 0", "10 48 379", "589 -142 -251", "0 29 0" ); +make_clip( "_ledgehang_startfenceright", "Survivors", 1, "-8 -24 0", "8 24 360", "599 45 -232", "0 -15 0" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_clipgap_fence", "Survivors", 1, "-32 -12 -82", "32 12 82", "-1740 -1284 -134" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c5m2_park.nut b/scripts/vscripts/anv_mapfixes/c5m2_park.nut new file mode 100644 index 00000000..f05b582f --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c5m2_park.nut @@ -0,0 +1,55 @@ +g_Chapter = "THE PARISH - PARK"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_ladderqol_event", "SI Players", 1, "-2.5 -18 -161.5", "2.5 18 161.5", "-8446 -5214 -86" ); +make_clip( "_skybox_shieldb", "SI Players", 1, "-145 -212 -77", "145 212 77", "-2971 -1264 125" ); +make_clip( "_skybox_shielda", "SI Players", 1, "-240 -60 -20", "240 60 77", "-4014 -1296 68.8" ); +make_clip( "_booster_busdepot_extend", "Survivors", 1, "-425 -57 0", "381 85 1504", "-8078 -6407 160" ); +make_clip( "_booster_escapegap", "Survivors", 1, "-73 -66 1420", "8 129 32", "-9436 -5212 184", "0 -59 0" ); +make_clip( "_booster_watchtower_extend", "Survivors", 1, "-65 -76 0", "62 65 1142", "-8161 -5821 529" ); +make_clip( "_cliprework_parkarchway", "Survivors", 1, "-37 -404 -164", "35 402 1484", "-8125 -2207 180" ); +make_clip( "_cliprework_anomalous", "Survivors", 1, "-76 -90 -71", "20 92 86", "-9237 -3866 58" ); +make_clip( "_ghostgrief_and_stuckwarp", "Everyone", 1, "-8 -1246 -21", "18 1106 50", "-10562 -4034 -5" ); +make_clip( "_nav_electricalbox", "Survivors", 1, "-35 -6 0", "24 5 1817", "-6222 -7610 -153" ); +make_clip( "_ladderqol_purpleclip1", "SI Players", 1, "0 -245 -24", "1 308 32", "-9340 -5876 -132" ); +make_clip( "_ladderqol_purpleclip2", "SI Players", 1, "-96 -2 -4", "129 -1 29", "-8096 -5539 -129" ); +make_clip( "_ladderqol_purpleclip3", "SI Players", 1, "-96 -2 -4", "129 -1 29", "-7456 -5539 -129" ); +make_clip( "_permstuck_longbarricade", "Everyone", 1, "-491 -16 0", "54 26 168", "-6390 -8479 -247" ); +make_clip( "_cliprework_missingno", "Survivors", 1, "-164 -272 0", "172 240 1626", "-10092 -5520 48" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + + make_clip( "_nav_eventsign", "Survivors", 1, "-4 -10 -908", "4 10 908", "-8552 -6310 756" ); + patch_ladder( "-9260 -5130 -152", "0 14 0" ); + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + + make_clip( "_safedoor_antighost", "SI Players", 1, "-2 -32 0", "2 32 107", "-3775 -1368 -344" ); + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c5m3_cemetery.nut b/scripts/vscripts/anv_mapfixes/c5m3_cemetery.nut new file mode 100644 index 00000000..4e37cde0 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c5m3_cemetery.nut @@ -0,0 +1,65 @@ +g_Chapter = "THE PARISH - CEMETERY"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_commonhop_rooftop", "Survivors", 1, "-24 -4 -28", "24 4 88", "3080 1407 222" ); +make_clip( "_sewer_holed", "Survivors", 1, "-4 -40 -44", "4 40 44", "5212 -112 -116" ); +make_clip( "_sewer_holec", "Survivors", 1, "-264 -4 -44", "264 4 44", "5968 -452 -116" ); +make_clip( "_sewer_holeb", "Survivors", 1, "-4 -376 -44", "4 376 44", "6532 224 -116" ); +make_clip( "_sewer_holea", "Survivors", 1, "-384 -4 -44", "384 4 44", "5848 964 -116" ); +make_clip( "_bunnyhop_underfence", "Survivors", 1, "-36 -2 -268", "36 2 268", "5948 -2330 688" ); +make_clip( "_commonhop_overpass", "Survivors", 1, "-544 -576 -160", "544 576 365", "4896 7744 320" ); +make_clip( "_manhole_fencea", "Survivors", 1, "-136 -584 -160", "0 584 320", "4489 1194 321" ); +make_clip( "_manhole_fenceb", "Survivors", 1, "-56 -122.5 -160", "56 122.5 320", "4445 504 320", "0 15 0" ); +make_clip( "_manhole_fencec", "Survivors", 1, "-56 -122.5 -160", "56 122.5 320", "4437 268 320", "0 -15 0" ); +make_clip( "_manhole_fenced", "Survivors", 1, "-36.5 -151 -160", "36.5 151 320", "4399 33 326" ); +make_clip( "_manhole_fencee", "Survivors", 1, "-180 -40 -160", "180 40 320", "4182 -127 328" ); +make_clip( "_ladderqol_overpass", "SI Players", 1, "-18.5 -12 -95", "18.5 12 95", "5851 8704 192" ); +make_clip( "_stuckwarp_wrongwaya", "SI Players", 1, "-82.5 -201 -111", "82.5 201 111", "6275 9035 242" ); +make_clip( "_stuckwarp_wrongwayb", "SI Players", 1, "-21.5 -276 -111", "21.5 276 111", "6336 8960 242" ); +make_clip( "_permstuck_jetstrike", "Everyone", 1, "-46.5 -27.5 -25", "46.5 27.5 25", "6233 -2190 453" ); +make_clip( "_permstuck_cemetery", "Everyone", 1, "-145 -27 0", "145 27 1234", "7453 -6553 95" ); +make_clip( "_commonhop_endfence", "Survivors", 1, "-64 -4 -44", "64 4 580", "9152 -9004 380" ); +make_clip( "_stuckwarp_staircase", "Everyone", 1, "-32 -4 -64", "64 4 458", "3504 2668 182" ); +make_clip( "_permstuck_dualfence", "Survivors", 1, "-28 -445 0", "28 445 654", "3421 733 3.1" ); +make_clip( "_cliprework_pinkhouse", "Survivors", 1, "-386 -270 0", "414 274 320", "3434 4094 360" ); +make_clip( "_cliprework_perchroof", "Survivors", 1, "-136 -192 0", "136 192 487", "4856 3040 164" ); +make_clip( "_nav_brokenhome_highcorner", "Survivors", 1, "-4 -83 0", "16 378 469", "2052 2534 160" ); +make_clip( "_nav_opencrypt", "Survivors", 1, "-26 -47 0", "7 49 1000", "9604 -6659 344" ); +make_clip( "_nav_cornertree", "Survivors", 1, "-83 -116 0", "97 180 935", "10459 -4981 409" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_shortcut_vanjump", "Survivors", 1, "-41 0 0", "41 5 59", "4425 5257 28", "0 -16 10" ); + + make_clip( "_nav_brokenhome_shortcuta", "Survivors", 1, "-5 -51 0", "5 66 130", "2301 958 31", "-10 0 0" ); + make_clip( "_nav_brokenhome_shortcutb", "Survivors", 1, "-5 -51 0", "5 66 130", "2302 1290 31", "-10 0 0" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c5m4_quarter.nut b/scripts/vscripts/anv_mapfixes/c5m4_quarter.nut new file mode 100644 index 00000000..15c76b45 --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c5m4_quarter.nut @@ -0,0 +1,78 @@ +g_Chapter = "THE PARISH - QUARTER"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_vuln_balconya", "Survivors", 1, "-41 -64 -171.5", "41 64 171.5", "-3542 4573 395" ); +make_clip( "_vuln_balconyb", "Survivors", 1, "-243 -50 -161", "243 50 161", "-3360 4688 384" ); +make_clip( "_vuln_balconyd", "Survivors", 1, "-131 -33 -232", "131 33 232", "-2814 2912 615" ); +make_clip( "_vuln_balconye", "Survivors", 1, "-132.5 -33.5 -169.5", "132.5 33.5 169.5", "-2401 2912 553" ); +make_clip( "_vuln_balconyf", "Survivors", 1, "-261 -50 -409", "261 50 409", "-1839 2896 632" ); +make_clip( "_vuln_balconyc", "Survivors", 1, "-257.5 -34.5 -279.5", "257.5 34.5 279.5", "-3326 2531 535" ); +make_clip( "_commonhop_bench", "Survivors", 1, "-1020 -17 -310", "250 17 610", "-2684 2447 545" ); +make_clip( "_clip_anomaly", "SI Players", 1, "-36 -86 -44.5", "36 86 44.5", "-1918 661 503" ); +make_clip( "_clipgap_fence", "Survivors", 1, "-56 -2 -270", "56 2 888", "-2216 3200 309" ); +make_clip( "_booster_float", "Survivors", 1, "-430 -320 0", "999 280 777", "-986.4 -395 385" ); +make_clip( "_clipextend_afterfloata", "Survivors", 1, "-120 -354 -36", "160 350 845", "-2592 665 312.5" ); +make_clip( "_clipextend_garage", "Survivors", 1, "-320 -8 0", "320 8 732", "-1264 2992 420" ); +make_clip( "_clipextend_1ststreet", "Survivors", 1, "-8 -296 0", "272 42 600", "-368 2887 576" ); +make_clip( "_commonhop_electricalbox", "Survivors", 1, "8 -64 0", "8 64 752", "-80 1535 400" ); +make_clip( "_clipextend_afterfloatb", "Survivors", 1, "-4 -94 0", "4 94 128", "-2700 222 432" ); +make_clip( "_clipextend_2ndstreeta", "Survivors", 1, "-8 -246 0", "95 216 768", "-2848 -840 384" ); +make_clip( "_vuln_balconyg", "Survivors", 1, "-525 -48 0", "525 54 737", "-2440 -1040 416" ); +make_clip( "_clipextend_2ndstreetb", "Survivors", 1, "-50 -216 -32", "36 216 737", "-519 -870 420" ); +make_clip( "_clipextend_finalarea", "Survivors", 1, "-380 -47 0", "380 47 737", "81 -1075 416" ); +make_clip( "_clipextend_endfences", "Survivors", 1, "-12 -666 0", "12 666 717", "1700 -2016 430" ); +make_clip( "_clipgaps_finalrun", "Survivors", 1, "-1580 -16 -38", "450 55 96", "364 -2743 416" ); +make_clip( "_clipgaps_defibtrick", "Survivors", 1, "-239 -30 0", "209 26 772", "-977 -2658 380" ); +make_clip( "_commonhop_fountain", "Survivors", 1, "-44 -44 0", "44 44 144", "-3360 4288 234" ); +make_clip( "_cliprework_rollupdoor", "Survivors", 1, "-8 -183 0", "8 169 777", "-1670 1687 324" ); +make_clip( "_cliprework_unattackable", "Survivors", 1, "-28 -245 0", "28 235 704", "-3828 2709 448" ); +make_clip( "_void_cliprework", "Survivors", 1, "-288 -223 0", "288 401 697", "-224 -1425 456" ); +make_clip( "_void_filler", "SI Players", 1, "-64 17 -90", "65 301 -3", "-224 -1425 677" ); + +con_comment( "FIX:\tTotal of 13 out of 13 traffic cones need to be made non-solid -- finally we can!" ); + +unsolidify_model( "models/props_fortifications/orange_cone001_reference.mdl" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_commonhop_signalbox", "Survivors", 1, "-19 -44 -527", "19 64 527", "-1645 1946 591" ); + make_clip( "_commonhop_rollupdoor", "Survivors", 1, "-13 -65 -376", "13 65 528", "-1652 1745 573" ); + make_clip( "_commonhop_fountain", "Survivors", 1, "-71 -222 0", "71 700 777", "-2881 3746 399" ); + make_clip( "_clipgap_leftfence", "Survivors", 1, "-32 -4 0", "32 4 208", "-2976 3452 184" ); + + // Piggyback on Survivor-filtered trigger that queries Director for car alarm. + + con_comment( "LOGIC:\tTMP shortcut fence clip will be deleted when a Survivor exits final building." ); + + make_clip( "_shortcut_fence_TMP", "Survivors", 1, "-84 -12 0", "86 9 149", "-1836 -1212 208" ); + DoEntFire( "!self", "AddOutput", "OnTrigger anv_mapfixes_shortcut_fence_TMP:Kill::0:-1", 0.0, null, Entities.FindByClassnameNearest( "trigger_once", Vector( -1540, -1604, 314 ), 1 ) ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file diff --git a/scripts/vscripts/anv_mapfixes/c5m5_bridge.nut b/scripts/vscripts/anv_mapfixes/c5m5_bridge.nut new file mode 100644 index 00000000..c38e579f --- /dev/null +++ b/scripts/vscripts/anv_mapfixes/c5m5_bridge.nut @@ -0,0 +1,93 @@ +g_Chapter = "THE PARISH - BRIDGE"; + +devchap( "ALL MODES" ); + +// FIXES_ALL + +make_clip( "_antiboost_finaleskip", "Survivors", 1, "-216 -295 -96", "216 330 9001", "-12017 6306 779" ); +make_clip( "_permstuck_semiwheels", "Everyone", 1, "-45 -30 -75", "45 30 75", "5929 6072 475" ); +make_clip( "_endfence_curvejump", "Survivors", 1, "-112 -80 -180", "112 80 2400", "9552 6640 556" ); +make_clip( "_endfence_commonhop", "Survivors", 1, "-24 -240 -55", "24 240 17", "9480 6320 705" ); +make_clip( "_bunnyhop_fence", "Survivors", 1, "-68 -71 -163", "68 80 163", "-11827 6526 611" ); +make_clip( "_solidify_bridgepier01", "Everyone", 1, "-42 -280 -8", "42 280 177", "-11786 6325 200" ); +make_clip( "_solidify_bridgepier03", "Everyone", 1, "-42 -280 -8", "42 280 177", "-9226 6325 200" ); +make_clip( "_solidify_bridgepier02", "Everyone", 1, "-42 -280 -8", "42 280 177", "-11274 6325 200" ); +make_clip( "_solidify_bridgepier04", "Everyone", 1, "-42 -280 -8", "42 280 177", "-8586 6325 200" ); +make_clip( "_solidify_bridgepier05", "Everyone", 1, "-42 -280 -8", "42 280 177", "-7434 6325 200" ); +make_clip( "_solidify_bridgepier06", "Everyone", 1, "-42 -280 -8", "42 280 177", "-6154 6325 200" ); +make_clip( "_solidify_bridgepier07", "Everyone", 1, "-42 -280 -8", "42 280 177", "-4618 6325 200" ); +make_clip( "_solidify_bridgepier08", "Everyone", 1, "-42 -280 -8", "42 280 177", "-3082 6325 200" ); +make_clip( "_solidify_bridgepier09", "Everyone", 1, "-42 -280 -8", "42 280 177", "-1546 6325 200" ); +make_clip( "_solidify_bridgepier10", "Everyone", 1, "-42 -280 -8", "42 280 177", "-10 6325 200" ); +make_clip( "_solidify_bridgepier11", "Everyone", 1, "-42 -280 -8", "42 280 177", "1526 6325 200" ); +make_clip( "_solidify_bridgepier12", "Everyone", 1, "-42 -280 -8", "42 280 177", "3062 6325 200" ); +make_clip( "_solidify_bridgepier13", "Everyone", 1, "-42 -280 -8", "42 280 177", "3990 6326 200" ); +make_clip( "_solidify_bridgepier14", "Everyone", 1, "-42 -280 -8", "42 280 177", "4599 6326 200" ); +make_clip( "_solidify_bridgepier15", "Everyone", 1, "-42 -280 -8", "42 280 177", "6662 6326 200" ); +make_clip( "_solidify_bridgepier16", "Everyone", 1, "-42 -280 -8", "42 280 177", "7270 6326 200" ); +make_clip( "_solidify_bridgepier17", "Everyone", 1, "-42 -280 -8", "42 280 177", "8694 6326 200" ); +make_clip( "_booster_lighta", "Survivors", 1, "-55 -55 -17", "55 55 2121", "8755 5850 978.9" ); +make_clip( "_booster_fence", "Survivors", 1, "-99 -99 0", "99 99 1337", "8422 5899 831" ); +make_clip( "_booster_generatora", "Survivors", 1, "-32 -32 -17", "32 32 2121", "8362 5702 753" ); +make_clip( "_booster_lightb", "Survivors", 1, "-55 -55 -17", "55 55 2121", "9352 5101 977.9" ); +make_clip( "_booster_lightc", "Survivors", 1, "-55 -55 -17", "55 55 2121", "9670 4237 977.9" ); +make_clip( "_booster_lightd", "Survivors", 1, "-55 -55 -17", "55 55 2121", "9856 3385 962.9" ); +make_clip( "_booster_sign", "Survivors", 1, "-150 -45 -17", "150 45 2121", "9418 3972 798.3" ); +make_clip( "_booster_acunit", "Survivors", 1, "-35 -65 -17", "35 65 2121", "8352 1700 474.9" ); +make_clip( "_booster_rollupdoor", "Survivors", 1, "-13 -70 0", "13 70 2121", "8331 1888 346.3" ); +make_clip( "_booster_generatorb", "Survivors", 1, "-32 -32 -17", "32 32 2121", "8526 3995 485.8" ); +make_clip( "_booster_generatorc", "Survivors", 1, "-32 -32 -17", "32 32 2121", "8245 3460 485.8" ); +make_clip( "_booster_tree", "Survivors", 1, "-110 -170 -17", "120 140 2121", "7975 2389 434" ); +make_clip( "_cliprework_jeepbean", "Survivors", 1, "-339 -243 0", "528 260 1258", "8967 6328 790" ); +make_clip( "_endrubble_smoother", "Everyone", 1, "-8 -41 0", "8 38 8", "8209 6208 456", "45 0 0" ); +make_clip( "_ramp_smoother", "Everyone", 1, "-6 -42 0", "3 42 2", "8041 4102 180", "-30 -30 0" ); +make_clip( "_clipextend_endchopper", "Survivors", 1, "-125 -506 0", "135 299 1852", "7383 3797 1199", "0 25 0" ); + +if ( g_BaseMode == "coop" || g_BaseMode == "realism" ) +{ + devchap( "BASE COOP" ); + + // FIXES + +} +if ( g_BaseMode == "versus" ) +{ + devchap( "BASE VERSUS" ); + + // FIXES + + make_clip( "_bunnyhop_girder", "Survivors", 1, "-610 -17 -101", "40 24 256", "-5528 6568 860" ); + make_clip( "_solidify_girderleft", "Survivors", 1, "-500 0 0", "0 40 50", "4544 6600 750" ); + make_clip( "_solidify_girderright", "Survivors", 1, "-500 -40 0", "0 0 50", "4544 6050 750" ); + make_clip( "_solidify_stuckwarp1", "Survivors", 1, "-26 -10 -37", "61 11 32", "4152 6617 729" ); + make_clip( "_solidify_stuckwarp2", "Survivors", 1, "-26 -10 -37", "61 11 32", "4152 6034 729" ); + make_clip( "_solidify_stuckwarp3", "Survivors", 1, "-86 -10 -37", "15 11 32", "4502 6034 729" ); + make_clip( "_solidify_stuckwarp4", "Survivors", 1, "-86 -10 -37", "15 11 32", "4502 6617 729" ); + make_clip( "_solidify_alt_girderleft", "Survivors", 1, "-500 0 0", "0 40 50", "7187 6600 750" ); + make_clip( "_solidify_alt_girderright", "Survivors", 1, "-500 -40 0", "0 0 50", "7187 6050 750" ); + make_clip( "_solidify_alt_stuckwarp1", "Survivors", 1, "-26 -10 -37", "61 11 32", "6795 6617 729" ); + make_clip( "_solidify_alt_stuckwarp2", "Survivors", 1, "-26 -10 -37", "61 11 32", "6795 6034 729" ); + make_clip( "_solidify_alt_stuckwarp3", "Survivors", 1, "-86 -10 -37", "15 11 32", "7145 6034 729" ); + make_clip( "_solidify_alt_stuckwarp4", "Survivors", 1, "-86 -10 -37", "15 11 32", "7145 6617 729" ); + +} +if ( g_BaseMode == "survival" ) +{ + devchap( "BASE SURVIVAL" ); + + // FIXES + + make_clip( "_survivalbig_skyboxcap", "Survivors", 1, "-2388 -2396 0", "1787 2736 32", "8074 3332 1536" ); + + make_clip( "_booster_helipada", "Survivors", 1, "-1640 -17 -240", "32 17 2882", "7481 2202 175" ); + make_clip( "_booster_helipadb", "Survivors", 1, "-17 -1800 -240", "17 1240 2882", "5856 4019 176" ); + make_clip( "_booster_helipadc", "Survivors", 1, "-1640 -17 -240", "1240 17 2882", "7479 5276 176" ); + +} +if ( g_BaseMode == "scavenge" ) +{ + devchap( "BASE SCAVENGE" ); + + // FIXES + +} \ No newline at end of file