AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Extra Item : Strip Bomb (https://forums.alliedmods.net/showthread.php?t=127933)

Hezerf 05-26-2010 15:53

[ZP] Extra Item : Strip Bomb
 
2 Attachment(s)
[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.

Oneshox 05-26-2010 15:56

Re: [ZP] Extra Item : Strip Bomb
 
Thank you :D

This will help some peoples.. you tested it?

artos 05-26-2010 16:03

Re: [ZP] Extra Item : Strip Bomb
 
It's not idiotic plugin! It's realy usefull plugin for zombies! Finally!

Thanks^^

Hezerf 05-26-2010 16:08

Re: [ZP] Extra Item : Strip Bomb
 
I didn't test it,but it should work.Report any bugs.

Edit : Anyone test it ?

abdul-rehman 05-26-2010 16:52

Re: [ZP] Extra Item : Strip Bomb
 
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..:up:
2-
If Fry! sees this he will kill you :rtfm:
Bcoz you completely cheated his posting style...!!
3-
The idea of the plugin is cool

Hezerf 05-26-2010 16:54

Re: [ZP] Extra Item : Strip Bomb
 
Thank you.Concept is simple.

Edit : Plugin updated,Frys credits added :mrgreen:

TriBall 05-26-2010 18:14

Re: [ZP] Extra Item : Strip Bomb
 
pleas video.. :)

Letsdoit 05-26-2010 18:17

Re: [ZP] Extra Item : Strip Bomb
 
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.

omgitsme 05-26-2010 23:17

Re: [ZP] Extra Item : Strip Bomb
 
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! :D
1 Error.

Shidla 05-27-2010 01:05

Re: [ZP] Extra Item : Strip Bomb
 
Quote:

Originally Posted by omgitsme (Post 1192276)
cannot read from file: "zombieplague"

Understand? :crab:


Thanks, it's a good idea! GJ


All times are GMT -4. The time now is 14:48.

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