Jump to content
  • 0

Disable Hero voice


Question

4 answers to this question

Recommended Posts

  • 0
Posted

k thx but this is the only solution ?

 

why dont you search your packs core b4 you post ?

 

chathandlers/ChatHeroVoice.java

 

  • 0
Posted

Old Code

 

if (canSpeak)
	{
		CreatureSay cs = new CreatureSay(activeChar.getObjectId(), chatType, activeChar.getName(), text);
		for (L2PcInstance player : L2World.getInstance().getAllPlayers())
			player.sendPacket(cs);
	}

 

New Code

 

if (canSpeak && Config.ALLOW_HERO_VOICE)
	{
		CreatureSay cs = new CreatureSay(activeChar.getObjectId(), chatType, activeChar.getName(), text);
		for (L2PcInstance player : L2World.getInstance().getAllPlayers())
			player.sendPacket(cs);

 

--------------------------------------------------------------------

Config.Java

--------------------------------------------------------------------

Add This

public static boolean     L2JMOD_ENABLE_MANA_POTIONS_SUPPORT;
+ public static boolean     ALLOW_HERO_VOICE;

 

And This

L2JMOD_ENABLE_MANA_POTIONS_SUPPORT = Boolean.parseBoolean(L2JModSettings.getProperty("EnableManaPotionSupport", "false"));
+ ALLOW_HERO_VOICE = Boolean.parseBoolean(L2JModSettings.getProperty("AllowHV", "false"));

 

Last Step Go Datapack and put in l2jmods.properties

AllowHv=False

 

Cyao Amigo!

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