Raised This Month: $32 Target: $400
 8% 

[ZP] Addons: Zombie Healing Skill ( version 1.0)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tei1995
Senior Member
Join Date: Feb 2011
Location: VietNam
Old 06-16-2011 , 23:36   [ZP] Addons: Zombie Healing Skill ( version 1.0)
Reply With Quote #1

I take this idea from wheN I'm playing Zombe Mod 3 in CSO NST, if you stand in 5 second, you will regen with 200 hp
so have fun with it, this is some cvar in plugin.
PHP Code:
zp_zombie_heal_enable 1 // plugin toogle, 1 is enable, 2 is disable
zp_zombie_time 5 // the time you must to wait for  regen
zp_zombie_heal_amount 200 // amount of heal  when regen 
p/s: Sorry, My Eng is veryvery bad...
Attached Files
File Type: sma Get Plugin or Get Source (healing_skill.sma - 2877 views - 2.1 KB)
__________________

Hatsune Miku~

Last edited by tei1995; 06-17-2011 at 05:43.
tei1995 is offline
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 06-17-2011 , 00:19   Re: [ZP] Addons: Zombie Healing Skill ( version 1.0)
Reply With Quote #2

Please upload the sounds.
Excalibur.007 is offline
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 06-17-2011 , 02:50   Re: [ZP] Addons: Zombie Healing Skill ( version 1.0)
Reply With Quote #3

1)
PHP Code:
if ( health 200 zp_get_zombie_maxhealth(id) ) 
to
PHP Code:
if ( health get_pcvar_float(cvar_amount) < zp_get_zombie_maxhealth(id) ) 
2) Add cool sounds !
5c0r-|3i0 is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 06-17-2011 , 03:16   Re: [ZP] Addons: Zombie Healing Skill ( version 1.0)
Reply With Quote #4

PHP Code:
    if (!get_cvar_num("zp_on"))
        return 
FMRES_IGNORED
    
if ( zp_get_user_nemesis(id) || zp_get_user_survivor(id))
        return 
FMRES_IGNORED
    
if (!zp_get_user_zombie(id))
        return 
FMRES_IGNORED
    
if (!is_user_alive(id))
        return 
FMRES_IGNORED
    
if (!get_pcvar_num(cvar_active))
        return 
FMRES_IGNORED 
=>
PHP Code:
    if(!get_cvar_num("zp_on") || !get_pcvar_num(cvar_active))
        return 
FMRES_IGNORED
    
if(!is_user_alive(id))
        return 
FMRES_IGNORED
    
if(!zp_get_user_zombie(id) || zp_get_user_nemesis(id) || zp_get_user_survivor(id))
        return 
FMRES_IGNORED 

Last edited by dias; 06-17-2011 at 03:27.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
tei1995
Senior Member
Join Date: Feb 2011
Location: VietNam
Old 06-17-2011 , 03:19   Re: [ZP] Addons: Zombie Healing Skill ( version 1.0)
Reply With Quote #5

Thanks my bro,i forget, i wil add.
__________________

Hatsune Miku~

Last edited by tei1995; 06-17-2011 at 03:21. Reason: Db post
tei1995 is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 06-17-2011 , 03:24   Re: [ZP] Addons: Zombie Healing Skill ( version 1.0)
Reply With Quote #6

Here is CSO sound

Download and extract it. Copy the file zombie_heal.wav to "sound/zombie_plague"

Done...
Attached Files
File Type: zip zombi_heal.zip (27.4 KB, 579 views)

Last edited by dias; 06-17-2011 at 03:31.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
tei1995
Senior Member
Join Date: Feb 2011
Location: VietNam
Old 06-17-2011 , 06:27   Re: [ZP] Addons: Zombie Healing Skill ( version 1.0)
Reply With Quote #7

thanks dias
__________________

Hatsune Miku~
tei1995 is offline
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 06-17-2011 , 08:59   Re: [ZP] Addons: Zombie Healing Skill ( version 1.0)
Reply With Quote #8

If you like more effect, should add fade screen effect when healing.
__________________
albert123 is offline
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-17-2011 , 09:18   Re: [ZP] Addons: Zombie Healing Skill ( version 1.0)
Reply With Quote #9

tei1995 why dont make when he regen his health it show sprit up him like CSO ?
PHP Code:
    if (!can_heal[id])
    {
        
can_heal[id] = true
        user_time
[id] = get_gametime()
               
        
message_begin(MSG_BROADCAST,SVC_TEMPENTITY); 
        
write_byte(TE_EXPLOSION); // TE_EXPLOSION
        
write_coord(floatround(Origin[x])); // origin x
        
write_coord(floatround(Origin[y])); // origin y
        
write_coord(floatround(Origin[z])); // origin z
        
write_short(YOUR SPRITE); // sprites
        
write_byte(15); // scale in 0.1's
        
write_byte(12); // framerate
        
write_byte(14); // flags 
        
message_end(); // message end 
like that ?????? i hop you add it
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 06-17-2011 , 09:19   Re: [ZP] Addons: Zombie Healing Skill ( version 1.0)
Reply With Quote #10

damn, i was gonna do this. too lazy. lolz
__________________
jc980 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:12.


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