[VScript] L4D But the AI has Voice Chat
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!
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 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:
Check the pinned discussion thread below if you’re wondering what a Precache Limit is.
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.
- 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.
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.
Required items:
Click the title to search on this site.
L4D AI VC: Idle Voicelines Part 1 — Steam Workshop
L4D AI VC: Idle Voicelines Part 2 — Steam Workshop
L4D AI VC: Death Voicelines — Steam Workshop
L4D AI VC: Panic, Taunt, and Kill Voicelines — Steam Workshop