[VScript] L4D But the AI has Voice Chat

If you liked this item, please rate it up on Steam Workshop page.

Author: Witch

Last revision: 8 Aug, 2025 at 10:45 UTC

File size: 37.81 KB

On Steam Workshop

Description:
DISCLAIMER: This addon may contain some offensive sounds.

ALSO MAKE SURE YOU GET ALL THE REQUIRED ITEMS ON THE RIGHT OR ELSE THERE WILL BE NO SOUNDS!

Have you ever wanted to live in a nightmare where every single bot and infected in l4d2 had the ability to micspam to their heart’s content? Well this is for you!

FEATURES

This script grants a cheap microphone to survivor bots, special infected bots, common infected, and even witches. They micspam sounds which are based on various categories (otherwise known as voice types).

These are the following voicetypes and when they play:

  • Idle (played whenever the bot feels like it. Most random variety of sounds.)
  • Death (ragequitting, screams, etc. played when the bot dies)
  • Panic (these are played when the bot either has low hp, is set on fire, or gets pinned)
  • Taunt (played while in combat to provoke enemies)
  • Kill (salt to the wound of whoever the bot just killed/incapacitated)

THE SOUNDS

The sounds are taken from Gmod’s NPC Voice Chat mod (which is also the mod that inspired me to make this), but I also made my own selection of sounds (from videos such as left4lol, left 4 speed, l4d2 parody, etc.). All of this was combined into a package of 800+ sounds for you to listen to. Here’s detailed information about the amount of sounds per voicetype:

VoiceType
Amount
Precache Limit

Idle
400
300

Death
200
160

Panic
70
30

Taunt
70
30

Kill
70
30

Check the pinned discussion thread below if you’re wondering what a Precache Limit is.

SETTINGS

Located in "Left 4 Dead 2left4dead2emsbot_voice_chat" is a special config file that lets you adjust many of the mod’s aspects. You can change which type of bots are allowed to vc, the chances for each voicetype to play on them in the many applicable scenarios (from 0% to 100%), and adjusting the precache limit.

BUGS
  • Sometimes there might be duplicate speech bubbles above the speaking bot.
  • If your game randomly boots you out to the main menu during a match (very rare occasion but read this if it happened to you) that means you’re exceeding the sound cache limit with my mod. You’ll need to adjust the precache limit to cache less sounds from my mod in order to resolve this. Once again, read more about the precache limit on the pinned discussion thread below.
  • In some other very rare occasions your game could in theory lag out and alot of l4d2’s sounds might stop playing. This indicates that my mod combined with whatever sounds are currently playing in game are exceeding the sound memory. use the -heapsize 750000 launch option to fix this if it ever happens.

CREDITS

Aaron and BrayMurph for making the original addon for Garry’s Mod. It was a massive inspiration.
JaHu and ZeroSorrow™ for pre-release playtesting the mod with me.