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

New Race Type?

ZeeBeast

Preferable Beta Tester
Joined
Dec 5, 2013
Messages
206
Reaction score
10
Location
United States
I made a new damage type. I was wondering if there is such a way to make a new monster race to go with it?
If anyone knows an answer please help.
Thanks in advance!
 
<monster name="Sibang" nameDescription="a sibang" race="blood" experience="105" speed="200" manacost="0">

Is there anyway to make a new Race type? Besides the normal Blood, undead, etc.
 
Yes, you gotta edit it in game.cpp (src folder)
Use search function and write "race", you will find something like that :

Code:
case RACE_VENOM:
                    color = TEXTCOLOR_LIGHTGREEN;
                    effect = CONST_ME_HITBYPOISON;
                    splash = Item::CreateItem(ITEM_SMALLSPLASH, FLUID_GREEN);
                    break;

Now you gotta customize it with your custom element :

Code:
case RACE_RACENAME:
                    color = TEXTCOLOR_COLOR OF MESSAGE;
                    effect = CONST_ME_HIT EFFECT;
                    splash = Item::CreateItem(ITEM_SPLASH TYPE, FLUID_FLUID COLOR);
                    break;

I hope it helped you a bit :)
~ Deepling
 
Yes, you gotta edit it in game.cpp (src folder)
Use search function and write "race", you will find something like that :

Code:
case RACE_VENOM:
                    color = TEXTCOLOR_LIGHTGREEN;
                    effect = CONST_ME_HITBYPOISON;
                    splash = Item::CreateItem(ITEM_SMALLSPLASH, FLUID_GREEN);
                    break;

Now you gotta customize it with your custom element :

Code:
case RACE_RACENAME:
                    color = TEXTCOLOR_COLOR OF MESSAGE;
                    effect = CONST_ME_HIT EFFECT;
                    splash = Item::CreateItem(ITEM_SPLASH TYPE, FLUID_FLUID COLOR);
                    break;

I hope it helped you a bit :)
~ Deepling
Much thanks! :D

EDIT: Is there somewhere I can find a list of splashs?
splash = Item::CreateItem(ITEM_SMALLSPLASH, FLUID_BLOOD);
 
Much thanks! :D

EDIT: Is there somewhere I can find a list of splashs?
splash = Item::CreateItem(ITEM_SMALLSPLASH, FLUID_BLOOD);

No, there aren't other splashes, but you dont need to use splash, you can make it only color and effect, like it's with energy race :p

Code:
case RACE_ENERGY:
                    color = TEXTCOLOR_PURPLE;
                    effect = CONST_ME_ENERGYHIT;
                    break;
 
Back
Top