Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Sub Plugin: Zombie Mutation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-29-2010 , 21:08   [ZP] Sub Plugin: Zombie Mutation
Reply With Quote #1

This idea was brought to my attention by vaan123.

Idea: When a zombie is on critical HP (set by cvar), there's a 1 in 10 chance (set by cvar) of the zombie mutating to another zombie with more hp, kill on attack, and increase in speed.

It will take 10 seconds for the zombie to completely transform. The mutation can only occur to the last 3 zombies left in a round (set by cvar).

The zombie will change to a bigger zombie (models change too).

Cvars:
zp_criticalhealth - The most amount of health a zombie can have before having a chance to mutate.

zp_maxzombies - The most amount of zombies allowed alive before zombies have a chance to mutate.

zp_mutatechance - Chance of a zombie to mutate (1 in "x")


Installation:
Download the .sma file and compile locally. (Must have zombie_plague_advance include!)
Put the new .amxx file in your plugins folder
Add it to plugins-zplague.ini
Extract Zombie Mutate.zip to your cstrike folder.


If you have any ideas, suggestions, or ways to optimize, either post here or email me at [email protected]

Attached Files
File Type: zip Zombie Mutate.zip (1.11 MB, 2329 views)
File Type: sma Get Plugin or Get Source (zombiemutate.sma - 2667 views - 4.5 KB)

Last edited by nikhilgupta345; 09-14-2010 at 21:17.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 08-29-2010 , 22:42   Re: [ZP] Sub Plugin: Zombie Mutation
Reply With Quote #2

Hey, what about changing model when zombie mutate ? Is it possible ?
__________________
albert123 is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-29-2010 , 23:04   Re: [ZP] Sub Plugin: Zombie Mutation
Reply With Quote #3

It's supposed to change the model on mutate. It doesn't?

It should switch back and forth like 5 times before changing to give it a little effect of it mutating.

Uhh, cs_set_user_model never works

edit: updated code, try it now, be sure to include fakemeta :/

Last edited by nikhilgupta345; 08-29-2010 at 23:38.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
BigBo92
Member
Join Date: Aug 2010
Old 08-30-2010 , 01:50   Re: [ZP] Sub Plugin: Zombie Mutation
Reply With Quote #4

hey Can it work for all classes Zombie?
BigBo92 is offline
Send a message via Yahoo to BigBo92
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-30-2010 , 01:52   Re: [ZP] Sub Plugin: Zombie Mutation
Reply With Quote #5

Yes it does. If you are a zombie and you are the last "x" (set by cvar) number of zombies left alive, then you have a chance of mutating, no matter what class you are.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
BigBo92
Member
Join Date: Aug 2010
Old 08-30-2010 , 02:15   Re: [ZP] Sub Plugin: Zombie Mutation
Reply With Quote #6

hey Can you make classes Zombie press G to trap ??
BigBo92 is offline
Send a message via Yahoo to BigBo92
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-30-2010 , 02:16   Re: [ZP] Sub Plugin: Zombie Mutation
Reply With Quote #7

g to trap what?
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
BigBo92
Member
Join Date: Aug 2010
Old 08-30-2010 , 02:24   Re: [ZP] Sub Plugin: Zombie Mutation
Reply With Quote #8

like Big Zombie in CSO
BigBo92 is offline
Send a message via Yahoo to BigBo92
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 08-30-2010 , 03:02   Re: [ZP] Sub Plugin: Zombie Mutation
Reply With Quote #9

Oh..my ...GOD..! All of zombie class can transform to Alien @@..
@nikhal: Can i use your code in my project.. I will write your credit
__________________
albert123 is offline
vaan123
Veteran Member
Join Date: Sep 2009
Location: Kuwait
Old 08-30-2010 , 06:34   Re: [ZP] Sub Plugin: Zombie Mutation
Reply With Quote #10

is it ok to use a model other than the alien?
__________________

vaan123 is offline
Send a message via MSN to vaan123 Send a message via Yahoo to vaan123 Send a message via Skype™ to vaan123
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 15:49.


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