Raised This Month: $ Target: $400
 0% 

L4D2 - L4D1 Survivors mourn fix (UPDATED 10-12-2020)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Plugin ID:
4531
Plugin Version:
1.3
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Fixes the bug where L4D1 survivors are unable to mourn each other on the L4D2 set
Old 02-26-2015 , 10:40   L4D2 - L4D1 Survivors mourn fix (UPDATED 10-12-2020)
Reply With Quote #1

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.
Attached Files
File Type: sp Get Plugin or Get Source ([L4D2] Survivor Mourn Fix.sp - 649 views - 34.0 KB)
File Type: smx [L4D2] Survivor Mourn Fix.smx (16.7 KB, 915 views)
File Type: cfg l4d2_survivor_mourn_fix.cfg (587 Bytes, 837 views)
__________________

Last edited by DeathChaos25; 10-13-2020 at 00:03.
DeathChaos25 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode