[Tutorial] Super Zombie XP Drop (Allright)

Results 1 to 8 of 8
  1. #1
    Account Upgraded | Title Enabled! Cryptopia is offline
    MemberRank
    Oct 2013 Join Date
    HelveteLocation
    289Posts

    [Tutorial] Super Zombie XP Drop (Allright)

    Well i just wanted to help ...

    Please close this thread
    Last edited by Cryptopia; 16-02-14 at 10:24 PM.


  2. #2
    Alpha Member javaz97 is offline
    MemberRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: [Tutorial] Super Zombie XP Drop (Allright)

    File: sobj_Zombie.cpp

    Code:
    	if (!isSpecialbool)
    	{
    		if(bodyPart!=1) // only hitting head will lower zombie's health
    			dmg = 0;
    	}
    
    
    	// super zombie
    	if(HeroItemID == 20204 && bodyPart != 1) // only hitting head will lower zombie's health
    		dmg = 0;
    
    	if(HeroItemID == 20204)
    	{
    		SZombieHealth -= dmg;
    	}
    	else
    	{
    		ZombieHealth -= dmg;
    	}
    
    	if(HeroItemID == 20204)
    	{
    		if(SZombieHealth <= 0.0f)
    		{
    			DoDeath();
    			if(fromObj->Class->Name == "obj_ServerPlayer")
    			{
    				obj_ServerPlayer* plr = (obj_ServerPlayer*)fromObj;
    				gServerLogic.AddPlayerReward(plr, RWD_SZombieKill, 20204);
    			}
    			return true;
    		}
    	}
    	else
    	{
    		if(ZombieHealth <= 0.0f)
    		{
    			DoDeath();
    			if(fromObj->Class->Name == "obj_ServerPlayer")
    			{
    				obj_ServerPlayer* plr = (obj_ServerPlayer*)fromObj;
    				gServerLogic.AddPlayerReward(plr, RWD_ZombieKill, 0);
    			}
    			return true;
    		}
    	}
    
    	// stagger code

  3. #3
    Account Upgraded | Title Enabled! Poster13 is offline
    MemberRank
    Jun 2013 Join Date
    395Posts

    Re: [Tutorial] Super Zombie XP Drop (Allright)

    Lol you rewrite my tutorial?

  4. #4
    f793 eXtremousZ is offline
    MemberRank
    May 2013 Join Date
    Planet ShearLocation
    857Posts

    Re: [Tutorial] Super Zombie XP Drop (Allright)

    Really funny @Cryptopia but Poster13 has posted the same tutorial already: http://forum.ragezone.com/f791/tutor...p-drop-965499/

    Please search next time before making a tutorial. This would make whole community happy, at least credit the original creator.

  5. #5
    Ass(et) Man The Owl is offline
    MemberRank
    Oct 2013 Join Date
    377Posts

    Re: [Tutorial] Super Zombie XP Drop (Allright)

    Quote Originally Posted by Poster13 View Post
    Lol you rewrite my tutorial?
    Pretty much except he "ported" it to Allright source aha

  6. #6
    Account Upgraded | Title Enabled! Cryptopia is offline
    MemberRank
    Oct 2013 Join Date
    HelveteLocation
    289Posts

    Re: [Tutorial] Super Zombie XP Drop (Allright)

    Quote Originally Posted by eXtremousZ View Post
    Really funny @Cryptopia but Poster13 has posted the same tutorial already: http://forum.ragezone.com/f791/tutor...p-drop-965499/

    Please search next time before making a tutorial. This would make whole community happy, at least credit the original creator.
    This tutorial was (Only InvasionMMO Source).
    Well just close this when everybody is bitching now. ;)

    I just wanted to help

    - - - Updated - - -

    Quote Originally Posted by TheAlmightyLord View Post
    Pretty much except he "ported" it to Allright source aha
    no next time read the full thread -.-

    This is the edited part from me! :

    // super zombie
    if(HeroItemID == 20204 && bodyPart != 1) // only hitting head will lower zombie's health
    dmg = 0;

    if(HeroItemID == 20204)
    {
    SZombieHealth -= dmg;
    }
    else
    {
    ZombieHealth -= dmg;
    }

    if(HeroItemID == 20204)
    {
    if(SZombieHealth <= 0.0f)
    {
    DoDeath();
    if(fromObj->Class->Name == "obj_ServerPlayer")
    {
    obj_ServerPlayer* plr = (obj_ServerPlayer*)fromObj;
    gServerLogic.AddPlayerReward(plr, RWD_SZombieKill, 20204);
    }
    return true;
    }
    }
    else
    {
    if(ZombieHealth <= 0.0f)
    {
    DoDeath();
    if(fromObj->Class->Name == "obj_ServerPlayer")
    {
    obj_ServerPlayer* plr = (obj_ServerPlayer*)fromObj;
    gServerLogic.AddPlayerReward(plr, RWD_ZombieKill, 0);
    }
    return true;
    }
    }


    It was not working on allright with the original tutorial

  7. #7
    Member fredaikis is offline
    MemberRank
    Nov 2013 Join Date
    65Posts

    Re: [Tutorial] Super Zombie XP Drop (Allright)

    Wtf are you guys crazy?, he readapted about 50% of the tut for ingaysionmmo too allright and you just flame coz you wanna be the little star?. Please stfu and let people help.
    This is a forum and people like you piss me off so bad. This poor guy only wants to help.

  8. #8
    Account Upgraded | Title Enabled! Cryptopia is offline
    MemberRank
    Oct 2013 Join Date
    HelveteLocation
    289Posts

    Re: [Tutorial] Super Zombie XP Drop (Allright)

    Wtf are you guys crazy?, he readapted about 50% of the tut for ingaysionmmo too allright and you just flame coz you wanna be the little star?. Please stfu and let people help.
    This is a forum and people like you piss me off so bad. This poor guy only wants to help.
    true.



Advertisement