Skip to content

Commit

Permalink
Split remaining map fixes into individual scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Treescrub committed Jul 1, 2021
1 parent 3de1827 commit d8c8f09
Show file tree
Hide file tree
Showing 36 changed files with 2,231 additions and 2,972 deletions.
2,980 changes: 8 additions & 2,972 deletions scripts/vscripts/anv_mapfixes.nut

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions scripts/vscripts/anv_mapfixes/c10m1_caves.nut
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
g_Chapter = "DEATH TOLL - THE TURNPIKE";

devchap( "ALL MODES" );

// FIXES_ALL

make_clip( "_dispcrouch_hardone", "Everyone", 1, "-30 -216 -17", "32 145 180", "-11790 -12821 -65" );
make_clip( "_booster_funnel", "Survivors", 1, "-32 -32 -64", "32 32 365", "-12976 -12262 100" );
make_clip( "_curvejump_rocky", "Survivors", 1, "-32 -128 -80", "32 128 1001", "-13152 -11044 60.6" );
make_clip( "_cliprework_hillside01", "Survivors", 1, "-121 -690 -136", "1456 667 777", "-11849.1 -10286.1 504.3" );
make_clip( "_cliprework_hillside02", "Survivors", 1, "-264.5 -483 -519.5", "264.5 483 519.5", "-10597.5 -10811 848.5" );
make_clip( "_unattackable_tunnelsolidify", "Survivors", 1, "-625 -77 -144", "415 67 784", "-12367 -9747 496" );
make_clip( "_dispcrouch_popular", "Everyone", 1, "-9 -136 0", "8 112 106", "-10569 -11466 -510", "0 28 0" );
make_clip( "_dispcrouch_unknown", "Everyone", 1, "-77 -17 0", "77 11 122", "-10812 -11821 -507", "0 -8 0" );
make_clip( "_dispcrouch_endarea", "Everyone", 1, "-74 -32 -64", "204 42 90", "-11880 -6636 -24", "0 -36 0" );
make_clip( "_cliprework_dispcrouch_1a", "Survivors", 1, "-478 -120 -50", "563 -17 1138", "-13714 -12191 142", "0 -6 0" );
make_clip( "_cliprework_dispcrouch_1b", "Everyone", 1, "-478 -120 -650", "563 -17 -170", "-13714 -12191 142", "0 -6 0" );
make_clip( "_cliprework_dispcrouch_2a", "Survivors", 1, "-478 -120 -50", "563 -17 1138", "-14360 -11744 142", "0 -55 0" );
make_clip( "_cliprework_dispcrouch_2b", "Everyone", 1, "-478 -120 -650", "563 -17 -170", "-14360 -11744 142", "0 -55 0" );
make_clip( "_cliprework_dispcrouch_endarea1", "Everyone", 1, "-448 -55 0", "288 116 182", "-11066 -5132 -84" );
make_clip( "_cliprework_dispcrouch_endarea2", "Everyone", 1, "-98 -16 -90", "304 16 82", "-10896 -5942 5", "0 -7 0" );
make_clip( "_permstuck_endrocktree", "SI Players", 1, "-98 -16 -100", "18 16 17", "-10228 -5209 388", "0 18 0" );
make_clip( "_permstuck_endrockcorner", "Everyone", 1, "-8 -79 -186", "95 130 174", "-11277 -6770 193", "0 -35 0" );
make_clip( "_dispcrouch_endrocktinytop", "Everyone", 1, "-8 -37 0", "8 121 148", "-11216 -6525 62" );
make_clip( "_dispcrouch_endrockparkour", "Everyone", 1, "-8 -116 0", "8 56 115", "-12284 -6439 147", "0 9 0" );

// Not confirmed canon -- but probably.

make_prop( "dynamic", "_crashcourse_armoredvan_glass", "models/props_vehicles/deliveryvan_armored_glass.mdl", "-11274 -15292 -150.2", "14.32 90 -5.15", "shadow_no" );
make_prop( "dynamic", "_crashcourse_armoredvan", "models/props_vehicles/deliveryvan_armored.mdl", "-11274 -15292 -150.2", "14.32 90 -5.15" );

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

}
70 changes: 70 additions & 0 deletions scripts/vscripts/anv_mapfixes/c10m2_drainage.nut
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
g_Chapter = "DEATH TOLL - THE DRAINS";

devchap( "ALL MODES" );

// FIXES_ALL

make_clip( "_commonhop_cisterntunnela", "Survivors", 1, "-17 -80 0", "17 80 164", "-9477 -7279 -308" );
make_clip( "_commonhop_cisterntunnelb", "Survivors", 1, "-80 -17 0", "80 17 164", "-9872 -6886 -308" );
make_clip( "_commonhop_bagstoroof", "Survivors", 1, "-420 -1600 -100", "420 171 920", "-7118 -6111 351" );
make_clip( "_unattackable_pipea", "Survivors", 1, "-80 -4 -56", "80 669 88", "-7790 -8110 -388" );
make_clip( "_unattackable_pipeb", "Survivors", 1, "-4 -80 -56", "669 80 88", "-8339 -9043 -388" );
make_clip( "_unattackable_pipec", "Survivors", 1, "-4 -80 -56", "669 80 88", "-9144 -9043 -388" );
make_clip( "_nav_electricalbox", "Survivors", 1, "-6 -30 0", "3 27 172", "-10806 -8537 -347", "0 -45 0" );
make_clip( "_unattackable_debrisfall", "Survivors", 1, "-119 -137 0", "74 113 12", "-9870 -8168 -180" );
make_clip( "_cliprework_cisternroof", "Survivors", 1, "-124 -136 12", "132 120 22", "-9860 -7288 -98" );
make_clip( "_cliprework_endrooftop1", "Survivors", 1, "-270 -550 -151", "270 514 662", "-6448 -6730 620" );
make_clip( "_cliprework_endrooftop2", "Survivors", 1, "-8 -366 0", "8 318 1026", "-7500 -5634 256" );
make_clip( "_nav_cistern_anomaly", "Survivors", 1, "-17 -6 0", "11 4 127", "-9859 -7064 -221" );
make_clip( "_nav_cistern_highpipe1", "Survivors", 1, "-23 -56 0", "23 56 97", "-9935 -6961 -191" );
make_clip( "_nav_cistern_highpipe2", "Survivors", 1, "-21 -60 0", "29 59 75", "-9812 -6957 -169" );
make_clip( "_nav_cistern_highpipe3", "Survivors", 1, "-42 -16 0", "39 16 83", "-9533 -7217 -169" );
make_clip( "_nav_cistern_tunnelexit", "Survivors", 1, "-80 -11 0", "82 13 125", "-9872 -7669 -219" );
make_clip( "_nav_cistern_angpipe1", "Survivors", 1, "-31 -93 0", "20 128 135", "-9988 -7555 -229", "0 -20 0" );
make_clip( "_nav_cistern_angpipe2", "Survivors", 1, "-31 -93 0", "20 128 135", "-10155 -7450 -229", "0 -60 0" );
make_clip( "_nav_cistern_angpipe3", "Survivors", 1, "-31 -93 0", "20 128 135", "-10166 -7137 -229", "0 -110 0" );
make_clip( "_nav_cistern_angpipe4", "Survivors", 1, "-31 -93 0", "20 128 135", "-9723 -6991 -229", "0 -195 0" );
make_clip( "_nav_cistern_angpipe5", "Survivors", 1, "-31 -93 0", "20 128 135", "-9727 -7542 -229", "0 -150 0" );
make_clip( "_ledgehang_endsaferoof", "Survivors", 1, "-279 -66 0", "231 66 93", "-8361 -5553 131" );
make_clip( "_smoother_pipes1", "Everyone", 1, "-640 -2 -28", "204 2 32", "-8712 -7404 -609", "-19 0 36" );
make_clip( "_smoother_pipes2", "Everyone", 1, "-640 -2 -28", "204 2 32", "-8712 -7159 -615", "-19 0 -36" );
make_clip( "_smoother_pipes3", "Everyone", 1, "-207 -2 -28", "243 2 32", "-8307 -7154.5 -541", "0 0 -36" );
make_clip( "_chargerassist_eventbutton", "Survivors", 1, "-82 -16 0", "82 64 100", "-8706 -7744 -308" );
make_clip( "_chargerassist_footlocker", "Survivors", 1, "-64 -82 0", "8 82 100", "-8992 -8554 -308" );
make_clip( "_grating_smoothera", "Everyone", 1, "-326 -450 -2", "0 0 1", "-8642 -7855 -528.613" );
make_clip( "_grating_smootherb", "Everyone", 1, "-326 -495 -2", "-45 -450 1", "-8642 -7855 -528.613" );

if ( g_BaseMode == "coop" || g_BaseMode == "realism" )
{
devchap( "BASE COOP" );

// FIXES

}
if ( g_BaseMode == "versus" )
{
devchap( "BASE VERSUS" );

// FIXES

make_clip( "_shortcut_commonhop", "Survivors", 1, "-25 69 -89", "-22 73 91", "-8050 -8422 -487" );

make_clip( "_bunnyhop_endwindow", "Survivors", 1, "-606 -7 0", "100 7 128", "-7998 -6007 -48" );
make_clip( "_commonhop_pipe", "Survivors", 1, "-4 -104 -56", "4 104 56", "-8044 -7280 -408" );
make_clip( "_cliprework_commonhop", "Survivors", 1, "-172 -8 -44", "172 8 44", "-6452 -6008 136" );

}
if ( g_BaseMode == "survival" )
{
devchap( "BASE SURVIVAL" );

// FIXES

}
if ( g_BaseMode == "scavenge" )
{
devchap( "BASE SCAVENGE" );

// FIXES

}
75 changes: 75 additions & 0 deletions scripts/vscripts/anv_mapfixes/c10m3_ranchhouse.nut
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
g_Chapter = "DEATH TOLL - THE CHURCH";

devchap( "ALL MODES" );

// FIXES_ALL

make_clip( "_commonhop_saferoom", "Survivors", 1, "-576 -2892 -165", "576 368 1000", "-8080 -5684 421" );
make_clip( "_commonhop_traintoroof", "Survivors", 1, "-789 -626 -165", "744 762 994", "-12000 -8094 286" );
make_clip( "_commonhop_stationroof", "Survivors", 1, "-184 -430 -200", "174 380 470", "-12632 -6040 500" );
make_clip( "_dispcrouch_flatcartunnel", "Everyone", 1, "-100 -38 -64", "38 38 256", "-12534 -3574 -36" );
make_clip( "_holdoutsafe_cabinmountain", "Survivors", 1, "-340 -50 -245", "340 50 1122", "-7518 -2770 307" );
make_clip( "_cliprework_watchtower", "Survivors", 1, "0 -358 0", "358 0 180", "-10438 -6325 542" );
make_clip( "_cliprework_rockcliff01", "Survivors", 1, "-600 -160 -592", "911 160 592", "-6272 -2688 848" );
make_clip( "_cliprework_roadblock", "Survivors", 1, "-45 -1200 0", "45 455 512", "-4585 -944 496" );
make_clip( "_cliprework_churchlonga", "Survivors", 1, "-45 -9 -555", "2310 9 944", "-4533 -503 496" );
make_clip( "_cliprework_rockcliff02", "Survivors", 1, "-145 -360 -420", "180 216 592", "-7043 -3005 848" );
make_clip( "_cliprework_churchlongb", "Survivors", 1, "-9 -45 -369", "9 2400 1166", "-2232 -467 290" );
make_clip( "_clipextend_trainstationa", "Survivors", 1, "-24 -1300 0", "24 1300 640", "-12811 -7486 344" );
make_clip( "_clipextend_trainstationb", "Survivors", 1, "-1200 -9 0", "216 77 690", "-13001 -5725.4 344" );
make_clip( "_dipscrouch_multicliff", "Everyone", 1, "-487 -60 -100", "86 4 39", "-13282 -3756 240", "0 43 0" );
make_clip( "_cliprework_church01", "Survivors", 1, "-260 -169 -80", "286 9 864", "-3070 25 576" );
make_clip( "_cliprework_church02", "Survivors", 1, "-618 -80 -80", "486 32 864", "-2710 1072 576" );
make_clip( "_cliprework_church03", "Survivors", 1, "-554 -102 -80", "486 62 864", "-3798 930 576" );
make_clip( "_cliprework_church04", "Survivors", 1, "-218 -102 -80", "206 250 864", "-4538 578 576" );
make_clip( "_cliprework_church05", "Survivors", 1, "-430 -10 -80", "206 10 864", "-4962 712 576" );
make_clip( "_cliprework_church06", "Survivors", 1, "-10 -545 -80", "10 430 864", "-5528 137 576" );
make_clip( "_cliprework_church07", "Survivors", 1, "-180 -9 -80", "80 9 864", "-3390 -135 576" );
make_clip( "_cliprework_church08", "Survivors", 1, "-100 -100 -80", "100 0 864", "-5492 667 576", "0 45 0" );
make_clip( "_cliprework_church09", "Survivors", 1, "-40 -175 -80", "20 175 864", "-3612 -319 576", "0 -24 0" );
make_clip( "_cliprework_church10", "Survivors", 1, "-80 -490 -80", "32 486 864", "-2256 506 576" );
make_clip( "_cliprework_church11", "Survivors", 1, "-144 -160 -80", "144 160 704", "-2928 448 736" );
make_clip( "_cliprework_church12", "Survivors", 1, "-226 -284 -80", "222 420 704", "-2558 220 736" );
make_clip( "_cliprework_corner1", "Survivors", 1, "-487 -60 39", "86 4 784", "-13282 -3756 240", "0 43 0" );
make_clip( "_cliprework_corner2", "Survivors", 1, "-550 -60 -17", "711 4 784", "-12651 -3566 400", "0 14 0" );
make_clip( "_tankpunch_booster", "Survivors", 1, "-8 -302 -110", "158 960 1322", "-8838 -4633 124", "0 51 0" );
make_clip( "_permstuck_triplerock", "Everyone", 1, "-78 -86 -80", "88 96 32", "-9539 -4313 16", "0 41 0" );
make_clip( "_cliprework_vulnerable", "Survivors", 1, "-1085 -16 -90", "1048 16 1192", "-8709 -3352 269", "0 34 0" );
make_clip( "_cliprework_churchwindows", "Survivors", 1, "-4 -120 0", "4 120 100", "-2372 192 194" );
make_clip( "_clipextend_padlockgate", "Survivors", 1, "-14 -311 0", "14 405 1102", "-8594 -5033 344" );
make_clip( "_permstuck_openedrockcliff", "SI Players", 1, "-17 -17 0", "17 17 32", "-9247 -3950 412" );
make_clip( "_permstuck_fatcliffladder1", "SI Players", 1, "-17 -34 0", "17 17 32", "-8302 -3322 383" );
make_clip( "_permstuck_fatcliffladder2", "SI Players", 1, "-17 -34 0", "17 17 32", "-8224 -3527 378" );
make_clip( "_chargerassist_brokenwall", "Survivors", 1, "-128 0 0", "128 64 275", "-2480 1104 221" );
make_clip( "_booster_watertowerclip", "Survivors", 1, "-538 -16 0", "348 66 900", "-6472 -871 1024", "0 15 0" );

if ( g_BaseMode == "coop" || g_BaseMode == "realism" )
{
devchap( "BASE COOP" );

// FIXES

}
if ( g_BaseMode == "versus" )
{
devchap( "BASE VERSUS" );

// FIXES

make_clip( "_cliprework_smokertrolling", "Survivors", 1, "-207 -21 0", "219 8 259", "-11857 -5323 85" );

}
if ( g_BaseMode == "survival" )
{
devchap( "BASE SURVIVAL" );

// FIXES

}
if ( g_BaseMode == "scavenge" )
{
devchap( "BASE SCAVENGE" );

// FIXES

}
60 changes: 60 additions & 0 deletions scripts/vscripts/anv_mapfixes/c10m4_mainstreet.nut
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
g_Chapter = "DEATH TOLL - THE TOWN";

devchap( "ALL MODES" );

// FIXES_ALL

make_clip( "_commonhop_bankwindow", "Survivors", 1, "-120 -5 0", "120 17 1612", "-672 -4351 176" );
make_clip( "_cliprework_church", "Survivors", 1, "-256 -16 -164", "256 16 1040", "-3010 30 720.9" );
make_clip( "_cliprework_buses", "Survivors", 1, "-160 -6 -164", "160 6 620", "-1437 -461 1124" );
make_clip( "_cliprework_houses01", "Survivors", 1, "-8 -80 -0", "8 80 1221", "744 -324 512" );
make_clip( "_cliprework_houses02", "Survivors", 1, "-100 -8 -170", "100 8 1221", "854 -272 512" );
make_clip( "_cliprework_houses03", "Survivors", 1, "-100 -8 -100", "100 8 1221", "1400 -158 512" );
make_clip( "_cliprework_houses04", "Survivors", 1, "-32 -8 -70", "32 8 1221", "1993 -254 512" );
make_clip( "_cliprework_houses05", "Survivors", 1, "-400 -8 -150", "32 216 1221", "2883 -465 602" );
make_clip( "_dispcrouch_spawn", "Everyone", 1, "-140 -32 -64", "100 32 90", "-4294 -1729 -2", "0 -5 0" );
make_clip( "_cliprework_unattackable", "Survivors", 1, "-8 -396 -164", "24 216 850", "-1608 -2368 884" );
make_clip( "_cliprework_electricalbox", "Survivors", 1, "-6 -33 0", "5 25 406", "2667 -1769 164" );
make_clip( "_cliprework_windows", "Survivors", 1, "-16 -304 -20", "0 288 68", "2688 -2136 372" );
make_clip( "_cliprework_balcony", "Survivors", 1, "-86 -50 0", "84 46 1392", "2822 -1694 336" );
make_clip( "_cliprework_awning", "Survivors", 1, "-68 -103 -68", "43 107 1431", "2885 -1580 297" );
make_trighurt( "_instakill_deathcharger", "Survivor", "-256 -453 -17", "256 453 0", "-2449 122 -43" );
patch_spawninfront( "288 -5284 93", "0 -96 0", "544 96 17" );

if ( g_BaseMode == "coop" || g_BaseMode == "realism" )
{
devchap( "BASE COOP" );

// FIXES

}
if ( g_BaseMode == "versus" )
{
devchap( "BASE VERSUS" );

// FIXES

make_clip( "_cliprework_trucknuke", "Survivors", 1, "-180 -60 -2", "115 60 1624", "693 -1867 105", "0 43 0" );

make_clip( "_cliprework_eventskip1", "Survivors", 1, "-55 -1 0", "58 1 1588", "852 -2433 140" );
make_clip( "_cliprework_eventskip2", "Survivors", 1, "-209 -2 0", "192 2 1588", "661 -2569 140", "0 45 0" );
make_clip( "_cliprework_eventskip3", "Survivors", 1, "-156 -1 0", "141 1 1588", "372 -2717 140" );
make_clip( "_cliprework_eventskip4", "Survivors", 1, "-26 -59 0", "-24 41 1588", "242 -2757 140" );

}
if ( g_BaseMode == "survival" )
{
devchap( "BASE SURVIVAL" );

// FIXES

make_clip( "_booster_eatsign", "Survivors", 1, "-10 -64 -48", "10 69 1442", "-1649 -3723 293" );

}
if ( g_BaseMode == "scavenge" )
{
devchap( "BASE SCAVENGE" );

// FIXES

}
Loading

0 comments on commit d8c8f09

Please sign in to comment.