CS2D
Scripts Explosive Zombies Explosive Zombies
5 replies Hello .
I want something like the script of that tread:
http://www.unrealsoftware.de/forum_posts.php?post=324162&start=0
But i want the script working only for Terrorists , and the explosion happens only when the zombie HP reaches 0%, and with a small chance (Maybe 1%)
Only with 0% HP(Just after dying)
Terrorists (Zombies) only
1% chance of Explosion or even less(0.3% if possible?)*
No Teleporting
Can you guys help me please ?
Can you guys help me please?
*Basically that's the only thing that i don't know how to script Kinda useless if every 100th Zombie is gonna Explode. You also could remove that option then. Well, it isn't exactly after every 100th zombie, and also, survivors kill generally 300 zombies per round with my server scripts... Should work:
http://pastebin.com/W5Gz338V
* A chance 1:100 that the killed zombie explode
* Random explosion range
* Random damage
all of these are editable by just editing numbers inside math.random() I tried with math.random but i didn't know why it didn't work properly.
Thanks a lot man ! Feel free to ask me for any help