Raised This Month: $89 Target: $400
 22% 

[L4D2] Knife Unlock (1.0) [15-May-2012]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
2952
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    267 
    Plugin Description:
    Unlocks the Knife melee weapon. No addons, no anim glitches and functional give knife command.
    Old 05-14-2012 , 20:25   [L4D2] Knife Unlock (1.0) [15-May-2012]
    Reply With Quote #1

    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.0 (15-May-2011)
        - Initial Release.

    Requirements:
    • This requires Sourcemod version 1.4.2 or newer. 1.5-dev does not work.
    • Sourcemod 1.4.2: Fixed StoreToAddress always writing 32 bits and throwing an error ( bug 5248 ) (ProdigySim).


    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, 5741 views)
    File Type: sp Get Plugin or Get Source (l4d2_knife_unlock.sp - 7938 views - 2.3 KB)
    __________________
    Silvers is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 05-14-2012 , 20:27   Re: [L4D2] Knife Unlock (1.0) [15-May-2012]
    Reply With Quote #2

    now everyone can enjoy knives !!!
    not only the Germans


    It will crashes on sourcemod 1.5 srcds
    you MUST use offical 1.42 stable
    __________________

    Last edited by alexip121093; 05-14-2012 at 20:30.
    alexip121093 is offline
    Send a message via MSN to alexip121093
    Dr!fter
    The Salt Boss
    Join Date: Mar 2007
    Old 05-14-2012 , 20:43   Re: [L4D2] Knife Unlock (1.0) [15-May-2012]
    Reply With Quote #3

    Are you sure 1.5 crashes? The latest should have the same fix.
    Dr!fter is offline
    Sev
    Veteran Member
    Join Date: May 2010
    Old 05-14-2012 , 21:34   Re: [L4D2] Knife Unlock (1.0) [15-May-2012]
    Reply With Quote #4

    Damn Silver just keeps rolling out the red carpet of good plugins.

    This is something people have wanted in a working/non glitching form for some time.

    Now only if we could get a plugin like this to work more consistently especially in connection to the last post.

    http://forums.alliedmods.net/showthr...d2+coffee+ammo

    Last edited by Sev; 05-14-2012 at 23:23.
    Sev is offline
    disawar1
    Senior Member
    Join Date: Aug 2011
    Location: Russian
    Old 05-15-2012 , 00:18   Re: [L4D2] Knife Unlock (1.0) [15-May-2012]
    Reply With Quote #5

    cool now no sense send to client hunting_knife.txt script and use addons. such a way, I solved the problem with animation and without plugin. Thanks!
    __________________
    My plugins on: Sourcemod, GitHub, Bitbucket, Google
    Wanna private plugin? I'm ready to get to work, contact me
    disawar1 is offline
    Machine
    Senior Member
    Join Date: Apr 2010
    Old 05-15-2012 , 04:24   Re: [L4D2] Knife Unlock (1.0) [15-May-2012]
    Reply With Quote #6

    Ooo nice. Good job.

    Edit: Btw Silvers, does this also spawn knives where random melee weapons spawn too?

    Last edited by Machine; 05-15-2012 at 04:32.
    Machine is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-15-2012 , 05:49   Re: [L4D2] Knife Unlock (1.0) [15-May-2012]
    Reply With Quote #7

    @sev: It needs the round_start event hooked, simple fix.

    @Machine: I have no idea, just made the plugin today, please let us know.
    __________________
    Silvers is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 05-15-2012 , 05:53   Re: [L4D2] Knife Unlock (1.0) [15-May-2012]
    Reply With Quote #8

    Nice one Silvers. plans to do one with the riot shield too?

    Last edited by Visual77; 05-15-2012 at 05:53.
    Visual77 is offline
    Simca
    Senior Member
    Join Date: Feb 2012
    Old 05-15-2012 , 05:55   Re: [L4D2] Knife Unlock (1.0) [15-May-2012]
    Reply With Quote #9

    I can give through the weapon spawner puglin but not spawn.

    Last edited by Simca; 05-15-2012 at 05:55.
    Simca is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-15-2012 , 05:58   Re: [L4D2] Knife Unlock (1.0) [15-May-2012]
    Reply With Quote #10

    Quote:
    Originally Posted by Simca View Post
    I can give through the weapon spawner puglin but not spawn.
    Edit3: It sometimes works and sometimes does not. Sigh. Nothings ever so simple.
    __________________

    Last edited by Silvers; 05-15-2012 at 06:26.
    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 15:48.


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