[ZP] Class: Frost Zombie (Can freeze human. Block fire)
1 Attachment(s)
Frost Zombie This zombie class can freeze human by aiming the target And Block Fire(+attack1 & +attack2) Of The Human This Zombie Class Made By Excalibur.007 (Remake By me) USE: - Press "E" to Use Freeze Cvar: zp_frost_distance 400 - Distance To Freeze (Default: 400) zp_frost_cooldown 10.0 - Time Waiting to use the next time (Default: 10.0) zp_frost_freeze_time 5.0 - How Long To Freeze a human (Default: 5.0) ------------------ Important ------------------------------ To USE This class. You Must Use "[New Natives]Zombie Plague 4.3[v1.8]" -> http://forums.alliedmods.net/showthread.php?t=119431 THIS IS NOT A PLUGIN. THIS IS A EDITED ZOMBIE PLAGUE 4.3 WITH NEW NATIVES => If you didn't Use "[New Natives]Zombie Plague 4.3[v1.8]". You can't compile :). And can't use Frost Zombie ---------------------------------------------------------- I Tested This Class => Working ScreenShots: http://ca4.upanh.com/13.1007.18215232.zMM0/123.png I made a models for Frost And hands :D: http://ca6.upanh.com/13.1005.1821255.../untitled2.png http://ca3.upanh.com/13.1005.18212555.ln0/untitled.png What do you think :D DOWNLOAD: Frost_Zombie Player Models : http://www.mediafire.com/?e0frcdtlqvil26u Hand: N/A Last Update: 22/10/2010 Code:
- Fix bug "all zombie got frost" |
Re: [ZP] Class: Frost Zombie (Remake)
It's a bad idea that client_PreThink is used. Use FM_CmdStart. Like I said it's just an example of using the native.
EDIT: I see FM_CmdStart but, what I dont see anything related to my use_cmd. EDIT2: Use get_gametime instead of set_task for cooldown. EDIT3: Ok I see the point of FM_CmdStart. Use FM_CmdStart for IN_USE thingy dont use it on client_PreThink. |
Re: [ZP] Class: Frost Zombie (Remake)
What ?.
How to fix this :-ss ----------------------------- I Tested. It's Work very good |
Re: [ZP] Class: Frost Zombie (Remake)
Quote:
- when frost human, hook a float = get_gametime, then check if ( get_gametime - hooked float <cooldown) then.... |
Re: [ZP] Class: Frost Zombie (Remake)
Done.
PHP Code:
|
Re: [ZP] Class: Frost Zombie (Remake)
Oh Thanks :D
|
Re: [ZP] Class: Frost Zombie (Remake)
Seems you uploaded the new 1 :).
Anyway, let me tell you the previous code and the new code difference. Previous Code: - Checks every 0.1 sec for IN_USE pressed - Engine & FM(Bad(A lot CPU usage), only use 1 of them) - Uses set_task.(Many natives is used, e.g. is_user_connected, is_user_alive, e.t.c) New Code: - Checks ONLY when a button is pressed. - Only FM is used. - Only get_gametime() is used |
Re: [ZP] Class: Frost Zombie
Hey. 007: do you have yahoo id ?
I need your help to make some plugins for my sv |
Re: [ZP] Class: Frost Zombie
i cant compile it :D it isnt working
|
Re: [ZP] Class: Frost Zombie
I told you. Use new includes file and new natives zombie plague :|.
If Use Default ZombiePlague Includes and Old Natives => You can't Compile ----------------------------------------------------------- To USE This class. You Must Use "[New Natives]Zombie Plague 4.3[v1.8]" -> http://forums.alliedmods.net/showthread.php?t=119431 THIS IS NOT A PLUGIN. THIS IS A EDITED ZOMBIE PLAGUE 4.3 WITH NEW NATIVES ----------------------------------------------------------- |
| All times are GMT -4. The time now is 15:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.