AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S] Banana Bombs v1.1 (Updated 3/8/11) (https://forums.alliedmods.net/showthread.php?t=152393)

Steell 03-08-2011 14:48

[CS:S] Banana Bombs v1.1 (Updated 3/8/11)
 
2 Attachment(s)
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

Groger 03-08-2011 15:23

Re: [CS:S] Banana Bombs
 
It would be greatly appreciated if you add a admin flag, so we can incorperate this for our donaters.

Thx

Steell 03-08-2011 21:53

Re: [CS:S] Banana Bombs
 
1 Attachment(s)
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.

Caza 04-15-2011 13:42

Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
 
Could you udpate to the new hooks version, thanks :D

Groger 04-16-2011 05:03

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

Originally Posted by Caza (Post 1450578)
Could you udpate to the new hooks version, thanks :D

Just update to the new sdkhooks ;)

http://forums.alliedmods.net/showthread.php?t=106748

sinblaster 04-16-2011 12:29

Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
 
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.

Caza 04-16-2011 14:30

Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
 
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.

Steell 04-16-2011 14:33

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

Originally Posted by sinblaster (Post 1451446)
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.

Caza 04-16-2011 21:44

Re: [CS:S] Banana Bombs v1.1 (Updated 3/8/11)
 
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.

sinblaster 04-16-2011 21:56

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

Originally Posted by Steell (Post 1451562)
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.


All times are GMT -4. The time now is 22:15.

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