Raised This Month: $51 Target: $400
 12% 

[ZP] Class Energy Ball


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kiryu Zero
Senior Member
Join Date: Apr 2010
Location: Sankt-Peterburg, Russia
Old 07-01-2011 , 17:24   [ZP] Class Energy Ball
Reply With Quote #1

[ZP] Class Energy Zombie.


Author: Jim.




This class of the zombie does power balls, by means of pressing MOUSE2.

- Stops the person.
- Throws out the weapon.
- Infects \Kills.


Cvars:
zp_zclass_eb_shoottimes - 5
zp_zclass_eb_speed - 1500
zp_zclass_eb_damage - 60
zp_zclass_eb_cooldown - 5.0
zp_zclass_eb_exploderange - 300
zp_zclass_eb_effecttime - 5.0
zp_zclass_eb_surveffecttime - 2.0


Screenshots:


Attached Files
File Type: sma Get Plugin or Get Source (zp_zclass_energy_balll.sma - 7253 views - 44.8 KB)
File Type: txt zp_zclass_energy_ball.txt (1.1 KB, 2067 views)
File Type: zip models.zip (5.0 KB, 6040 views)
__________________

Last edited by Kiryu Zero; 07-01-2011 at 18:50.
Kiryu Zero is offline
Send a message via ICQ to Kiryu Zero Send a message via Skype™ to Kiryu Zero
k4y
BANNED
Join Date: Jun 2011
Location: Germany
Old 07-01-2011 , 17:43   Re: [ZP] Class Energy Ball
Reply With Quote #2

PHP Code:
#include <hamsandwich>
#include <xs>
#include <fun>
#include <cstrike>
#include <zombieplague>

#define PLUGIN_NAME    "[ZP] Class: Energy Ball"
#define PLUGIN_VERSION    "1.2"
#define PLUGIN_AUTHOR    "Jim"

#pragma tabsize 0 

// 以下7個可開關設定項目,若是不想要使用該項設定,可在最該項目前面加上 // 來取消這項設定.
#define SUPPORT_BOT_TO_USE        //支援BOT使用.(在最前面加上 // 即取消對BOT的技援)
//#define FIRST_ZOMBIE_CANT_USE        //當是第一隻喪屍時,則無法使用喪屍的特殊技能.(在最前面加上 // 即取消這項設定)
//#define HAVE_DYNAMIC_LIGHT_EFFECT    //當喪屍使用能量球聚集能量時,身上會出現光圈特效.(在最前面加上 // 即取消這項設定)
#define WHEN_HITED_DROP_WEAPON        //當人類被能量球擊中時,若是在很近的距離內被擊中時,則會掉落手上的槍.(原則上這是以時間判斷,在能量球發射後1.0秒內被擊中就算)
#define WHEN_HITED_CANT_SHOOT        //當人類被能量球擊中時,會造成短時間內無法開槍.(在受影響的時間範圍內)
#define WHEN_HITED_CANT_MOVE        //當人類被能量球擊中時,會造成短時間內無法移動.(在受影響的時間範圍內)
#define WHEN_DAMAGE_OVER_HEALTH_INFECT    //當人類被能量球擊中時,若是血量被扣光時,則會感染變成喪屍.(在最前面加上 // 即取消這項設定)
#define WHEN_DAMAGE_MAKE_FAIL        //當喪屍受到攻擊時,若在短時間內受到一定的傷害,就會造成能量球聚集失敗.
#define HITED_ZOMBIE_KNOCKBACK        //當喪屍若被能量球擊中時,也會被擊飛.(但不會受傷和受到影響)

#if defined WHEN_DAMAGE_MAKE_FAIL
#define SUPPORT_CZBOT
#define Damage_Check_Time_Range 2.0    //在多少時間內受到累積傷害達到一定數值,就會造成能量球聚集失敗.(單位:秒)
#define Get_Amount_Of_Damage 300.0    //在短時間內受到的傷害的累積數值是多少,就會造成能量球聚集失敗.
#endif

#define Hit_Attack2_Key_Time 3.0    //當玩家連續按住'滑鼠右鍵'多久時間才會開始聚集能量.(單位:秒)
#define Make_EnergyBall_Time 5.0    //當玩家開始聚集能量後,需要多久時間才會聚集完成一個能量球.(單位:秒)
#define EnergyBall_Deduct_Speed    5    //能量球在飛中若是碰到障礙物反彈時,會減低多少速度.
#define Short_Dist_Cant_Shoot 100    //當玩家視角前方距離若低於多少數值,則無法射出能量球.
const Float:Damage_Survivor_Multiplier 1.0    //對倖存者造成的傷害數值的乘數

#define Task_ID_1 param[0]+5333 
WTF??? And Upload the Models File
k4y is offline
Send a message via Skype™ to k4y
Kiryu Zero
Senior Member
Join Date: Apr 2010
Location: Sankt-Peterburg, Russia
Old 07-01-2011 , 17:54   Re: [ZP] Class Energy Ball
Reply With Quote #3

Forgive, I didn't begin to clean off a plug-in from not the necessary signs.
Models Upload .
__________________
Kiryu Zero is offline
Send a message via ICQ to Kiryu Zero Send a message via Skype™ to Kiryu Zero
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-01-2011 , 17:57   Re: [ZP] Class Energy Ball
Reply With Quote #4

Instead of so many defines you can add cvars..!
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Kiryu Zero
Senior Member
Join Date: Apr 2010
Location: Sankt-Peterburg, Russia
Old 07-01-2011 , 18:25   Re: [ZP] Class Energy Ball
Reply With Quote #5

Yes it is possible. Whether tell if that else it is necessary to correct \to add?
__________________
Kiryu Zero is offline
Send a message via ICQ to Kiryu Zero Send a message via Skype™ to Kiryu Zero
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 07-01-2011 , 18:39   Re: [ZP] Class Energy Ball
Reply With Quote #6

sounds nice
good job
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 07-01-2011 , 18:46   Re: [ZP] Class Energy Ball
Reply With Quote #7

Quote:
Originally Posted by Kiryu Zero View Post
Yes it is possible. Whether tell if that else it is necessary to correct \to add?
can you make it english i don't understand
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
Kiryu Zero
Senior Member
Join Date: Apr 2010
Location: Sankt-Peterburg, Russia
Old 07-01-2011 , 18:47   Re: [ZP] Class Energy Ball
Reply With Quote #8

What to correct and add to this plugin?

Thanks georgik57)
__________________
Kiryu Zero is offline
Send a message via ICQ to Kiryu Zero Send a message via Skype™ to Kiryu Zero
tei1995
Senior Member
Join Date: Feb 2011
Location: VietNam
Old 07-01-2011 , 21:53   Re: [ZP] Class Energy Ball
Reply With Quote #9

I saw it in your SV
nice zombie
__________________

Hatsune Miku~
tei1995 is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 07-01-2011 , 23:00   Re: [ZP] Class Energy Ball
Reply With Quote #10

Cool
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
Reply



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 07:03.


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