• 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!

How to made new sex?

Set sex to 3 on your character, add new outfits type = 3 in outfits.xml, and function getPlayerSex() will return 3 on your character ;p
 
Go to enums.h and after:
Code:
PLAYERSEX_MALE = 1

add:

Code:
PLAYERSEX_CUSTOM = 2



Go to player.cpp and find in function getDescription() near vocation:

Code:
s << ". " << (sex == PLAYERSEX_FEMALE ? "She" : "He");

And replace with:
Code:
if (sex == PLAYERSEX_FEMALE)
	s << ". She";
elseif (sex == PLAYERSEX_MALE)
	s << ". He";
elseif (sex == PLAYERSEX_CUSTOM)
	s << ". It";


And in getDescription() in guild part same like above.


Not tested, but should work. And btw. sorry for my bad english ;P
 
Back
Top