Jump to content

Equipment swap "rework"


Recommended Posts

  • Active Member

Hi!

Today I'm sharing small changes about changing equipments. 

I experienced that in metin2 basically it can't replace for example a two handed weapon (which is equipped) with a simple sword if there's an item in the next row under our item that we want to equip.

 

Video of the result:

 

Small explanation:

So, if we want to make it work like we want we will need to check if basically it couldn't replace the inventory item with our equipped item then is there any space for that item, and if there is it can unequip it to that slot.

 

So, let's get to the work.

We will work in 2 files, char.h and char.cpp

This is the hidden content, please

Edited by Gurgarath
edited what requested
  • Metin2 Dev 63
  • Eyes 1
  • Good 10
  • Love 2
  • Love 16
Link to comment
Share on other sites

  • Forum Moderator

Hello,

Thank you, but I guess the tutorial is incomplete, can you provide us with "CanUnequipNow" function please? Also, is it possible to have a small gif of what it does exactly?

  • Good 1
  • Love 1

Gurgarath
coming soon

Link to comment
Share on other sites

  • Active Member
2 hours ago, Gurgarath said:

Hello,

Thank you, but I guess the tutorial is incomplete, can you provide us with "CanUnequipNow" function please? Also, is it possible to have a small gif of what it does exactly?

Hi! Added what I forgot, also made a small video of what it actually does.

  • Love 1
Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

Announcements



×
×
  • 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.