Raised This Month: $18 Target: $400
 4% 

[L4D & L4D2] Witch - Bots Trigger (1.2) [10-May-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6825
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Makes bots startle the Wandering Witch or block bots startling any Witch when shooting her.
    Old 11-27-2019 , 12:26   [L4D & L4D2] Witch - Bots Trigger (1.2) [10-May-2020]
    Reply With Quote #1

    About:
    • The cvar l4d_witch_trigger_type "1": Makes bots startle the Wandering Witch when shooting her.
    • By default game only does this for Witches that are sitting.
    • This is not required for L4D1.
    • The cvar l4d_witch_trigger_type "0": Blocks bots from startling any Witch they shoot.
    • Bots can still startle the Witch by standing too near and shooting.


    Thanks:

    Cvars:

    Saved to l4d_witch_trigger.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d_witch_trigger_allow "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d_witch_trigger_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d_witch_trigger_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d_witch_trigger_modes_tog "0"

    // 0=Prevent bots from startling any Witches when shot. 1=Startle all Witches when bots shoot them.
    l4d_witch_trigger_type "1" // Value of "0" in L4D1.

    // Witch - Bots Trigger plugin version.
    l4d_witch_trigger_version 


    Changes:
    Code:
    1.2 (10-May-2020)
        - Extra checks to prevent "IsAllowedGameMode" throwing errors.
    
    1.1 (01-Apr-2020)
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.0 (27-Nov-2019)
        - Initial release.


    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_witch_trigger.sp - 199 views - 9.4 KB)
    __________________

    Last edited by Silvers; 05-10-2020 at 07:22.
    Silvers is offline
    Xanaguy
    Senior Member
    Join Date: Jan 2017
    Old 11-27-2019 , 13:43   Re: [L4D & L4D2] Witch - Bots Trigger
    Reply With Quote #2

    Sorry I was unable to test the plugin yesterday.

    There is an error loading the plugin:

    L 11/27/2019 - 125:07: [SM] Failed to load plugin "l4d_witch_trigger.smx": Unable to load plugin (no debug string table).
    Xanaguy is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 11-27-2019 , 13:59   Re: [L4D & L4D2] Witch - Bots Trigger
    Reply With Quote #3

    Was set to compile for SM 1.10. Changed to compile for 1.9.
    __________________
    Silvers is offline
    Xanaguy
    Senior Member
    Join Date: Jan 2017
    Old 11-27-2019 , 14:41   Re: [L4D & L4D2] Witch - Bots Trigger
    Reply With Quote #4

    Alright, I'll be sure to try it out now.

    I also have another idea that I wish to see possible.

    Do you think that you're able to have an all-bot team (survivors) rush the map in campaign like they do in versus?
    Xanaguy is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 11-27-2019 , 15:03   Re: [L4D & L4D2] Witch - Bots Trigger
    Reply With Quote #5

    Quote:
    Originally Posted by Xanaguy View Post
    Do you think that you're able to have an all-bot team (survivors) rush the map in campaign like they do in versus?
    There are several plugins for this already.

    [L4D] Survivor AI Trigger Fixes
    [L4D2] Survivor AI Trigger fix
    [L4D2] Survivor Bots Auto Trigger
    __________________
    Silvers is offline
    Xanaguy
    Senior Member
    Join Date: Jan 2017
    Old 11-27-2019 , 15:54   Re: [L4D & L4D2] Witch - Bots Trigger
    Reply With Quote #6

    Quote:
    Originally Posted by Silvers View Post
    Not exactly what I meant. That's just for points where they're guaranteed to get stuck.

    In coop, bots take their time to progress through the map, often stopping along the way to deal with even a small group of zombies.
    In versus, bots will easily move towards their next objective quickly rushing through hordes and stuff.

    I was wondering if it is possible for bots to use the versus mode tactics in coop.
    Xanaguy is offline
    DreadedGhoul575
    Senior Member
    Join Date: Apr 2016
    Old 11-28-2019 , 18:34   Re: [L4D & L4D2] Witch - Bots Trigger
    Reply With Quote #7

    Wish there was a way to make the bots have the same damage from the Spitter's acid ability, plus sb_unstick 0 still teleporting bots, when far away.
    DreadedGhoul575 is offline
    Edison1318
    Senior Member
    Join Date: Nov 2015
    Location: Peaceful place of the in
    Old 12-07-2019 , 10:44   Re: [L4D & L4D2] Witch - Bots Trigger
    Reply With Quote #8

    Quote:
    Originally Posted by DreadedGhoul575 View Post
    Wish there was a way to make the bots have the same damage from the Spitter's acid ability, plus sb_unstick 0 still teleporting bots, when far away.
    I actually made a plugin to only made spitter's acid damage to the bots exactly as player's damage. Also, the bots teleport to you from far away because of this cvar called: sb_enforce_proximity_range thing. If you set the number higher, the bots will not teleport to you no matter if you go more distance. But bots may teleport while in the elevator sometimes. Even the sb_unstick is 0.
    __________________
    EdisonGar

    Last edited by Edison1318; 12-07-2019 at 10:48.
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 12-11-2019 , 06:50   Re: [L4D & L4D2] Witch - Bots Trigger
    Reply With Quote #9

    Quote:
    Originally Posted by Xanaguy View Post
    I was wondering if it is possible for bots to use the versus mode tactics in coop.
    By adjusting a bunch of cvars I guess, I've never had a server so never cared about doing this. There are serveral configs and things out there to smarten up bots.


    Quote:
    Originally Posted by DreadedGhoul575 View Post
    Wish there was a way to make the bots have the same damage from the Spitter's acid ability
    Spitter Acid Damage ?


    This is all wildly off topic.
    __________________
    Silvers is offline
    DreadedGhoul575
    Senior Member
    Join Date: Apr 2016
    Old 12-12-2019 , 13:26   Re: [L4D & L4D2] Witch - Bots Trigger
    Reply With Quote #10

    Yeah, sorry about that.
    DreadedGhoul575 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 22:49.


    Powered by vBulletin®
    Copyright ©2000 - 2020, vBulletin Solutions, Inc.
    Theme made by Freecode