View Single Post
warzarmz
Member
Join Date: Feb 2008
Old 06-02-2008 , 22:08   Re: Biohazard v1.92 (Zombie Mod)
Reply With Quote #1581

Quote:
Originally Posted by Jay-izi View Post
Ok i have finished bio_longjump.
When you are infected only first zombie will see HUD - x seconds before you have leap.
After x second the first zombie will be given leap and he will see HUD - You now have leap ( all like in Zombie Swarm ) Seconds can be edited .

Cvars:
bh_zombie_leap 0|1 - Turns on/off first zombie leap.
bh_zombie_leap_time "15.0" -Time before first zombie have leap after he will be infected (Default 15.0)

Credits:
TheRadiance - big help with plugin
kilos - Idea to add this plugin in biohazard and some code.
Me - add hud messages and cvars.

PS I am sorry but i cant do Virtual-Vybz's request because i am new in scripting. I will try later.
PPS I tested it and i didn't find any bugs.

Plugin Updated :
Removed fun module.
Is there anyway to alter the sma so that all zombies get leap? I tried to figure it out myself, but i'm clueless when it comes to scripts .

I just want one question answered.

In this part of the code:

Code:
if (is_user_alive(id) && is_user_firstzombie(id))
and this one:

Code:
if (is_user_firstzombie(id))
Could I simply turn it into this so all the zombies can get leap?:

Code:
 if (is_user_alive(id) && is_user_zombie(id))
Code:
 if (is_user_zombie(id))
or is it more complicated then that?
__________________

warzarmz is offline