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:- Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.]
- L4D2: Install FollowTargetDHook (post #19) to fix server crashes from "FollowTarget" issues.