Difference between revisions of "MAPINFO/Cluster definition"

From ECWolf Wiki
(Created page with "A cluster is a grouping of maps, usually, but not necessarily, separated by story elements. This should not be confused with episodes. == Block ...")
 
 
Line 1: Line 1:
A cluster is a grouping of maps, usually, but not necessarily, separated by story elements. This should not be confused with [[MAPINFO/Episode definition|episodes]].
+
A cluster is a grouping of maps usually (but not necessarily) separated by story elements. This should not be confused with [[MAPINFO/Episode definition|episodes]].
 
== Block syntax ==
 
== Block syntax ==
'''cluster <number>''' { ''properties'' }
+
<tt>cluster <positive integer> { ''properties'' }</tt>
 
:Assigns the properties to a cluster with the specified number. Numbers should be greater than or equal to 1.
 
:Assigns the properties to a cluster with the specified number. Numbers should be greater than or equal to 1.
 
== Block properties ==
 
== Block properties ==
* '''exittext = "<text>"'''
+
* <tt>exittext = "<text>"</tt>
* '''exittext = lookup, "<string>"'''
+
* <tt>exittext = lookup, "<string>"</tt>
:When exiting a level with transitions to a different cluster. This message will be displayed. Use lookup to use a message from the [[LANGUAGE]] lump.
+
:When exiting a level with transitions to a different cluster this message will be displayed. Use lookup to use a message from the [[LANGUAGE]] lump.
* '''exittextislump'''
+
* <tt>exittextislump</tt>
 
:The exit text is a lump containing a message to display.
 
:The exit text is a lump containing a message to display.
* '''exittextismessage'''
+
* <tt>exittextismessage</tt>
:Instead of showing an art screen. Just pop up a message box. Used for the Spear of Destiny Demo end screen for example.
+
:Instead of showing an art screen, just pop up a message box. Used for the Spear of Destiny Demo end screen, for example.

Latest revision as of 19:56, 4 January 2017

A cluster is a grouping of maps usually (but not necessarily) separated by story elements. This should not be confused with episodes.

Block syntax

cluster <positive integer> { properties }

Assigns the properties to a cluster with the specified number. Numbers should be greater than or equal to 1.

Block properties

  • exittext = "<text>"
  • exittext = lookup, "<string>"
When exiting a level with transitions to a different cluster this message will be displayed. Use lookup to use a message from the LANGUAGE lump.
  • exittextislump
The exit text is a lump containing a message to display.
  • exittextismessage
Instead of showing an art screen, just pop up a message box. Used for the Spear of Destiny Demo end screen, for example.