Difference between revisions of "IntroWML"

From The Battle for Wesnoth Wiki
 
m (fixed formatting)
Line 1: Line 1:
See also the '''DOT|| and ||CROSS''' IDs, in [[UtilWML]]
+
See also the '''DOT''' and '''CROSS''' IDs, in [[UtilWML]]
  
 
== The [story] tag ==
 
== The [story] tag ==
Line 10: Line 10:
  
 
The following key/tags are recognized for [part]:
 
The following key/tags are recognized for [part]:
* ''background'' the image to display.
+
* ''background'' the image to display. Story images are usually created specially for this purpose, except for the map.
story images are usually created specially for this purpose, except for the map.
 
 
* ''story'' (translatable) the text to display below the image.
 
* ''story'' (translatable) the text to display below the image.
 
* ''delay'' time in milliseconds to delay on this frame.
 
* ''delay'' time in milliseconds to delay on this frame.
Line 17: Line 16:
 
* ''music'' change to this music
 
* ''music'' change to this music
 
* '''[image]''' an image to display.
 
* '''[image]''' an image to display.
** ''x//,//y'' the location in pixels to draw the image.
+
** ''x'', ''y'' the location in pixels to draw the image.
 
** ''file'' the image to display.
 
** ''file'' the image to display.
 
** ''delay'' the time to delay drawing this image.
 
** ''delay'' the time to delay drawing this image.
  
  
See also the '''DOT|| and ||CROSS''' IDs, in [[UtilWML]]
+
See also the '''DOT''' and '''CROSS''' IDs, in [[UtilWML]]
  
 
== See Also ==
 
== See Also ==
  
 
* [[ReferenceWML]]
 
* [[ReferenceWML]]
 

Revision as of 10:28, 23 August 2005

See also the DOT and CROSS IDs, in UtilWML

The [story] tag

The [story] tag is a series of images and text to display as the first part of the intro screen.

The only tag recognized for [story] is [part]. Each [part] represents one image and text. The part is displayed until the user clicks on the "Next>>>" button.

The following key/tags are recognized for [part]:

  • background the image to display. Story images are usually created specially for this purpose, except for the map.
  • story (translatable) the text to display below the image.
  • delay time in milliseconds to delay on this frame.
  • show_title whether to display the title of the scenario at the top
  • music change to this music
  • [image] an image to display.
    • x, y the location in pixels to draw the image.
    • file the image to display.
    • delay the time to delay drawing this image.


See also the DOT and CROSS IDs, in UtilWML

See Also