script extensions

From Wiki

Jump to: navigation, search
(status_fonts_height)
Line 6: Line 6:
  
 
'''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.'''
 +
 +
====status_fonts_contrast====
 +
{{Ex/inival|1.1.1.7|hexadecimal colour codes|establishes the colour of on-screen element font shadows, excluding subtitles. The default colour is 464646. Partial transparency is not supported as of 1.1.1.5. Refer to [[#status_fonts_to_use]]|color}}
 +
 +
====status_fonts_height====
 +
{{Ex/inival|1.1.1.5|positive whole numbers|establishes the height of on-screen element fonts, excluding subtitles. Refer to [[#status_fonts_to_use]]|whole}}
 +
 +
====status_fonts_tint====
 +
{{Ex/inival|1.1.1.7|hexadecimal colour codes|establishes the colour of on-screen element fonts, excluding subtitles. The default colour is dcdcdc. Partial transparency is not supported as of 1.1.1.5. Refer to [[#status_fonts_to_use]]|color}}
  
 
====status_fonts_to_use====
 
====status_fonts_to_use====
{{Ex/inival|1.1.1.5|synthetic fonts|replaces the on-screen element fonts. The default behavior is to use the menu fonts described by [[#system_fonts_to_use]]. Subtitles use the standard menu font|font}}
+
{{Ex/inival|1.1.1.5|synthetic fonts|establishes the on-screen element fonts excluding subtitles. The default behavior is to use the menu fonts described by [[#system_fonts_to_use]]|font}}
 +
 
 +
''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]] display notifications to the center of the screen.''
  
''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]] send system messages to the center of the screen.''
+
====system_fonts_contrast====
 +
{{Ex/inival|1.1.1.7|hexadecimal colour codes|replaces the colour of in-game menu text fonts. The default colour is 464646. Partial transparency is not supported as of 1.1.1.5. Refer to [[#system_fonts_to_use]]|color}}
  
====status_fonts_height====
+
====system_fonts_tint====
{{Ex/inival|1.1.1.5|positive whole numbers|establishes the height of on-screen elements, excluding subtitles. Refer to [[#status_fonts_to_use]]|whole}}
+
{{Ex/inival|1.1.1.7|hexadecimal colour codes|replaces the colour of in-game menu text fonts. The default colour is dcdcdc. Partial transparency is not supported as of 1.1.1.5. Refer to [[#system_fonts_to_use]]|color}}
  
 
====system_fonts_to_use====
 
====system_fonts_to_use====
{{Ex/inival|1.0.0.1|synthetic fonts|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|font}}
+
{{Ex/inival|1.0.0.1|synthetic fonts|replaces the font used by in-game menu 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|font}}
 +
 
 +
'''Note: that this extension may also replace the fonts (but not colour) of dialogue and subtitle text which uses the same font as the in-game menus. This behavior is not by design and is subject to change in the future.'''
 +
 
 +
'''''Tip: as of 1.1.1.7 you can change the colour of system, status, and subtitle and default dialog text (all one thing, three in total) independent of one another. Refer to [[#lettering_tint]].'''''
  
 
</onlyinclude>
 
</onlyinclude>

Revision as of 21:50, 22 March 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_contrast

Introduced around 1.1.1.7, this extension establishes the colour of on-screen element font shadows, excluding subtitles. The default colour is 464646. Partial transparency is not supported as of 1.1.1.5. Refer to #status_fonts_to_use. Values are limited to hexadecimal colour codes.[#]

status_fonts_height

Introduced around 1.1.1.5, this extension establishes the height of on-screen element fonts, excluding subtitles. Refer to #status_fonts_to_use. Values are limited to positive whole numbers.[#]

status_fonts_tint

Introduced around 1.1.1.7, this extension establishes the colour of on-screen element fonts, excluding subtitles. The default colour is dcdcdc. Partial transparency is not supported as of 1.1.1.5. Refer to #status_fonts_to_use. Values are limited to hexadecimal colour codes.[#]

status_fonts_to_use

Introduced around 1.1.1.5, this extension establishes the on-screen element fonts excluding subtitles. The default behavior is to use the menu fonts described by #system_fonts_to_use. 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 display notifications to the center of the screen.

system_fonts_contrast

Introduced around 1.1.1.7, this extension replaces the colour of in-game menu text fonts. The default colour is 464646. Partial transparency is not supported as of 1.1.1.5. Refer to #system_fonts_to_use. Values are limited to hexadecimal colour codes.[#]

system_fonts_tint

Introduced around 1.1.1.7, this extension replaces the colour of in-game menu text fonts. The default colour is dcdcdc. Partial transparency is not supported as of 1.1.1.5. Refer to #system_fonts_to_use. Values are limited to hexadecimal colour codes.[#]

system_fonts_to_use

Introduced around 1.0.0.1, this extension replaces the font used by in-game menu 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.[#]

Note: that this extension may also replace the fonts (but not colour) of dialogue and subtitle text which uses the same font as the in-game menus. This behavior is not by design and is subject to change in the future.

Tip: as of 1.1.1.7 you can change the colour of system, status, and subtitle and default dialog text (all one thing, three in total) independent of one another. Refer to #lettering_tint.