View Single Post
Author Message
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-31-2019 , 22:42   [L4D2] Jockey Auto Jump (1.3) [11-Dec-2022]
Reply With Quote #1

About:

Allows the Jockey to automatically jump when riding on a survivor. Cvars to control humans/bots/height/delay.
Use the [L4D2] Jockey jump plugin by DieTeetasse if you want humans to control when to jump.


Thanks:

CVars:

Saved to l4d2_jockey_autojump.cfg in your servers \cfg\sourcemod\ folder.

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

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

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

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

// 0=Humans only. 1=Bots only. 2=Both.
l4d2_jockey_autojump_bots "1"

// The height of the jump, must be above 250.
l4d2_jockey_autojump_force "300.0"

// Min time before jumping again.
l4d2_jockey_autojump_time_min "0.1"

// Max time before jumping again.
l4d2_jockey_autojump_time_max "0.5"

// Jockey Autojump plugin version.
l4d2_jockey_autojump_version 

Changes:
Code:
1.3 (11-Dec-2022)
    - Changes to fix compile warnings on SourceMod 1.11.

1.2 (10-May-2020)
    - Extra checks to prevent "IsAllowedGameMode" throwing errors.
    - Various changes to tidy up code.

1.1 (01-Apr-2020)
    - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.

1.0.1 (02-Aug-2019)
    - Fixed continuous jumping when going AFK - Thanks to "Marttt" for fixing.

1.0 (01-Jun-2019)
    - Initial release.

Installation:
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_jockey_autojump.sp - 504 views - 10.5 KB)
__________________

Last edited by Silvers; 12-10-2022 at 19:04.
Silvers is offline