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

[DoD:S] DetoNades


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Plugin ID:
3781
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    12 
    Plugin Description:
    Detonates a grenade when it collides with a player
    Old 07-25-2013 , 14:17   [DoD:S] DetoNades
    Reply With Quote #1

    Here is another plugin which tweaks gameplay a bit.
    This little plugin simply detonates a grenade when it collides with a player. Like a rocket
    You can set it to detonate only rifle grenades, or only frag greandes, or both.

    ConVars
    dod_detonade_frag_grenades - Whether or not detonate frag grenade when it collides with a player (Default: disabled)
    dod_detonade_rifle_grenades - Whether or not detonate rifle grenade when it collides with a player (Default: enabled)

    Add those two commands in server.cfg and have fun!

    Special thanks to blodia for amazing tip

    Servers with this plugin

    Download plugin
    Browse source code
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot

    Last edited by Root_; 07-27-2013 at 08:00.
    Root_ is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 08-18-2013 , 11:33   Re: [DoD:S] DetoNades
    Reply With Quote #2

    Fixed major issue on a linux servers when those could not launch after installing this plugin.
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    alencore
    Senior Member
    Join Date: Oct 2011
    Old 10-01-2013 , 08:04   Re: [DoD:S] DetoNades
    Reply With Quote #3

    Another cool dods plugin indeed!

    Btw hope you could add an option to enable nades to explode upon impact on whatever solid surface it hits like the ground and walls for example?

    Last edited by alencore; 10-02-2013 at 00:17.
    alencore is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 10-06-2013 , 18:30   Re: [DoD:S] DetoNades
    Reply With Quote #4

    Not really sure if its even possible. I can made one, but as a separate plugin maybe.
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    alencore
    Senior Member
    Join Date: Oct 2011
    Old 10-07-2013 , 01:36   Re: [DoD:S] DetoNades
    Reply With Quote #5

    Cool I'll wait for that! :-)
    alencore is offline
    mewbie222
    Senior Member
    Join Date: May 2018
    Old 08-02-2020 , 00:46   Re: [DoD:S] DetoNades
    Reply With Quote #6

    Quote:
    L 08/01/2020 - 207:40: [SM] [0] Line 101, C:\dod_detonades.sp::TraceAttackPost()
    L 08/01/2020 - 207:40: [SM] Native "GetEntProp" reported: Property "m_bIsLive" not found (entity 485/env_laser)
    L 08/01/2020 - 207:40: [SM] Displaying call stack trace for plugin "dod_detonades.smx":
    L 08/01/2020 - 207:40: [SM] [0] Line 101, C:\dod_detonades.sp::TraceAttackPost()
    L 08/01/2020 - 207:40: [SM] Native "GetEntProp" reported: Property "m_bIsLive" not found (entity 482/env_laser)
    L 08/01/2020 - 207:40: [SM] Displaying call stack trace for plugin "dod_detonades.smx":
    L 08/01/2020 - 207:40: [SM] [0] Line 101, C:\dod_detonades.sp::TraceAttackPost()
    L 08/01/2020 - 207:40: [SM] Native "GetEntProp" reported: Property "m_bIsLive" not found (entity 484/env_laser)
    L 08/01/2020 - 207:40: [SM] Displaying call stack trace for plugin "dod_detonades.smx":
    L 08/01/2020 - 207:40: [SM] [0] Line 101, C:\dod_detonades.sp::TraceAttackPost()
    I can't understand, the chtol update in Steam broke the plugin, errors began to appear and the server began to lag because of this ..

    See why errors and how can I fix it?

    Last edited by mewbie222; 08-02-2020 at 00:47.
    mewbie222 is offline
    1400gsx
    Junior Member
    Join Date: Nov 2015
    Old 03-04-2024 , 08:09   Re: [DoD:S] DetoNades
    Reply With Quote #7

    Hi guys. fix the plugin code, it is outdated.


    Listing 2 plugins:
    [01] SourceMod (1.11.0.6955) by AlliedModders LLC
    [02] SDK Tools (1.11.0.6955) by AlliedModders LLC


    //SourceMod Batch Compiler
    // by the SourceMod Dev Team


    //// dod_detonades.sp
    //
    // C:\dod\addons\sourcemod\scripting\dod_detonad es.sp(27) : error 153: Array-based enum structs have been removed. See https://wiki.alliedmods.net/SourcePa...x#Enum_Structs
    //
    // 1 Error.
    //
    // Compilation Time: 0,17 sec
    // ----------------------------------------

    Press enter to exit ...


    \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

    enum Grenades
    {
    Handle:frag_grens,
    Handle:riflegrens
    };
    __________________
    1400gsx is offline
    1400gsx
    Junior Member
    Join Date: Nov 2015
    Old 03-06-2024 , 13:58   Re: [DoD:S] DetoNades
    Reply With Quote #8

    I found a similar one, it works
    __________________
    1400gsx 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 01:00.


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