Difference between revisions of "MAPINFO/Intermission definition"

From ECWolf Wiki
Line 18: Line 18:
 
* '''background = "<texture>"[, <tile>[, "<palette>"]]'''
 
* '''background = "<texture>"[, <tile>[, "<palette>"]]'''
 
:Draws the given texture as a full screen background.
 
:Draws the given texture as a full screen background.
:If tile is set to 1 then the graphic will be tiled instead of stretched to full screen. An alternative palette can be set as well. {{Hg|897c8d5|1.2}}
+
:If tile is set to 1 then the graphic will be tiled instead of stretched to full screen. An alternative palette can be set as well. {{new}}
 
* '''draw = "<texture>", <x>, <y>'''
 
* '''draw = "<texture>", <x>, <y>'''
 
:Draws the given texture at the given coordinates.
 
:Draws the given texture at the given coordinates.
 
* '''music = "<lump>"'''
 
* '''music = "<lump>"'''
 
:Changes the music to the given track.
 
:Changes the music to the given track.
* '''palette = "<lump>"'''
 
{{warning|This feature has been replaced in the latest development build.}}
 
:Switches the palette.
 
 
* '''time = <value>'''
 
* '''time = <value>'''
 
:Gives how long the page should be displayed for. Positive values are in Doom tics, negative values are in seconds.
 
:Gives how long the page should be displayed for. Positive values are in Doom tics, negative values are in seconds.

Revision as of 08:55, 12 June 2013

An intermission definition defines an ending sequence. It will appear after the standard intermission stats screen.

Block syntax

intermission name { properties }

Defines an intermission with the given name.

Block properties

  • Fader { properties }
Defines a fading (in/out) image.
  • GotoTitle {}
Returns to the demo loop.
  • Image { properties }
Displays an image with no special properties.
  • TextScreen { properties }
Displays a message.
  • VictoryStats { properties }
Shows the victory stats screen.

Sub-block properties

These properties apply to any sub-block.

  • background = "<texture>"[, <tile>[, "<palette>"]]
Draws the given texture as a full screen background.
If tile is set to 1 then the graphic will be tiled instead of stretched to full screen. An alternative palette can be set as well. (New from 1.4)
  • draw = "<texture>", <x>, <y>
Draws the given texture at the given coordinates.
  • music = "<lump>"
Changes the music to the given track.
  • time = <value>
Gives how long the page should be displayed for. Positive values are in Doom tics, negative values are in seconds.

Fader properties

  • fadetype = <type>
Sets the type of fade. Valid values are FadeIn or FadeOut.

TextScreen properties

  • text = "<string>", ...
Gives the text to display for this screen. Each line is a separate string.
  • textalignment = <alignment>
Gives the alignment for the text. Valid values are left, right, or center.
  • textcolor = "<textcolor>"
Gives the color for the font.
  • textspeed = <value>
Set this to 0. Will eventually indicate how fast characters are drawn on the screen.
  • position = <x>, <y>
Location on the screen where text drawing starts.