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

[ZP] Class : Ghost Zombie || Updated v1.3.1 [25/02/2009]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-10-2008 , 16:38   [ZP] Class : Ghost Zombie || Updated v1.3.1 [25/02/2009]
Reply With Quote #1

[ZP] Class : Ghost Zombie
( Another Zombie )

by Fry

Description :

This is another zombie class only this zombie will be invisible like ghost with Fall resist.
Zombie can be noticed by his white glow, of course You can change glow.

Cvars :
Quote:
  • zp_ghost_invisibility "5" - How invisible ghost will be, note that you can only set 0 (max invisible) - 255 ( max visible ).
  • zp_ghost_glow_red "150" - This is red color.
  • zp_ghost_glow_green "150" - This is green color.
  • zp_ghost_glow_blue "150" - This is blue color.

Credits
:

  • Random1 - for his small tutorial! (Thanks Random )

Changelog
:


Code:
10/11/2008 - v1.0 - First test
11/11/2008 - v1.1 - added zombie can't be visible if it will be frozen.
23/12/2008 - v1.2.2 - added 2 more cvars for red and green color, changed zombie stats was so weak, now ghost zombie will be fall resist.
24/02/2009 - v1.2.9 - removed none working function if you were frozen, added silent footsteps, added cvar for invisibility, corrected some spelling mistakes, fixed if this zombie class was Nemesis, fixed invisibility, optimized code.
25/02/2009 - v1.3.1 - removed useless call functions (connected, disconnected, died), optimized code by adding AddToFullPack since I've never called public ghost zombie.


Screenshot
:


[IMG]http://img100.**************/img100/2686/ghostzombiefixed.jpg[/IMG]

Find servers which are using this zombie class

Plugin is available to download
here!
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.

Last edited by Fry!; 02-25-2009 at 02:00. Reason: New fixed release, v1.3.1!!!
Fry! is offline
rzlqwerty
Member
Join Date: Nov 2008
Old 11-10-2008 , 19:25   Re: [ZP] Class : Ghost Zombie
Reply With Quote #2

english bad
////////
bug= become visible wich frost nade = bug
rzlqwerty is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-11-2008 , 00:08   Re: [ZP] Class : Ghost Zombie
Reply With Quote #3

Quote:
Originally Posted by rzlqwerty View Post
english bad
////////
bug= become visible wich frost nade = bug
Sorry actually in my case it's not a bug because I didn't included frost nade if zombie was hit by that. But I can do it.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
pro_on_0
Member
Join Date: Nov 2008
Old 11-11-2008 , 02:58   Re: [ZP] Class : Ghost Zombie
Reply With Quote #4

Thank you ....
pro_on_0 is offline
Old 11-11-2008, 16:24
Fry!
This message has been deleted by Fry!. Reason: Ok, it's not working.
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 11-11-2008 , 16:36   Re: [ZP] Class : Ghost Zombie
Reply With Quote #5

it won't work since ghost_zombie and frozen_zombie functions are never called. Why not use Addtofullpack method to avoid issues with frost nade? You should be able to take the one rage class I posted(link) and change the naming and render values to get what you want. Otherwise you could try to hook nade message and add a timer to reset the glow after "zp_frost_duration" seconds.
__________________
If at first you don't succeed, then skydiving isn't for you.
G-Dog is offline
Send a message via AIM to G-Dog
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-12-2008 , 02:45   Re: [ZP] Class : Ghost Zombie
Reply With Quote #6

Quote:
Originally Posted by G-Dog View Post
it won't work since ghost_zombie and frozen_zombie functions are never called. Why not use Addtofullpack method to avoid issues with frost nade? You should be able to take the one rage class I posted(link) and change the naming and render values to get what you want. Otherwise you could try to hook nade message and add a timer to reset the glow after "zp_frost_duration" seconds.
Thanks for tips!
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
Tidius
Senior Member
Join Date: Apr 2008
Location: Argentina, Buenos Aires
Old 12-03-2008 , 11:05   Re: [ZP] Class : Ghost Zombie
Reply With Quote #7

Can you make a cvar

zp_glowdelay 60 - second until glow is shown
zp_glowduration 3 - second until glow is gone.
Tidius is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 12-03-2008 , 11:15   Re: [ZP] Class : Ghost Zombie
Reply With Quote #8

probably...
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
Tidius
Senior Member
Join Date: Apr 2008
Location: Argentina, Buenos Aires
Old 12-04-2008 , 09:48   Re: [ZP] Class : Ghost Zombie
Reply With Quote #9

Oks,

How can i change the transparenci of the zombie ?
Tidius is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 12-04-2008 , 10:19   Re: [ZP] Class : Ghost Zombie
Reply With Quote #10

Quote:
Originally Posted by Tidius View Post
Oks,

How can i change the transparenci of the zombie ?
What?
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
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 18:14.


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