Jump to content
  • 0

Special Options for PvP Consecutives


Question

Posted

Hii..

 

I was thinking of creating a system where the player has 5 pvps consecutive..

The player would win a gloss differential, not the brilliance of HERO, but some other effect such as vitality.

And if the player had x number of consecutive win another Pk brightness than HERO would rather have some other effect on lineage 2.

 

If anyone can give an idea of how to start.

Thnk

12 answers to this question

Recommended Posts

  • 0
Posted

Hii..

 

I was thinking of creating a system where the player has 5 pvps consecutive..

The player would win a gloss differential, not the brilliance of HERO, but some other effect such as vitality.

And if the player had x number of consecutive win another Pk brightness than HERO would rather have some other effect on lineage 2.

 

If anyone can give an idea of how to start.

Thnk

  • 0
Posted

This system is already shared :

 

- basic idea is the "quake system" thing shared over MxC,

- a most developed idea is from BigBoss shares. If he comes here, he will tell you better than me :P.

  • 0
Posted

This system is already shared :

 

- basic idea is the "quake system" thing shared over MxC,

- a most developed idea is from BigBoss shares. If he comes here, he will tell you better than me :P.

  • 0
Posted

	public void increasePvpKills(L2Character target)
{
	if (target instanceof L2PcInstance
			&& AntiFeedManager.getInstance().check(this, target))
	{
		// Add karma to attacker and increase its PK counter
		setPvpKills(getPvpKills() + 1);

		// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
		sendPacket(new UserInfo(this));
		sendPacket(new ExBrExtraUserInfo(this));

		float getPvpKills = getPvpKills();
		if((getPvpKills/5)%2==1||(getPvpKills/5)%2==0)
		{
			setHero(true);
		}
	}
}

find the differences in code :)

atm when char have 5, 10, 15,20, etc pvp points, he is getting hero, just replace it with whatever u want.

 

quake system is working with a little different way :)

  • 0
Posted

	public void increasePvpKills(L2Character target)
{
	if (target instanceof L2PcInstance
			&& AntiFeedManager.getInstance().check(this, target))
	{
		// Add karma to attacker and increase its PK counter
		setPvpKills(getPvpKills() + 1);

		// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
		sendPacket(new UserInfo(this));
		sendPacket(new ExBrExtraUserInfo(this));

		float getPvpKills = getPvpKills();
		if((getPvpKills/5)%2==1||(getPvpKills/5)%2==0)
		{
			setHero(true);
		}
	}
}

find the differences in code :)

atm when char have 5, 10, 15,20, etc pvp points, he is getting hero, just replace it with whatever u want.

 

quake system is working with a little different way :)

  • 0
Posted

Yes, I thought of something that way too, but it is a matter of getting take effect otherwise, without being that of hero.

just replace it :)

here you go example for paralize player :P

		target.setIsParalyzed(true);
		target.startParalyze();
		target.startAbnormalEffect(AbnormalEffect.HOLD_1);

just change that with whatever u like :)

  • 0
Posted

Yes, I thought of something that way too, but it is a matter of getting take effect otherwise, without being that of hero.

just replace it :)

here you go example for paralize player :P

		target.setIsParalyzed(true);
		target.startParalyze();
		target.startAbnormalEffect(AbnormalEffect.HOLD_1);

just change that with whatever u like :)

  • 0
Posted

If by "consecutive kills", you mean "5 kills in a row without die", then quake stuff is the basic system to use, if it's to each 5 pvps (which is strange, anyway...), check vampir's.

 

About effect, well, you're only stuck by imagination. You could make all people in a radius die, spawn a mob, launch a siege... Anything you want. Just check where you think such code exists, analyze, and copy it editing parts to fit with your desires.

 

The different "visual graphic" effects are shown on AbnormalEffect, more effects/emotes like levelup and such are socialAction from what I rem (haven't Eclipse up).

  • 0
Posted

If by "consecutive kills", you mean "5 kills in a row without die", then quake stuff is the basic system to use, if it's to each 5 pvps (which is strange, anyway...), check vampir's.

 

About effect, well, you're only stuck by imagination. You could make all people in a radius die, spawn a mob, launch a siege... Anything you want. Just check where you think such code exists, analyze, and copy it editing parts to fit with your desires.

 

The different "visual graphic" effects are shown on AbnormalEffect, more effects/emotes like levelup and such are socialAction from what I rem (haven't Eclipse up).

  • 0
Posted

Hii..

 

I was thinking of creating a system where the player has 5 pvps consecutive..

The player would win a gloss differential, not the brilliance of HERO, but some other effect such as vitality.

And if the player had x number of consecutive win another Pk brightness than HERO would rather have some other effect on lineage 2.

 

If anyone can give an idea of how to start.

Thnk

 

This sounds like call of duty.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...