diff --git a/addons/sourcemod/plugins/optional/l4d2_block_bot_pills.smx b/addons/sourcemod/plugins/optional/l4d2_block_bot_pills.smx new file mode 100644 index 000000000..7b701f673 Binary files /dev/null and b/addons/sourcemod/plugins/optional/l4d2_block_bot_pills.smx differ diff --git a/addons/sourcemod/plugins/optional/l4d2_tank_spawn_antirock_protect.smx b/addons/sourcemod/plugins/optional/l4d2_tank_spawn_antirock_protect.smx new file mode 100644 index 000000000..abcedc882 Binary files /dev/null and b/addons/sourcemod/plugins/optional/l4d2_tank_spawn_antirock_protect.smx differ diff --git a/addons/sourcemod/scripting/botpopstop.sp b/addons/sourcemod/scripting/archive/botpopstop.sp similarity index 100% rename from addons/sourcemod/scripting/botpopstop.sp rename to addons/sourcemod/scripting/archive/botpopstop.sp diff --git a/addons/sourcemod/scripting/l4d2_block_bot_pills.sp b/addons/sourcemod/scripting/l4d2_block_bot_pills.sp new file mode 100644 index 000000000..88883e55d --- /dev/null +++ b/addons/sourcemod/scripting/l4d2_block_bot_pills.sp @@ -0,0 +1,52 @@ +#pragma semicolon 1 +#pragma newdecls required + +#include +#include +#include +#include + +bool g_bExtensionActions; + +ConVar g_cvDebugModeEnabled; + +public Plugin myinfo = +{ + name = "[L4D2] Block Bot Pills", + author = "B[R]UTUS", + description = "Prohibits the use of pills to bots", + version = "1.0", + url = "https://steamcommunity.com/id/8ru7u5/" +} + +public void OnPluginStart() +{ + // ==================== + // Validate extensions + // ==================== + g_bExtensionActions = LibraryExists("actionslib"); + + if (!g_bExtensionActions) + SetFailState("\n==========\nMissing required extensions: \"Actions\".\nRead installation instructions again.\n=========="); + + g_cvDebugModeEnabled = CreateConVar("l4d2_bbp_debug_enabled", "0", "Is debug mode enabled?"); +} + +// ==================================================================================================== +// ACTIONS EXTENSION +// ==================================================================================================== +public void OnActionCreated(BehaviorAction action, int actor, const char[] name) +{ + /* Hooking take pills action (when bot wants to take pills) */ + if (strcmp(name[8], "TakePills") == 0) + action.OnStart = OnSelfActionPills; +} + +public Action OnSelfActionPills(BehaviorAction action, int actor, BehaviorAction priorAction, ActionResult result) +{ + if (g_cvDebugModeEnabled.BoolValue) + CPrintToChatAll("{green}[{default}Bot Block Pills{green}]{default}: Bot {blue}%N{default} wants to use pain pills. Blocking this action...", actor); + + result.type = DONE; + return Plugin_Changed; +} \ No newline at end of file diff --git a/addons/sourcemod/scripting/l4d2_tank_spawn_antirock_protect.sp b/addons/sourcemod/scripting/l4d2_tank_spawn_antirock_protect.sp new file mode 100644 index 000000000..9f682fa06 --- /dev/null +++ b/addons/sourcemod/scripting/l4d2_tank_spawn_antirock_protect.sp @@ -0,0 +1,35 @@ +#include +#include +#include + +float g_fSpawnTime; + +ConVar g_cvAntiRockProtectTime; + +public Plugin myinfo = +{ + name = "[L4D2] Tank Spawn Anti-Rock Protect", + author = "B[R]UTUS", + description = "Protects a Tank player from randomly rock attack at his spawn", + version = "1.0", + url = "https://steamcommunity.com/id/8ru7u5/" +} + +public void OnPluginStart() +{ + HookEvent("tank_spawn", Event_TankSpawn, EventHookMode_Post); + g_cvAntiRockProtectTime = CreateConVar("l4d2_antirock_protect_time", "1.5", "Protect time from randomly Tank's rock attack after his spawn"); +} + +public void Event_TankSpawn(Event event, const char[] name, bool dontBroadcast) +{ + g_fSpawnTime = GetGameTime(); +} + +public Action L4D_OnCThrowActivate(int ability) +{ + if (GetGameTime() - g_fSpawnTime < g_cvAntiRockProtectTime.FloatValue) + return Plugin_Handled; + + return Plugin_Continue; +} \ No newline at end of file diff --git a/cfg/cfgogl/acemodrv/shared_plugins.cfg b/cfg/cfgogl/acemodrv/shared_plugins.cfg index bab3dcd7b..5fe81c674 100644 --- a/cfg/cfgogl/acemodrv/shared_plugins.cfg +++ b/cfg/cfgogl/acemodrv/shared_plugins.cfg @@ -26,7 +26,7 @@ sm plugins load optional/l4d2_pickup.smx sm plugins load optional/blockheatseekingchargers.smx sm plugins load optional/blocktrolls.smx sm plugins load optional/bossspawningfix.smx -sm plugins load optional/botpopstop.smx +sm plugins load optional/l4d2_block_bot_pills.smx sm plugins load optional/coinflip.smx sm plugins load optional/current.smx sm plugins load optional/finalefix.smx @@ -58,6 +58,7 @@ sm plugins load optional/starting_items.smx sm plugins load optional/teamflip.smx sm plugins load optional/temphealthfix.smx sm plugins load optional/l4d_witch_damage_announce.smx +sm plugins load optional/l4d2_tank_spawn_antirock_protect.smx //---------------------- // Equilibrium Plugins diff --git a/cfg/cfgogl/acemodrv/shared_settings.cfg b/cfg/cfgogl/acemodrv/shared_settings.cfg index d1c3e4a26..1bb475b71 100644 --- a/cfg/cfgogl/acemodrv/shared_settings.cfg +++ b/cfg/cfgogl/acemodrv/shared_settings.cfg @@ -115,6 +115,9 @@ confogl_addcvar tank_overhand_only 0 confogl_addcvar vs_tank_pound_damage 36 confogl_addcvar vs_tank_rock_damage 24 +// [l4d2_tank_spawn_antirock_protect] +confogl_addcvar l4d2_antirock_protect_time 1.5 + // [l4d2_ultra_witch.smx] confogl_addcvar z_witch_damage 48 @@ -263,6 +266,9 @@ confogl_addcvar sm2_permament_health_proportion 0.75 confogl_addcvar sm2_pills_hp_factor 6.0 confogl_addcvar sm2_pills_max_bonus 30 +// [l4d2_block_bot_pills.smx] +confogl_addcvar l4d2_bbp_debug_enabled 0 + ///////////////////////////// // [Static shotgun spread] // ///////////////////////////// diff --git a/cfg/cfgogl/apex/shared_plugins.cfg b/cfg/cfgogl/apex/shared_plugins.cfg index 9284dfa74..afe820b3d 100644 --- a/cfg/cfgogl/apex/shared_plugins.cfg +++ b/cfg/cfgogl/apex/shared_plugins.cfg @@ -26,7 +26,7 @@ sm plugins load optional/l4d2_pickup.smx sm plugins load optional/blockheatseekingchargers.smx sm plugins load optional/blocktrolls.smx sm plugins load optional/bossspawningfix.smx -sm plugins load optional/botpopstop.smx +sm plugins load optional/l4d2_block_bot_pills.smx sm plugins load optional/coinflip.smx sm plugins load optional/current.smx sm plugins load optional/finalefix.smx @@ -58,6 +58,7 @@ sm plugins load optional/smart_ai_rock.smx sm plugins load optional/starting_items.smx sm plugins load optional/teamflip.smx sm plugins load optional/temphealthfix.smx +sm plugins load optional/l4d2_tank_spawn_antirock_protect.smx //---------------------- // Equilibrium Plugins diff --git a/cfg/cfgogl/apex/shared_settings.cfg b/cfg/cfgogl/apex/shared_settings.cfg index 994a20b6b..b31341ab3 100644 --- a/cfg/cfgogl/apex/shared_settings.cfg +++ b/cfg/cfgogl/apex/shared_settings.cfg @@ -111,6 +111,9 @@ confogl_addcvar tank_overhand_only 0 confogl_addcvar vs_tank_pound_damage 36 confogl_addcvar vs_tank_rock_damage 24 +// [l4d2_tank_spawn_antirock_protect] +confogl_addcvar l4d2_antirock_protect_time 1.5 + // [l4d2_pickup.smx] confogl_addcvar pickup_switch_flags 2 confogl_addcvar pickup_incap_flags 2 @@ -232,6 +235,9 @@ confogl_addcvar SM_adrenaline_health_buffer 25 confogl_addcvar SM_mapmulti 1 confogl_addcvar SM_custommaxdistance 1 +// [l4d2_block_bot_pills.smx] +confogl_addcvar l4d2_bbp_debug_enabled 0 + ///////////////////////////// // [Static shotgun spread] // ///////////////////////////// diff --git a/cfg/cfgogl/deadman/confogl_plugins.cfg b/cfg/cfgogl/deadman/confogl_plugins.cfg index da3c43a56..36e8623b4 100644 --- a/cfg/cfgogl/deadman/confogl_plugins.cfg +++ b/cfg/cfgogl/deadman/confogl_plugins.cfg @@ -22,7 +22,7 @@ sm plugins load optional/1v1.smx sm plugins load optional/aitankgank.smx sm plugins load optional/blocktrolls.smx sm plugins load optional/bossspawningfix.smx -sm plugins load optional/botpopstop.smx +sm plugins load optional/l4d2_block_bot_pills.smx sm plugins load optional/checkpoint-rage-control.smx sm plugins load optional/coinflip.smx sm plugins load optional/current.smx diff --git a/cfg/cfgogl/deadman/deadman.cfg b/cfg/cfgogl/deadman/deadman.cfg index 8ac68ae02..2493f0f74 100644 --- a/cfg/cfgogl/deadman/deadman.cfg +++ b/cfg/cfgogl/deadman/deadman.cfg @@ -113,6 +113,9 @@ confogl_addcvar l4d_tank_props_glow 0 confogl_addcvar sm_uncinfblock_enabled 1 confogl_addcvar sm_uncinfblock_types 127 +// [l4d2_block_bot_pills.smx] +confogl_addcvar l4d2_bbp_debug_enabled 0 + // [l4d2_weaponrules.smx] l4d2_addweaponrule smg_mp5 smg_silenced l4d2_addweaponrule rifle smg_silenced diff --git a/cfg/cfgogl/eq/shared_plugins.cfg b/cfg/cfgogl/eq/shared_plugins.cfg index 026a512ec..6b036e636 100644 --- a/cfg/cfgogl/eq/shared_plugins.cfg +++ b/cfg/cfgogl/eq/shared_plugins.cfg @@ -24,7 +24,7 @@ sm plugins load playercommands.smx sm plugins load optional/blockheatseekingchargers.smx sm plugins load optional/blocktrolls.smx sm plugins load optional/bossspawningfix.smx -sm plugins load optional/botpopstop.smx +sm plugins load optional/l4d2_block_bot_pills.smx sm plugins load optional/coinflip.smx sm plugins load optional/current.smx sm plugins load optional/finalefix.smx @@ -61,6 +61,7 @@ sm plugins load optional/starting_items.smx sm plugins load optional/teamflip.smx sm plugins load optional/temphealthfix.smx sm plugins load optional/l4d_witch_damage_announce.smx +sm plugins load optional/l4d2_tank_spawn_antirock_protect.smx //---------------------- // Equilibrium Plugins diff --git a/cfg/cfgogl/eq/shared_settings.cfg b/cfg/cfgogl/eq/shared_settings.cfg index 89fdc569c..b30f42644 100644 --- a/cfg/cfgogl/eq/shared_settings.cfg +++ b/cfg/cfgogl/eq/shared_settings.cfg @@ -118,6 +118,9 @@ confogl_addcvar tank_overhand_only 0 confogl_addcvar vs_tank_pound_damage 36 confogl_addcvar vs_tank_rock_damage 24 +// [l4d2_tank_spawn_antirock_protect] +confogl_addcvar l4d2_antirock_protect_time 1.5 + // [l4d2_tank_melee_fury.smx] confogl_addcvar tank_swing_miss_interval 1.0 // Interval between "compensated" tank punches // This is a native L4D2 cvar, but it has no effect, @@ -245,6 +248,9 @@ confogl_addcvar sm2_permament_health_proportion 0.75 confogl_addcvar sm2_pills_hp_factor 6.0 confogl_addcvar sm2_pills_max_bonus 30 +// [l4d2_block_bot_pills.smx] +confogl_addcvar l4d2_bbp_debug_enabled 0 + // [Static shotgun spread] // Pump settings sm_weapon pumpshotgun damage 14 diff --git a/cfg/cfgogl/neomod/shared_plugins.cfg b/cfg/cfgogl/neomod/shared_plugins.cfg index 0af6ccc39..18ac7fd02 100644 --- a/cfg/cfgogl/neomod/shared_plugins.cfg +++ b/cfg/cfgogl/neomod/shared_plugins.cfg @@ -26,7 +26,7 @@ sm plugins load optional/l4d2_pickup.smx sm plugins load optional/blockheatseekingchargers.smx sm plugins load optional/blocktrolls.smx sm plugins load optional/bossspawningfix.smx -sm plugins load optional/botpopstop.smx +sm plugins load optional/l4d2_block_bot_pills.smx sm plugins load optional/coinflip.smx sm plugins load optional/current.smx sm plugins load optional/finalefix.smx @@ -59,6 +59,7 @@ sm plugins load optional/smart_ai_rock.smx sm plugins load optional/starting_items.smx sm plugins load optional/teamflip.smx sm plugins load optional/temphealthfix.smx +sm plugins load optional/l4d2_tank_spawn_antirock_protect.smx //---------------------- // Equilibrium Plugins diff --git a/cfg/cfgogl/neomod/shared_settings.cfg b/cfg/cfgogl/neomod/shared_settings.cfg index af7fa1092..0bc1541dd 100644 --- a/cfg/cfgogl/neomod/shared_settings.cfg +++ b/cfg/cfgogl/neomod/shared_settings.cfg @@ -116,6 +116,9 @@ confogl_addcvar tank_overhand_only 0 confogl_addcvar vs_tank_pound_damage 36 confogl_addcvar vs_tank_rock_damage 24 +// [l4d2_tank_spawn_antirock_protect] +confogl_addcvar l4d2_antirock_protect_time 1.5 + // [l4d2_pickup.smx] confogl_addcvar pickup_switch_flags 2 confogl_addcvar pickup_incap_flags 2 @@ -164,6 +167,9 @@ confogl_addcvar l4d_pills_hot_interval 0.1 confogl_addcvar l4d_pills_hot_increment 2 confogl_addcvar l4d_pills_hot_total 50 +// [l4d2_block_bot_pills.smx] +confogl_addcvar l4d2_bbp_debug_enabled 0 + // [l4d2_m2_control.smx] confogl_addcvar z_max_hunter_pounce_stagger_duration 1 confogl_addcvar l4d2_m2_hunter_penalty 1 diff --git a/cfg/cfgogl/nextmod/shared_plugins.cfg b/cfg/cfgogl/nextmod/shared_plugins.cfg index f3935802b..f5608c388 100644 --- a/cfg/cfgogl/nextmod/shared_plugins.cfg +++ b/cfg/cfgogl/nextmod/shared_plugins.cfg @@ -10,7 +10,7 @@ sm plugins load optional/l4d2_pickup.smx sm plugins load optional/blockheatseekingchargers.smx sm plugins load optional/blocktrolls.smx sm plugins load optional/bossspawningfix.smx -sm plugins load optional/botpopstop.smx +sm plugins load optional/l4d2_block_bot_pills.smx sm plugins load optional/coinflip.smx sm plugins load optional/8ball.smx sm plugins load optional/changelog.smx @@ -101,5 +101,6 @@ sm plugins load optional/panel_text.smx sm plugins load optional/spechud.smx sm plugins load optional/slots_vote.smx sm plugins load optional/witch_and_tankifier.smx +sm plugins load optional/l4d2_tank_spawn_antirock_protect.smx sm plugins load confoglcompmod.smx sm plugins load match_vote.smx \ No newline at end of file diff --git a/cfg/cfgogl/nextmod/shared_settings.cfg b/cfg/cfgogl/nextmod/shared_settings.cfg index fc1130614..47cd40c93 100644 --- a/cfg/cfgogl/nextmod/shared_settings.cfg +++ b/cfg/cfgogl/nextmod/shared_settings.cfg @@ -49,7 +49,6 @@ confogl_addcvar sm_survivor_mvp_brevity 0 confogl_addcvar sm_survivor_mvp_brevity_latest 111 confogl_addcvar sm_stats_autoprint_vs_round 8372 - // [l4d2_sounds_blocker.smx] confogl_addcvar ssb_block_car_alarms 0 confogl_addcvar ssb_block_horde 0 @@ -124,6 +123,9 @@ confogl_addcvar tank_overhand_only 0 confogl_addcvar vs_tank_pound_damage 36 confogl_addcvar vs_tank_rock_damage 24 +// [l4d2_tank_spawn_antirock_protect] +confogl_addcvar l4d2_antirock_protect_time 1.5 + // [l4d2_pickup.smx] confogl_addcvar pickup_switch_flags 2 confogl_addcvar pickup_incap_flags 2 @@ -169,6 +171,9 @@ confogl_addcvar l4d_pills_hot_interval 0.1 confogl_addcvar l4d_pills_hot_increment 2 confogl_addcvar l4d_pills_hot_total 50 +// [l4d2_block_bot_pills.smx] +confogl_addcvar l4d2_bbp_debug_enabled 0 + // [l4d2_m2_control.smx] confogl_addcvar z_max_hunter_pounce_stagger_duration 1 confogl_addcvar l4d2_m2_hunter_penalty 4 diff --git a/cfg/cfgogl/pmelite/confogl_plugins.cfg b/cfg/cfgogl/pmelite/confogl_plugins.cfg index 7fd350384..af81b4a9c 100644 --- a/cfg/cfgogl/pmelite/confogl_plugins.cfg +++ b/cfg/cfgogl/pmelite/confogl_plugins.cfg @@ -25,7 +25,7 @@ sm plugins load optional/autopause.smx sm plugins load optional/blockheatseekingchargers.smx sm plugins load optional/blocktrolls.smx sm plugins load optional/boomer_horde_equalizer.smx -sm plugins load optional/botpopstop.smx +sm plugins load optional/l4d2_block_bot_pills.smx sm plugins load optional/bossspawningfix.smx sm plugins load optional/checkpoint-rage-control.smx sm plugins load optional/coinflip.smx @@ -94,6 +94,7 @@ sm plugins load optional/teamflip.smx sm plugins load optional/temphealthfix.smx sm plugins load optional/l4d_witch_damage_announce.smx sm plugins load optional/l4d2_slowdown_control.smx +sm plugins load optional/l4d2_tank_spawn_antirock_protect.smx // Static shotgun spread sm plugins load optional/l4d2_weapon_attributes.smx diff --git a/cfg/cfgogl/pmelite/pmelite.cfg b/cfg/cfgogl/pmelite/pmelite.cfg index 5bf7e926e..b7c2f49ed 100644 --- a/cfg/cfgogl/pmelite/pmelite.cfg +++ b/cfg/cfgogl/pmelite/pmelite.cfg @@ -88,7 +88,10 @@ confogl_addcvar l4d_no_oxygen 0 // [l4d2_tank_attack_control.smx] confogl_addcvar l4d2_block_punch_rock 1 confogl_addcvar l4d2_block_jump_rock 0 -confogl_addcvar tank_overhand_only 0 +confogl_addcvar tank_overhand_only 0 + +// [l4d2_tank_spawn_antirock_protect] +confogl_addcvar l4d2_antirock_protect_time 1.5 // [l4d_tank_damage_announce.smx] confogl_addcvar l4d_tankdamage_enabled 1 @@ -253,6 +256,9 @@ confogl_addcvar l4d_adrenaline_hot_interval 0.2 confogl_addcvar l4d_adrenaline_hot_increment 2 confogl_addcvar l4d_adrenaline_hot_total 25 +// [l4d2_block_bot_pills.smx] +confogl_addcvar l4d2_bbp_debug_enabled 0 + // [lerpmonitor.smx] confogl_addcvar sm_allowed_lerp_changes 3 confogl_addcvar sm_lerp_change_spec 1 diff --git a/cfg/cfgogl/zonehunters/shared_plugins.cfg b/cfg/cfgogl/zonehunters/shared_plugins.cfg index 1b99f490b..369e743bd 100644 --- a/cfg/cfgogl/zonehunters/shared_plugins.cfg +++ b/cfg/cfgogl/zonehunters/shared_plugins.cfg @@ -24,7 +24,7 @@ sm plugins load playercommands.smx sm plugins load optional/l4d2_pickup.smx sm plugins load optional/blocktrolls.smx sm plugins load optional/bossspawningfix.smx -sm plugins load optional/botpopstop.smx +sm plugins load optional/l4d2_block_bot_pills.smx sm plugins load optional/coinflip.smx sm plugins load optional/current.smx sm plugins load optional/finalefix.smx @@ -52,6 +52,7 @@ sm plugins load optional/smart_ai_rock.smx sm plugins load optional/starting_items.smx sm plugins load optional/teamflip.smx sm plugins load optional/temphealthfix.smx +sm plugins load optional/l4d2_tank_spawn_antirock_protect.smx //---------------------- // Equilibrium Plugins diff --git a/cfg/cfgogl/zonehunters/shared_settings.cfg b/cfg/cfgogl/zonehunters/shared_settings.cfg index e9cdead87..13899283f 100644 --- a/cfg/cfgogl/zonehunters/shared_settings.cfg +++ b/cfg/cfgogl/zonehunters/shared_settings.cfg @@ -41,6 +41,9 @@ confogl_addcvar l4d2_tank_prop_dissapear_time 10.0 confogl_addcvar l4d2_tankrage_flowpercent 7 confogl_addcvar l4d2_tankrage_freezetime 4.0 +// [l4d2_tank_spawn_antirock_protect] +confogl_addcvar l4d2_antirock_protect_time 1.5 + // [l4d2_sound_manipulation.smx] confogl_addcvar sound_flags 7 @@ -128,6 +131,9 @@ confogl_addcvar l4d_pills_hot_interval 0.1 confogl_addcvar l4d_pills_hot_increment 2 confogl_addcvar l4d_pills_hot_total 50 +// [l4d2_block_bot_pills.smx] +confogl_addcvar l4d2_bbp_debug_enabled 0 + // [l4d2_m2_control.smx] confogl_addcvar z_max_hunter_pounce_stagger_duration 1 confogl_addcvar l4d2_m2_hunter_penalty 1 diff --git a/cfg/cfgogl/zonemod/shared_plugins.cfg b/cfg/cfgogl/zonemod/shared_plugins.cfg index 66c9ad9a2..a7d24daad 100644 --- a/cfg/cfgogl/zonemod/shared_plugins.cfg +++ b/cfg/cfgogl/zonemod/shared_plugins.cfg @@ -26,7 +26,7 @@ sm plugins load optional/l4d2_pickup.smx sm plugins load optional/blockheatseekingchargers.smx sm plugins load optional/blocktrolls.smx sm plugins load optional/bossspawningfix.smx -sm plugins load optional/botpopstop.smx +sm plugins load optional/l4d2_block_bot_pills.smx sm plugins load optional/coinflip.smx sm plugins load optional/current.smx sm plugins load optional/finalefix.smx @@ -57,6 +57,7 @@ sm plugins load optional/smart_ai_rock.smx sm plugins load optional/starting_items.smx sm plugins load optional/teamflip.smx sm plugins load optional/temphealthfix.smx +sm plugins load optional/l4d2_tank_spawn_antirock_protect.smx //---------------------- // Equilibrium Plugins diff --git a/cfg/cfgogl/zonemod/shared_settings.cfg b/cfg/cfgogl/zonemod/shared_settings.cfg index 1ae6b7757..8492e1607 100644 --- a/cfg/cfgogl/zonemod/shared_settings.cfg +++ b/cfg/cfgogl/zonemod/shared_settings.cfg @@ -54,6 +54,9 @@ confogl_addcvar l4d2_tank_prop_dissapear_time 10.0 confogl_addcvar l4d2_tankrage_flowpercent 7 confogl_addcvar l4d2_tankrage_freezetime 4.0 +// [l4d2_tank_spawn_antirock_protect] +confogl_addcvar l4d2_antirock_protect_time 1.5 + // [l4d2_sound_manipulation.smx] confogl_addcvar sound_flags 7 @@ -180,6 +183,9 @@ confogl_addcvar l4d_pills_hot_interval 0.1 confogl_addcvar l4d_pills_hot_increment 2 confogl_addcvar l4d_pills_hot_total 50 +// [l4d2_block_bot_pills.smx] +confogl_addcvar l4d2_bbp_debug_enabled 0 + // [l4d2_m2_control.smx] confogl_addcvar z_max_hunter_pounce_stagger_duration 1 confogl_addcvar l4d2_m2_hunter_penalty 1 diff --git a/cfg/cfgogl/zoneretro/shared_plugins.cfg b/cfg/cfgogl/zoneretro/shared_plugins.cfg index 4437d4b1a..3f84e06fe 100644 --- a/cfg/cfgogl/zoneretro/shared_plugins.cfg +++ b/cfg/cfgogl/zoneretro/shared_plugins.cfg @@ -25,7 +25,7 @@ sm plugins load playercommands.smx sm plugins load optional/l4d2_pickup.smx sm plugins load optional/blocktrolls.smx sm plugins load optional/bossspawningfix.smx -sm plugins load optional/botpopstop.smx +sm plugins load optional/l4d2_block_bot_pills.smx sm plugins load optional/coinflip.smx sm plugins load optional/current.smx sm plugins load optional/finalefix.smx @@ -53,6 +53,7 @@ sm plugins load optional/smart_ai_rock.smx sm plugins load optional/starting_items.smx sm plugins load optional/teamflip.smx sm plugins load optional/temphealthfix.smx +sm plugins load optional/l4d2_tank_spawn_antirock_protect.smx //---------------------- // Equilibrium Plugins diff --git a/cfg/cfgogl/zoneretro/shared_settings.cfg b/cfg/cfgogl/zoneretro/shared_settings.cfg index 84d23d709..b6e55a0c2 100644 --- a/cfg/cfgogl/zoneretro/shared_settings.cfg +++ b/cfg/cfgogl/zoneretro/shared_settings.cfg @@ -42,6 +42,9 @@ confogl_addcvar l4d2_tank_prop_dissapear_time 10.0 confogl_addcvar l4d2_tankrage_flowpercent 7 confogl_addcvar l4d2_tankrage_freezetime 4.0 +// [l4d2_tank_spawn_antirock_protect] +confogl_addcvar l4d2_antirock_protect_time 1.5 + // [l4d2_sound_manipulation.smx] confogl_addcvar sound_flags 7 @@ -130,6 +133,9 @@ confogl_addcvar l4d_pills_hot_interval 0.1 confogl_addcvar l4d_pills_hot_increment 2 confogl_addcvar l4d_pills_hot_total 50 +// [l4d2_block_bot_pills.smx] +confogl_addcvar l4d2_bbp_debug_enabled 0 + // [l4d2_m2_control.smx] confogl_addcvar z_max_hunter_pounce_stagger_duration 1 confogl_addcvar l4d2_m2_hunter_penalty 1