Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NPC keywords color
#1
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]
Just a small time Server Dev. Do this for fun, not the funds. 
Reply
#2
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")
Reply
#3
(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.
Just a small time Server Dev. Do this for fun, not the funds. 
Reply
#4
Can we do the same for floating text on default?


Attached Files Thumbnail(s)
   
Reply
#5
it will be added in 2.4 version
Reply
#6
Bump bump
Reply
#7
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
Reply
#8
it is Wink
Reply
#9
(06-09-2020, 07:47 PM)Kondra Wrote: it is Wink
Could you please tell how?
Reply
#10
get version 2.4, it's included. Code doing that is in game_console/console.lua
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)