Active Member ReFresh 2339 Posted October 12, 2022 Active Member Share Posted October 12, 2022 Hey guys, can someone tell me where I can find the effect of footsteps in client source? I need to hide them when ninja is in camouflage. Thanks for possible answers! Sincerely, ReFresh I'll be always helpful! Link to comment Share on other sites More sharing options...
Forum Moderator Gurgarath 2511 Posted October 12, 2022 Forum Moderator Share Posted October 12, 2022 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 1 Gurgarath coming soon Link to comment Share on other sites More sharing options...
Active Member ReFresh 2339 Posted October 12, 2022 Author Active Member Share Posted October 12, 2022 (edited) 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 October 12, 2022 by ReFresh I'll be always helpful! Link to comment Share on other sites More sharing options...
Artvr3 19 Posted October 12, 2022 Share Posted October 12, 2022 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 More sharing options...
Active Member ReFresh 2339 Posted October 12, 2022 Author Active Member Share Posted October 12, 2022 @Artvr3No, it won't work. I'm already using this function to hide armor and weapon effects, it won't hide footsteps (DustGap). I'll be always helpful! Link to comment Share on other sites More sharing options...
Solution [007]DawisHU 278 Posted October 12, 2022 Solution Share Posted October 12, 2022 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 1 Link to comment Share on other sites More sharing options...
Active Member ReFresh 2339 Posted October 12, 2022 Author Active Member Share Posted October 12, 2022 (edited) @[007]DawisHUIt seems to be correct solution. I will give reaction to your post, if it will work. Edited October 12, 2022 by ReFresh 1 I'll be always helpful! Link to comment Share on other sites More sharing options...
[007]DawisHU 278 Posted October 12, 2022 Share Posted October 12, 2022 (edited) Huh!? I tested it, and it is work perfectly!!!!!! Image Edited October 12, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted October 12, 2022 Premium Share Posted October 12, 2022 (edited) (Footsteps effect on stealth is a feature) Do u know Darksouls? Edited October 12, 2022 by WeedHex 3 Link to comment Share on other sites More sharing options...
Active Member ReFresh 2339 Posted October 12, 2022 Author Active Member Share Posted October 12, 2022 @[007]DawisHU I will try it and if it will work, I will mark your answer as the best solution. 1 I'll be always helpful! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now