AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Sub Plugin: Zombie Mutation (https://forums.alliedmods.net/showthread.php?t=136777)

nikhilgupta345 08-29-2010 21:08

[ZP] Sub Plugin: Zombie Mutation
 
2 Attachment(s)
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]


albert123 08-29-2010 22:42

Re: [ZP] Sub Plugin: Zombie Mutation
 
Hey, what about changing model when zombie mutate :D ? Is it possible ?

nikhilgupta345 08-29-2010 23:04

Re: [ZP] Sub Plugin: Zombie Mutation
 
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 :/

BigBo92 08-30-2010 01:50

Re: [ZP] Sub Plugin: Zombie Mutation
 
hey Can it work for all classes Zombie?

nikhilgupta345 08-30-2010 01:52

Re: [ZP] Sub Plugin: Zombie Mutation
 
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.

BigBo92 08-30-2010 02:15

Re: [ZP] Sub Plugin: Zombie Mutation
 
hey Can you make classes Zombie press G to trap ??

nikhilgupta345 08-30-2010 02:16

Re: [ZP] Sub Plugin: Zombie Mutation
 
g to trap what?

BigBo92 08-30-2010 02:24

Re: [ZP] Sub Plugin: Zombie Mutation
 
like Big Zombie in CSO

albert123 08-30-2010 03:02

Re: [ZP] Sub Plugin: Zombie Mutation
 
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 :D

vaan123 08-30-2010 06:34

Re: [ZP] Sub Plugin: Zombie Mutation
 
is it ok to use a model other than the alien?


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

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