Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Wing Model

Status
Not open for further replies.
Newbie Spellweaver
Joined
Oct 3, 2020
Messages
41
Reaction score
2
Hello good day i just add pma_wing in my source and test the wings that already in the resource and i got this ( Screenshot below ). I try'd to add normal wings with no animation while you are standing.. and its all fine can anyone knows how to place those wings with the right position?

Wings that already in the resource/Spec_item


My wing model that i add in resource






Edit: Follow up error: 2020/10/10 17:07:14 Model\part_.o3d : ãÀ» ¼ö ¾øÀ½
 
Last edited:
Skilled Illusionist
Joined
Apr 21, 2010
Messages
378
Reaction score
96
You can use a 3d model editor (like Blender) to change the position.

Correction:

Check this code:

Code:
#ifdef __PMA_WING
	if (dwParts == [B]PARTS_MASK[/B] && pItemProp)
	{
		if (bEquip && pItemProp->dwItemKind3 ==[B] IK3_WING[/B])
		{
			CModel* pModel = prj.m_modelMng.LoadModel(D3DDEVICE, OT_ITEM, pItemProp->dwID);

			CModelObject* pModelObject = (CModelObject*)pModel;
			CString strMotion = pModelObject->GetMotionFileName(_T("stand"));
			assert(strMotion != _T(""));
			pModelObject->LoadMotion(strMotion);
			pMover->SetMaskWing(pModel);


		}
		else if (bEquip && pMover->m_pMask || !bEquip)
		{
			pMover->SetMaskWing(NULL);
		}
	}
#endif

Now check your Spec_Item file..
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Oct 3, 2020
Messages
41
Reaction score
2
You can use a 3d model editor (like Blender) to change the position.

Correction:

Check this code:

Code:
#ifdef __PMA_WING
    if (dwParts == [B]PARTS_MASK[/B] && pItemProp)
    {
        if (bEquip && pItemProp->dwItemKind3 ==[B] IK3_WING[/B])
        {
            CModel* pModel = prj.m_modelMng.LoadModel(D3DDEVICE, OT_ITEM, pItemProp->dwID);

            CModelObject* pModelObject = (CModelObject*)pModel;
            CString strMotion = pModelObject->GetMotionFileName(_T("stand"));
            assert(strMotion != _T(""));
            pModelObject->LoadMotion(strMotion);
            pMover->SetMaskWing(pModel);


        }
        else if (bEquip && pMover->m_pMask || !bEquip)
        {
            pMover->SetMaskWing(NULL);
        }
    }
#endif

Now check your Spec_Item file..


Bug wing:
21 II_ARM_WIN_METEONIKERWHITE "Meteonyker White Wing" 1 1 IK1_ARMOR IK2_CLOTH IK3_MASK = TRUE = = 10000000 = = = = = PARTS_MASK = 0 = = 1 = = 1 1 = = 1 1 _NONE 0 0 0 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = XI_FLIGHT_READY = = = = MTI_FSTAND1_D = = = = = = = = = = 50000 = = = = = = = = = = = = = = 0 0 0 0 0 0 = = = = = = = 2 1 3000 = = = = = = """Itm_CloMeteonykerWingsWhite.dds""" 0 """""" "Wing mask" 1 300 0 0 1 0 0 0 1 0 2 = = = = = = = = = = 1 1 1 1 1 0 ITEM_GRADE_NORMAL 1 TYPE1_COSTUME TYPE2_COSTUME_MASK 1 0 1 1

Fix wing:
17 II_RID_MSK_WIN_NEW_1 "Golden Shinigami Wing" 1 1 IK1_ARMOR IK2_CLOTH IK3_MASK = TRUE = = 10000000 = = = = = PARTS_MASK = 1 = = = = = 1 = = = = = _NONE 0 0 0 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = XI_FLIGHT_READY = = = = MTI_FSTAND1_D = = = = = = = = = = 50000 = = = = = = = = = = = = = = 0 0 0 0 0 0 = = = = = = = 2 1 3000 = = = = = = """Itm_RidRidWinFeather01.dds""" 0 """""" "Wing Mask" 1 300 0 0 1 0 0 0 1 0 2 = = = = = = = = = = 1 1 1 1 1 0 ITEM_GRADE_NORMAL 1 TYPE1_COSTUME TYPE2_COSTUME_MASK 1 0 1 1
 
Upvote 0
Status
Not open for further replies.
Back
Top