• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

trying to put only 1 skill for melee.

Guiizuka97

New Member
Joined
Sep 9, 2019
Messages
11
Reaction score
0
hey. im trying to edit my sources to remove sword axe club, to melee.

till now i got this error. anyone?


1569213169221.png
 
@Mitrixx Dont delete anything just use one skill for all example sword, rename it for melee on otc and sources,on items.xml change all weapon type to sword or use fist for all and make the same process.
 
@Mitrixx Dont delete anything just use one skill for all example sword, rename it for melee on otc and sources,on items.xml change all weapon type to sword or use fist for all and make the same process.
Yeah that's actually what we did on EO. Only minor issue is with exori hur spell which will always be "sword" type. But it works as intended.

One thing worth mentioning is to change tools.cpp :
C++:
std::string getSkillName(uint8_t skillid)
{
    ...
    case SKILL_SWORD:
            return "melee fighting"; //or something of your liking
}
 
Yeah that's actually what we did on EO. Only minor issue is with exori hur spell which will always be "sword" type. But it works as intended.

One thing worth mentioning is to change tools.cpp :
C++:
std::string getSkillName(uint8_t skillid)
{
    ...
    case SKILL_SWORD:
            return "melee fighting"; //or something of your liking
}
You should still have weapon types. Idk why exori hur would have any issue.

You should be able to have sword, axe, club in items.xml. They should all be linked to the new skill_melee. Then exori hur would be fine. You just determine the weapon type as normal again in items.xml.
 
Last edited:
Back
Top