Acest tutorial iti arata cum sa faci skillurile de cal sa functioneze corect pana la P, inclusiv cu efecte si animatii noi.
Este util daca ai adaugat skilluri noi pentru mount sau daca vrei ca Wildattack, Charge si Splash sa incarce corect animatiile si efectele pentru M, G si P.
Problemele rezolvate:
- kick / disconnect de tip skill hack
- skillul Charge nu mai incarca animatia corecta peste level 20
- poti folosi efecte si fisiere .msa diferite pentru fiecare grad al skillului
Explicatie scurta:
- in char_skill.cpp extinzi tabelul de motion index ca sa nu mai apara skill hack la level mai mare
- in PlayerSettingModule.py inregistrezi miscari separate pentru fiecare grad de skill
- in RaceManager.cpp legi animatiile de tip SKILL2M / SKILL2G / SKILL2P la motion index corect
- in motlist.txt spui jocului ce animatie sa incarce pentru fiecare grad
*Poze / Video:
*Link download / Code:
Deschide char_skill.cpp si cauta:
Code:
{ 2, 137, 140, 0, 0}, // 121
{ 1, 138, 0, 0, 0}, // 122
{ 1, 139, 0, 0, 0}, // 123
Deschide PlayerSettingModule.py si cauta:
Code:
HORSE_SKILL_WILDATTACK = chr.MOTION_SKILL+121
HORSE_SKILL_CHARGE = chr.MOTION_SKILL+122
HORSE_SKILL_SPLASH = chr.MOTION_SKILL+123
Deschide PlayerSettingModule.py si cauta:
Code:
chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_HORSE, HORSE_SKILL_CHARGE, "skill_charge.msa")
Cauta pentru fiecare rasa / tip de arma liniile de genul:
Code:
chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_HORSE_ONEHAND_SWORD, HORSE_SKILL_WILDATTACK, "skill_wildattack.msa")
chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_HORSE_ONEHAND_SWORD, HORSE_SKILL_SPLASH, "skill_splash.msa")
Cauta si adapteaza la fel pentru:
Code:
chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_HORSE_TWOHAND_SWORD, HORSE_SKILL_WILDATTACK, "skill_wildattack.msa")
chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_HORSE_TWOHAND_SWORD, HORSE_SKILL_SPLASH, "skill_splash.msa")
chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_HORSE_DUALHAND_SWORD, HORSE_SKILL_WILDATTACK, "skill_wildattack.msa")
chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_HORSE_DUALHAND_SWORD, HORSE_SKILL_SPLASH, "skill_splash.msa")
chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_HORSE_BOW, HORSE_SKILL_WILDATTACK, "skill_wildattack.msa")
chrmgr.RegisterCacheMotionData(chr.MOTION_MODE_HORSE_BOW, HORSE_SKILL_SPLASH, "skill_splash.msa")
Deschide RaceManager.cpp si cauta:
Code:
s_kMap_stType_dwIndex.insert(std::map<std::string, DWORD>::value_type("SKILL2", CRaceMotionData::NAME_SKILL + 122));
Deschide D:\ymir work\npc\horse\motlist.txt, D:\ymir work\npc\horse2\motlist.txt si celelalte foldere de mount daca le folosesti, apoi cauta:
Code:
GENERAL SKILL2 25.msa 100
Observatie:
Daca vrei animatii si efecte diferite pentru fiecare grad, poti folosi fisiere separate de genul:


la acest mesaj și conținutul se va afișa automat.


