Jump to content

Add new Mounts to Attack and Damage


Recommended Posts

Hi i would like share with u guys how to add new mounts to attack and do dmg

On game u will need find the

pvp.cpp and find

        switch( pkChr->GetMountVnum() )

        {

            case 0:

Then above case 0: u should add the mount id u want like this exemple

        switch( pkChr->GetMountVnum() )

        {

            case 0:

            case 19000:

            case 19001:

            case 19002:

            case 19003:

Now client side u will need open the file

InstanceBase.cpp

and find

UINT CInstanceBase::SHORSE::GetLevel()

{

    if (m_pkActor)

    {

        DWORD mount = m_pkActor->GetRace();

        switch (mount)

        {

Then u will add all case and end with a return 3 like this

UINT CInstanceBase::SHORSE::GetLevel()

{

    if (m_pkActor)

    {

        DWORD mount = m_pkActor->GetRace();

        switch (mount)

        {
            case 19001:

            case 19002:

            case 19003:

                return 3;
  • Metin2 Dev 2
  • Good 1
  • Love 18
Link to comment
Share on other sites

  • 6 months later...
  • 3 weeks later...
  • 3 months later...
  • 3 years later...
  • 8 months later...

Src&Binary\Srcs_CLIENT_OFFICIAL\Srcs\Client\UserInterface\InstanceBase.cpp   This is crucial. Thank you!@yagokurt

--------------------------------------------------------------------------------------------------------------------

In the two files of game source, I found the case 20114 related to mount: copy the monster number corresponding to the new mount,

It didn't work, but I followed @yagokurt, got client in vs2013, and my mounts can attack!Thanks again!

source\game\char_battle  
source\game\char_skill    

Link to comment
Share on other sites

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.