About : This plugin aims to be a simple fix for some vocalization lines for Special Infected Warnings never being called upon.
The "I heard a (insert Infected)" lines don't work for the Boomer, Charger, Smoker, Spitter and Tanks, and this plugin uses a simple fix to make them work, regardless of whether they are implemented in the server's talker files or not.
Video Demonstration
Here
How it works :
The plugin listens for any Special Infected Spawns, and if it finds one of the Specials who's line the warnings don't work for, it'll make the survivors vocalize the warnings after 2 seconds of the special having spawned.
Each survivor has a (configurable, default 1/3) chance of actually vocalizing the lines, this was done to randomize the warnings and preventing all survivors from warning at the same time (Note : In the video, the chance was hard coded to 100% for the sake of demonstration).
*Spitter and Charger lines are only implemented for the L4D2 survivors*
This plugin requires
Scene Processor to compile and Scene Processor.smx to function.
CVARs :
Code:
// How many seconds must survivors wait to warn for hearing boomers again
// -
// Default: "300"
// Minimum: "1.000000"
// Maximum: "360.000000"
boomer_delay "300"
// How many seconds must survivors wait to warn for hearing chargers again
// -
// Default: "300"
// Minimum: "1.000000"
// Maximum: "360.000000"
charger_delay "300"
// How many seconds must survivors wait to warn for hearing smokers again
// -
// Default: "300"
// Minimum: "1.000000"
// Maximum: "360.000000"
smoker_delay "300"
// How many seconds must survivors wait to warn between each different special infected type
// -
// Default: "30"
// Minimum: "1.000000"
// Maximum: "90.000000"
special_delay "30"
// How many seconds must survivors wait to warn for hearing spitters again
// -
// Default: "300"
// Minimum: "1.000000"
// Maximum: "360.000000"
spitter_delay "300"
// How many seconds must survivors wait to warn for hearing tanks again
// -
// Default: "300"
// Minimum: "1.000000"
// Maximum: "360.000000"
tank_delay "300"
// Chance out of 100 (i.e 25 for 25% chance) that a survivor will vocalize the 'I heard' lines upon the Infected's spawn
// -
// Default: "33"
// Minimum: "1.000000"
// Maximum: "100.000000"
vocalize_chance "33"
Change Log :
Code:
Version 1.0 2014-08-24
- Initial Release
Version 1.1 2014-08-25
- Added a cvar that allows to change the chance of a vocalization warning
Version 1.2 2014-08-25
- Added HeardBoomer, HeardSmoker and HeardTank support for L4D1 Survivors
Version 1.3 2014-08-26 (50 views)
- Added new CVARs to control the delays for how much a survivor must wait
being able to vocalize for hearing the same special again, and another for
how much a survivor should wait between different specials
Version 1.4 2014-09-11
- Added a check to see if a survivor isn't already vocalizing before
attempting to warn for an infected, as not doing so would cause the
vocalization to fail but still run the timer to delay for the next
infected warning.
If anyone has a previous version of the plugin, please delete your l4d2_si_warnings_vocalize_fix.cfg located in "cfg/sourcemod/l4d2_si_warnings_vocalize_fix.cfg" before updating to the newer version!
Bugs :
Code:
- No bugs have been reported as of now
Note that there are now 2 versions, the Full version, and the lite version.
The full version is the zipped one, which has no extra dependencies, and the lite one, works off of an edited Modified Talker if installed on the server, note that they function the same, but the modified talker version removes all cvars and the need for a cfg file because it reads everything from Modified Talker.
Get the Modified Talker edited specifically for this plugin.
Note that it functions exactly the same, except with a few new concepts added for use in the plugin (thanks to id)
Get it
here!
Edit:
This plugin is no longer needed, this has officially been implemented into the game as of the Last Stand update!