Raised This Month: $7 Target: $400
 1% 

[ANY] Generic Melee Knock Back


Post New Thread Reply   
 
Thread Tools Display Modes
Author
javalia
Senior Member
Join Date: May 2009
Location: korea, republic of
Plugin ID:
2328
Plugin Version:
1.0.0.8
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    [ANY] Generic Melee Knock Back for any games
    Old 05-10-2011 , 01:35   [ANY] Generic Melee Knock Back
    Reply With Quote #1

    <Generic Melee Knock Back>




    Introdution

    this plugin gives u customizable melee attack knock back.
    you can set weapon type that occurs knock back,
    damage increase of knock back, knock back force,
    team`s by knock back`s force, dmg increase,
    enable/disable of knock back force and damage increase by friendlyfire



    Requirements

    this plugin needs the things listed below to work:
    • SDKHooks2



    Installation

    to install this plugin
    • put the smx file in the sourcemod/plugins folder
    to compile this plugin manually
    • put all sp files in the sourcemod/scripting folder
    • put all inc files in the sourcemod/scripting/include folder
    • compile.



    Configuration

    to configurate this plugin to your likes
    • to use auto generated cfg file
      • run the plugin once, then the cfg will be generated in the cfg/sourcemod folder
      • take a look at the options and change them to your preferences
      • the options you choose in the cfg will be loaded on every map change
    • cvarlist for this version
    Code:
    // This file was auto-generated by SourceMod (v1.4.0-dev)
    // ConVars for plugin "GenericMeleeKnockBack.smx"
    
    
    // 1 to enable 0 to disable
    // -
    // Default: "0"
    GenericKnifeKnockBackMod_AllowDmgIncByTeam "0"
    
    // 1 to enable 0 to disable
    // -
    // Default: "0"
    GenericKnifeKnockBackMod_AllowKnockBackByTeam "0"
    
    // damage increment of melee attack by Blue team
    // -
    // Default: "0"
    GenericMeleeKnockBackMod_BlueDmgIncrement "0"
    
    // knockback of melee attack by Blue team, set 0 to disable
    // -
    // Default: "1000.0"
    GenericMeleeKnockBackMod_BlueKnockBack "1000.0"
    
    // set this msg to empty if u dont want knockback msg, {attacker} and {victim} will be replaced to name of them
    // -
    // Default: "{attacker} knocked {victim} back"
    GenericMeleeKnockBackMod_KnockBackMsg "{attacker} knocked {victim} back"
    
    // sound of KnockBack, set to "" string to disable
    // -
    // Default: "weapons/irifle/irifle_fire2.wav"
    GenericMeleeKnockBackMod_KnockBackSound "weapons/irifle/irifle_fire2.wav"
    
    // list of melee weapon that will occur knockback and damage increment, separate weapon` name with ;
    // -
    // Default: "weapon_knife;weapon_crowbar;weapon_stunstick;weapon_amerknife;weapon_spade"
    GenericMeleeKnockBackMod_MeleeWeaponList "weapon_knife;weapon_crowbar;weapon_stunstick;weapon_amerknife;weapon_spade"
    
    // damage increment of melee attack by Red team
    // -
    // Default: "0"
    GenericMeleeKnockBackMod_RedDmgIncrement "0"
    
    // knockback of melee attack by Red team, set 0 to disable
    // -
    // Default: "1000.0"
    GenericMeleeKnockBackMod_RedKnockBack "1000.0"
    
    // this should be 0 if knockback sound is one of default game sound
    // -
    // Default: "1"
    GenericMeleeKnockBackMod_SoundAutoDownload "1"
    
    // damage increment of melee attack by Unassigned team
    // -
    // Default: "0"
    GenericMeleeKnockBackMod_UnassignedDmgIncrement "0"
    
    // knockback of melee attack by Unassigned team, set 0 to disable
    // -
    // Default: "1000.0"
    GenericMeleeKnockBackMod_UnassignedKnockBack "1000.0"
    
    // plugin info cvar
    // -
    // Default: "1.0.0.8"
    GenericMeleeKnockBackMod_version "1.0.0.8"
    if plugin has updated and it`s cfg file has changed, you should remove old one and regenerate cfg file



    Known Bugs & Limits Of the Mod

    nothing for yet



    Special Thanks To

    i want to say thanks to these guys
    • DJtsunami and psychonic for made SDKHooks2



    Change Log

    all the date`s format is y/m/d
    Code:
    update at 2011 5 11(ver 1.0.0.8)
    
    • added cvar for auto sound download cfg and knockback msg
    update at 2011 5 10(ver 1.0.0.7)
    • released
    Attached Files
    File Type: inc stocklib.inc (40.7 KB, 367 views)
    File Type: sp Get Plugin or Get Source (GenericMeleeKnockBack.sp - 529 views - 7.8 KB)
    File Type: smx GenericMeleeKnockBack.smx (7.6 KB, 553 views)
    __________________

    Last edited by javalia; 05-11-2011 at 00:03. Reason: changed title a bit
    javalia is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 05-10-2011 , 02:51   Re: Generic Melee Knock Back
    Reply With Quote #2

    Looks great. Ill try and fit it in somewhere if I can
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    HvG Community
    AlliedModders Donor
    Join Date: Sep 2012
    Old 12-28-2013 , 17:52   Re: [ANY] Generic Melee Knock Back
    Reply With Quote #3

    dose it work
    HvG Community is offline
    8guawong
    AlliedModders Donor
    Join Date: Dec 2013
    Location: BlackMarke7
    Old 05-25-2014 , 11:41   Re: [ANY] Generic Melee Knock Back
    Reply With Quote #4

    Quote:
    Originally Posted by HvG Community View Post
    dose it work
    it works but if you take disable the knockback sound the server crashes!

    ---------------------edit------------------

    uploaded the one that is without sound if any1 needs it (i needed it since people on my server were asking the knockback sound to be removed... but if i disabled it leaving the GenericMeleeKnockBackMod_KnockBackSound "weapons/irifle/irifle_fire2.wav" to blank "" it will crash the sever)

    you don't need to edit the cfg with this version
    Attached Files
    File Type: smx GenericMeleeKnockBacknosound.smx (7.9 KB, 383 views)

    Last edited by 8guawong; 05-25-2014 at 11:56.
    8guawong is offline
    Koga73
    Senior Member
    Join Date: Mar 2011
    Location: 🍩
    Old 06-30-2015 , 17:38   Re: [ANY] Generic Melee Knock Back
    Reply With Quote #5

    This does not work for me.
    CS:GO Server.
    __________________
    Koga73 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 22:35.


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