Raised This Month: $51 Target: $400
 12% 

[CS:GO ZR] GreNade Kick


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Agent Wesker
Senior Member
Join Date: Apr 2012
Plugin ID:
5246
Plugin Version:
1.9
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Knocks back victims hurt by grenades in the direction attacker was looking when they threw grenade.
    Old 06-15-2016 , 15:25   [CS:GO ZR] GreNade Kick
    Reply With Quote #1

    Description:

    This plugin is intended for Zombie:Reloaded servers, I wrote this as a replacement for Molotov's.

    What does it do? Knocks back players hurt by grenades in the direction the attacker was looking when he threw it.

    Theoretically this should lag much less; as it only makes one call per victim per grenade (with optional visual effects) To prevent "fail nades" or player trolling victims will only go in one direction and victims behind the attacker will only go vertical. (this prevents attackers looking in the opposite direction and wall bouncing them) As this is intended for Z:R it currently only works on Terrorists / Zombies.

    ------------
    Edit: Added new ignite & ring effects @Credits to Franc1sco I felt that its better to have an indicator in-game against a horde of zombies. Disable these if you have them enabled in another plugin or experiencing performance problems.

    Edit 2:I believe you need another plugin for fire particles to show up - found here https://rulesofp.wordpress.com/2014/...e-done-in-css/

    ------------
    In order to slow the victim, try adjusting these settings:
    sv_staminarecoveryrate 20 (Default 60)
    sv_staminalandcost 0 or 0.2 (Default 0.5)
    sv_staminajumpcost 0 or 0.2 (Default 0.5)
    (if you don't care about slowdown, leave these alone)

    Cvars:
    Code:
    sm_nadekick_enabled - Enable/Disable the plugin. Default = 1 (Enable = 1)
    sm_nadekick_debug - Print debug to chat. Default = 0 (Enable = 1)
    sm_nadekick_vknockback - Vertical knockback multiplier. Default = 10.0 (Min 0.1, Max 1000.0)
    sm_nadekick_hknockback - Horizontal knockback multiplier. Default = 20.0 (Min 0.1, Max 1000.0)
    sm_nadekick_pdistance - How far victim must be to receive knockback. Default = 115.0 (Min 0.1, Max 1500.0)
    sm_nadekick_stampenalty - How much to slow victim. Disabled = 0.0 (Min 0.0, Max 100.0)
    sm_nadekick_dmgcap - The max amount of damage velocity can scale with. Default = 30 (Min 1.0, Max 100.0)
    sm_nadekick_iTime - How long to ignite the victim. Disabled = 0 (Min 0.0, Max 15.0) Disable this if you have performance issues
    sm_nadekick_ringSize - How large to make the ring effect. Disabled = 0 (Min 15.0, Max 800.0)
    Changelog:
    Spoiler
    Download & Installation:
    Drop in plugins folder.
    When updating to a newer version be sure to delete the config file so it can add the new ConVars.
    If compiling yourself make sure to include zombiereloaded
    Attached Files
    File Type: sp Get Plugin or Get Source (nadekick.sp - 607 views - 12.9 KB)
    File Type: smx nadekick.smx (11.3 KB, 523 views)

    Last edited by asherkin; 05-15-2020 at 11:56.
    Agent Wesker is offline
    Cooky
    Veteran Member
    Join Date: Jun 2010
    Location: 127.0.0.1
    Old 06-21-2016 , 14:39   Re: [CS:GO ZR] GreNade Kick
    Reply With Quote #2

    sv_staminarecoveryrate 10 sucks... where is it for? It actually slows down every Human/Zombie after jumping.
    Cooky is offline
    Agent Wesker
    Senior Member
    Join Date: Apr 2012
    Old 06-21-2016 , 14:52   Re: [CS:GO ZR] GreNade Kick
    Reply With Quote #3

    Quote:
    Originally Posted by Cooky View Post
    sv_staminarecoveryrate 10 sucks... where is it for? It actually slows down every Human/Zombie after jumping.
    Forgot some convars, updated main post with proper settings.

    The Stamina system is used to prevent Bhop, in my plugin Stamina is removed when hit by a grenade therefore slowing the player. If you don't wish to allow Bhop there are other settings (such as sv_airaccelerate) you can modify to prevent this. Can also set the jump & land cost to minimum value as suggested in first post. Will probably require some tweaking on your end to get just right.

    Last edited by Agent Wesker; 06-21-2016 at 14:58.
    Agent Wesker is offline
    Cooky
    Veteran Member
    Join Date: Jun 2010
    Location: 127.0.0.1
    Old 06-22-2016 , 03:47   Re: [CS:GO ZR] GreNade Kick
    Reply With Quote #4

    Alright! Will check tonight!
    Cooky is offline
    Cooky
    Veteran Member
    Join Date: Jun 2010
    Location: 127.0.0.1
    Old 06-22-2016 , 12:15   Re: [CS:GO ZR] GreNade Kick
    Reply With Quote #5

    Quote:
    Theoretically this should lag much less; as it only makes one call per victim per grenade (and no visual effects or igniting)
    What do you actually mean with this? I do see Zombies on fire.
    Cooky is offline
    Agent Wesker
    Senior Member
    Join Date: Apr 2012
    Old 06-22-2016 , 12:33   Re: [CS:GO ZR] GreNade Kick
    Reply With Quote #6

    Quote:
    Originally Posted by Cooky View Post
    What do you actually mean with this? I do see Zombies on fire.
    This comes from either Z:R or some other addon you have installed. If you want it disabled turn off napalm grenades in settings.
    Agent Wesker is offline
    Cooky
    Veteran Member
    Join Date: Jun 2010
    Location: 127.0.0.1
    Old 06-22-2016 , 15:12   Re: [CS:GO ZR] GreNade Kick
    Reply With Quote #7

    Quote:
    zr_greneffect_napalm_he "0"
    zr_greneffect_napalm_he_duration "0"

    zr_napalm_ignite "0"
    Any more options...?
    Cooky is offline
    Agent Wesker
    Senior Member
    Join Date: Apr 2012
    Old 06-22-2016 , 16:51   Re: [CS:GO ZR] GreNade Kick
    Reply With Quote #8

    Quote:
    Originally Posted by Cooky View Post
    Any more options...?
    Hm, that should do it.
    Agent Wesker is offline
    Cooky
    Veteran Member
    Join Date: Jun 2010
    Location: 127.0.0.1
    Old 06-22-2016 , 16:58   Re: [CS:GO ZR] GreNade Kick
    Reply With Quote #9

    Don't have other plugins...
    Cooky is offline
    Agent Wesker
    Senior Member
    Join Date: Apr 2012
    Old 06-23-2016 , 08:44   Re: [CS:GO ZR] GreNade Kick
    Reply With Quote #10

    Quote:
    Originally Posted by Cooky View Post
    Don't have other plugins...
    This plugin doesn't have code to ignite, my only guess is you didn't actually change those convars yet.

    Try sm_cvar zr_napalm_ignite 0 in console in game.

    Also check csgo/cfg/sourcemod and csgo/addons/sourcemod/config

    Last edited by Agent Wesker; 06-23-2016 at 08:45.
    Agent Wesker is offline
    Reply



    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 21:27.


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