Wing Mask / PMA WING

07/07/2020 16:27 Tweeney#1
Hello Epvp. Good Day!

I need your help regarding this system (__PMA_WING). I have done added it on source and resource but here's a result.

When "WING MASK" is equipped. the weapon I equipped showed on my feet too.


[Only registered and activated users can see links. Click Here To Register...]

I am clueless where can I fix it.

Thank you and Stay Safe!

SPEC_ITEM.TXT entry.
Code:
16	II_RID_MSK_WIN_FEATHER01	"White Angel Wing Mask v1"	1	1	IK1_ARMOR	IK2_CLOTH	IK3_WING	=	TRUE	=	=	10000000	=	=	=	=	=	PARTS_MASK	=	1	=	=	=	=	=	1	=	=	=	=	=	_NONE	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	DST_BLOCK_RANGE	DST_BLOCK_MELEE	DST_CRITICAL_BONUS	DST_ATTACKSPEED	DST_ADJ_HITRATE	DST_SPELL_RATE	5	5	5	100	5	5	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	XI_FLIGHT_READY	=	=	=	=	MTI_FSTAND1_D	=	=	=	=	=	=	=	=	=	=	90000	=	=	0	0	0	0	0	0	=	=	=	=	=	=	=	2	1	3000	=	=	=	=	=	=	"""Itm_RidRidWinFeather01.dds"""	0	""""""	"Floating Wing Masks!"	1	300	0	0	1	0	0	0	0	1	2	=	=	=	=	=	=	=	=	=	=	1	1	1	1	1	0	ITEM_GRADE_NORMAL	1	TYPE1_COSTUME	TYPE2_COSTUME_MASK	1	0	0	0
07/12/2020 07:03 rosemie1#2
Double check your Source. Don't just copy and paste. You must understand what you are copying
07/12/2020 08:48 thetoys#3
open file ModelMng.cpp

search

void CModelMng::MakePartsName( TCHAR* pszPartsName, LPCTSTR lpszRootName,

add code

void CModelMng::MakePartsName( TCHAR* pszPartsName, LPCTSTR lpszRootName, DWORD dwIndex, int nSex )
{
LPMODELELEM lpModelElem = GetModelElem( OT_ITEM, dwIndex );
#ifndef __PMA_WING
#ifdef __SECURITY_FIXES
if (strlen(lpModelElem->m_szPart) == 0)
return;
#endif // __SECURITY_FIXES
#endif // __PMA_WING
_tcscpy( pszPartsName, lpszRootName );
_tcscat( pszPartsName, _T( "_" ) );
if( nSex == SEX_SEXLESS || nSex == -1 )
_tcscat( pszPartsName, lpModelElem->m_szPart );
else
{
TCHAR* pszPart2 = strchr( lpModelElem->m_szPart, '/' );
if( pszPart2 == NULL )
_tcscat( pszPartsName, lpModelElem->m_szPart );
else
{
TCHAR szPartName[ 128 ];
if( nSex == SEX_MALE )
{
_tcscpy( szPartName, lpModelElem->m_szPart );
szPartName[ (int)pszPart2 - (int)lpModelElem->m_szPart ] = 0;
_tcscat( pszPartsName, szPartName );
}
else
{
_tcscat( pszPartsName, pszPart2 + 1 );
}
}
}
_tcscat( pszPartsName, _T( ".o3d" ) );
}