Raised This Month: $12 Target: $400
 3% 

[L4D & L4D2] First Map - Skip Intro Cutscenes (1.13) [10-Apr-2022]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6975
Plugin Version:
1.13
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    645 
    Plugin Description:
    Makes players skip seeing the intro cutscene on first maps, so they can move right away.
    Old 03-10-2020 , 13:53   [L4D & L4D2] First Map - Skip Intro Cutscenes (1.13) [10-Apr-2022]
    Reply With Quote #1

    About:
    • Skips the intro cutscene on first chapters.
    • Should work for all maps including 3rd party.
    • Optionally uses Left 4 DHooks to detect the first chapter so it doesn't attempt to run on every round_start.



    CVars:

    Saved to l4d_skip_intro.cfg in your servers \left4dead\cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d_skip_intro_allow "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d_skip_intro_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d_skip_intro_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d_skip_intro_modes_tog "0"

    // Skip Intro plugin version.
    l4d_skip_intro_version 


    Changes:
    Code:
    1.13 (10-Apr-2022)
        - Fixed the "l4d_skip_intro_modes_tog" cvar always turning off the plugin. Thanks to "Thefollors" for reporting.
    
    1.12 (01-Dec-2021)
        - Changes to fix warnings when compiling on SourceMod 1.11.
        - Minor change to fix bad coding practice.
    
    1.11 (11-Jul-2021)
        - Slight optimization and change to fix the unhook event errors.
    
    1.10 (21-Jun-2021)
        - Changes to fix the last update potentially not working for all maps.
    
    1.9 (20-Jun-2021)
        - Changed some code to prevent adding multiple identical outputs.
    
    1.8 (15-Feb-2021)
        - Blocked working on finale maps when not using left4dhooks. Thanks to "Zheldorg" for reporting.
    
    1.7 (10-Oct-2020)
        - Minor change again to hopefully fix unhook event errors.
    
    1.6 (05-Oct-2020)
        - Changes to hopefully fix unhook event errors.
    
    1.5 (01-Oct-2020)
        - Changes to support "The Last Stand" update.
        - Fixed lateload not enabling the plugin.
    
    1.4 (10-May-2020)
        - Added cvars: "l4d_skip_intro_allow", "l4d_skip_intro_modes", "l4d_skip_intro_modes_off" and "l4d_skip_intro_modes_tog".
        - Cvar config saved as "l4d_skip_intro.cfg" in "cfgs/sourcemod" folder. 
        - Extra checks to skip intro on some addon maps that use a different entity.
        - Thanks to "TiTz" for reporting.
    
    1.3 (29-Apr-2020)
        - Increased the timer delay from 0.1 to 1.0 due to some conditions failing to skip intro. Thanks to "TiTz" for reporting.
    
    1.2 (08-Apr-2020)
        - Added a check incase the director entity was not found. Thanks to "TiTz" for reporting.
    
    1.1 (16-Mar-2020)
        - Fixed not working on all maps when info_director is named differently.
    
    1.0 (10-Mar-2020)
        - Initial release.


    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.]
    2. L4D2: Install FollowTargetDHook (post #19) to fix server crashes from "FollowTarget" issues.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_skip_intro.sp - 2088 views - 12.0 KB)
    __________________

    Last edited by Silvers; 04-10-2022 at 11:43.
    Silvers 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:08.


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