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

Enemies color.

margoh

{{ user.title }}
Joined
Apr 1, 2013
Messages
806
Solutions
18
Reaction score
350
Hello,
Is it possible to change color of Monsters and other Players to different colors?
Monsters - red
Players - orange
Our char - normal (rainbow :p)

Best regards,
margoh.
 
Yes i mean names xD:
98l5yc.jpg


Like blue name of NPC's.
Monsters: red
Other Players: orange.

I dont realize that i don't write 'names'
 
aight i'll have a look, afaik this should be reasonable but i can't promise anything so if any other person sees this please do help him ;)

In the mean time i'll have a look
 
creature.cpp
if(g_game.getFeature(Otc::GameBlueNpcNameColor) && isNpc() && m_healthPercent == 100 && !useGray)
fillColor = Color(0x66, 0xcc, 0xff);
 
Eerything would be fine if not crashing error. Can't compile.

Tried to add new if:
Lua:
if(g_game.getFeature(Otc::GameRedMonsterNameColor) && isMonster() && m_healthPercent == 100 && !useGray)
fillColor = Color(0xff, 0x00, 0x00);

I do it right?
 
Back
Top