AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [ZP] Class : Ghost Zombie || Updated v1.3.1 [25/02/2009] (https://forums.alliedmods.net/showthread.php?t=80358)

Fry! 11-10-2008 16:38

[ZP] Class : Ghost Zombie || Updated v1.3.1 [25/02/2009]
 
[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!

rzlqwerty 11-10-2008 19:25

Re: [ZP] Class : Ghost Zombie
 
english bad
////////
bug= become visible wich frost nade = bug :grrr:

Fry! 11-11-2008 00:08

Re: [ZP] Class : Ghost Zombie
 
Quote:

Originally Posted by rzlqwerty (Post 712576)
english bad
////////
bug= become visible wich frost nade = bug :grrr:

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.

pro_on_0 11-11-2008 02:58

Re: [ZP] Class : Ghost Zombie
 
Thank you ....

G-Dog 11-11-2008 16:36

Re: [ZP] Class : Ghost Zombie
 
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.

Fry! 11-12-2008 02:45

Re: [ZP] Class : Ghost Zombie
 
Quote:

Originally Posted by G-Dog (Post 712920)
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! :)

Tidius 12-03-2008 11:05

Re: [ZP] Class : Ghost Zombie
 
Can you make a cvar

zp_glowdelay 60 - second until glow is shown
zp_glowduration 3 - second until glow is gone.

Fry! 12-03-2008 11:15

Re: [ZP] Class : Ghost Zombie
 
probably...

Tidius 12-04-2008 09:48

Re: [ZP] Class : Ghost Zombie
 
Oks,

How can i change the transparenci of the zombie ?

Fry! 12-04-2008 10:19

Re: [ZP] Class : Ghost Zombie
 
Quote:

Originally Posted by Tidius (Post 722494)
Oks,

How can i change the transparenci of the zombie ?

What?


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

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