Jump to content

Recommended Posts

Hi, i have one problem. When i wear costume weapon, then wear on invisible slot. :/

i have sash and costume system only, my gametype.h:

#ifdef ENABLE_COSTUME_SYSTEM
	const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19;
	const DWORD	c_Costume_Slot_Body = c_Costume_Slot_Start + 0;
	const DWORD	c_Costume_Slot_Hair = c_Costume_Slot_Start + 1;
	//const DWORD	c_Costume_Slot_Acce = c_Costume_Slot_Start + 2;
	const DWORD	c_Costume_Slot_Mount = c_Costume_Slot_Start + 3;
	#ifdef ENABLE_COSTUME_WEAPON
	const DWORD	c_Costume_Slot_Weapon = c_Costume_Slot_Start + 1;
	const DWORD c_Costume_Slot_Count = 5;
	#else
	const DWORD c_Costume_Slot_Count = 4;
	#endif
	const DWORD c_Costume_Slot_End = c_Costume_Slot_Start + c_Costume_Slot_Count;
#endif

&

#ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
	#ifdef ENABLE_COSTUME_WEAPON
	const DWORD c_New_Equipment_Start = c_Equipment_Start + 23;
	#else
	const DWORD c_New_Equipment_Start = c_Equipment_Start + 23;
	#endif
	const DWORD c_New_Equipment_Count = 3;
	const DWORD c_Equipment_Ring1 = c_New_Equipment_Start + 0;
	const DWORD c_Equipment_Ring2 = c_New_Equipment_Start + 1;
	const DWORD c_Equipment_Belt  = c_New_Equipment_Start + 2;
#endif

 

and lenght.h 

	WEAR_BODY,		// 0
	WEAR_HEAD,		// 1
	WEAR_FOOTS,		// 2
	WEAR_WRIST,		// 3
	WEAR_WEAPON,	// 4
	WEAR_NECK,		// 5
	WEAR_EAR,		// 6
	WEAR_UNIQUE1,	// 7
	WEAR_UNIQUE2,	// 8
	WEAR_ARROW,		// 9
	WEAR_SHIELD,	// 10
    WEAR_ABILITY1,  // 11
    WEAR_ABILITY2,  // 12
    WEAR_ABILITY3,  // 13
    WEAR_ABILITY4,  // 14
    WEAR_ABILITY5,  // 15
    WEAR_ABILITY6,  // 16
    WEAR_ABILITY7,  // 17
    WEAR_ABILITY8,  // 18
	WEAR_COSTUME_BODY,	// 19
	WEAR_COSTUME_HAIR,	// 20
	WEAR_COSTUME_ACCE, // 21
#ifdef COSTUME_WEAPON
	WEAR_COSTUME_WEAPON,//22
#endif
	WEAR_COSTUME_MOUNT, // 23
	WEAR_RING1,			// 24	: 신규 반지슬롯1 (왼쪽)
	WEAR_RING2,			// 25	: 신규 반지슬롯2 (오른쪽)

	WEAR_BELT,			// 26	: 신규 벨트슬롯

	WEAR_MAX = 32	// 

 

Link to comment
https://metin2.dev/topic/17149-costume-weapon-slot-error/
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.