Raised This Month: $261 Target: $400
 65% 

[CS:S] Banana Bombs v1.1 (Updated 3/8/11)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Steell
SourceMod Donor
Join Date: Mar 2009
Plugin ID:
2267
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Replaces the grenade model with a banana model.
    Old 03-08-2011 , 14:48   [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
    Reply With Quote #1

    Banana Bombs


    About:
    This is a conversion of the EventScripts plugin BananaBombs. It simply replaces the grenade model with that of a banana (which is built into CS:S). This port was requested here.
    Installation:
    1. This plugin requires SDKHooks in order to work correctly. Install that first.
    2. Extract the contents of banana-bombs.zip to your mod's root directory.
    That's it!
    Acknowledgments:
    • tigerox's StickyNades Lite plugin, from which I based the grenade model replacement.
    Change Log:
    1.1 (3/8/11)
    • Added cvar to specify admin flags of admins able to use the plugin.
    • Added cvar to enable and disable the information message that appears at the start of each round.

    1.0 (3/8/11)
    • Initial Release
    Attached Files
    File Type: zip banana-bombs.zip (6.8 KB, 1808 views)

    Last edited by Steell; 03-08-2011 at 22:59. Reason: New version 1.1
    Steell is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 03-08-2011 , 15:23   Re: [CS:S] Banana Bombs
    Reply With Quote #2

    It would be greatly appreciated if you add a admin flag, so we can incorperate this for our donaters.

    Thx
    Groger is offline
    Steell
    SourceMod Donor
    Join Date: Mar 2009
    Old 03-08-2011 , 21:53   Re: [CS:S] Banana Bombs
    Reply With Quote #3

    Version 1.1 Released.
    • Added cvar to specify admin flags of admins able to use the plugin.
    • Added cvar to enable and disable the information message that appears at the start of each round.
    Attached Files
    File Type: zip banana-bombs.zip (6.8 KB, 347 views)
    Steell is offline
    Caza
    Junior Member
    Join Date: Sep 2009
    Old 04-15-2011 , 13:42   Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
    Reply With Quote #4

    Could you udpate to the new hooks version, thanks
    __________________
    When something is 99%, dont think in the 1% remaining, think in all the hundreds of 0,01% remaining.
    Caza is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 04-16-2011 , 05:03   Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
    Reply With Quote #5

    Quote:
    Originally Posted by Caza View Post
    Could you udpate to the new hooks version, thanks
    Just update to the new sdkhooks ;)

    http://forums.alliedmods.net/showthread.php?t=106748
    Groger is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 04-16-2011 , 12:29   Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
    Reply With Quote #6

    Any chance we can change the model path in a cvar? I'd like to have 'the dildo bomb" so my idiot players can throw dildos at each other. I think the only thing funnier than that would be to change the model to something like a car so that players can throw ... Regardless it would be a treat.
    __________________
    Happy Happy Joy Joy


    Last edited by sinblaster; 04-16-2011 at 12:33.
    sinblaster is offline
    Caza
    Junior Member
    Join Date: Sep 2009
    Old 04-16-2011 , 14:30   Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
    Reply With Quote #7

    Look at this:

    Code:
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 65/cs_team_manager)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 66/cs_team_manager)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 67/cs_team_manager)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 68/cs_team_manager)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 70/cs_player_manager)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 71/cs_gamerules)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 73/water_lod_control)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 73/water_lod_control)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 73/water_lod_control)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 73/water_lod_control)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 73/water_lod_control)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 73/water_lod_control)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 73/water_lod_control)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 73/water_lod_control)
    L 04/16/2011 - 00:59:36: [SM] Displaying call stack trace for plugin "banana-bombs.smx":
    L 04/16/2011 - 00:59:36: [SM]   [0]  Line 105, banana-bombs.sp::InitGrenade()
    L 04/16/2011 - 00:59:36: [SM] Native "GetEntPropEnt" reported: Property "m_hOwnerEntity" not found (entity 73/water_lod_control)
    Repeated about 200 times.
    __________________
    When something is 99%, dont think in the 1% remaining, think in all the hundreds of 0,01% remaining.
    Caza is offline
    Steell
    SourceMod Donor
    Join Date: Mar 2009
    Old 04-16-2011 , 14:33   Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
    Reply With Quote #8

    Quote:
    Originally Posted by sinblaster View Post
    Any chance we can change the model path in a cvar? I'd like to have 'the dildo bomb" so my idiot players can throw dildos at each other. I think the only thing funnier than that would be to change the model to something like a car so that players can throw ... Regardless it would be a treat.
    Right now to change the model all you have to do is edit the model location at the top of the source code and recompile. I may add a cvar in the future but this plugin isn't my top priority at the moment.
    __________________
    Steell is offline
    Caza
    Junior Member
    Join Date: Sep 2009
    Old 04-16-2011 , 21:44   Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
    Reply With Quote #9

    Could you make it for all grenade models, or selective by cvar or tell me the code to add?

    I tried with
    PHP Code:
    if (StrContains(classname"grenade")) 
    instead of

    PHP Code:
    if (StrEqual(classname"hegrenade_projectile")) 
    It works but i get the previous posted error and the knife has no animations on firing.
    __________________
    When something is 99%, dont think in the 1% remaining, think in all the hundreds of 0,01% remaining.

    Last edited by Caza; 04-16-2011 at 21:50.
    Caza is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 04-16-2011 , 21:56   Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
    Reply With Quote #10

    Quote:
    Originally Posted by Steell View Post
    Right now to change the model all you have to do is edit the model location at the top of the source code and recompile. I may add a cvar in the future but this plugin isn't my top priority at the moment.
    True true ... I mentioned the dildo bomb last night and some guy got all upset.
    When I asked him why he said his wife used to beat him with one.
    __________________
    Happy Happy Joy Joy

    sinblaster 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 18:08.


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