AVA2 unlock P4: sash (mt_sash windows/slot/tooltips, sash module, CHR_EQUIPPART_SASH, item_scale)
Client side of metin2-server FEATURE-AVA2-UNLOCK P4: HEADER_CG_SASH 211 / HEADER_GC_SASH 215, a fifth awPart WORD in the character packets (old servers break), the sash part attached by scale per job/sex, the combine and absorb windows in script mt_sash, and quest tools/server/sash on 20016. The ava2items pack keeps the four grade-4 sashes plus their effects, acce window images and item_scale.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0d2a9ebe36
commit
4d7306792e
@@ -102,6 +102,7 @@ class CItemData
|
||||
{
|
||||
COSTUME_BODY, //0 갑옷(main look)
|
||||
COSTUME_HAIR, //1 헤어(탈착가능)
|
||||
COSTUME_SASH = 3, // PORT: AVA2 sash (2 is AVA2 COSTUME_MOUNT)
|
||||
COSTUME_NUM_TYPES,
|
||||
};
|
||||
|
||||
@@ -495,6 +496,9 @@ class CItemData
|
||||
//BOOL LoadItemData(const char * c_szFileName);
|
||||
void SetDefaultItemData(const char * c_szIconFileName, const char * c_szModelFileName = NULL);
|
||||
void SetItemTableData(TItemTable * pItemTable);
|
||||
// PORT: AVA2 item_scale.txt (sash part scale per job/sex). Slot = job + 1, + 5 when female.
|
||||
void SetItemScale(const std::string & strJob, const std::string & strSex, const std::string & strScaleX, const std::string & strScaleY, const std::string & strScaleZ);
|
||||
bool GetItemScale(DWORD dwPos, float & fScaleX, float & fScaleY, float & fScaleZ);
|
||||
|
||||
protected:
|
||||
void __LoadFiles();
|
||||
@@ -518,6 +522,12 @@ class CItemData
|
||||
NRaceData::TAttachingDataVector m_AttachingDataVector;
|
||||
DWORD m_dwVnum;
|
||||
TItemTable m_ItemTable;
|
||||
struct SScaleInfo
|
||||
{
|
||||
bool bSet;
|
||||
float fScaleX, fScaleY, fScaleZ;
|
||||
};
|
||||
SScaleInfo m_aScaleInfo[11];
|
||||
|
||||
public:
|
||||
static void DestroySystem();
|
||||
|
||||
Reference in New Issue
Block a user