Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
[VScript] Trash-Talking Witches
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
31.262 KB
17 Jul @ 5:48am
1 Change Note ( view )

Subscribe to download
[VScript] Trash-Talking Witches

Description
A mod inspired by ChimiChamo's Trash-Talking AI Specials: https://steamproxy-script.pipiskins.com/sharedfiles/filedetails/?id=3295935969&searchtext=trash+talking

FEATURES
When a witch spawns, they're given a name with a random attached number from 1-100. They will then proceed to chat when any of the following events occur:
  • They spawn
  • They're startled
  • Somebody types in chat
  • They're burning (they'll chat very violently when this happens)
  • They die
  • They get scratched by an infected player
  • They incap a survivor
  • They kill a survivor (with a chance to deliver a special insult to the survivor they killed, depending on who it was)
  • The survivors are all wiped out

SETTINGS
When you load a map with this script enabled for the first time, a settings folder will be created in l4d2's ems folder by the name of "trashtalkingwitches". There's a bunch of .cfg files with which you can customize the text chat lines of the witches. There's also a file called "chances.cfg" which you can use to modify the chances of a witch speaking. (from 0% to 100% chance)

Most of the chance names are obvious, but here's a little explanation to clear up 2 of them:

Kill_Survivor is the chance of chatting when a survivor dies in general. Kill_Survivor_Specific is the chance of chatting a special line based on which survivor was killed. Setting Kill_Survivor to 0 will make Kill_Survivor_Specific never happen. Setting Kill_Survivor_Specific to 0 will only make witches chat generic kill lines regardless of which survivor they killed.

Make sure you open the .cfg files with something other than the default notepad (such as Notepad++ or Visual Studio Code), else there's a chance that you might see a chinese mess in the file instead.

CREDITS
ChimiChamo for the mod inspiration and allowing me to borrow a function from his code.

Popular Discussions View All (1)
3
17 Jul @ 11:15am
Trash-Talking suggestions
The solar flare.
8 Comments
Witch  [author] 22 hours ago 
yes
Cletus 23 hours ago 
are misspells on purpose cause there's a lot of them
Witch  [author] 18 Jul @ 3:27am 
once I find out which cvar controls survivor stagger times, sure
Insomnia 17 Jul @ 10:13pm 
I'm thinking of an idea. Would you be able to put the longer stagger times for survivors that happens in Survival mode into the other gamemodes? I ask because I hate my life and want to suffer more.
Witch  [author] 17 Jul @ 9:45am 
i've been thinking about that.
Hunter Gaming 17 Jul @ 9:20am 
Now we just need Left 4 dead but the infected have voice chat.
I'm waiting for your Hunter Spider Man mod
Legoshi's Lover 17 Jul @ 6:01am 
Imagine cr0wning.