Difference between revisions of "MAPINFO/Episode definition"

From ECWolf Wiki
(Created page with "An episode is a selectable starting point for the game. Episodes will appear on the menu in the order they are defined here. There should be at least one episode defined. The ...")
 
 
Line 1: Line 1:
An episode is a selectable starting point for the game. Episodes will appear on the menu in the order they are defined here. There should be at least one episode defined. The menu will not display when that is the case.
+
An episode is a selectable starting point for the game. If more than one episode is defined, they will appear in the menu in the order they appear. There should be at least one episode defined.
 
== Block syntax ==
 
== Block syntax ==
'''clearepisodes'''
+
* <tt>clearepisodes</tt>
 
:Removes all previously defined episodes.
 
:Removes all previously defined episodes.
'''episode <map>''' { ''properties'' }
+
* <tt>episode <map> { ''properties'' }</tt>
 
:Creates an episode that starts on the specified map.
 
:Creates an episode that starts on the specified map.
  
 
== Block properties ==
 
== Block properties ==
* '''key = "<letter>"'''
+
* <tt>key = "<letter>"</tt>
 
:Assigns the letter as a hot key for the episode in the menu.
 
:Assigns the letter as a hot key for the episode in the menu.
* '''lookup = "<string>"'''
+
* <tt>lookup = "<string>"</tt>
 
:Pulls the name of the episode by a keyword in [[LANGUAGE]].
 
:Pulls the name of the episode by a keyword in [[LANGUAGE]].
* '''name = "<name>"'''
+
* <tt>name = "<name>"</tt>
 
:Sets the name of the episode as it appears on the menu directly.
 
:Sets the name of the episode as it appears on the menu directly.
* '''noskillmenu'''
+
* <tt>noskillmenu</tt>
 
:Causes the game to start without going through the skill selection. The skill level will be the default.
 
:Causes the game to start without going through the skill selection. The skill level will be the default.
* '''optional'''
+
* <tt>optional</tt>
 
:The episode will not appear unless the level it starts on is loaded.
 
:The episode will not appear unless the level it starts on is loaded.
* '''picname = "<picture>"'''
+
* <tt>picname = "<picture>"</tt>
 
:Lump of graphic to display on menu. This will appear before the episode name.
 
:Lump of graphic to display on menu. This will appear before the episode name.
* '''remove'''
+
* <tt>remove</tt>
 
:Removes this episode from the menu. Of little use.
 
:Removes this episode from the menu. Of little use.

Latest revision as of 20:01, 4 January 2017

An episode is a selectable starting point for the game. If more than one episode is defined, they will appear in the menu in the order they appear. There should be at least one episode defined.

Block syntax

  • clearepisodes
Removes all previously defined episodes.
  • episode <map> { properties }
Creates an episode that starts on the specified map.

Block properties

  • key = "<letter>"
Assigns the letter as a hot key for the episode in the menu.
  • lookup = "<string>"
Pulls the name of the episode by a keyword in LANGUAGE.
  • name = "<name>"
Sets the name of the episode as it appears on the menu directly.
  • noskillmenu
Causes the game to start without going through the skill selection. The skill level will be the default.
  • optional
The episode will not appear unless the level it starts on is loaded.
  • picname = "<picture>"
Lump of graphic to display on menu. This will appear before the episode name.
  • remove
Removes this episode from the menu. Of little use.