Jump to content

Footsteps effect


Go to solution Solved by [007]DawisHU,

Recommended Posts

  • Active Member
4 hours ago, Gurgarath said:

Hello,

I forgot the exact name, but it is in "sound\common" and it's probably "walk_dirt_n.wav". Good idea you have there by the way!

Have a nice day

Good point, but sound effect is another thing. I didn't think about it, because almost no one have the sound effects turned on and it's really hard to identify, where the player is, just by hearing the sound effect, it's not the CS:GO. But sure, disable the sound effects wouldn't be bad idea too, but I was talking about the visual effect, which you can see, when someone is running. 

Edited by ReFresh

I'll be always helpful! 👊 

Link to comment
Share on other sites

 

InstanceBase.cpp

 

void CInstanceBase::Render()
{
	if (!__CanRender())
		return;

	++ms_dwRenderCounter;

	m_kHorse.Render();
	m_GraphicThingInstance.Render();	

    //Try this code to hide all effects even DustGap	<<<---------
	CPythonCharacterManager& rkChrMgr = CPythonCharacterManager::Instance();

	for (auto ptr = rkChrMgr.CharacterInstanceBegin(); ptr != rkChrMgr.CharacterInstanceEnd(); ++ptr)
	{
		CInstanceBase* pkInstEach = *ptr;

		if (pkInstEach)
		{
			if (pkInstEach->IsAffect(AFFECT_EUNHYEONG) || pkInstEach->IsAffect(AFFECT_INVISIBILITY))
			{
				if (CPythonPlayer::Instance().IsMainCharacterIndex(pkInstEach->GetVirtualID()))
					continue;

				pkInstEach->m_GraphicThingInstance.HideAllAttachingEffect();
			}
		}
	}

 

Link to comment
Share on other sites

  • Solution
Spoiler

Hi. 🙂
Possible..., try this.

UserInterFace/InstanceBase.cpp

Search this :
void CInstanceBase::MovementProcess()

In this void search this:

if (__IsInDustRange())

Upper add it:

if (IsAffect(AFFECT_EUNHYEONG) || IsAffect(AFFECT_INVISIBILITY))
            return;


I don't tested.
If work, ❤️ this 😄

 

  • Metin2 Dev 1

787292068_Nvtelen.png.6faa7b0bbb3398fd29

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 13

      Metin2 Closed Beta Content (2003-2004)

    2. 25

      [SRC] Metin2 on LINUX - The Old Metin2 Project

    3. 2

      United/Club/Midgard serverfiles?

    4. 13

      Metin2 Closed Beta Content (2003-2004)

    5. 13

      Metin2 Closed Beta Content (2003-2004)

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.