Jump to content

Recommended Posts

Hi Devs! I have a problem, The Sash it does not shine, if you're bigger than that 19%+ How to solved?

My InstanceBase.cpp

#ifdef ENABLE_SASH_SYSTEM
void CInstanceBase::SetSash(DWORD dwSash)
{
	if (IsPC())
		return;
	
	if (IsPoly())
		return;
	
	dwSash += 85000;
	ClearSashEffect();
	
	float fSpecular = 65.0f;
	if (dwSash > 86000)
	{
		dwSash -= 1000;
		fSpecular += 35;
		
		m_dwSashEffect = EFFECT_REFINED + EFFECT_SASH;
		__EffectContainer_AttachEffect(m_dwSashEffect);
	}
	
	fSpecular /= 100.0f;
	m_awPart[CRaceData::PART_SASH] = dwSash;
	
	CItemData * pItemData;
	if (!CItemManager::Instance().GetItemDataPointer(dwSash, &pItemData))
		return;
	
	m_GraphicThingInstance.AttachSash(pItemData, fSpecular);

My PlayerSettingmodule.py

if app.ENABLE_SASH_SYSTEM:
		chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+28, "Bip01", "d:/ymir work/pc/common/effect/armor/acc_01.mse")

Thanks the help, and sorry for my bad english.

Link to comment
https://metin2.dev/topic/16312-shoulder-sash-shining-error/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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.