Art screens

From ECWolf Wiki
Revision as of 17:45, 19 November 2022 by Jayman (talk | contribs) (→‎Commands: ^P starts pages (you have to have one at the very beginning of your script))

Art screens are used to provide an in game manual as well as provide story elements between clusters. They are simply specifically formatted text and do not have any specific naming convention, although the Read This screen is HELPART.

Commands

A command is a letter prefixed with the caret character ('^') possibly followed by some specific formatting. The following commands are recognized. Commands with EOL indicate they must be on a separate line.

  • ^;<anything> EOL - Comment
  • ^> - Indent
Indents the text 160 pixels.
  • ^B<x> <y> <w> <h> EOL - Black-out
Create a black rectangle with the specified dimensions.
  • ^C<index> - Stencil Color
Sets the font to a stencil mode with the color specified by palette index. Not recommended for use.
  • ^C[<textcolor>] - Font Color
Sets the font to a color specified in TEXTCOLO. This will retain font shading.
  • ^E - End of File
Ends page and the art script.
  • ^G<y> <x> <index> - Draw Image by Index
Draws an image by an art index specified in TEXTURES. Not recommended for use.
  • ^G<y> <x> [<texture>] - Draw Image by Name
Draws an image in the specified location by texture name.
  • ^L<y> <x> EOL - Set Position
Sets the font drawing position in lines.
  • ^P - Start of Page
Ends the current page (if there is one) and starts the next.
  • ^T<y> <x> <index>
Waits time and then draws an image by index.
  • ^T<y> <x> [<texture>]
Waits time and then draws an image by texture name.