View Single Post
Author Message
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 02-16-2021 , 20:33   [L4D2] Ladder Rambos Dhooks
Reply With Quote #1

Ladder Rambos Dhooks

Description:

CVARS:
  • Saved to l4d2_ladderrambos.cfg in your servers \cfg\sourcemod\ folder.
  • ConVars names were kept the same as available in the extension to maintain backwards compatibility.

Code:
// Allow shoving whilst on a ladder? 1 to allow M2, 0 to block.
// -
// Default: "1"
cssladders_allow_m2  "1"

// Allow reloading whilst on a ladder? 1 to allow M2, 0 to block. Keep in mind that shotguns are broken and won't reload on ladders no matter what.
// -
// Default: "1"
cssladders_allow_reload "1"

// On/Off switch to log debug messages
// -
// Default: "0"
cssladders_debug "0"

// Enable the Survivors to shoot from ladders? 1 to enable, 0 to disable.
// -
// Default: "1"
cssladders_enabled "1"

ChangeLog:

Code:
1.0 (16-Feb-2021)	
      - Initial Release.
      - Fixed broken reload function on ladder.
      - Added support for Windows platform.
Special Thanks to:
Code:
// ====================================================================================================
//
// 
// 	* Ilya 'Visor' Komarov	- Original creator of ladder rambos extension.
// 	* Crasher_3637		- For providing the windows signature for CTerrorGun::Holster function.
// 	* Lux			- For providing the windows signature for CBaseShotgun::Reload function.
// 	* Silver		- For providing the various signatures, being a very knowledgeable coder and plugin release format. Learned a lot from his work. 
// 
// ====================================================================================================
Requirements:

Installation:
  • You need DHooks include to be able to compile the plugin.
  • Place l4d2_ladder_rambos.smx file into your \addons\sourcemod\plugins folder.
  • Place l4d2_ladderrambos.txt file into your \addons\sourcemod\gamedata folder.

Note:
  • Only L4D2 is supported at the moment, however the plugin logic can be applied to other games as well. Feel free to try it out in other games by using right signatures and offsets.
Attached Files
File Type: txt l4d2_ladderrambos.txt (2.4 KB, 671 views)
File Type: sp Get Plugin or Get Source (l4d2_ladder_rambos.sp - 640 views - 10.1 KB)
__________________

Last edited by Spirit_12; 02-17-2021 at 00:52.
Spirit_12 is offline