Skip to content

Commit

Permalink
Split mapfixes for maps c1m1 to c5m5
Browse files Browse the repository at this point in the history
  • Loading branch information
Treescrub committed Jul 1, 2021
1 parent be0cf3b commit 3de1827
Show file tree
Hide file tree
Showing 24 changed files with 1,502 additions and 1,844 deletions.
1,846 changes: 2 additions & 1,844 deletions scripts/vscripts/anv_mapfixes.nut

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions scripts/vscripts/anv_mapfixes/c1m1_hotel.nut
Original file line number Diff line number Diff line change
@@ -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

}
57 changes: 57 additions & 0 deletions scripts/vscripts/anv_mapfixes/c1m2_streets.nut
Original file line number Diff line number Diff line change
@@ -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

}
49 changes: 49 additions & 0 deletions scripts/vscripts/anv_mapfixes/c1m3_mall.nut
Original file line number Diff line number Diff line change
@@ -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

}
49 changes: 49 additions & 0 deletions scripts/vscripts/anv_mapfixes/c1m4_atrium.nut
Original file line number Diff line number Diff line change
@@ -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

}
91 changes: 91 additions & 0 deletions scripts/vscripts/anv_mapfixes/c2m1_highway.nut
Original file line number Diff line number Diff line change
@@ -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" );

}
69 changes: 69 additions & 0 deletions scripts/vscripts/anv_mapfixes/c2m2_fairgrounds.nut
Original file line number Diff line number Diff line change
@@ -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

}
Loading

0 comments on commit 3de1827

Please sign in to comment.