AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] ZCLASS: Ancient Mummy (https://forums.alliedmods.net/showthread.php?t=180051)

biggaass 03-10-2012 03:57

[ZP] ZCLASS: Ancient Mummy
 
2 Attachment(s)
[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. :twisted:

:: 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. :3

biggaass 03-11-2012 01:38

Re: [ZP] ZCLASS: Ancient Mummy
 
Quote:

Originally Posted by JoKeR LauGh (Post 1665995)
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 :x

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

biggaass 03-11-2012 04:55

Re: [ZP] ZCLASS: Ancient Mummy
 
If Im not mistaken I think || is "or" while && is "and"... Im not sure..

jc980 03-11-2012 05:20

Re: [ZP] ZCLASS: Ancient Mummy
 
biggaass is correct.

Joker Laugh try asking more why its different.

H.RED.ZONE 03-11-2012 07:29

Re: [ZP] ZCLASS: Ancient Mummy
 
Look here

jc980 03-11-2012 10:04

Re: [ZP] ZCLASS: Ancient Mummy
 
Quote:

Originally Posted by biggaass (Post 1666510)
If Im not mistaken I think || is "or" while && is "and"... Im not sure..

Quote:

Originally Posted by JoKeR LauGh (Post 1666673)
sorry, you're right. My fault

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

just read it.

he already said it.

gogicaa 03-11-2012 13:23

Re: [ZP] ZCLASS: Ancient Mummy
 
Cool :D
Works on ZP 5.0 ?

biggaass 03-11-2012 22:19

Re: [ZP] ZCLASS: Ancient Mummy
 
Quote:

Originally Posted by gogicaa (Post 1666831)
Cool :D
Works on ZP 5.0 ?

Yup it's working. With no bugs. :wink:

gogicaa 03-12-2012 11:31

Re: [ZP] ZCLASS: Ancient Mummy
 
Quote:

Originally Posted by biggaass (Post 1667179)
Yup it's working. With no bugs. :wink:

Great ! Then i will use it on my server .
Thanks :)

H.RED.ZONE 03-12-2012 11:48

Re: [ZP] ZCLASS: Ancient Mummy
 
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);
    }




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

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