Jump to content

Shoulder Sash Shining error.


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
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.