Raised This Month: $248 Target: $400
 62% 

[CS:GO] ZR Grenade Effects


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
4890
Plugin Version:
2.3.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Changes he grenades to napalm grenades, smoke and decoy grenades to freeze grenades and flashbangs to flashlights, and adds trails
    Old 11-12-2015 , 06:51   [CS:GO] ZR Grenade Effects
    Reply With Quote #1

    Decription:

    Changes he grenades to napalm grenades, smoke and decoy grenades to freeze grenades and flashbangs to flashlights, and adds trails.

    For CS:GO I fixed the smokeparticle bug, some sounds problems, visual effects fixed, added decoy as freeze grenade (if you use molotov, use decoy grenades instead of smoke grenades for freeze. This is for prevent that appear smokeparticles when a smoke grenade touch the molotov fire), and others fixes.


    You can test the latest version here:



    Requeriments:

    Zombiereloaded plugin


    Recommended plugins with this:

    Zombiereloaded weapons menu with grenades


    Todo list:

    I will add nade modes like in cs 1.6
    Quote:
    Originally Posted by ot_207 View Post
    Available modes:
    Normal: This is CS's default grenade.
    Proximity: This grenade will explode when it detect a player within a certain radius.
    Impact: This grenade will only explode when it comes in contact with a solid object.
    Trip laser: This is the most complex mode. Throw this at the wall or ceiling, and it will take some time before it will activate.After it activates it will draw a laser. If anyone should blunder into the detection path, the grenade will launch itself in the direction of the victim/ explode (your choice).
    Motion sensor: Like the proximity grenade, this detects players within a certain radius, but will only detonate if that player is moving above a certain speed. To avoid an explosion, crouch or walk around this grenade. Be careful, jumping around a motion sensing grenade is risky business!
    Satchel charge: When you press the +use button (default e) the nade will explode.
    Homing: Seeking the enemy!

    Cvars:

    Configure these cvars in the cfg/sourcemod/zombiereloaded/grenade_effects.cfg file created.
    Code:
    zr_greneffect_enable - Enables/Disables the plugin
    zr_greneffect_trails - Enables/Disables grenade trails
    zr_greneffect_napalm_he - Changes a he grenade to a napalm grenade
    zr_greneffect_napalm_he_duration - The napalm duration in seconds
    zr_greneffect_smoke_freeze - Changes a smoke grenade to a freeze grenade
    zr_greneffect_smoke_freeze_distance - The freeze grenade distance
    zr_greneffect_smoke_freeze_duration - The freeze duration in seconds
    zr_greneffect_flash_light - Changes a flashbang to a flashlight
    zr_greneffect_flash_light_distance - The light distance
    zr_greneffect_flash_light_duration - The light duration in seconds

    For developers:

    PHP Code:
    /** 
     * Called when a player is about to be freezed by a grenade 
     * 
     * @param client     The victim index 
     * @param attacker     The client index who threw the grenade 
     * @param duration    The freeze duration, set by reference  
     * @return        Plugin_Changed to apply new values, Plugin_Contninue to allow as is and >= Plugin_Handled to block 
     */ 
    forward Action:ZR_OnClientFreeze(clientattacker, &Float:duration); 

    /** 
     * Called when a player has been freezed by a grenade 
     * 
     * @param client     The victim index 
     * @param attacker     The client index who threw the grenade 
     * @param duration    The freeze duration 
     * @noreturn 
     */ 
    forward ZR_OnClientFreezed(clientattackerFloat:duration); 

    /** 
     * Called when a player is about to be ignited by a grenade 
     * 
     * @param client     The victim index 
     * @param attacker     The client index who threw the grenade 
     * @param duration    The ignite duration, set by reference  
     * @return        Plugin_Changed to apply new values, Plugin_Contninue to allow as is and >= Plugin_Handled to block 
     */ 
    forward Action:ZR_OnClientIgnite(clientattacker, &Float:duration); 

    /** 
     * Called when a player has been ignited by a grenade 
     * 
     * @param client     The victim index 
     * @param attacker     The client index who threw the grenade 
     * @param duration    The freeze duration 
     * @noreturn 
     */ 
    forward ZR_OnClientIgnited(clientattackerFloat:duration);  

    /** 
     * Called when a grenade will get his effect
     * 
     * @param client     Client that throw the grenade
     * @param grenade     Grenade index
     * @return        Plugin_Continue to allow as is and Plugin_Handled to block effect in the grenade
     */ 
    forward Action:ZR_OnGrenadeEffect(clientgrenade); 

    Installation:

    Download the archive from the attachments with the mod prefix you are intending to play and extract it to the addons/sourcemod folder
    If you want to allow players to carry more grenades just add those cvars to your server.cfg and set their amount
    • ammo_hegrenade_max
    • ammo_flashbang_max
    • ammo_smokegrenade_max

    Unrestrict smoke grenades and flashbangs which are resticted by default (do it here sourcemod/configs/zr/weapons.txt. Find "Flashbang" and "Smokegrenade" and set their "restrictdefault" to "no")


    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran SourceMod Coder -> Activity channel
    Taking some paid jobs and selling some private stuff.
    Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 01-23-2017 at 06:55.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    mazdarx8
    Veteran Member
    Join Date: Aug 2014
    Old 11-12-2015 , 07:16   Re: [CS:GO] ZR Grenade Effects
    Reply With Quote #2

    thank you
    mazdarx8 is offline
    natrios
    Senior Member
    Join Date: Feb 2014
    Old 11-12-2015 , 09:25   Re: [CS:GO] ZR Grenade Effects
    Reply With Quote #3

    don't work :/
    Quote:
    28 <Failed> "[ZR] CS:GO Grenade Effects" (2.2 CSGO fix by Franc1sco franug) by FrozDark (HLModders.ru LLC) and Franc1sco franug
    __________________


    Last edited by natrios; 11-12-2015 at 09:26.
    natrios is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-12-2015 , 09:28   Re: [CS:GO] ZR Grenade Effects
    Reply With Quote #4

    Quote:
    Originally Posted by natrios View Post
    don't work :/
    Check log errors and check that you have succesfully installed zombiereloaded plugin.

    If you cant make that the plugin works for you, then you can add me in steam and we will see why dont work my plugin in your server
    __________________
    Veteran SourceMod Coder -> Activity channel
    Taking some paid jobs and selling some private stuff.
    Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 11-12-2015 at 09:42.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    natrios
    Senior Member
    Join Date: Feb 2014
    Old 11-12-2015 , 10:02   Re: [CS:GO] ZR Grenade Effects
    Reply With Quote #5

    Now work, sry for problem
    I look forward to modes of grenades, good luck !
    __________________

    natrios is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-24-2015 , 04:19   Re: [CS:GO] ZR Grenade Effects
    Reply With Quote #6

    Quote:
    Originally Posted by natrios View Post
    I look forward to modes of grenades, good luck !
    I will do it asap when my new ZE server will be completed where I will test it.

    I hope that the grenade modes can like to the people
    __________________
    Veteran SourceMod Coder -> Activity channel
    Taking some paid jobs and selling some private stuff.
    Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    mazdarx8
    Veteran Member
    Join Date: Aug 2014
    Old 11-24-2015 , 14:50   Re: [CS:GO] ZR Grenade Effects
    Reply With Quote #7

    • ammo_hegrenade_max 2
    • ammo_flashbang_max 2
    • ammo_smokegrenade_max 2
    Dont work for me... Any ideas?
    mazdarx8 is offline
    iGANGNAM
    AlliedModders Donor
    Join Date: Sep 2012
    Location: Lithuania
    Old 11-24-2015 , 15:23   Re: [CS:GO] ZR Grenade Effects
    Reply With Quote #8

    oh damn definetly good plugin for Zombie Plague mod! Great job as always Franc1sco, just release hats plugin already ;9

    Last edited by iGANGNAM; 11-24-2015 at 15:23.
    iGANGNAM is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-24-2015 , 15:52   Re: [CS:GO] ZR Grenade Effects
    Reply With Quote #9

    Quote:
    Originally Posted by mazdarx8 View Post
    • ammo_hegrenade_max 2
    • ammo_flashbang_max 2
    • ammo_smokegrenade_max 2
    Dont work for me... Any ideas?
    Try using my weapons menu plugin and this cvars:
    Code:
    sm_zeusweapons_smoke 2 // Number of smoke
    sm_zeusweapons_hegrenade 2 // Number of hegrenade
    sm_zeusweapons_flash 2 // // Number of flashbang
    Quote:
    Originally Posted by iGANGNAM View Post
    oh damn definetly good plugin for Zombie Plague mod! Great job as always Franc1sco
    Ohh thanks, I just try to do it with my best effort, but surely a lot of people can do it better that me, I'm just a coder like any other

    Quote:
    Originally Posted by iGANGNAM View Post
    ojust release hats plugin already ;9
    I still need to do some modifications for a better use of everybody, and also I will add this menu for set the correct position to each hat
    __________________
    Veteran SourceMod Coder -> Activity channel
    Taking some paid jobs and selling some private stuff.
    Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 11-24-2015 at 15:57.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    mazdarx8
    Veteran Member
    Join Date: Aug 2014
    Old 11-25-2015 , 01:10   Re: [CS:GO] ZR Grenade Effects
    Reply With Quote #10

    Thank you for answering. I did use the weapons menu plugin (and there it works), but the players don't really like it. Is there another solution maybe?
    mazdarx8 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 06:12.


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