script extensions

From Wiki

Jump to: navigation, search
(1.1.1.5 (fin))
Line 3: Line 3:
 
<onlyinclude>
 
<onlyinclude>
 
====fonts_to_use_instead_of_...====
 
====fonts_to_use_instead_of_...====
{{Ex/inival|1.0.0.1|synthetic fonts|takes the part after '''fonts_to_use_instead_of_''' and uses the provided fonts in place of any font that has a name that matches. Underscores (_) are treated as single character wildcards. This kind of extension applies to dialogue text only. To change the menu (and other) fonts refer to [[#system_fonts_to_use]]}}
+
{{Ex/inival|1.0.0.1|synthetic fonts|takes the part after ''fonts_to_use_instead_of_'' and uses the provided fonts in place of any font that has a name that matches. Underscores (_) are treated as single character wildcards. This kind of extension applies to dialogue text only. To change the menu (and other) fonts refer to [[#system_fonts_to_use]]}}
  
 
'''Note: a font may have multiple aliases even though matching is only done against the alias that was assigned to the text being displayed.'''
 
'''Note: a font may have multiple aliases even though matching is only done against the alias that was assigned to the text being displayed.'''

Revision as of 00:43, 12 January 2013


fonts_to_use_instead_of_...

Introduced around 1.0.0.1, this extension takes the part after fonts_to_use_instead_of_ and uses the provided fonts in place of any font that has a name that matches. Underscores (_) are treated as single character wildcards. This kind of extension applies to dialogue text only. To change the menu (and other) fonts refer to #system_fonts_to_use. Values are limited to synthetic fonts.

Note: a font may have multiple aliases even though matching is only done against the alias that was assigned to the text being displayed.

status_fonts_to_use

Introduced around 1.1.1.5, this extension replaces the the on-screen element fonts. The default behavior is to use the menu fonts described by #system_fonts_to_use. Text messages use the standard menu font. Each screen of text dialog has its own font. Values are limited to synthetic fonts.

Note that Sword of Moonlight's on-screen element text is not font based. #do_st provides an alternative heads-up-display, and #do_pause and #do_escape print system messages to the center of the screen.

system_fonts_to_use

Introduced around 1.0.0.1, this extension replaces the font used by non-dialogue text with the provided fonts. Refer to #status_fonts_to_use to target the on-screen element fonts provided by #do_pause, #do_escape, and #do_st specifically. Values are limited to synthetic fonts.