Skip to content

Commit

Permalink
Merge branch 'map-specific-scripts' of https://github.com/Tsuey/L4D2-…
Browse files Browse the repository at this point in the history
…Community-Update into map-specific-scripts
  • Loading branch information
Treescrub committed Jul 5, 2021
2 parents 652b6d0 + 29c85eb commit d36ac82
Show file tree
Hide file tree
Showing 57 changed files with 13 additions and 1,183 deletions.
31 changes: 1 addition & 30 deletions scripts/vscripts/anv_mapfixes/c10m1_caves.nut
Original file line number Diff line number Diff line change
Expand Up @@ -27,33 +27,4 @@ make_clip( "_dispcrouch_endrockparkour", "Everyone", 1, "-8 -116 0", "8 56 115",
// 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

}
make_prop( "dynamic", "_crashcourse_armoredvan", "models/props_vehicles/deliveryvan_armored.mdl", "-11274 -15292 -150.2", "14.32 90 -5.15" );
21 changes: 0 additions & 21 deletions scripts/vscripts/anv_mapfixes/c10m2_drainage.nut
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ make_clip( "_chargerassist_footlocker", "Survivors", 1, "-64 -82 0", "8 82 100",
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" );
Expand All @@ -53,18 +46,4 @@ if ( g_BaseMode == "versus" )
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

}
21 changes: 0 additions & 21 deletions scripts/vscripts/anv_mapfixes/c10m3_ranchhouse.nut
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ make_clip( "_permstuck_fatcliffladder2", "SI Players", 1, "-17 -34 0", "17 17 32
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" );
Expand All @@ -58,18 +51,4 @@ if ( g_BaseMode == "versus" )

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

}
14 changes: 0 additions & 14 deletions scripts/vscripts/anv_mapfixes/c10m4_mainstreet.nut
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ make_clip( "_cliprework_awning", "Survivors", 1, "-68 -103 -68", "43 107 1431",
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" );
Expand All @@ -50,11 +43,4 @@ if ( g_BaseMode == "survival" )

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

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

// FIXES

}
14 changes: 0 additions & 14 deletions scripts/vscripts/anv_mapfixes/c10m5_houseboat.nut
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@ function c10m5_rockslide()

EntFire( "trigger_finale", "AddOutput", "UseStart worldspawn:CallScriptFunction:c10m5_rockslide:0:-1" );

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

// FIXES

}
if ( g_BaseMode == "versus" )
{
devchap( "BASE VERSUS" );
Expand All @@ -86,11 +79,4 @@ if ( g_BaseMode == "survival" )

make_clip( "_survival_docksrocks", "Survivors", 1, "-78 -161 0", "87 153 1462", "2201 -4720 -174", "0 24 0" );

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

// FIXES

}
21 changes: 0 additions & 21 deletions scripts/vscripts/anv_mapfixes/c11m1_greenhouse.nut
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ make_clip( "_stunfall_lamp", "Survivors", 1, "-888 0 0", "979 17 1724", "5549 13
make_clip( "_outtabounds_ledge", "Survivors", 1, "-148 -145 0", "100 141 1100", "2700 649 640" );
make_trighurt( "_instakill_thankyoufailzz", "Survivor", "-2828 -46 -149", "1881 225 0", "5148 -1121 165" );

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

// FIXES

}
if ( g_BaseMode == "versus" )
{
devchap( "BASE VERSUS" );
Expand All @@ -32,18 +25,4 @@ if ( g_BaseMode == "versus" )
make_clip( "_commonhop_greenhouse", "Survivors", 1, "0 -320 -176", "3 240 690", "5226 -752 1023" );
make_clip( "_cliprework_endpassage", "Survivors", 1, "-6 -224 0", "6 224 78", "4858 2552 274" );

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

// FIXES

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

// FIXES

}
14 changes: 0 additions & 14 deletions scripts/vscripts/anv_mapfixes/c11m2_offices.nut
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ make_trighurt( "_instakill_semitrailer", "Survivor", "-269 -117 0", "273 121 8",
make_prop( "dynamic", "_omg_valve_wrongwayc", "models/props_vehicles/van.mdl", "8815 2888 10", "0 45 3", "shadow_no" );
make_prop( "dynamic", "_omg_valve_wrongwayg", "models/props_vehicles/van_glass.mdl", "8815 2888 10", "0 45 3", "shadow_no" );

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

// FIXES

}
if ( g_BaseMode == "versus" )
{
devchap( "BASE VERSUS" );
Expand All @@ -44,11 +37,4 @@ if ( g_BaseMode == "survival" )

make_clip( "_survival_electricgod", "Survivors", 1, "-40 -28 0", "79 43 273", "8328 3196 783" );

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

// FIXES

}
21 changes: 0 additions & 21 deletions scripts/vscripts/anv_mapfixes/c11m3_garage.nut
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ con_comment( "FIX:\tTanks prevented from being able to punch barricade gascans t

NetProps.SetPropInt( Entities.FindByName( null, "barricade_gas_can" ), "m_Collision.m_usSolidFlags", 2 );

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

// FIXES

}
if ( g_BaseMode == "versus" )
{
devchap( "BASE VERSUS" );
Expand All @@ -38,18 +31,4 @@ if ( g_BaseMode == "versus" )
make_clip( "_booster_windows", "Survivors", 1, "-6 -80 0", "6 80 128", "-3082 3152 160" );
make_clip( "_bunnyhop_windows", "Survivors", 1, "-6 -180 0", "6 180 128", "-2954 1393 160" );

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

// FIXES

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

// FIXES

}
14 changes: 0 additions & 14 deletions scripts/vscripts/anv_mapfixes/c11m4_terminal.nut
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,4 @@ if ( g_BaseMode == "versus" )

make_clip( "_altpath_escalator", "Survivors", 1, "-37 -6 -35", "25 6 175", "2289 1737 51", "0 0 -2.5" );

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

// FIXES

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

// FIXES

}
31 changes: 1 addition & 30 deletions scripts/vscripts/anv_mapfixes/c11m5_runway.nut
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,4 @@ make_clip( "_nav_firering_cheese", "Survivors", 1, "-24 -86 0", "17 126 1632", "
make_clip( "_planecrash_concreteramp", "SI Players", 1, "-290 -10 0", "345 10 185", "-4127 11223 -128", "0 -56 45" );

make_prop( "dynamic", "_terry", "models/deadbodies/dead_male_civilian_body.mdl", "-4154 9350 -140", "0 -111 0", "shadow_no", "solid_no" );
EntFire( "relay_outro_start", "AddOutput", "OnTrigger anv_mapfixes_terry:Kill::2:-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

}
EntFire( "relay_outro_start", "AddOutput", "OnTrigger anv_mapfixes_terry:Kill::2:-1" );
21 changes: 0 additions & 21 deletions scripts/vscripts/anv_mapfixes/c12m1_hilltop.nut
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ make_trighurt( "_instakill_longperimeter2", "Survivor", "-868 -1895 0", "508 214
make_trighurt( "_instakill_fallrevivefence", "Survivor", "-17 -337 0", "17 367 17", "-8883 -8543 87" );
make_trighurt( "_instakill_fallrevivenoper", "Survivor", "-744 -527 0", "1304 877 96", "-9496 -7665 -96" );

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

// FIXES

}
if ( g_BaseMode == "versus" )
{
devchap( "BASE VERSUS" );
Expand All @@ -30,18 +23,4 @@ if ( g_BaseMode == "versus" )

make_clip( "_nav_quarrybeams", "Survivors", 1, "-152 -7 0", "152 1 288", "-7808 -9481 512" );

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

// FIXES

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

// FIXES

}
21 changes: 0 additions & 21 deletions scripts/vscripts/anv_mapfixes/c12m2_traintunnel.nut
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,6 @@ make_clip( "_stuckwarp_rocketdude", "Everyone", 1, "-24 -48 0", "24 48 71", "-54
make_clip( "_rubble_smoother", "Everyone", 1, "-38 -166 0", "20 190 32", "-1777 -9480 -25", "33 23 28" );
make_trigduck( "_duckqol_ventduct", "-5 -26 -28", "5 26 28", "-8728 -7494 92" );

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" );
Expand All @@ -38,11 +24,4 @@ if ( g_BaseMode == "survival" )

make_navblock( "_survival_navblock_stairs", "Everyone", "Apply", "-4 -101 0", "4 0 32", "-6688 -7711 -80" );

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

// FIXES

}
7 changes: 0 additions & 7 deletions scripts/vscripts/anv_mapfixes/c12m3_bridge.nut
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,4 @@ if ( g_BaseMode == "survival" )
make_clip( "_missing_tree_3", "Survivors", 1, "-23 -23 0", "23 23 1302", "4214 -12710 418" );
make_clip( "_missing_tree_4", "Survivors", 1, "-23 -23 0", "23 23 1302", "3730 -14198 418" );

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

// FIXES

}
Loading

0 comments on commit d36ac82

Please sign in to comment.