AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [ZP] Zombie Class: Supplied Damage [v.1.1] (https://forums.alliedmods.net/showthread.php?t=142572)

DjReactive 11-07-2010 09:40

[ZP] Zombie Class: Supplied Damage [v.1.1]
 
2 Attachment(s)
Zombie Class: Supplied Damage

This Last Version: 1.1

Discription:
This zombie class has ability "supplied damage", at its activation of the zombie absorb all caused loss in health. Action of ability of 2.8 seconds and a cooldown of 20 seconds is standard

Cvars:
Quote:

zp_sup_aura 1 // Aura zombie in ability time < 0 | 1 >
zp_sup_health_max 0 // Not to exceed a maximum of lives < 0 - Not | 1 - Yes>
Credits:
Re.Act!ve - Created Plugin
Battle.Net - Thanks for sounds

Changelog:
Quote:

v. 1.0 - First Plugin Released
v. 1.1 - Fixed Bugs ability

FeAr.1337 11-07-2010 10:21

Re: [ZP] Zombie Class: Supplied Damage [v.1.1]
 
i dont uderstand whats he doing 0_o

5c0r-|3i0 11-07-2010 10:34

Re: [ZP] Zombie Class: Supplied Damage [v.1.1]
 
@Fear.1337: This zombie have some kind of "skill" , when you activate it . You regain HP = Damage dealt by attacker...
Sorry if I was wrong .

FeAr.1337 11-07-2010 11:07

Re: [ZP] Zombie Class: Supplied Damage [v.1.1]
 
ok tnx

ollegicch 11-07-2010 12:18

Re: [ZP] Zombie Class: Supplied Damage [v.1.1]
 
nice work men!)
Респект!)

Excalibur.007 11-07-2010 19:03

Re: [ZP] Zombie Class: Supplied Damage [v.1.1]
 
He took the code from Zombie Advanced Classes. Sad.

Slowhacking nub.

PHP Code:

client_cmd(player"bind F1 ^"ability2^""

F1? That's from Zombie Advanced Classes.
PHP Code:

ChatColor(player"!g[ZP] !yPress !gF1 !y to use ability. Cooldown !g%.f !ysec."sup_cdown

sound_ability_start/end?
You just renamed that from Zombie Advanced Classes.

And code sux anyway.
PHP Code:

1. new const zclass_name[ ] = "Проклятый"
new const zclass_info[ ] = "Поглащает Урон"

2. fm_set_user_health

3. fm_set_rendering 


5c0r-|3i0 11-08-2010 00:26

Re: [ZP] Zombie Class: Supplied Damage [v.1.1]
 
@Excalibur : Dont' be too hard on him , man :| . Chill.
@Djreactive: Good job , but need some optimizations..

Excalibur.007 11-08-2010 07:03

Re: [ZP] Zombie Class: Supplied Damage [v.1.1]
 
True, that I'm a "little" hard. But if its taken lightly he wouldn't learn. I want people who tries to learn improve :). Anyway, it's still quite original.

Bacau.AlphaCs.Ro 12-30-2012 12:59

Re: [ZP] Zombie Class: Supplied Damage [v.1.1]
 
1 error..

L 12/30/2012 - 18:30:05: [AMXX] Displaying debug trace (plugin "zp_zclass_supplied.amxx")
L 12/30/2012 - 18:30:05: [AMXX] Run time error 4: index out of bounds
L 12/30/2012 - 18:30:05: [AMXX] [0] zp_zclass_supplied.sma::zp_user_infected_post (line 70)

New and Clueless 05-04-2016 15:42

Re: [ZP] Zombie Class: Supplied Damage [v.1.1]
 
If you have this problem:

Code:

L 02/15/2016 - 13:18:25: [AMXX] Displaying debug trace (plugin "zp_zclass_zombie_supplied.amxx")
L 02/15/2016 - 13:18:25: [AMXX] Run time error 10: native error (native "zp_get_user_zombie_class")
L 02/15/2016 - 13:18:25: [AMXX]    [0] zp_zclass_zombie_supplied.sma::fw_TakeDamage (line 102)

Here is fix on alliedmodders allie website:

http://zppv.boards.net/post/8665/thread

Go down on the post to this text:

"For request 13, just use below code:"

That's the supplied zombies code with this problem fixed.


All times are GMT -4. The time now is 16:24.

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