Jump to content

Recommended Posts

https://metin2.download/picture/SV8Fy1VdA2DzE9QY6aYOJ1u45rs2F69M/.jpg

When the "show all names" is ON, I want to display all the names, except shops, but when hovering the mouse to show up the name.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
Link to comment
https://metin2.dev/topic/22449-how-can-i-hide-a-specific-mobs-name/
Share on other sites

Maybe like that:

 

File: PythonTextTail.cpp

 

Find:

At : CPythonTextTail::ShowCharacterTextTail

Search for:
	if (pInstance->IsGuildWall())
		return;

Add bellow:
	if (pInstance->GetRace() == 30000)
		return;

 

Not tested.

 

  • Love 1
16 hours ago, HITRON said:

Maybe like that:

 

File: PythonTextTail.cpp

 

Find:


At : CPythonTextTail::ShowCharacterTextTail

Search for:
	if (pInstance->IsGuildWall())
		return;

Add bellow:
	if (pInstance->GetRace() == 30000)
		return;

 

Not tested.

 

If I do this it won't appear even with my mouse over.

I figured it out.

In PythonTextTail.cpp in void CPythonTextTail::ShowAllTextTail() replace 

if (pTextTail->fDistanceFromPlayer < 3500.0f)

with 

if (pTextTail->fDistanceFromPlayer < 3500.0f && CPythonCharacterManager::Instance().GetInstancePtr(pTextTail->dwVirtualID)->GetRace() != 30000)

 

 

  • Love 1
7 hours ago, Metin2Place said:

If I do this it won't appear even with my mouse over.

I figured it out.

In PythonTextTail.cpp in void CPythonTextTail::ShowAllTextTail() replace 

if (pTextTail->fDistanceFromPlayer < 3500.0f)

with 

if (pTextTail->fDistanceFromPlayer < 3500.0f && CPythonCharacterManager::Instance().GetInstancePtr(pTextTail->dwVirtualID)->GetRace() != 30000)

 

 

I didn't notice the part with the mouse, but now that you figured it out, good. You may can close now your topic.

  • Love 1

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.