On dialogue visibility

  • #1, by gregor-muellerTuesday, 05. October, 18:57 2 weeks ago
    Hi, I have several characters which are constantly changing their visibility (think "ghost-effect"). The problem is that they also have dialogue. And now the text is also changing its visibility which makes it quite hard to read without getting a headache.
    Is there an easy/quick way to "lock" the text visibility?

    Thanks in advance!


    13 Posts

  • #2, by gregor-muellerMonday, 18. October, 10:29 4 days ago
    Thanks so much, bot. Good to know our soon-to-be machine-lords care.
    But really though, no one who can help me? I feel like it should be something really easy, maybe a few lines of Lua. But I don't know where to start...


    13 Posts

  • #3, by afrlmeMonday, 18. October, 11:40 4 days ago
    We talked to Simon about it, but the opacity of the text is currently tied into the visibility value of the character. Maybe he can implement an option to disable that, but I have no idea when or even if he'll do that.

    For now you could hide the text with script & redraw it with Lua draw, but it's not just a few simple lines of code as you seem to think as you need to hide the current text, specifiy the font to use, calculate the amount of lines of text there will be as well as the total width & height & then use that to calculate the position the text should be displayed on screen.

    Something you could look at is Sebastian's speech bubble script which you could either use or rewrite to suit your needs.

    https://www.youtube.com/watch?v=dn_X6OsozZI - german tutorial

    https://www.youtube.com/watch?v=wV6Fh_baPkk - english tutorial


    7025 Posts

Write post