Difference between revisions of "Briefing Text"

From FreeSpace Wiki
Jump to: navigation, search
m (Misc: its)
(Colors)
Line 5: Line 5:
 
The hue of these colors can be changed with the [[Colors.tbl]] but the tags will remain the same.
 
The hue of these colors can be changed with the [[Colors.tbl]] but the tags will remain the same.
  
A note about color tags: The color tag will work on all font until a space is encountered. There must also be a space after the tag and before the text to be colored.
+
A note about color tags: The color tag will work on all font until a space is encountered. There must also be a space after the tag and before the text to be colored. There is a method to color spans of text, which is discussed in the Misc section below.
  
 
Example: '$b This is $b blue $b text' will show as '<span style="color:#5D5D80">This</span> is <span style="color:#5D5D80">blue text</span>'
 
Example: '$b This is $b blue $b text' will show as '<span style="color:#5D5D80">This</span> is <span style="color:#5D5D80">blue text</span>'

Revision as of 14:08, 14 May 2012

These tags can be used to manipulate text messages in command and mission briefings. They don't work in debriefing stages.

Colors

The hue of these colors can be changed with the Colors.tbl but the tags will remain the same.

A note about color tags: The color tag will work on all font until a space is encountered. There must also be a space after the tag and before the text to be colored. There is a method to color spans of text, which is discussed in the Misc section below.

Example: '$b This is $b blue $b text' will show as 'This is blue text'

  • Bright White: $W
  • Standard (default) White: $w
  • Black: $k (Black)
  • Standard Blue: $b
  • Bright Blue: $B
  • Standard Green: $g
  • Bright Green: $G
  • Standard Yellow: $y
  • Bright Yellow: $Y
  • Gray: $e
  • Silver: $E
  • Violet Gray: $v
  • Violet: $V
  • Standard Red: $r
  • Bright Red: $R
  • Pink: $p
  • Bright Pink: $P

Misc

  • The breaking tag $| can be used to stop a color before a character.
    • $g Standard Green = Standard Green.
    • $g Stand$|ard Green = Standard Green.
  • $quote will create double quotes.
    • Goober is $quotesilly$quote = Goober is "silly".
  • $semicolon will create a semicolon.
  • $callsign places the pilot name in its place.
  • $rank places the player's rank in its place.
  • $f, $h, & $n will color the text with the default colors for Friendly, Hostile and Neutral respectively. The colors are defined in the iff_defs.tbl.
  • Most special characters such as the comma ',', question mark '?', and exclamation point '!' cannot be colored as of 3.6.14.