Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] ZCLASS: Ancient Mummy


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
biggaass
Junior Member
Join Date: Mar 2012
Location: Malaysia
Old 03-10-2012 , 03:57   [ZP] ZCLASS: Ancient Mummy
Reply With Quote #1

[ZP] ZCLASS: Ancient Mummy


[IMG]http://img403.**************/img403/1373/ss1yf.th.jpg[/IMG]
[IMG]http://img189.**************/img189/3761/ss2dq.th.jpg[/IMG]


:: Description ::
This is a mummy zombie which glows in yellow color and has nice yellow trail following it when it moves. Oh it has a super fast speed of 420 but super low hp which is 25.

:: Credits ::
qbc002 - I got the mummy model from his post. http://forums.alliedmods.net/showpos...&postcount=879

:: Change-log ::
- v1.0: First Version

*EDIT*
-Updated. Changed the arrangement of conditions. Put "is_user_alive(id)" to be the first condition.
Attached Files
File Type: zip mummy.zip (399.6 KB, 2615 views)
File Type: sma Get Plugin or Get Source (zp_zclass_mummy.sma - 3444 views - 2.2 KB)

Last edited by biggaass; 03-11-2012 at 22:22.
biggaass is offline
Old 03-10-2012, 08:46
JoKeR LauGh
This message has been deleted by JoKeR LauGh.
biggaass
Junior Member
Join Date: Mar 2012
Location: Malaysia
Old 03-11-2012 , 01:38   Re: [ZP] ZCLASS: Ancient Mummy
Reply With Quote #2

Quote:
Originally Posted by JoKeR LauGh View Post
PHP Code:
if (zp_get_user_zombie_class(id) == iZombieClass && trail[id] && !zp_get_user_nemesis(id) && zp_get_user_zombie(id) && is_user_alive(id)) 
==>

PHP Code:
if ( is_user_alive id ) || zp_get_user_zombie_class(id) == iZombieClass || trail[id] || !zp_get_user_nemesis(id) || zp_get_user_zombie(id) ) 
change all '&&' to '||'

anyway, nice work. I love the idea but yea with no ability it's useless to me . You just make this zombie class look fancy which girls love it.
What does || means anyway? LOL yeah I didnt add any ability because I hate zombies with abilities.. I used to have a lot of zombie class with abilities and it created so damn many bugs in my server.. Example sometimes the L4D Tank zombie class can ignore the ability cooldown and start spamming rock throw after the server running the plugin for about 1 hour+. And a lot more zombie classes with abilities have bugs.. I dont wanna list all of them

*EDIT*
I DO love fancy zombie as I dont care abt fps when playing zombie plague

Last edited by biggaass; 03-11-2012 at 01:41.
biggaass is offline
Old 03-11-2012, 01:58
JoKeR LauGh
This message has been deleted by JoKeR LauGh.
biggaass
Junior Member
Join Date: Mar 2012
Location: Malaysia
Old 03-11-2012 , 04:55   Re: [ZP] ZCLASS: Ancient Mummy
Reply With Quote #3

If Im not mistaken I think || is "or" while && is "and"... Im not sure..
biggaass is offline
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 03-11-2012 , 05:20   Re: [ZP] ZCLASS: Ancient Mummy
Reply With Quote #4

biggaass is correct.

Joker Laugh try asking more why its different.
__________________
jc980 is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 03-11-2012 , 07:29   Re: [ZP] ZCLASS: Ancient Mummy
Reply With Quote #5

Look here
__________________
H.RED.ZONE is offline
Old 03-11-2012, 09:51
JoKeR LauGh
This message has been deleted by JoKeR LauGh.
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 03-11-2012 , 10:04   Re: [ZP] ZCLASS: Ancient Mummy
Reply With Quote #6

Quote:
Originally Posted by biggaass View Post
If Im not mistaken I think || is "or" while && is "and"... Im not sure..
Quote:
Originally Posted by JoKeR LauGh View Post
sorry, you're right. My fault

&& is for 'and'
|| is for 'or'

just read it.
he already said it.
__________________
jc980 is offline
gogicaa
Veteran Member
Join Date: Aug 2011
Location: //
Old 03-11-2012 , 13:23   Re: [ZP] ZCLASS: Ancient Mummy
Reply With Quote #7

Cool
Works on ZP 5.0 ?
gogicaa is offline
biggaass
Junior Member
Join Date: Mar 2012
Location: Malaysia
Old 03-11-2012 , 22:19   Re: [ZP] ZCLASS: Ancient Mummy
Reply With Quote #8

Quote:
Originally Posted by gogicaa View Post
Cool
Works on ZP 5.0 ?
Yup it's working. With no bugs.
biggaass is offline
gogicaa
Veteran Member
Join Date: Aug 2011
Location: //
Old 03-12-2012 , 11:31   Re: [ZP] ZCLASS: Ancient Mummy
Reply With Quote #9

Quote:
Originally Posted by biggaass View Post
Yup it's working. With no bugs.
Great ! Then i will use it on my server .
Thanks
gogicaa is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 03-12-2012 , 11:48   Re: [ZP] ZCLASS: Ancient Mummy
Reply With Quote #10

Little mistake but still Great idea for Zombie class!!!

PHP Code:
public zp_user_infected_post idinfector )
{
    if (
zp_get_user_zombie_class(id) == iZombieClass)
    {
        
trail[id] = true
        iHasRendering
[id] = true
        set_user_rendering
(idkRenderFxGlowShell2552150kRenderNormal8);
    }

-->

PHP Code:
public zp_user_infected_post id )
{
    if (
zp_get_user_zombie_class(id) == iZombieClass)
    {
        
trail[id] = true
        iHasRendering
[id] = true
        set_user_rendering
(idkRenderFxGlowShell2552150kRenderNormal8);
    }

__________________
H.RED.ZONE 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 10:50.


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