View Single Post
Author Message
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-14-2012 , 20:25   [L4D2] Knife Unlock (1.2) [10-May-2020]
Reply With Quote #1

THIS PLUGIN IS OBSOLETE SINCE L4D2 LAST STAND UPDATE.
(Keeping the source here for reference. Total downloads: 9065=Gamedata, 19940=Source.)


About:
  • Unlocks the Knife melee weapon.
  • No more animation glitch when using the knife.
  • Makes "give knife" command work.


Thanks:
  • Dr!fter - Converted my beta version to use sourcemod functions instead of the the MemPatch extension.
  • ProdigySim - For fixing the StoreToAddress function in Sourcemod 1.4.2.
  • alexip121093 - For the request and idea showing me the post below.
  • DarrenToh - For the post here: http://forums.alliedmods.net/showpos...&postcount=502


CVars:

PHP Code:
// Knife Unlock plugin version.
l4d2_knife_unlock_version 


Changes:
Code:
1.2 (10-May-2020)
    - Added better error log message when gamedata file is missing.
    - Various changes to tidy up code.

1.1 (05-May-2018)
    - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.

1.0 (15-May-2011)
    - Initial release.

Installation:
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
  2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.
  3. Reboot your server. The plugin must exist when first booted up.
  4. The patch cannot be removed unless you delete the plugin and reboot your server.
Attached Files
File Type: txt l4d2_knife_unlock.txt (390 Bytes, 9668 views)
File Type: sp Get Plugin or Get Source (l4d2_knife_unlock.sp - 2104 views - 3.0 KB)
__________________

Last edited by Silvers; 09-25-2020 at 13:21.
Silvers is offline