Creo 26 Posted December 2, 2018 Share Posted December 2, 2018 How i can add effect to fishing rod? Preview: (i have effect, i want to plug it into fishrod, i know it would be in instancebase(?) but idk really how to) 1 Link to comment Share on other sites More sharing options...
Creo 26 Posted December 3, 2018 Author Share Posted December 3, 2018 up Link to comment Share on other sites More sharing options...
Sequel 0 Posted December 3, 2018 Share Posted December 3, 2018 Where you get that screenshot? (what server) Link to comment Share on other sites More sharing options...
Creo 26 Posted December 4, 2018 Author Share Posted December 4, 2018 bump Link to comment Share on other sites More sharing options...
oncemoron 142 Posted December 4, 2018 Share Posted December 4, 2018 In world editor you can edit it Link to comment Share on other sites More sharing options...
Creo 26 Posted December 4, 2018 Author Share Posted December 4, 2018 1 godzinę temu, oncemoron napisał: In world editor you can edit it i mean how to plug this effect to fish rod. Link to comment Share on other sites More sharing options...
Creo 26 Posted December 7, 2018 Author Share Posted December 7, 2018 bump Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted December 8, 2018 Premium Share Posted December 8, 2018 AddAffect when start to fish RemoveAffect when finish -.-" 1 Link to comment Share on other sites More sharing options...
Creo 26 Posted December 8, 2018 Author Share Posted December 8, 2018 4 godziny temu, WeedHex napisał: AddAffect when start to fish RemoveAffect when finish -.-" XDDDDDDDDDDDDDDDDDDDDDD 3 Link to comment Share on other sites More sharing options...
Creo 26 Posted December 10, 2018 Author Share Posted December 10, 2018 bump;c Link to comment Share on other sites More sharing options...
Creo 26 Posted December 12, 2018 Author Share Posted December 12, 2018 bump Link to comment Share on other sites More sharing options...
Creo 26 Posted December 14, 2018 Author Share Posted December 14, 2018 bump Link to comment Share on other sites More sharing options...
Creo 26 Posted December 27, 2018 Author Share Posted December 27, 2018 BUMP Link to comment Share on other sites More sharing options...
OtherChoice 77 Posted December 30, 2018 Share Posted December 30, 2018 What you are looking for is a quite composite task. Basically you can declare the effect inside playersettingmodule.py like this: chrmgr.RegisterCacheEffect(chrmgr.EFFECT_DUST, "", "d:/ymir work/effect/etc/dust/dust.mse") chrmgr.RegisterCacheEffect(chrmgr.EFFECT_HORSE_DUST, "", "d:/ymir work/effect/etc/dust/running_dust.mse") chrmgr.RegisterCacheEffect(chrmgr.EFFECT_HIT, "", "d:/ymir work/effect/hit/blow_1/blow_1_low.mse") chrmgr.RegisterCacheEffect(chrmgr.EFFECT_FISHING_ROD, "Bip01 R Hand", "d:/ymir work/effect/fishing_rod/fishing_effect.mse") #Bip01 R Hand is the standard hand bone, you can anyway attach it to every bone you desire then declare EFFECT_FISHING_ROD in InstanceBase.h in the effect enum and in PythonCharacterManagerModule.cpp add PyModule_AddIntConstant(poModule, "EFFECT_FISHING_ROD", CInstanceBase::EFFECT_FISHING_ROD); And then in InstanceBase.cpp in function: UINT CInstanceBase::__GetRefinedEffect(CItemData* pItem) { DWORD refine = max(pItem->GetRefine() + pItem->GetSocketCount(),CItemData::ITEM_SOCKET_MAX_NUM) - CItemData::ITEM_SOCKET_MAX_NUM; switch (pItem->GetType()) { case CItemData::ITEM_TYPE_WEAPON: ..... case CItemData::ITEM_TYPE_ARMOR: ..... /*add->*/ case CItemData::ITEM_TYPE_ROD: if (any_condition_you_desire) __AttachEffect(EFFECT_FISHING_ROD); Anyway this is a very rough example beacuse i do not have enough information about the condition needed for this effect to show. Be careful: If you want to perform a serverside check of any type before applying this effect you might need to setup a packet work-around. 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