[HELP] Remove wing mask

05/23/2020 19:13 brunoi123#1
How do I get the model of the short wing mask when I get on the board and when I get off the board it comes back.

** I use __PMA_WING **

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

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

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

WING MASK SPEC_ITEM:
Code:
19	II_ARM_FAIRYWIN_WINGS	IDS_DEKARONWING_PROUD_1	1	1	IK1_ARMOR	IK2_CLOTHETC	IK3_MASK	=	1	=	=	4	50000	=	=	=	8	PARTS_MASK	=	1	=	=	1	=	=	1	0	=	=	1	1	_NONE	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	DST_EXPERIENCE	DST_ADJDEF_RATE	=	=	=	=	5	5	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	10080	=	=	=	=	=	=	=	=	10000	=	=	0	0	0	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	1	=	=	=	"""Itm_FairyWinWings.dds"""	0	""""""	IDS_DEKARONWING_PROUD_TEXT	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	1	1
MDLDYNA.inc
Code:
	"GenMatSuitbox"            II_ARM_FAIRYWIN_WINGS         MODELTYPE_MESH "FairyWinWins" 0 MD_NEAR 0  1.0f 0 1 ATEX_NONE 1
05/31/2020 22:29 QuietSmoke#2
Quote:
Originally Posted by brunoi123 View Post
How do I get the model of the short wing mask when I get on the board and when I get off the board it comes back.

** I use __PMA_WING **

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

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

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

WING MASK SPEC_ITEM:
Code:
19	II_ARM_FAIRYWIN_WINGS	IDS_DEKARONWING_PROUD_1	1	1	IK1_ARMOR	IK2_CLOTHETC	IK3_MASK	=	1	=	=	4	50000	=	=	=	8	PARTS_MASK	=	1	=	=	1	=	=	1	0	=	=	1	1	_NONE	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	DST_EXPERIENCE	DST_ADJDEF_RATE	=	=	=	=	5	5	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	10080	=	=	=	=	=	=	=	=	10000	=	=	0	0	0	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	1	=	=	=	"""Itm_FairyWinWings.dds"""	0	""""""	IDS_DEKARONWING_PROUD_TEXT	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	1	1
MDLDYNA.inc
Code:
	"GenMatSuitbox"            II_ARM_FAIRYWIN_WINGS         MODELTYPE_MESH "FairyWinWins" 0 MD_NEAR 0  1.0f 0 1 ATEX_NONE 1

Mover.cpp
In function CMover::WingMotionSetting

Replace:
Code:
if((m_pActMover->GetState() & OBJSTA_STAND) && (D3DXVec3LengthSq(&m_pActMover->m_vDelta) <= 0.000f) && pModel->m_fFrameCurrent == 0.0f)
		{
			if(m_eWingStateFlag != FLOATING)
			{
				CString strMotion = m_pRide->GetMotionFileName("stand");
				assert(strMotion != "");
				m_pRide->LoadMotion(strMotion);
				m_pRide->SetMotionBlending(TRUE);
				m_pRide->SetLoop(ANILOOP_LOOP);
				m_eWingStateFlag = FLOATING;
			}
		}
		else if(m_pActMover->GetStateFlag() & OBJSTAF_ACC)
		{
			if(m_eWingStateFlag != FLYING)
			{
				CString strMotion = m_pRide->GetMotionFileName("walk");
				assert(strMotion != "");
				m_pRide->LoadMotion(strMotion);
				m_pRide->SetMotionBlending(TRUE);
				m_pRide->SetLoop(ANILOOP_LOOP);
				m_eWingStateFlag = FLYING;
			}
		}
		else if((m_pActMover->GetState() & OBJSTA_LTURN) || (m_pActMover->GetState() & OBJSTA_RTURN))
		{
			if(m_eWingStateFlag != TURNING)
				m_eWingStateFlag = TURNING;
		}
To:
Code:
	if(m_pRide)
	{
		if((m_pActMover->GetState() & OBJSTA_STAND) && (D3DXVec3LengthSq(&m_pActMover->m_vDelta) <= 0.000f) && pModel->m_fFrameCurrent == 0.0f)
		{
			if(m_eWingStateFlag != FLOATING)
			{
				CString strMotion = m_pRide->GetMotionFileName("stand");
				assert(strMotion != "");
				m_pRide->LoadMotion(strMotion);
				m_pRide->SetMotionBlending(TRUE);
				m_pRide->SetLoop(ANILOOP_LOOP);
				m_eWingStateFlag = FLOATING;
			}
		}
		else if(m_pActMover->GetStateFlag() & OBJSTAF_ACC)
		{
			if(m_eWingStateFlag != FLYING)
			{
				CString strMotion = m_pRide->GetMotionFileName("walk");
				assert(strMotion != "");
				m_pRide->LoadMotion(strMotion);
				m_pRide->SetMotionBlending(TRUE);
				m_pRide->SetLoop(ANILOOP_LOOP);
				m_eWingStateFlag = FLYING;
			}
		}
		else if((m_pActMover->GetState() & OBJSTA_LTURN) || (m_pActMover->GetState() & OBJSTA_RTURN))
		{
			if(m_eWingStateFlag != TURNING)
				m_eWingStateFlag = TURNING;
		}
	}
#ifdef __PMA_WING
	else if(+m_pMask != m_pRide && m_pMask != NULL)
	{
		if((m_pActMover->GetState() & OBJSTA_STAND && !m_pActMover->IsSit() && !m_pActMover->IsWalk()))
		{
			if(m_eWingStateFlag != FLOATING)
			{
				CString strMotion = m_pMask->GetMotionFileName("stand");
				assert(strMotion != "");
				m_pMask->LoadMotion(strMotion);
				m_pMask->SetMotionBlending(TRUE);
				m_pMask->SetLoop(ANILOOP_LOOP);
				m_eWingStateFlag = FLOATING;
			}
		}
		else if(m_pActMover->GetState() & OBJSTA_NOT_STAND || m_pActMover->IsWalk())
		{
			if(m_eWingStateFlag != FLYING)
			{
				CString strMotion = m_pMask->GetMotionFileName("walk");
				assert(strMotion != "");
				m_pMask->LoadMotion(strMotion);
				m_pMask->SetMotionBlending(TRUE);
				m_pMask->SetLoop(ANILOOP_LOOP);
				m_eWingStateFlag = FLYING;
			}
		}
		else if((m_pActMover->GetState() & OBJSTA_LTURN) || (m_pActMover->GetState() & OBJSTA_RTURN) && !m_pActMover->IsWalk() && !m_pActMover->IsSit())
		{
			if(m_eWingStateFlag != TURNING)
				m_eWingStateFlag = TURNING;
		}
	}
#endif
06/04/2020 03:47 brunoi123#3
thx