About : Very simple plugin,
it allows L4D1 survivors to mourn each other on the L4D2 survivor set
How it works :
If a client is looking at a survivor's dead body, we scan the dead body for a model and vocalize accordingly.
This plugin requires
scene processor to compile, and the scene processor plugin to function.
CVARs :
Code:
// This file was auto-generated by SourceMod (v1.10.0.6497)
// ConVars for plugin "[L4D2] Survivor Mourn Fix.smx"
// Enable fix for L4D1 survivors saying name of L4D1 survivor that died? 0 = Disable (if using Last Stand talker), 1 = Enable (if using old talker mod or modified talker)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
enable_death_name_say "1"
// Enable Fix for servers with Ragdoll deaths? 0 = Disable Ragdoll Fix, 1 = Enable Ragdoll Fix
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
enable_ragdoll_fix "0"
Code:
Version 1.0 02-26-2015 (21 Views)
- Initial Release
Version 1.1 03-01-2015
- Added a workaround that enables mourns even when ragdoll deaths are enabled
- Fixed a small oversight where some variables were never reset
Version 1.2 11-17-2015 (2168 views)
- L4D2 Survivors now Mourn L4D1 survivors!
- Plugin partly rewritten so it ACTUALLY works as intended!
Version 1.3 10-12-2020
- Removed forced direct wav voice file calls (fixed by Last Stand)
- Added more checks to fix the bug where a dead survivor was able to mourn
- Added a new cvar due to Last Stand talker changes (delete old cfg file when updating) (see below for cvar explanation)
- If enable_death_name_say is enabled, fixes L4D1 survivor names not being shouted when they die on set 2
Bugs :
Code:
- If both Death Anims restore plugin, and this plugin's own ragdoll fix are both enabled, it may sometimes create 2 death models (harmless, but it happens)
ALL L4D1 survivors are able to mourn each other, even clones, meaning Zoey can mourn for Zoey, Bill mourns Bill, etc
Also with a
little added something...
For those who use ragdoll deaths I have attached an edited cfg file with the fix enabled, alternatively, you can run the plugin once, let it automatically create the cfg, and enable the fix there.
THIS PLUGIN REQUIRES l4d_stocks TO COMPILE!
ABOUT "enable_death_name_say" CVAR:
Last Stand update has made a number of changes, one such change is that when a survivor dies, another fellow survivor will no longer shout their name.
This means that this new feature would not fit in well with an unmodified talker from Last Stand, as such it is locked behind a cvar for people who use a talker mod that has this behavior restored, such as
Pre Update Talker mod.
Please note that I have tested this new feature but as always, there may be bugs even I don't catch, so please report.