Raised This Month: $ Target: $400
 0% 

[L4D2] Survivor Set Flow Fix (August 30th, 2023)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Plugin ID:
8159
Plugin Version:
2.1
Plugin Category:
Technical/Development
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
10 
Plugin Description:
Fixes oddities when playing with an unintended survivor set in campaigns
Old 08-19-2022 , 21:10   [L4D2] Survivor Set Flow Fix (August 30th, 2023)
Reply With Quote #1

Survivor Set Flow Fix
This plugin fixes oddities when playing with an unintended survivor set in campaigns.

This plugin fixes the following:
  • Custom maps often detect which survivor triggered some button or sequence to play certain conversation lines, however in many custom maps important events are bound by these conversations happening so if, for example, Nick activates a radio on a map with the L4D1 survivor set, the map would softlock because the entity flow never considered Nick. The fix is done by manipulating the filter_activator_model's logic (the entity used most of the time to check the survivor), so it would also fix problems if your server has custom models.
  • If a campaign sequence has a func_orator entity managing survivor conversations, whenever an unintended survivor activates it, it would keep playing conversations as if the event would never had happened. For example: Survivors keep telling to turn off the alarm in the second map of The Parish, or most radios keep asking if there's anyone alive when activated (All official campaigns).

Note that if your server has survivors with the m_survivorCharacter value higher than 7, they will be considered as Nick/Bill.

ConVars
  • sm_l4d2_triggerflowfix_enabled
    • Determines if the plugin should try to fix this flow or not.
      • Default: 1

Changelog
  • 2.0.1
    • Fixed the plugin not working if, for some reason, it loads after Left 4 DHooks Direct. Thanks Silvers for the fix.
      • Upgrading from an older version requires Left 4 DHooks Direct 1.135 or newer.
  • 2.0
    • The plugin now fully fixes the oddities with func_orator (Most official maps)
    • Plugin renamed to Survivor Set Flow Fix (from Trigger Flow Flix) to better represent the original problem the plugin aims to fix. The plugin filename is kept the same for legacy purposes.
  • 1.0
    • Initial Release

Dependencies
Supported Games
  • Left 4 Dead 2 only

Download and Source Code:

This project is now on GitHub. You can also see the project's changelog, report issues and being able to download pre-release (development) versions.

Latest Stable Version
All Versions (Including Pre-Release)

Download from AlliedModders:

You may need to download the .sp file and compile the plugin yourself if AlliedModders forum compiler lacks the necessary includes to provide you with a working binary.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_trigger_flow_fix.sp - 369 views - 7.5 KB)
__________________

Last edited by gabuch2; 08-30-2023 at 00:12.
gabuch2 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 05:31.


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