OTClientV8 & Tibia Forum
NPC keywords color - Printable Version

+- OTClientV8 & Tibia Forum (http://otclient.net)
+-- Forum: OTClientV8 (http://otclient.net/forumdisplay.php?fid=1)
+--- Forum: Support (http://otclient.net/forumdisplay.php?fid=4)
+--- Thread: NPC keywords color (/showthread.php?tid=33)

Pages: 1 2


NPC keywords color - Caduceus - 04-27-2020

I am looking for info on how to edit the npc keyword text color. 
[attachment=3]

As well as fix this misplaced button on containers in the default layout. This only happens to containers inside of other containers.
[attachment=2]


RE: NPC keywords color - Kondra - 04-27-2020

it's from modules/game_console/console.lua, addTabText(text, speaktype, tab, creatureName) function, find:
Code:
if not labelHighlight then
        labelHighlight = g_ui.createWidget('ConsolePhantomLabel', label)
        labelHighlight:fill('parent')
        labelHighlight:setId('consoleLabelHighlight')
        labelHighlight:setColor("#1f9ffe")
      end
color comes from
Code:
labelHighlight:setColor("#1f9ffe")



RE: NPC keywords color - Caduceus - 04-27-2020

(04-27-2020, 10:00 PM)Kondra Wrote:
Code:
labelHighlight:setColor("#1f9ffe")

Thanks that fixed my keyword blending with normal text issue with the privateNpcToPlayer in SpeakTypesSettings.


RE: NPC keywords color - Brush - 05-14-2020

Can we do the same for floating text on default?


RE: NPC keywords color - Kondra - 05-14-2020

it will be added in 2.4 version


RE: NPC keywords color - Brush - 05-21-2020

Bump bump


RE: NPC keywords color - Brush - 06-09-2020

Is it possible now? C:

@edit if its no-brainer doesn't waste your time posting.
I was so hyped about 2.4 that I didn't even check it myself XD


RE: NPC keywords color - Kondra - 06-09-2020

it is Wink


RE: NPC keywords color - Claudia - 06-10-2020

(06-09-2020, 07:47 PM)Kondra Wrote: it is Wink
Could you please tell how?


RE: NPC keywords color - Kondra - 06-10-2020

get version 2.4, it's included. Code doing that is in game_console/console.lua