Jump to content
  • 0

Footsteps effect


ReFresh

Question

9 answers to this question

Recommended Posts

  • 1
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

  • 0
  • Silver
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

  • 0

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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.