Skip to content

how to change text color?

LogiteksLogiteks Member Posts: 21
I remember reading that it's possible to change color of strings stored in dialog.tlk. Most likely by starting/enclosing text with rgb hex color token or something like that. It was @argent77, who mentioned it, iirc. How to do it? Or maybe it's not possible after all?

Comments

  • argent77argent77 Member Posts: 3,478
    It's described in the Character creation section of the IESDP. However, the syntax applies to every line of text in the game.

    It's also described in this comment: https://forums.beamdog.com/discussion/comment/1098021/#Comment_1098021
  • skushaskusha Member Posts: 138
    There is a mod that adds different colors for the lines receiving gold, items, quests, map updates, etc.
  • LogiteksLogiteks Member Posts: 21
    edited January 2021
    thanks, works great.

    When used via Infinity_DisplayString (UI lua function) there is no character limit.

    btw. since it doesn't seem to be documented: those pre-made letters and numbers are declared in BGEE.lua fontcolors table (so you can append other colors there).
  • xiaoleiwenxiaoleiwen Member Posts: 195
    edited February 2021
    is there any way to make the dialogue font bold?


    solved myself with changing the font to MODESTOM :
    fauurfjitlzw.jpg
    10n306bwns47.jpg
    Post edited by xiaoleiwen on
Sign In or Register to comment.