Difference between revisions of "Text Replacement"

548 bytes added ,  15:38, 16 May 2018
added CC fonts
imported>Qazaaq
m
imported>Qazaaq
(added CC fonts)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Game Systems]]
{{Template:Incomplete Article}}
[[Category:User Interface]]
The '''Text Replacement''' game system parses value tokens and formatting tags. This is used on a several forms like [[Book]]s and [[Terminal]]s.
The '''Text Replacement''' game system parses value tokens and formatting tags. This is used on a several forms like [[Book]]s and [[Terminal]]s.


 
==Tokens==
==Book Text==
Quest-associated books can contain tokens used for '''Text Replacement''' if you add a book alias to the quest and set "Uses Stored Text" flag on this alias.
The [[Book]] text field can be formatted with a variety of '''markup''' tags.
Quest-associated books can contain additional tags used for '''Text Replacement'''.
To associate book with the quest you need to add book alias to the quest and set "Uses Stored Text" flag on this alias.
 


==Markup==
==Markup==
Some text fields support a variety of '''Markup''' tags used with formatting.
Some text fields support a variety of '''Markup''' tags used with formatting.
===Example===
<source lang="text">
<!--This is the example for text markup-->
<font face='$HandwrittenFont' size='35'>Hello World!</font>
<b><i><u>This is bold, italic, and underlined.</u></i></b>
<BR>These are some colors I like.
<ul>
<li>Black</li>
<li>White</li>
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</ul></nowiki>
[pagebreak]
<!--A new page has starts here-->
<p align='center'>My center aligned text.
<p align='left'>My left aligned text.
</source>


===Syntax===
===Syntax===
Line 72: Line 86:
**** Tag: <code><img src='img://Textures/Interface/Books/Illuminated_Letters/X_letter.png'></code>
**** Tag: <code><img src='img://Textures/Interface/Books/Illuminated_Letters/X_letter.png'></code>
**** Description: Used for adding special illuminated letters at the beginning of books. (Replace the "X" with any letter or number.)
**** Description: Used for adding special illuminated letters at the beginning of books. (Replace the "X" with any letter or number.)
===Example===
<code>
<nowiki>&lt;!--This is the example for text markup--&gt;</nowiki><BR>
<nowiki><font face='$HandwrittenFont' size='35'>Hello World!</font></nowiki><BR>
<nowiki><b><i><u>This is bold, italic, and underlined.</u></i></b></nowiki><BR>
<nowiki><BR>These are some colors I like.</nowiki><BR>
<nowiki><ul></nowiki><BR>
<nowiki><li>Black</li></nowiki><BR>
<nowiki><li>White</li></nowiki><BR>
<nowiki><li>Red</li></nowiki><BR>
<nowiki><li>Green</li></nowiki><BR>
<nowiki><li>Blue</li></nowiki><BR>
<nowiki></ul></nowiki></nowiki><BR>
<nowiki>[pagebreak]</nowiki><BR>
<nowiki>&lt;!--A new page has starts here--&gt;</nowiki><BR>
<nowiki><p align='center'>My center aligned text.</nowiki><BR>
<nowiki><p align='left'>My left aligned text.</nowiki>
</code>


==Fonts==
==Fonts==
Line 98: Line 92:
The current font configuration can be found in ''Fallout 4\Data\Interface\FontConfig.txt''
The current font configuration can be found in ''Fallout 4\Data\Interface\FontConfig.txt''


*'''Library:'''Interface\fonts_en.swf
*'''Library:'''Interface\fonts_en.swf [[File:Roboto Condensed Example.png|thumb|top|Example of the main Fallout 4 font]]
**'''Symbol:''' $MAIN_Font
**'''Font Class:''' $MAIN_Font
**'''Font Family:''' Roboto Condensed
**'''Font Family:''' Roboto Condensed
**'''Font Style:''' Normal
**'''Font Style:''' Normal


*'''Library:'''Interface\fonts_en.swf
*'''Library:'''Interface\fonts_en.swf [[File:Roboto Condensed Bold Example.png|thumb|top|Example of the main Fallout 4 font, bolded]]
**'''Symbol:''' $MAIN_Font_Bold
**'''Font Class:''' $MAIN_Font_Bold
**'''Font Family:''' Roboto Condensed
**'''Font Family:''' Roboto Condensed
**'''Font Style:''' Bold
**'''Font Style:''' Bold


*'''Library:'''Interface\fonts_en.swf
*'''Library:'''Interface\fonts_en.swf [[File:Handwritten Institute Font Example.png|thumb|top|Example of the handwritten font in Fallout 4]]
**'''Symbol:''' $HandwrittenFont
**'''Font Class:''' $HandwrittenFont
**'''Font Family:''' Handwritten_Institute
**'''Font Family:''' Handwritten_Institute
**'''Font Style:''' Normal
**'''Font Style:''' Normal


*'''Library:'''Interface\fonts_en.swf
*'''Library:'''Interface\fonts_en.swf [[File:Brody Bold Example.png|thumb|top|Example of the Brody font in Fallout 4]]
**'''Symbol:''' $BRODY
**'''Font Class:''' $BRODY
**'''Font Family:''' "Brody"
**'''Font Family:''' "Brody"
**'''Font Style:''' Bold
**'''Font Style:''' Bold


*'''Library:'''Interface\fonts_en.swf
*'''Library:'''Interface\fonts_en.swf [[File:Share-TechMono Font Example.png|thumb|top|Example of the terminal font in Fallout 4]]
**'''Symbol:''' $Terminal_Font
**'''Font Class:''' $Terminal_Font
**'''Font Family:''' Share-TechMono
**'''Font Family:''' Share-TechMono
**'''Font Style:''' Normal
**'''Font Style:''' Normal


*'''Library:'''Interface\fonts_en.swf
*'''Library:'''Interface\fonts_en.swf
**'''Symbol:''' $Controller_Buttons
**'''Font Class:''' $Controller_Buttons
**'''Font Family:''' Controller  Buttons
**'''Font Family:''' Controller  Buttons
**'''Font Style:''' Normal
**'''Font Style:''' Normal


*'''Library:'''Interface\fonts_en.swf
*'''Library:'''Interface\fonts_en.swf
**'''Symbol:''' $Controller_Buttons_inverted
**'''Font Class:''' $Controller_Buttons_inverted
**'''Font Family:''' Controller  Buttons inverted
**'''Font Family:''' Controller  Buttons inverted
**'''Font Style:''' Normal
**'''Font Style:''' Normal


*'''Library:'''Interface\fonts_console.swf
*'''Library:'''Interface\fonts_en.swf
**'''Symbol:''' $ConsoleFont
**'''Font Class:''' $CClub_Font
**'''Font Family:''' Eurostile LT Std Roman
**'''Font Style:''' None
 
*'''Library:'''Interface\fonts_en.swf
**'''Font Class:''' $CClub_Font_Bold
**'''Font Family:''' Eurostile Cyr Std Bold
**'''Font Style:''' None
 
*'''Library:'''Interface\fonts_console.swf [[File:Arial Font Example.png|thumb|top|Example of the console font in Fallout 4]]
**'''Font Class:''' $ConsoleFont
**'''Font Family:''' Arial
**'''Font Family:''' Arial
**'''Font Style:''' Normal
**'''Font Style:''' Normal


*'''Library:'''Interface\fonts_console.swf
*'''Library:'''Interface\fonts_console.swf [[File:Consolas Font Example.png|thumb|top|Example of the console debug font in Fallout 4]]
**'''Symbol:''' $DebugTextFont
**'''Font Class:''' $DebugTextFont
**'''Font Family:''' Consolas
**'''Font Family:''' Consolas
**'''Font Style:''' Normal
**'''Font Style:''' Normal
[[Category:Game Systems]]
[[Category:User Interface]]
Anonymous user