AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D & L4D2] Witch - Bots Trigger (1.2) [10-May-2020] (https://forums.alliedmods.net/showthread.php?t=319939)

Silvers 11-27-2019 12:26

[L4D & L4D2] Witch - Bots Trigger (1.2) [10-May-2020]
 
3 Attachment(s)
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.

Xanaguy 11-27-2019 13:43

Re: [L4D & L4D2] Witch - Bots Trigger
 
Sorry I was unable to test the plugin yesterday.

There is an error loading the plugin:

L 11/27/2019 - 12:35:07: [SM] Failed to load plugin "l4d_witch_trigger.smx": Unable to load plugin (no debug string table).

Silvers 11-27-2019 13:59

Re: [L4D & L4D2] Witch - Bots Trigger
 
Was set to compile for SM 1.10. Changed to compile for 1.9.

Xanaguy 11-27-2019 14:41

Re: [L4D & L4D2] Witch - Bots Trigger
 
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?

Silvers 11-27-2019 15:03

Re: [L4D & L4D2] Witch - Bots Trigger
 
Quote:

Originally Posted by Xanaguy (Post 2674705)
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

Xanaguy 11-27-2019 15:54

Re: [L4D & L4D2] Witch - Bots Trigger
 
Quote:

Originally Posted by Silvers (Post 2674706)

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.

DreadedGhoul575 11-28-2019 18:34

Re: [L4D & L4D2] Witch - Bots Trigger
 
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.

Edison1318 12-07-2019 10:44

Re: [L4D & L4D2] Witch - Bots Trigger
 
Quote:

Originally Posted by DreadedGhoul575 (Post 2674863)
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.

Silvers 12-11-2019 06:50

Re: [L4D & L4D2] Witch - Bots Trigger
 
Quote:

Originally Posted by Xanaguy (Post 2674712)
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 (Post 2674863)
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.

DreadedGhoul575 12-12-2019 13:26

Re: [L4D & L4D2] Witch - Bots Trigger
 
Yeah, sorry about that.


All times are GMT -4. The time now is 04:51.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.