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

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


Post New Thread Reply   
 
Thread Tools Display Modes
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:
    659 
    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 - 1575 views - 12.0 KB)
    __________________

    Last edited by Silvers; 04-10-2022 at 11:43.
    Silvers is offline
    sxslmk
    Member
    Join Date: Dec 2017
    Location: CN
    Old 03-11-2020 , 22:41   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.0) [10-Mar-2020]
    Reply With Quote #2

    Works fine!
    sxslmk is offline
    Tonblader
    Senior Member
    Join Date: Jul 2011
    Location: Peru
    Old 03-12-2020 , 01:37   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.0) [10-Mar-2020]
    Reply With Quote #3

    in The Passing, it seems not to work properly, I have the screen frozen in first person with my pistol in hand, but I must wait for the "time" of the cinematic to be able to move and aim properly.
    Tonblader is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 03-12-2020 , 16:04   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.0) [10-Mar-2020]
    Reply With Quote #4

    Quote:
    Originally Posted by Tonblader View Post
    in The Passing, it seems not to work properly, I have the screen frozen in first person with my pistol in hand, but I must wait for the "time" of the cinematic to be able to move and aim properly.
    I tested this map before release, have no problem.
    __________________
    Silvers is offline
    SkiPlix
    Member
    Join Date: Dec 2016
    Location: Argentina
    Old 03-16-2020 , 01:53   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.0) [10-Mar-2020]
    Reply With Quote #5

    It seems The Passing does have a problem as Tonblader said.
    When you restart the first map, it happened to me when the whole team died.
    SkiPlix is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 03-16-2020 , 02:15   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.0) [10-Mar-2020]
    Reply With Quote #6

    Ahh thought I tried on restart, I did with other maps.

    Code:
    1.1 (16-Mar-2020)
        - Fixed not working on all maps when info_director is named differently.
    __________________

    Last edited by Silvers; 03-16-2020 at 12:05.
    Silvers is offline
    foxhound27
    AlliedModders Donor
    Join Date: Sep 2019
    Location: Argentina
    Old 03-16-2020 , 07:07   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.1) [16-Mar-2020]
    Reply With Quote #7

    Amazing, Nice work! Thank you Silvers.
    foxhound27 is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 03-23-2020 , 11:46   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.1) [16-Mar-2020]
    Reply With Quote #8

    One more thank. This made me save a lot of time when I constantly restart map during debugging.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    AK978
    Senior Member
    Join Date: Jun 2018
    Old 03-23-2020 , 11:56   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.1) [16-Mar-2020]
    Reply With Quote #9

    Works fine!, thanks.
    AK978 is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 04-28-2020 , 19:51   Re: [L4D & L4D2] First Map - Skip Intro Cutscenes (1.3) [29-Apr-2020]
    Reply With Quote #10

    Code:
    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.
    __________________
    Silvers is offline
    Reply


    Thread Tools
    Display Modes

    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 16:46.


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