Jump to content

Recommended Posts

Hello, i installed Wing System but the effect is not visible.I tried many effects but none of them seem to work.I have Sash System installed, the binary compiled succesfully...I don t understand where is the problem.

The code i used is the following:

instancebase.cpp

#ifdef ENABLE_EFFECT_WINGS_NEW
    if (dwSash == 85004)
    {
        fSpecular += 35;

        m_dwSashEffect = EFFECT_REFINED + EFFECT_WINGS_NEWS1;
        __EffectContainer_AttachEffect(m_dwSashEffect);
    }
    if (dwSash == 85008)
    {
        fSpecular += 35;

        m_dwSashEffect = EFFECT_REFINED + EFFECT_WINGS_NEWS2;
        __EffectContainer_AttachEffect(m_dwSashEffect);
    }

Instancebase.h

#ifdef ENABLE_EFFECT_WINGS_NEW
            EFFECT_WINGS_NEWS1 = 23,
            EFFECT_WINGS_NEWS2 = 24,
#endif

 

Locale_inc.h

#define ENABLE_EFFECT_WINGS_NEW

Pythonapplicationmodule.cpp

#ifdef ENABLE_EFFECT_WING_NEW
    PyModule_AddIntConstant(poModule, "ENABLE_EFFECT_WINGS_NEW",    1);
#else
    PyModule_AddIntConstant(poModule, "ENABLE_EFFECT_WINGS_NEW",    0);
#endif


#endif

 

Clientside:

 

    if app.ENABLE_EFFECT_WINGS_NEW:
        chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED + 23, "Bip01", "d:/ymir work/item/weapon/Ksjeu_Anim/Ksjeu_Wings/ksjeu_wings_set8/ksjeu_wings_set8.mse")
        chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED + 24, "Bip01", "d:/ymir work/effect/wings/wings_kazu.mse")

 

I did replace if (dwSash == 85004) with my sash code.

 

Thank you.

 

Link to comment
https://metin2.dev/topic/27502-wing-system-problem/
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.