AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [ZP] Extra Item: Dynamite Zombie (https://forums.alliedmods.net/showthread.php?t=146196)

Zombie-rus 12-25-2010 07:09

[ZP] Extra Item: Dynamite Zombie
 
1 Attachment(s)
[ZP] Extra Item: Dynamite Zombie

(for Zombies Only)


Description:
Add new extra item for zombies - dynamite. When you die, you explode. :)
(Idea from Boomer Zombie)

Video (YouTube): Click

Credits:
tii - made Boomer Zombie
pacman - made video
Zombie-rus - made plugin

Changelog:
Code:

v0.1: Public Release

abdul-rehman 12-25-2010 08:34

Re: [ZP] Extra Item: Dynamite Zombie
 
PLz change the cvar names coz they dont suite your plugin's name

georgik57 12-25-2010 08:47

Re: [ZP] Extra Item: Dynamite Zombie
 
yeap
other than that
nice idea to make this as a extra item
good job

Zombie-rus 12-25-2010 08:54

Re: [ZP] Extra Item: Dynamite Zombie
 
Quote:

Originally Posted by georgik57 (Post 1378656)
yeap
other than that
nice idea to make this as a extra item
good job

Thank you! :)

JoinCS 12-25-2010 09:10

Re: [ZP] Extra Item: Dynamite Zombie
 
Works fine. Thanks :)

Vechta 12-25-2010 09:25

Re: [ZP] Extra Item: Dynamite Zombie
 
The code has alot of things that doesn't needed, maybe you can fix it?

Zombie-rus 12-25-2010 09:32

Re: [ZP] Extra Item: Dynamite Zombie
 
Quote:

The code has alot of things that doesn't needed, maybe you can fix it?
I'm lazy =(

NiHiLaNTh 12-25-2010 10:41

Re: [ZP] Extra Item: Dynamite Zombie
 
[ru]
Скинь мне тот скайбокс, который у тебя на видео, пожалуйста))

lucas_7_94 12-25-2010 12:51

Re: [ZP] Extra Item: Dynamite Zombie
 
Code:
for (new i = 1; i < 32; i++)                 {                     if (is_user_alive(i) == 1)                     {                         get_user_origin(i, PlayerPos)                         Distance = get_distance(PlayerPos, origin2)                         if (Distance <= Damage_Radius) {                                                         message_begin(MSG_ONE, get_user_msgid("ScreenShake"), {0,0,0}, i)                             write_short(1<<14)                             write_short(1<<14)                             write_short(1<<14)                             message_end()                             Damage = Max_Damage - floatround(floatmul(float(Max_Damage), floatdiv(float(Distance), float(Damage_Radius))))                             do_victim(i, victim, Damage, 0)                         }                     }                 }

You was cached the g_maxplayers , why you doesn't use it ? , its more efficient.

tERoR 12-26-2010 04:36

Re: [ZP] Extra Item: Dynamite Zombie
 
Zombie-rus, i help you fix this plugin =)


All times are GMT -4. The time now is 14:59.

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