Raised This Month: $32 Target: $400
 8% 

sm_knifegrenade


Post New Thread Reply   
 
Thread Tools Display Modes
Author
altex
Veteran Member
Join Date: May 2009
Location: Russia
Plugin ID:
1871
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows players to pull the pin on the grenade of an opponent by attacking with a knife.
    Old 08-10-2010 , 16:58   sm_knifegrenade
    Reply With Quote #1

    KnifeGreanade:SM
    ----------------------------------------------------------------------
    Allows players to pull the pin on the grenade of an opponent
    by attacking with a knife.

    Installation
    ----------------------------------------------------------------------
    You need extension SDK Hooks 1.3 (Updated 2010-05-12) or later
    https://forums.alliedmods.net/showthread.php?t=106748

    Cvars and commands
    ----------------------------------------------------------------------
    sm_kg_version KnifeGrenade version
    sm_kg_enabled Enable KnifeGrenade (default 1)
    sm_kg_pinpull_givegrenade 0 = no change, 1 = if the attacker has a HE grenade and
    the victim doesn't, the attacker's grenade will be given
    to the victim, 2 = always give the victim a grenade (default 1)
    sm_kg_pinpull_explodeondeath 0 = no change, 1 = players with a ticking grenade that
    die will explode when they die (default 1)
    sm_kg_detonate_delay Number of seconds after a pin pull a grenade explodes (default 4)
    sm_kg_detonate_radius Radius of explosion when a grenade with its pin pulled explodes
    default HE grenade radius is 350 (default 350)
    sm_kg_detonate_magnitude Radius of explosion when a grenade with its pin pulled explodes
    default HE grenade magnitude is 100 (default 300)
    sm_kg_sound_percentpinpull Percent of the map that can hear grenade pin pulls--set to 0 to eliminate (default 85)
    sm_kg_sound_percenttick Percent of the map that can hear grenade ticks--set to 0 to eliminate (default 60)
    sm_kg_sound_percentdetonate Percent of the map that can hear grenade explosions--set to 0 to eliminate (default 45)
    sm_kg_announce_victim 0 = no change, 1 = announce to player when the pin is pulled on his or her grenade (deafault 0)
    sm_kg_announce_attacker 0 = no change, 1 = announce to player when he or she pulls the pin on another player's grenade (default 1)
    sm_kg_announce_all 0 = no change, 1 = announce to all players when a player has a grenade pin pulled in chat area (default 1)
    sm_kg_set_attacker 0 = don't set attacker, 1 = set attacker as grenade owner (default 1)
    sm_kg_switch_grenade 0 = don't switch to grenade, 1 = switch to grenade (default 1)
    sm_kg_deactivateonkill 0 = don't deactivate on kill, 1 = deactivate grenade if you've killed attacker (default 0)
    sm_kg_enableforteam_t 0 = disable, 1 = enable for T team (default: 1)
    sm_kg_enableforteam_ct 0 = disable, 1 = enable for CT team (default: 1)
    sm_kg_effect_victim 0 = disable, 1 = enable trail effect on victim (default: 0)
    sm_kg_effect_attacker 0 = disable, 1 = enable trail effect on attacker (default: 0)

    sm_kg_color_effect_attacker color effect for attacker - "R G B" (Default: "255 128 0")
    sm_kg_color_effect_victim color effect for victim - "R G B" (Default: "255 128 0")
    sm_kg_model_effect_attacker model effect for attacker (Default: "materials/sprites/crystal_beam1.vmt")
    sm_kg_model_effect_victim model effect for victim (Default: "materials/sprites/crystal_beam1.vmt")
    you can use model "materials/sprites/bluelaser1.vmt" for blue color.

    Changelog
    ----------------------------------------------------------------------
    * Release 1.2
    + Added cvars sm_kg_color_effect_attacker, sm_kg_color_effect_victim,
    sm_kg_model_effect_attacker, sm_kg_model_effect_victim

    * Release 1.1
    * Fixed explosion removement
    * Fixed sounds values
    * Fixed explosion sound
    + Added cvars sm_kg_enableforteam_t, sm_kg_enableforteam_ct, sm_kg_effect_victim, sm_kg_effect_attacker

    * Initial release 1.0

    Credits
    ----------------------------------------------------------------------
    * Original idea by David Bowland
    http://addons.eventscripts.com/addons/view/knifegrenade

    * In the beginning it was a paid job for SilentBr (from this forum) and his ZombyeMod server in Brazil (ZM Brasil),
    but later he just told me that he have no money. Be aware from taking a job from him.

    Issues
    ----------------------------------------------------------------------
    * Mani-admin-plugin can crash server when running this plugin and sm_parachute.
    It happens when you fly with parachute and been exploded by pinned grenade.
    If you experience this issue, try patched version of sm_parachute
    (included in this plugin in plugins/disabled folder)

    My plugins | Donations via PayPal
    Attached Files
    File Type: zip sm_knifegrenade-1.2.zip (40.3 KB, 1081 views)
    __________________

    Last edited by altex; 10-13-2011 at 18:30.
    altex is offline
    st0rm_r1der
    Member
    Join Date: Feb 2008
    Location: DE
    Old 08-13-2010 , 12:52   Re: sm_knifegrenade
    Reply With Quote #2

    Hy altex,
    nice idea, but im getting this error...
    Code:
    L 08/13/2010 - 18:18:28: [SM] Native "UnhookEvent" reported: Game event "hegrenade_detonate" has no active hook
    L 08/13/2010 - 18:18:28: [SM] Displaying call stack trace for plugin "knifegrenade.smx":
    L 08/13/2010 - 18:18:28: [SM]   [0]  Line 560, knifegrenade.sp::StopHook()
    L 08/13/2010 - 18:18:28: [SM]   [1]  Line 441, knifegrenade.sp::CvarChanged()
    L 08/13/2010 - 18:28:56: Error log file session closed.
    btw.
    can you make it that it incorporates with gungame?

    Greetings...
    st0rm_r1der is offline
    SilentBr
    Veteran Member
    Join Date: Jan 2009
    Old 08-28-2010 , 05:48   Re: sm_knifegrenade
    Reply With Quote #3

    Hi Altex

    I didn't know about you realized the plugin. You sould tell me. Now I'm testing, no crashs or bugs yet.

    Edit: Crash a lot the server, like 2 times/hour.

    Thank you so much

    Last edited by SilentBr; 10-05-2010 at 00:51.
    SilentBr is offline
    Paparazziv2
    Senior Member
    Join Date: Feb 2011
    Location: Chile, La Serena
    Old 02-03-2011 , 13:26   Re: sm_knifegrenade
    Reply With Quote #4

    hi, men i have a problem with Zombie:Reloaded.. the plugin not work . :/ you have a solution this is a important plugin for my server i find this plugin 3 moths pleaase give me the solution thanks and sorry for my bad english
    Paparazziv2 is offline
    Send a message via MSN to Paparazziv2
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 02-03-2011 , 14:37   Re: sm_knifegrenade
    Reply With Quote #5

    Altex wrote this plugin as a request for SilentBR, but released it afterwards, and from what I recall, it was broken to high hell.
    __________________
    thetwistedpanda is offline
    ubesoft
    New Member
    Join Date: Apr 2011
    Old 04-17-2011 , 23:35   Re: sm_knifegrenade
    Reply With Quote #6

    Hi altex,

    I use mani-admin + parachute + knifegrenade and from time to time crashs my server... Any idea how can I fix that?

    Thanks in advance,
    UBESOFT
    (Im willing to pay to get it fixed)
    ubesoft is offline
    thx_you
    Senior Member
    Join Date: Feb 2009
    Old 06-07-2011 , 11:59   Re: sm_knifegrenade
    Reply With Quote #7

    is work good but wan i kill a zombie
    is see this in the consol of the server

    DataTable warning : player: Out-of-range value (7579880.000000) in SendPropFloat 'm_flfallVelocity' ,clamping
    thx_you is offline
    Greyscale
    SourceMod Plugin Approver
    Join Date: Dec 2007
    Location: strYoMommasHouse[you];
    Old 06-08-2011 , 16:27   Re: sm_knifegrenade
    Reply With Quote #8

    Is anyone supporting this?
    __________________
    Greyscale is offline
    Paparazziv2
    Senior Member
    Join Date: Feb 2011
    Location: Chile, La Serena
    Old 09-17-2011 , 21:06   Re: sm_knifegrenade
    Reply With Quote #9

    this plugin not works anymore??
    __________________
    Sorry for the bad english please.

    Paparazziv2 is offline
    Send a message via MSN to Paparazziv2
    TrollfateeR
    Junior Member
    Join Date: Nov 2013
    Old 11-18-2013 , 13:19   Re: sm_knifegrenade
    Reply With Quote #10

    Where and how to set the Cvars?
    TrollfateeR 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 20:07.


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