Sneaky Sneaky 89 Posted February 22, 2021 Share Posted February 22, 2021 hi, i was trying to add some weapon animated effects but i get this type of error Spoiler 0222 10:02:22945 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=236) - Strange Skill Need Weapon(pp_palbang) 0222 10:02:34219 :: playerSettingModule.py(line:1713) LoadGameData playerSettingModule.py(line:523) __LoadGameEffect LoadGameData - <type 'exceptions.AttributeError'>:'module' object has no attribute 'EFFECT_SWORD_REFINED_NEW1' 0222 10:02:34219 :: ============================================================================================================ 0222 10:02:34219 :: Abort!!!! 0222 10:02:34219 :: !!! Failed to load game data : STEP [40] my code InstanceBase.cpp Spoiler #ifdef ENABLE_ARMAS_EFFECT_MOVIMIENTO if (pItem->GetSubType() == CItemData::WEAPON_SWORD) { DWORD vnum = pItem->GetIndex(); if (vnum >= 69910 && vnum <= 69919) // Cambiar "ID" por el ID (vnum) de tu arma { __ClearWeaponRefineEffect(); // Clear the previous effect m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED_NEW1; // NEW EFFECT (AQUI CAMBIAS EL NOMBRE SEGUN EL SET) } } #endif InstanceBase.h Spoiler #ifdef ENABLE_ARMAS_EFFECT_MOVIMIENTO EFFECT_SWORD_REFINED_NEW1 = 60, #endif i tried also #ifdef ENABLE_ARMAS_EFFECT_MOVIMIENTO EFFECT_SWORD_REFINED_NEW1, #endif my playersettingmode: Spoiler chrmgr.RegisterEffect(chrmgr.EFFECT_SWORD_REFINED_NEW1+60, "PART_WEAPON", "D:/ymir work/item/weapon/Effect/9/sword.mse") do you know what may be the problem? Link to comment Share on other sites More sharing options...
Enju 1 Posted February 22, 2021 Share Posted February 22, 2021 Hey, your fault is at playersettingmodule.py. chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED + 60, "PART_WEAPON", "D:/ymir work/item/weapon/Effect/9/sword.mse") Link to comment Share on other sites More sharing options...
Sneaky Sneaky 89 Posted February 22, 2021 Author Share Posted February 22, 2021 (edited) yeah, that just fixed the 1 sysser for the effect is not showing 0222 10:49:12164 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=236) - Strange Skill Need Weapon(pp_palbang) its an empty item. https://metin2.download/picture/8qb3MZj2XK8jtIQzna39wGXIPg04x6uv/.png Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Enju 1 Posted February 22, 2021 Share Posted February 22, 2021 0222 10:49:12164 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=236) - Strange Skill Need Weapon(pp_palbang) I don't think it's a problem with the weapon effects. Your weapon looks like this because you didn't add the model properly. Are you trying to add a new weapon/skin with effects or just refine effects to use on any weapon? Link to comment Share on other sites More sharing options...
Sneaky Sneaky 89 Posted February 22, 2021 Author Share Posted February 22, 2021 its animated weapon effect . like weapon costume but animated Link to comment Share on other sites More sharing options...
Enju 1 Posted February 22, 2021 Share Posted February 22, 2021 Do you have .gr2 files? Link to comment Share on other sites More sharing options...
Sneaky Sneaky 89 Posted February 22, 2021 Author Share Posted February 22, 2021 they are mde,mse but i got one file d:/ymir work/item/weapon/fix_effect.gr2 which is on item_list 69910 WEAPON icon/item/Weapon_Sword_V9.tga d:/ymir work/item/weapon/fix_effect.gr2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now