사이트 로그인
2016.06.13 08:20
Search for
Code:
pCharView = (ZCharacterView*)m_IDLResource.FindW
nd you'll see
Code:
pCharView->EnableAutoRotate( true);
Add this below that,
Code:
pCharView = (ZCharacterView*)m_IDLResource.FindWidget( "EquipmentInformationLobby"); if ( pCharView) pCharView->EnableAutoRotate( true);
Then search for a second time
Code:
pCharView = (ZCharacterView*)m_IDLResource.FindWidget("EquipmentInformationShop");
and below
Code:
if(pCharView!= 0) pCharView->OnInvalidate();
add
Code:
pCharView = (ZCharacterView*)m_IDLResource.FindWidget("EquipmentInformationLobby"); if(pCharView!= 0) pCharView->OnInvalidate();
Search a third time
Code:
pCharView = (ZCharacterView*)m_IDLResource.FindWidget("EquipmentInformationShop");
and below
Code:
if(pCharView!= 0) pCharView->OnRestore();
add this,
Code:
pCharView = (ZCharacterView*)m_IDLResource.FindWidget("EquipmentInformationLobby"); if(pCharView!= 0) pCharView->OnRestore();
***********************
****ZMyItemList.cpp****
***********************
Search
Code:
BEGIN_WIDGETLIST("EquipmentInformationShop", pResource, ZCharacterView*, pCharacterView);
a lil bit down you'll
Code:
END_WIDGETLIST();
add this below that,
Code:
BEGIN_WIDGETLIST("EquipmentInformationLobby", pResource, ZCharacterView*, pCharacterView); ZMyInfo* pmi = ZGetMyInfo(); unsigned long int nEquipedItemID[MMCIP_END]; for (int i = 0; i < MMCIP_END; i++) { nEquipedItemID[i] = GetEquipedItemID(MMatchCharItemParts(i)); } pCharacterView->InitCharParts(pmi->GetSex(), pmi->GetHair(), pmi->GetFace(), nEquipedItemID); END_WIDGETLIST();
*****************
****Lobby.xml****
*****************
K, now you need to call the new frame, in this case I used coods of the original interface.
Search
Code:
<LABEL item="Lobby_PlayerName" parent="Lobby">
and add above that
Code:
<CHARACTERVIEW item="EquipmentInformationLobby" parent="Lobby"> <BOUNDS> <X>21</X> <Y>363</Y> <W>120</W> <H>165</H> </BOUNDS> <STRETCH/> <VISIBLEEQUIPMENT>true</VISIBLEEQUIPMENT> </CHARACTERVIEW>