Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: AdmiralRalwood on June 23, 2014, 02:29:17 am

Title: Yo dawg, I heard you like color codes...
Post by: AdmiralRalwood on June 23, 2014, 02:29:17 am
...so I put color codes in your debriefings so you can color while you debrief.

(http://deviance.duckish.net/pictures/fs2_open_3_7_1_SSE2%202014-06-23%2000-07-25-63.png)

(See also: Mantis 761 (http://scp.indiegames.us/mantis/view.php?id=761))
Title: Re: Yo dawg, I heard you like color codes...
Post by: Colonol Dekker on June 23, 2014, 03:48:51 am
Wht aren't these EVERYWHERE??


Like in flight too?
Title: Re: Yo dawg, I heard you like color codes...
Post by: mjn.mixael on June 23, 2014, 09:29:29 am
 :nod:
Title: Re: Yo dawg, I heard you like color codes...
Post by: AdmiralRalwood on June 23, 2014, 11:18:47 am
And now color spans work across linebreaks (NOTE: This is not limited to just debriefings).

(http://deviance.duckish.net/pictures/fs2_open_3_7_1_SSE2%202014-06-23%2009-13-49-57.png)


Code: [Select]
#Debriefing_info

$Num stages: 2

$Formula: ( true )
$Multi text
    XSTR("$b{ This debriefing stage has $v{ color $B in $y it!

Isn't $} that $R GREAT?", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("This recommendation $y{ also has $g color in it.", -1)
$end_multi_text

$Formula: ( true )
$Multi text
    XSTR("Despite the above debriefing stage (and recommendation) having unclosed color spans, this debriefing stage is completely white. Isn't that great?", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("$B{ Hence forth, all recommendations should be bright blue. Isn't that much better? Isn't it? Come on, you guys, you know it is.", -1)
$end_multi_text