Raised This Month: $32 Target: $400
 8% 

Subplugin Submission [ZP5.0] Extra Item: Zombie Revenge


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 07-25-2014 , 18:38   [ZP5.0] Extra Item: Zombie Revenge
Reply With Quote #1

[ZP5.0] Zombie Revenge


-Description-

With this extra item when a human kill a zombie, the human who kills the zombie will be infected.

Default Team : Zombies
Default Price : 10 Ammo Packs

-Credits-

MeRcyLeZZ - For his awesome Zombie Plague mod.
capostrike93 - Original idea.
H.RED.ZONE - For suggestion and for his costume chat.

-Cvars-

-zp_zombierevenge_limit 3 // per round limit
-zp_glow_r_color 255 // red
-zp_glow_g_color 0 // green
-zp_glow_b_color 0 // blue

-Changelogs-

1.0 - First release.
1.1 - Added special chat costume and glow.
Attached Files
File Type: sma Get Plugin or Get Source (zp50_extra_zombierevenge.sma - 921 views - 4.2 KB)

Last edited by wicho; 07-25-2014 at 21:08.
wicho is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 07-25-2014 , 19:27   Re: [ZP5.0] Extra Item: Zombie Revenge
Reply With Quote #2

Well coded.

Suggestions:
I seen the way you cleared item on gamemode ended, but because you use round ended you don't need to check in gamemode

Example:
Code:
public event_round_start()
{
    for( new id = 1; id <= g_maxplayers; id++ ) 
    {
        g_Limit[id] = 0
    } 
    bitPlayerZombieRevenge = 0 
}
so you don't really need gamemode ended forward, in case that you didn't use limit then gamemode ended would be much more efficient.

And one more thing i would not use zp colorchat because it takes away lot of usage, use costume chat or look at my codes with costume chat (Gas mask).
After you did that look at how much bytes plugin will take.

Everything else is great, bitusage specially (:
__________________
H.RED.ZONE is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 07-25-2014 , 19:51   Re: [ZP5.0] Extra Item: Zombie Revenge
Reply With Quote #3

Thx for the suggestion i will change and i will check your chat too..

Edit: Updated 1.1 check logs..

Last edited by wicho; 07-25-2014 at 19:56.
wicho is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 07-25-2014 , 20:01   Re: [ZP5.0] Extra Item: Zombie Revenge
Reply With Quote #4

Nice. Maybe you could even set a rendering on a zombies so the humans think twice about killing him xD (I think that would be even more fun just my idea no need to add it if you don't like it). (:
__________________
H.RED.ZONE is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 07-25-2014 , 20:44   Re: [ZP5.0] Extra Item: Zombie Revenge
Reply With Quote #5

Good idea added..
wicho is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-26-2014 , 03:01   Re: [ZP5.0] Extra Item: Zombie Revenge
Reply With Quote #6

Thank you for sharing. There are already a plugin called "Sweet Revenge". When human killed a zombie that bought the extra item, they will immediately died.

However, your plugin is different.
zmd94 is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 07-27-2014 , 04:27   Re: [ZP5.0] Extra Item: Zombie Revenge
Reply With Quote #7

Wont it be cooler if u like added a timer and a little effects like constant screenfade and then 10 seconds later..... KAPISH ! ur a zombie ...
__________________
You will find everything u need :-
Catastrophe is offline
Lyklor
Junior Member
Join Date: Apr 2013
Location: Belgium
Old 05-12-2018 , 08:46   Re: [ZP5.0] Extra Item: Zombie Revenge
Reply With Quote #8

Doesn't work, why? ZP 5.0.8
Lyklor 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:31.


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