Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: soilder198 on December 30, 2019, 09:48:49 am
-
Hi all. I have began using color tags in my mission briefings and they are giving me a single problem. They cause lines of dialogue to run outside of the little briefing "box". If I take the color tags out, the text behaves normally again, staying inside the designated "box". Does anyone have a fix to this?
-
Here's everything regarding color tags:
https://wiki.hard-light.net/index.php/Briefing
https://wiki.hard-light.net/index.php/Briefing_Text
But it seems your problem is more like a FSO issue.
-
This usually happens to me when I don't put a space between the tag and the word that's to be tagged.
Example:
$fPhi wing of the $f1135th $fsquadron
Fixed:
$f Phi wing of the $f 1135th $f squadron
-
Huh, that's not on the wiki; actually it seems like the wiki text is luring people into this trap.
-
This usually happens to me when I don't put a space between the tag and the word that's to be tagged.
Example:
$fPhi wing of the $f1135th $fsquadron
Fixed:
$f Phi wing of the $f 1135th $f squadron
Yep, that fixed it. Many thanks!
-
Huh, that's not on the wiki; actually it seems like the wiki text is luring people into this trap.
A note about color tags: The color tag will work on all font until a space is encountered. There needs to be a space after the tag, before the text to be colorized (although it's not actually required after r5840, it is recommended due to the way FSO wordwrapping works). There is a method to color spans of text, which is discussed in the Misc section below.
Second paragraph of "colors". :p
That being said, I've never noticed this line before. And it was edited back in 2016. :nervous:
This usually happens to me when I don't put a space between the tag and the word that's to be tagged.
Example:
$fPhi wing of the $f1135th $fsquadron
Fixed:
$f Phi wing of the $f 1135th $f squadron
Yep, that fixed it. Many thanks!
:yes: :yes: :yes:
-
OK I just didn't knew what wordwrapping means. :o