Text wrapping behaviour, CRPG style
Posted: Wed Aug 23, 2023 12:29 am
Hi. I'm looking to achieve a behavior with my dialogue UI reminiscent of old CRPGs like Planescape Torment. Disco Elysium also uses a very similar style.
This image covers the style I'm looking for pretty well:
1. Basically, when the text of a subtitle or response wraps, I want the next line to appear slightly in front of the previous one, something equivalent to adding a couple tab keys. For the response options I would also love to use the Dialogue System's Autonumbering feature if possible, to speed up work.
2. Also, related, is there a way to apply a different color to the autonumbering than the regular text? Can it be done in the "Format" field of the Standart UI Menu Panel? And same question for speaker names, I suppose.
I've been bashing my head against this for a while now and I can't seem to figure out any way of doing it. I'm using TextMeshPro and have tried messing around with the Wrapping/Overflow options to no avail. Is there a simple way of implementing something like this or would it involve a lot of code?
I also apologize if this is more related to Unity's UI System than this plugin, or if I've missed a very obvious instruction somewhere - I'm inexperienced enough to not be completely sure.
Thanks a ton
This image covers the style I'm looking for pretty well:
1. Basically, when the text of a subtitle or response wraps, I want the next line to appear slightly in front of the previous one, something equivalent to adding a couple tab keys. For the response options I would also love to use the Dialogue System's Autonumbering feature if possible, to speed up work.
2. Also, related, is there a way to apply a different color to the autonumbering than the regular text? Can it be done in the "Format" field of the Standart UI Menu Panel? And same question for speaker names, I suppose.
I've been bashing my head against this for a while now and I can't seem to figure out any way of doing it. I'm using TextMeshPro and have tried messing around with the Wrapping/Overflow options to no avail. Is there a simple way of implementing something like this or would it involve a lot of code?
I also apologize if this is more related to Unity's UI System than this plugin, or if I've missed a very obvious instruction somewhere - I'm inexperienced enough to not be completely sure.
Thanks a ton