Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Zombie Class : Ghost + Noclip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xvil
BANNED
Join Date: Feb 2012
Old 03-24-2012 , 04:19   [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #1

PHP Code:
/*================================================================================
    
    -----------------------------------
    -*- [ZP] Zombie Classes ghost -*-
    -----------------------------------
    
    ~~~~~~~~~~~~~~~
    - Description -
    ~~~~~~~~~~~~~~~
    
    This a Ghost Zombie Classe, He Can penetrate anything
    but one shot Will Be killed. He has bad speed, bad knockback But it's too Strong
    with NoClip.
    
================================================================================*/ 
Help Me to:
+ Add Model
+ Add Claw Model
And Thanks!


Zombie Class info:
Zombie Class Name: Ghost Zombie
Zombie Class Info: Can penetrate anything!
Zombie Class Model: zombie_source
Zombie Class Claw Model: v_knife_zombie.mdl
Zombie Class Health: 10
Zombie Class Speed: 100
Zombie Class knockback: 0.5
+ Noclip


ChangeLog:
PHP Code:
/*
V0.1
[Added] Ghost Zombie Class
V0.2
[Fixed] Give Noclip
[Fixed] Set off When is user humanized, Respawned ...
V0.3
[Changed] Set Ghost Glow (Fun.inc)
[Changed] Ghost Speed To 100
*/ 
Future:
PHP Code:
/*
V0.4
[Added] Emi Sound
*/ 
Note: Don't Click on Get Plugin
Attached Files
File Type: sma Get Plugin or Get Source (ZP_Ghost.sma - 4119 views - 2.1 KB)

Last edited by Xvil; 03-25-2012 at 03:53.
Xvil is offline
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 03-24-2012 , 06:41   Re: [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #2

Do not upload .amxx file
__________________
jc980 is offline
Xvil
BANNED
Join Date: Feb 2012
Old 03-24-2012 , 06:46   Re: [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #3

Quote:
Originally Posted by jc980 View Post
Do not upload .amxx file
ok

Last edited by Xvil; 03-24-2012 at 06:48.
Xvil is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 03-24-2012 , 06:58   Re: [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #4

When he turns into human he will still have abilities.
Set Death Message.
__________________
H.RED.ZONE is offline
Xvil
BANNED
Join Date: Feb 2012
Old 03-24-2012 , 07:17   Re: [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #5

Quote:
Originally Posted by H.RED.ZONE View Post
When he turns into human he will still have abilities.
Set Death Message.
Updated:
+Fixed Remove Noclip when the round is end or the zombie class is changed or the Player become human

Last edited by Xvil; 03-24-2012 at 07:28.
Xvil is offline
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 03-24-2012 , 07:49   Re: [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #6

get_user_team is useless .. ZP use it's own natives.
Just check if user is alive.

And I believe this plugin is already created even with button to enable it. And yeah human in your server will regret for playing your server cause this zombie will walk through the wall all the time.
I also suggest you to add damage, cooldown, duration, and also button if you can to improve your plugin.
Anyway, I also suggest you to use the default end round event. More effective.
That's all, Nice work. kBai~
__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.
JoKeR LauGh is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 03-24-2012 , 07:56   Re: [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #7

Quote:
Originally Posted by JoKeR LauGh View Post
get_user_team is useless .. ZP use it's own natives.
Just check if user is alive.
You mean zp_core_is_zombie (zombie) and !zp_core_is_zombie (human)

Quote:
Originally Posted by JoKeR LauGh View Post
And I believe this plugin is already created even with button to enable it.
For zp 5.0 no only extra item by snaker

Quote:
Originally Posted by JoKeR LauGh View Post
And yeah human in your server will regret for playing your server cause this zombie will walk through the wall all the time.
I also suggest you to add damage, cooldown, duration, and also button if you can to improve your plugin.
+1

Quote:
Originally Posted by JoKeR LauGh View Post
Anyway, I also suggest you to use the default end round event. More effective.
That's all, Nice work. kBai~
+1 Lower cpu you use client_PreThink thats bad when you can use nativs in zp...
__________________

Last edited by H.RED.ZONE; 03-24-2012 at 07:57.
H.RED.ZONE is offline
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 03-24-2012 , 08:00   Re: [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #8

Quote:
Originally Posted by H.RED.ZONE View Post
You mean zp_core_is_zombie (zombie) and !zp_core_is_zombie (human)
Yea, and I would suggest him to make an array to hold the ability.

Quote:
+1 Lower cpu you use client_PreThink...
He could use FM_CmdStart by fakemeta module.
PreThink will make server lag and high cpu usage because it will think every 0.1 second. That's not a good sign.

To Creator : Please make an array to hold for this ability.

EDIT : Default round event

PHP Code:

new g_max
new g_iHasAbility[33// this is an array

public plugin_init ( )
{
       
register_event "Round_End"2"1=Round_End" )

       
g_max get_maxplayers ( )
}

public 
Round_End ( )
{
       for ( new 
id=1id <= g_maxid++ )
       {
             if ( 
is_user_connected id ) && g_iHasAbility id ] )
             {
                     
g_iHasAbilityid ] = 0;
             }
       }

__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.

Last edited by JoKeR LauGh; 03-24-2012 at 08:05.
JoKeR LauGh is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 03-24-2012 , 08:18   Re: [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #9

Yep event is the best to use here.
But why are we talking this would be a killing zombie he can walk throw walls lol bad idea and no knockback... (:
__________________
H.RED.ZONE is offline
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 03-24-2012 , 10:34   Re: [ZP] Zombie Class : Ghost + Noclip
Reply With Quote #10

yeah, but it has slow speed so its balanced i think. especially with low health.
__________________
jc980 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 16:09.


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