Skip to content

Commit

Permalink
Replaced "g_UpdateName" value from "anv_mapfixes" to "community_update"
Browse files Browse the repository at this point in the history
Replaced references that involve prefix "anv_mapfixes" with value from public variable "g_UpdateName"
  • Loading branch information
shqke committed Aug 6, 2021
1 parent 9aa7aa8 commit 83a211c
Show file tree
Hide file tree
Showing 25 changed files with 80 additions and 80 deletions.
18 changes: 9 additions & 9 deletions root/scripts/vscripts/community/c8m4_elevatorfix.nut
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ EntFire( "trigger_nojump", "Kill" );
// delay ensure gravity was reset. To thwart DoS Attacks delete the teleport triggers
// after a substantial 5 second delay.

EntFire( "elevator_button", "AddOutput", "OnPressed anv_mapfixes_elevator_trigmult:Enable::0:-1" );
EntFire( "elevator_button", "AddOutput", "OnPressed anv_mapfixes_faller_trigmult:Enable::0:-1" );
EntFire( "elevator_button", "AddOutput", "OnPressed anv_mapfixes_skybox_trigmult:Enable::0:-1" );
EntFire( "elevator_button", "AddOutput", "OnPressed anv_mapfixes_elevator_infectdump:Enable::5:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop anv_mapfixes_elevator_tabbernaut:Kill::5:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop anv_mapfixes_elevator_infectdump:Kill::0:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop anv_mapfixes_elevator_trigmult:Kill::0:-1" );
EntFire( "elevator_button", "AddOutput", "OnPressed " + g_UpdateName + "_elevator_trigmult:Enable::0:-1" );
EntFire( "elevator_button", "AddOutput", "OnPressed " + g_UpdateName + "_faller_trigmult:Enable::0:-1" );
EntFire( "elevator_button", "AddOutput", "OnPressed " + g_UpdateName + "_skybox_trigmult:Enable::0:-1" );
EntFire( "elevator_button", "AddOutput", "OnPressed " + g_UpdateName + "_elevator_infectdump:Enable::5:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop " + g_UpdateName + "_elevator_tabbernaut:Kill::5:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop " + g_UpdateName + "_elevator_infectdump:Kill::0:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop " + g_UpdateName + "_elevator_trigmult:Kill::0:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop worldspawn:RunScriptCode:c8m4_TeamGravity(1.0):1:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop anv_mapfixes_faller_trigmult:Kill::5:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop anv_mapfixes_skybox_trigmult:Kill::5:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop " + g_UpdateName + "_faller_trigmult:Kill::5:-1" );
EntFire( "elevator", "AddOutput", "OnReachedTop " + g_UpdateName + "_skybox_trigmult:Kill::5:-1" );

// Survivor-only default-Enabled blocker that helps Survivors not fall through but
// is not perfect -- it's required that its top is exactly flush with elevator floor
Expand Down
24 changes: 12 additions & 12 deletions root/scripts/vscripts/community/functions.nut
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ function kill_funcinfclip( flDesiredRadius )
// parking lot fence ladder is close but has 3x+ this wiggle room.
//
// Radius of 1.4 supports a shift of up to 0.47 on all 3 axis -- never round
// VSSM's more than 0.1 (anv_mapfixes.nut rounds to nearest 0.01 or less).
// VSSM's more than 0.1 (mapfixes.nut rounds to nearest 0.01 or less).
//
// Function patch_ladder() tweaks ladders found with this and make_ladder()
// passes the found ladder to clone_model() to get its "model" Keyvalue so it
Expand Down Expand Up @@ -1219,7 +1219,7 @@ function InfectedLadders_Spawn()

EntFire( "worldspawn", "CallScriptFunction", "InfectedLadders" );

// // Required global function so anv_mapfixes.nut InfectedLadders_Spawn() call
// // Required global function so mapfixes.nut InfectedLadders_Spawn() call
// // can find it -- if not global, its logic_timer will stall and do nothing.
//
// ::RetryThink <- function()
Expand Down Expand Up @@ -1281,7 +1281,7 @@ function InfectedLadders_Spawn()
** Function runs for all those plus future unknowns.
**
** Some maps like Death Toll 3 and 5 have non-solid trees that'd otherwise
** be useful for SI Players to spawn behind. File anv_mapfixes.nut declares
** be useful for SI Players to spawn behind. File mapfixes.nut declares
** an "ALL MODES" function InfectedHumEnts() then runs InfectedHumEnts_Spawn()
** which produces them on gamemodes with Human-controlled SI.
**
Expand All @@ -1298,7 +1298,7 @@ function InfectedHumEnts_Spawn()
{
if ( HasPlayerControlledZombies() )
{
// Simply spawn all anv_mapfixes.nut-declared entities.
// Simply spawn all mapfixes.nut-declared entities.

EntFire( "worldspawn", "CallScriptFunction", "InfectedHumEnts" );
}
Expand Down Expand Up @@ -1355,7 +1355,7 @@ function patch_nav_obscured( user_strOrigin )
**
** This is how each map is exploitable, standing up against door in each case:
**
** mapname which door? "anv_mapfixes.nut" call
** mapname which door? "mapfixes.nut" call
**
** c2m2_fairgrounds start patch_nav_checkpoint( "1737 2712 4" );
** c2m2_fairgrounds end patch_nav_checkpoint( "-4337 -5511 -64" );
Expand Down Expand Up @@ -1504,8 +1504,8 @@ function make_atomizer( user_strTargetname,
{
OnTimer =
{
cmd1 = "anv_mapfixes_atomizer_monitoredStartGlowing0-1"
cmd2 = "anv_mapfixes_atomizer_monitoredKill5-1"
cmd1 = g_UpdateName + "_atomizer_monitoredStartGlowing0-1"
cmd2 = g_UpdateName + "_atomizer_monitoredKill5-1"
cmd3 = "!selfDisable0-1"
cmd4 = "!selfResetTimer0-1"
}
Expand All @@ -1523,7 +1523,7 @@ function make_atomizer( user_strTargetname,
OnStartTouch =
{
cmd1 = g_UpdateName + user_strTargetname + "_timer" + "Enable0-1"
cmd2 = "!activatorAddOutputtargetname anv_mapfixes_atomizer_monitored0-1"
cmd2 = "!activatorAddOutputtargetname " + g_UpdateName + "_atomizer_monitored0-1"
cmd3 = "!selfAddOutputspawnflags 00-1"
}
OnEndTouch =
Expand Down Expand Up @@ -1781,7 +1781,7 @@ function VectorToString_Valve( vector )

//////////////////////////////////////////////////////////////////////////////
// Equivalent to built-in printl() but only outputs anything if DEVELOPER MODE.
// This is used in "anv_mapfixes.nut" to have code comments in-game for fixes
// This is used in "mapfixes.nut" to have code comments in-game for fixes
// that require logic or trigger injection. Accompanies entity dumps.
//////////////////////////////////////////////////////////////////////////////

Expand All @@ -1800,7 +1800,7 @@ function con_comment( strComment )
** Confirms that even maps/modes without fixes are still running their case. An
** example of output: "MAP FIXES :: LAST STAND - THE LIGHTHOUSE ( ALL MODES )".
**
** File "anv_mapfixes.nut" runs this when "BASE COOP / VERSUS / SURVIVAL / SCAVENGE"
** File "mapfixes.nut" runs this when "BASE COOP / VERSUS / SURVIVAL / SCAVENGE"
** (here simplified to just != "TUTORIAL") for only the Official Valve maps.
** After all entities have been spawned (and dumped if DEVELOPER MODE) if it's
** an Official Valve map 'devchap( "TUTORIAL" )' then runs to inform testers
Expand All @@ -1823,13 +1823,13 @@ function devchap( mode )
}

// Ensure the tutorial is only shown once per "round_start" and always show "developer 1" notice.
// Function is called with 'devchap( "TUTORIAL" )' at end of "anv_mapfixes.nut".
// Function is called with 'devchap( "TUTORIAL" )' at end of "mapfixes.nut".

if ( developer() > 0 && mode == "TUTORIAL" )
{
printl( "Anniversary Map Fixes: Run or bind \"script ShowUpdate()\" and \"script HideUpdate()\"" );
printl( "to draw new blockers and glow new props. They are named according to purpose and" );
printl( "you can see entity definitions above. If you make/delete \"anv_mapfixes\"-prefixed" );
printl( "you can see entity definitions above. If you make/delete \"mapfixes\"-prefixed" );
printl( "entities, toggle Hide/Show to apply changes. Please report all issues and concerns" );
printl( "to Tsuey's Workshop https://steamcommunity.com/sharedfiles/filedetails/?id=1959405608\n" );
}
Expand Down
4 changes: 2 additions & 2 deletions root/scripts/vscripts/community/mapfixes.nut
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
printl( "VSCRIPT: Running anv_mapfixes.nut" );
printl( "VSCRIPT: Running mapfixes.nut" );

/*****************************************************************************
** This file is RunScriptFile'd on "worldspawn" by mapspawn.nut and its function
Expand Down Expand Up @@ -162,7 +162,7 @@ __CollectEventCallbacks( this, "OnGameEvent_", "GameEventCallbacks", RegisterScr
devchap( "TUTORIAL" );

// We've run once so set mapspawn.nut's global variable to "true". This allows
// anv_mapfixes.nut and other RunScriptFile'd *.nut's to only declare functions
// mapfixes.nut and other RunScriptFile'd *.nut's to only declare functions
// once (outside of mapspawn.nut's natural doing so). Also to only patch NAV once.
// If 0 second delay it'd be set "true" before switch-case RunScriptFile's ran.

Expand Down
2 changes: 1 addition & 1 deletion root/scripts/vscripts/community/maps/c11m2_offices.nut
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function DoRoundFixes()
make_trighurt( "_finalstreet_trighurta", "Survivor", "-879 -112 0", "603 48 17", "9071 3888 196" );
make_trighurt( "_finalstreet_trighurtb", "Survivor", "-1753 -823 0", "59 935 32", "8261 4759 196" );
make_trighurt( "_finalstreet_trighurtc", "Survivor", "-781 -361 0", "359 599 32", "9101 4969 196" );
DoEntFire( "!self", "AddOutput", "OnTrigger anv_mapfixes_finalstreet_trighurt*:Kill::0:-1", 0.0, null, Entities.FindByClassnameNearest( "trigger_once", Vector( 8616, 4320, 140 ), 1 ) );
DoEntFire( "!self", "AddOutput", "OnTrigger " + g_UpdateName + "_finalstreet_trighurt*:Kill::0:-1", 0.0, null, Entities.FindByClassnameNearest( "trigger_once", Vector( 8616, 4320, 140 ), 1 ) );

}
if ( g_BaseMode == "survival" )
Expand Down
8 changes: 4 additions & 4 deletions root/scripts/vscripts/community/maps/c11m5_runway.nut
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function DoRoundFixes()
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" );
EntFire( "relay_outro_start", "AddOutput", "OnTrigger " + g_UpdateName + "_terry:Kill::2:-1" );

if ( HasPlayerControlledZombies() )
{
Expand Down Expand Up @@ -38,9 +38,9 @@ function DoRoundFixes()
make_ladder( "_ladder_wreckedrear_cloned_escapeplaneleft", "-4354 9230 -96", "-2781 246 -12", "0 -5.65 0", "-1 0.1 0" );
make_prop( "dynamic", "_losblocker_fireline_tractor", "models/props_vehicles/airport_baggage_tractor.mdl", "-2980.23 10393 -141", "70 180 -10", "shadow_no" );

DoEntFire( "!self", "AddOutput", "OnBreak anv_mapfixes_boardingramp_wallclip:Kill::0:-1", 0.0, null, Entities.FindByClassnameNearest( "func_breakable", Vector( -5913.99, 10371.6, 162.64 ), 1 ) );
DoEntFire( "!self", "AddOutput", "OnBreak anv_mapfixes_boardingramp_wallclip:Kill::0:-1", 0.0, null, Entities.FindByClassnameNearest( "func_breakable", Vector( -5727.82, 10368.7, 143.43 ), 1 ) );
DoEntFire( "!self", "AddOutput", "OnBreak anv_mapfixes_boardingramp_wallclip:Kill::0:-1", 0.0, null, Entities.FindByClassnameNearest( "func_breakable", Vector( -5611.89, 10356, 143.21 ), 1 ) );
DoEntFire( "!self", "AddOutput", "OnBreak " + g_UpdateName + "_boardingramp_wallclip:Kill::0:-1", 0.0, null, Entities.FindByClassnameNearest( "func_breakable", Vector( -5913.99, 10371.6, 162.64 ), 1 ) );
DoEntFire( "!self", "AddOutput", "OnBreak " + g_UpdateName + "_boardingramp_wallclip:Kill::0:-1", 0.0, null, Entities.FindByClassnameNearest( "func_breakable", Vector( -5727.82, 10368.7, 143.43 ), 1 ) );
DoEntFire( "!self", "AddOutput", "OnBreak " + g_UpdateName + "_boardingramp_wallclip:Kill::0:-1", 0.0, null, Entities.FindByClassnameNearest( "func_breakable", Vector( -5611.89, 10356, 143.21 ), 1 ) );

con_comment( "PROP:\tBaggage cart under the plane wing moved closer to the ring of fire to give infected better spawn points" );

Expand Down
2 changes: 1 addition & 1 deletion root/scripts/vscripts/community/maps/c12m3_bridge.nut
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function DoRoundFixes()
con_comment( "MOVER:\tClip \"_bridge_dynamic_clip\" simulated to move when bridge collapses." );

make_clip( "_bridge_dynamic_clip", "Survivors", 1, "-69 -926 0", "69 6 1450", "5932 -13314 272" );
EntFire( "train_engine_button", "AddOutput", "OnPressed anv_mapfixes_bridge_dynamic_clip:AddOutput:origin 5932 -13784 272:0:-1" );
EntFire( "train_engine_button", "AddOutput", "OnPressed " + g_UpdateName + "_bridge_dynamic_clip:AddOutput:origin 5932 -13784 272:0:-1" );

if ( g_BaseMode == "coop" || g_BaseMode == "realism" )
{
Expand Down
6 changes: 3 additions & 3 deletions root/scripts/vscripts/community/maps/c12m4_barn.nut
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ function DoRoundFixes()
// is touched first then delete original. New trigger deletes the blockers. Note that
// original uses "OnTrigger" instead of "OnStartTouch".

EntFire( "window_trigger", "AddOutput", "OnTrigger anv_mapfixes_eventskip_commonhop*:Kill::0:-1" );
EntFire( "window_trigger", "AddOutput", "OnTrigger anv_mapfixes_eventskip_fence_trigonce:Kill::0:-1" );
EntFire( "window_trigger", "AddOutput", "OnTrigger " + g_UpdateName + "_eventskip_commonhop*:Kill::0:-1" );
EntFire( "window_trigger", "AddOutput", "OnTrigger " + g_UpdateName + "_eventskip_fence_trigonce:Kill::0:-1" );

EntFire( g_UpdateName + "_eventskip_fence_trigonce", "AddOutput", "OnTrigger anv_mapfixes_eventskip_commonhop*:Kill::0:-1" );
EntFire( g_UpdateName + "_eventskip_fence_trigonce", "AddOutput", "OnTrigger " + g_UpdateName + "_eventskip_commonhop*:Kill::0:-1" );
EntFire( g_UpdateName + "_eventskip_fence_trigonce", "AddOutput", "OnTrigger window_trigger:Kill::0:-1" );

// Replicate the original trigger_once's "OnTrigger" Outputs to the new trigger.
Expand Down
6 changes: 3 additions & 3 deletions root/scripts/vscripts/community/maps/c12m5_cornfield.nut
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function DoRoundFixes()
con_comment( "LOGIC:\tPoint-of-no-return clip will be Enabled when finale is started." );

make_clip( "_point_of_no_return", "Survivors", 0, "-148 -16 0", "148 26 1660", "9017 3511 202" );
EntFire( "trigger_finale", "AddOutput", "FinaleStart anv_mapfixes_point_of_no_return:Enable::0:-1" );
EntFire( "trigger_finale", "AddOutput", "FinaleStart " + g_UpdateName + "_point_of_no_return:Enable::0:-1" );

if ( HasPlayerControlledZombies() )
{
Expand Down Expand Up @@ -108,7 +108,7 @@ function DoRoundFixes()

con_comment( "LOGIC:\tBarricade ladders will be deleted 17 seconds into \"relay_outro_start\"." );

EntFire( "relay_outro_start", "AddOutput", "OnTrigger anv_mapfixes_ladder_barricade*:Kill::17:-1" );
EntFire( "relay_outro_start", "AddOutput", "OnTrigger " + g_UpdateName + "_ladder_barricade*:Kill::17:-1" );

con_comment( "EASTER_EGG:\tChair deleted, replaced with bumper car, SetModel to chair, clipped, parented and OnHitByTank I/O'd." );

Expand All @@ -117,6 +117,6 @@ function DoRoundFixes()
Entities.FindByName( null, g_UpdateName + "_replacement_chair" ).SetModel( "models/props_interiors/sofa_chair02.mdl" );
make_clip( "_replacement_chair_clip", "Everyone", 1, "-16 -22 0", "30 22 40", "6922 1059 238" );
EntFire( g_UpdateName + "_replacement_chair_clip", "SetParent", g_UpdateName + "_replacement_chair" );
EntFire( g_UpdateName + "_replacement_chair", "AddOutput", "OnHitByTank anv_mapfixes_replacement_chair_clip:Kill:0:-1" );
EntFire( g_UpdateName + "_replacement_chair", "AddOutput", "OnHitByTank " + g_UpdateName + "_replacement_chair_clip:Kill:0:-1" );
}
}
4 changes: 2 additions & 2 deletions root/scripts/vscripts/community/maps/c13m3_memorialbridge.nut
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function DoRoundFixes()
con_comment( "LOGIC:\tAnti-shortcut tanker clip will be deleted upon its destruction." );

make_clip( "_shortcut_tanker", "Survivors", 1, "-58 -577 0", "58 271 527", "1092 -3999 1328", "0 27 0" );
EntFire( "tanker_destruction_relay", "AddOutput", "OnTrigger anv_mapfixes_shortcut_tanker:Kill::0:-1" );
EntFire( "tanker_destruction_relay", "AddOutput", "OnTrigger " + g_UpdateName + "_shortcut_tanker:Kill::0:-1" );

}

Expand Down Expand Up @@ -74,7 +74,7 @@ function DoRoundFixes()
EntFire( g_UpdateName + "_watercushion_trigonce", "AddOutput", "maxs 139 985 401" );
EntFire( g_UpdateName + "_watercushion_trigonce", "AddOutput", "solid 2" );

EntFire( g_UpdateName + "_watercushion_trigonce", "AddOutput", "OnStartTouch anv_mapfixes_watercushion_trighurt:Kill::0:-1" );
EntFire( g_UpdateName + "_watercushion_trigonce", "AddOutput", "OnStartTouch " + g_UpdateName + "_watercushion_trighurt:Kill::0:-1" );
}

if ( HasPlayerControlledZombies() )
Expand Down
4 changes: 2 additions & 2 deletions root/scripts/vscripts/community/maps/c1m1_hotel.nut
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function DoRoundFixes()
EntFire( g_UpdateName + "_shortcut_balcrail_trigonce", "AddOutput", "maxs 185 2052 104" );
EntFire( g_UpdateName + "_shortcut_balcrail_trigonce", "AddOutput", "solid 2" );

EntFire( g_UpdateName + "_shortcut_balcrail_trigonce", "AddOutput", "OnStartTouch anv_mapfixes_shortcut_balcrail_*:Kill::0:-1" );
EntFire( g_UpdateName + "_shortcut_balcrail_trigonce", "AddOutput", "OnStartTouch " + g_UpdateName + "_shortcut_balcrail_*:Kill::0:-1" );

SpawnEntityFromTable( "info_particle_system",
{
Expand All @@ -52,7 +52,7 @@ function DoRoundFixes()
con_comment( "LOGIC:\tAnti-doorbreak trighurt will be deleted 4 seconds after elevator starts." );

make_trighurt( "_elevator_exploit_bean", "Ghost", "-55 -2 0", "55 2 111", "2169 5713 2344" );
EntFire( "elevator_button", "AddOutput", "OnPressed anv_mapfixes_elevator_exploit_bean:Kill::4:-1" );
EntFire( "elevator_button", "AddOutput", "OnPressed " + g_UpdateName + "_elevator_exploit_bean:Kill::4:-1" );

con_comment( "QOL:\tThe 2nd fire door is open immediately for Versus-only QoL." );

Expand Down
2 changes: 1 addition & 1 deletion root/scripts/vscripts/community/maps/c1m2_streets.nut
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function DoRoundFixes()

con_comment( "LOGIC:\tLOS tanker fixes will be deleted upon its destruction." );

EntFire( "tanker_destruction_relay", "AddOutput", "OnTrigger anv_mapfixes_losfix_tanker*:Kill::0:-1" );
EntFire( "tanker_destruction_relay", "AddOutput", "OnTrigger " + g_UpdateName + "_losfix_tanker*:Kill::0:-1" );

con_comment( "FIX/ANTI-GRIEF:\tRemoved trigger which disables common infected spawns in Save 4 Less area for Versus only." );
kill_entity( Entities.FindByClassnameNearest( "trigger_once", Vector( -5128, -992, 548 ), 1 ) );
Expand Down
4 changes: 2 additions & 2 deletions root/scripts/vscripts/community/maps/c2m2_fairgrounds.nut
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function DoRoundFixes()

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 ) );
DoEntFire( "!self", "AddOutput", "OnTrigger " + g_UpdateName + "_tol_clip_brush*:Kill::-1", 0.0, null, Entities.FindByClassnameNearest( "trigger_once", Vector( -2496, -6544, 4 ), 1 ) );

}

Expand Down Expand Up @@ -155,7 +155,7 @@ function DoRoundFixes()
patch_nav_checkpoint( "1737 2712 4" );
patch_nav_checkpoint( "-4337 -5511 -64" );

// Manually fix the 2009 forklift since it is spawned after anv_mapfixes runs
// Manually fix the 2009 forklift since it is spawned after mapfixes runs
NetProps.SetPropInt( Entities.FindByName( null, g_UpdateName + "_hittable_2009forklift" ), "m_iMinHealthDmg", 400 );
NetProps.SetPropInt( Entities.FindByName( null, g_UpdateName + "_hittable_2009forklift" ), "m_takedamage", 3 );
}
Expand Down
4 changes: 2 additions & 2 deletions root/scripts/vscripts/community/maps/c2m3_coaster.nut
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ function DoRoundFixes()
//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" );
//EntFire( "relay_start_onslaught", "AddOutput", "OnTrigger " + g_UpdateName + "_dynamic_coaster_rubble:SetAnimation:debris:6.33:-1" );
//EntFire( "relay_panicevent", "AddOutput", "OnTrigger " + g_UpdateName + "_dynamic_coaster_rubble:SetAnimation:debris:6.33:-1" );

if ( g_BaseMode == "versus" )
{
Expand Down
2 changes: 1 addition & 1 deletion root/scripts/vscripts/community/maps/c2m4_barns.nut
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function DoRoundFixes()
EntFire( g_UpdateName + "_barnsroof_trigonce", "AddOutput", "maxs 4 32 112" );
EntFire( g_UpdateName + "_barnsroof_trigonce", "AddOutput", "solid 2" );

EntFire( g_UpdateName + "_barnsroof_trigonce", "AddOutput", "OnStartTouch anv_mapfixes_barnsroof_commonhop:Kill::0:-1" );
EntFire( g_UpdateName + "_barnsroof_trigonce", "AddOutput", "OnStartTouch " + g_UpdateName + "_barnsroof_commonhop:Kill::0:-1" );
}

if ( HasPlayerControlledZombies() )
Expand Down
Loading

0 comments on commit 83a211c

Please sign in to comment.