Raised This Month: $51 Target: $400
 12% 

Subplugin Submission [ZP] Extra Item : Strip Bomb


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hezerf
BANNED
Join Date: Mar 2010
Old 05-26-2010 , 15:53   [ZP] Extra Item : Strip Bomb
Reply With Quote #1

[ZP] Extra Item : Strip Bomb
( For Zombies )

by Hezerf


Description :


Are you iritated by idiotic peoples which buy 10000000 armor and you can't infect them whiteout Infect Bomb ? Here comes your salvation,Strip Bomb.Strip Bomb can remove players armor and you can easly infect them.

Cvars :
  • zp_strip_bomb <0|1> - Enable or disable plugin.
  • zp_strip_mode <0|1|2> - Set bomb mode.
  • zp_strip_radio <250.0> - Set bomb radius.
  • zp_strip_max <5> - Max Strip Bombs per round.
Modes :
  • 0 - Remove user armor.
  • 1 - Remove user weapons.
  • 2 - Remove armor + weapons.

Credits :Changelog :
Code:
26/04/2010 - v1.0 - First Relase
26/04/2010 - v1.1 - Fixed return bug.
27/04/2010 - v1.2 - Added model.Thanks Shidla.
27/04/2010 - v1.3 - Added new cvar for mode.
27/04/2010 - v1.4 - Fixed knife.Thanks Shidla.
27/04/2010 - v1.5 - Plugin optimized + Amor Bug fixed.
28/04/2010 - v1.6 - Added cvar for max bombs.


If you want to help me,post constructive ideas.
Attached Files
File Type: zip v_grenade_astrip.zip (200.8 KB, 4366 views)
File Type: sma Get Plugin or Get Source (zp_extra_strip.sma - 5331 views - 9.1 KB)

Last edited by Hezerf; 05-28-2010 at 11:41.
Hezerf is offline
Oneshox
BANNED
Join Date: May 2010
Location: Germany
Old 05-26-2010 , 15:56   Re: [ZP] Extra Item : Strip Bomb
Reply With Quote #2

Thank you

This will help some peoples.. you tested it?

Last edited by Oneshox; 05-26-2010 at 15:58.
Oneshox is offline
artos
Senior Member
Join Date: Mar 2010
Old 05-26-2010 , 16:03   Re: [ZP] Extra Item : Strip Bomb
Reply With Quote #3

It's not idiotic plugin! It's realy usefull plugin for zombies! Finally!

Thanks^^
__________________
artos is offline
Send a message via Skype™ to artos
Hezerf
BANNED
Join Date: Mar 2010
Old 05-26-2010 , 16:08   Re: [ZP] Extra Item : Strip Bomb
Reply With Quote #4

I didn't test it,but it should work.Report any bugs.

Edit : Anyone test it ?

Last edited by Hezerf; 05-26-2010 at 16:24.
Hezerf is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 05-26-2010 , 16:52   Re: [ZP] Extra Item : Strip Bomb
Reply With Quote #5

1-
Change this:
PHP Code:
    if(pev(entitypev_flTimeStepSound) == NADE_TYPE_STRIPBOMB)
        
stripbomb_explode(entity)
 
    return 
HAM_SUPERCEDE 
To this:
PHP Code:
    if(pev(entitypev_flTimeStepSound) == NADE_TYPE_STRIPBOMB)
    {
        
stripbomb_explode(entity)
        return 
HAM_SUPERCEDE
    
}
    return 
HAM_IGNORED 
Because this is a mistake which sniffer did in his plugin and if you wont fix it then you will experience problems with HE grenades
Read the following if you can understand it:
Basically returning Ham_supercede will cause hamsandwich to prevent other nades from exploding so we only want it to happen when we are exploding the strip bomb
And in the end of the function it is necessary to return Ham_ignored so that if the nade is of different type then hamsandwich will led it explode.
Hope you understand my concept..
2-
If Fry! sees this he will kill you
Bcoz you completely cheated his posting style...!!
3-
The idea of the plugin is cool
__________________

My Plugins For ZP

Inactive due to College and Studies

Last edited by abdul-rehman; 05-26-2010 at 16:54.
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Hezerf
BANNED
Join Date: Mar 2010
Old 05-26-2010 , 16:54   Re: [ZP] Extra Item : Strip Bomb
Reply With Quote #6

Thank you.Concept is simple.

Edit : Plugin updated,Frys credits added

Last edited by Hezerf; 05-26-2010 at 16:57.
Hezerf is offline
TriBall
BANNED
Join Date: Mar 2010
Location: Lithuania
Old 05-26-2010 , 18:14   Re: [ZP] Extra Item : Strip Bomb
Reply With Quote #7

pleas video..
TriBall is offline
Send a message via Skype™ to TriBall
Letsdoit
Senior Member
Join Date: Feb 2010
Old 05-26-2010 , 18:17   Re: [ZP] Extra Item : Strip Bomb
Reply With Quote #8

mmm, is the same way with the Infection Bomb, with this bomb you can strip the armor and must infect with knife :/, and you can strip the armor and infect with the Infection Bomb.

I don't know, is only a comment.
Letsdoit is offline
Send a message via MSN to Letsdoit
omgitsme
Veteran Member
Join Date: Mar 2010
Old 05-26-2010 , 23:17   Re: [ZP] Extra Item : Strip Bomb
Reply With Quote #9

Quote:
Plugin failed to compile! Please try contacting the author.Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/alliedmodders/forums/files/7/4/5/2/2/66498.attach(6) : fatal error 100: cannot read from file: "zombieplague"

Compilation aborted.
i want it. fix it please!
1 Error.
__________________
omgitsme is offline
Send a message via Skype™ to omgitsme
Shidla
Senior Member
Join Date: Nov 2008
Location: Russia, Moscow
Old 05-27-2010 , 01:05   Re: [ZP] Extra Item : Strip Bomb
Reply With Quote #10

Quote:
Originally Posted by omgitsme View Post
cannot read from file: "zombieplague"
Understand?


Thanks, it's a good idea! GJ
__________________
[Russian Federation] NOT USSR
This is madness?! This is Shidla!
[ZP] Laser Mine 2.8.2 ML (NEW !!2013!!) | [ZP] New Win Msg 1.4
| [ZP] MutaDote 1.1

Last edited by Shidla; 05-27-2010 at 01:08.
Shidla is offline
Send a message via ICQ to Shidla Send a message via Skype™ to Shidla
Reply



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 02:56.


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