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

Emote spells

DedicatedOT

New Member
Joined
Jun 13, 2009
Messages
977
Reaction score
4
Location
USA
I'm using TFS 0.2.3 how come there's no Emote spells option in config.lua;

How can I use emote spells?
 
To make the spells orange or emoted you have to edit sources:
Open the source project with dev c++.
Go to game.cpp

Search for this:
Code:
	result = g_spells->playerSaySpell(player, type, text);

Two lines under it there is this line:
Code:
        return internalCreatureSay(player, SPEAK_SAY, text);

Replace the second line (return internalCreatureSay(player, SPEAK_SAY, text);) line with this one:

Code:
        return internalCreatureSay(player, SPEAK_MONSTER_SAY, text);

Hope it helped you..

Please Rep++
 
To make the spells orange or emoted you have to edit sources:
Open the source project with dev c++.
Go to game.cpp

Search for this:
Code:
	result = g_spells->playerSaySpell(player, type, text);

Two lines under it there is this line:
Code:
        return internalCreatureSay(player, SPEAK_SAY, text);

Replace the second line (return internalCreatureSay(player, SPEAK_SAY, text);) line with this one:

Code:
        return internalCreatureSay(player, SPEAK_MONSTER_SAY, text);

Hope it helped you..

Please Rep++


Nice to see people helping, but why make it difficult? why not just say got into game.cpp and search return internalCreatureSay(player, SPEAK_SAY, text);[/CODE]? instead of searching for 1 line to find another? nobody heard of control+f?
 
To make the spells orange or emoted you have to edit sources:
Open the source project with dev c++.
Go to game.cpp

Search for this:
Code:
	result = g_spells->playerSaySpell(player, type, text);

Two lines under it there is this line:
Code:
        return internalCreatureSay(player, SPEAK_SAY, text);

Replace the second line (return internalCreatureSay(player, SPEAK_SAY, text);) line with this one:

Code:
        return internalCreatureSay(player, SPEAK_MONSTER_SAY, text);

Hope it helped you..

Please Rep++


Thank you! how do I rep?
 
reputation.gif
 
Lol, and you think that can work? FOOL.

You have to add it via sources :)

EDIT: Woah, how did you end up in this thread?
 
Back
Top