Editing EMAPINFO

From Eternity Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
The '''EMAPINFO''' lump customizes the properties of maps. It is the main Eternity lump for this purpose.
The '''EMAPINFO''' lump customizes properties of a map. It is the main Eternity lump for this purpose.
{{Backto|Eternity Engine}}
{{Backto|Eternity Engine}}
{{editref}}
{{editref}}
Line 30: Line 30:
||
||
  edf-intername = true
  edf-intername = true
|-
||enterpic||Name of a 320x200 graphic lump to be displayed as the background of the statistics intermission during the ''entering'' of this map's stage. If omitted and previous map's '''interpic''' property is set, it will continue displaying that.||
enterpic = INTOCAVE
|-
|-
||inter-levelname||Name of the map to display in the intermission score screen. This is separate from '''levelname''' which is for the automap display, and can be used as an alternative to '''levelpic''' which is a graphic lump for the intermission name. If both '''inter-levelname''' and '''levelpic''' are present, '''levelpic''' takes precedence. Unlike '''levelpic''', this one also works in Heretic.||
||inter-levelname||Name of the map to display in the intermission score screen. This is separate from '''levelname''' which is for the automap display, and can be used as an alternative to '''levelpic''' which is a graphic lump for the intermission name. If both '''inter-levelname''' and '''levelpic''' are present, '''levelpic''' takes precedence. Unlike '''levelpic''', this one also works in Heretic.||
Line 62: Line 59:
||nextsecret||The exact header name of the next level to go to when a secret exit occurs on this map. This can specify *any* lump name, but the lump should be a valid level header or an error will occur. Note that except for maps which normally have secret exits, the default behavior is to repeat the same level. This MapInfo value allows you to avoid that and use a secret exit on any map.||
||nextsecret||The exact header name of the next level to go to when a secret exit occurs on this map. This can specify *any* lump name, but the lump should be a valid level header or an error will occur. Note that except for maps which normally have secret exits, the default behavior is to repeat the same level. This MapInfo value allows you to avoid that and use a secret exit on any map.||
  nextsecret = MAP34
  nextsecret = MAP34
|-
||allowexittags||If true, allows the exit linedef ''classic'' linedef specials to use their tags to specify the number of the level to go to. This doesn't apply to the parameterized specials||
allowexittags = true
|-
||allowsecrettags||Same as '''allowexittags''', but applies to the secret exit ''classic'' linedef specials.||
allowsecrettags = true
|-
|-
||partime||Partime for the map in seconds. This value overrides any value provided via DeHackEd. Note that partimes are only supported in episodes 1-3 of DOOM and any map of DOOM II. Ultimate DOOM episode 4, Heretic, and non-standard maps currently never display par times.||
||partime||Partime for the map in seconds. This value overrides any value provided via DeHackEd. Note that partimes are only supported in episodes 1-3 of DOOM and any map of DOOM II. Ultimate DOOM episode 4, Heretic, and non-standard maps currently never display par times.||
  partime = 200
  partime = 200
|}
|}
===Scripting===
===Scripting===
{|class="wikitable sortable"
{|class="wikitable sortable"
Line 119: Line 109:
  altskyname = LBOLTSKY
  altskyname = LBOLTSKY
|-
|-
||colormap||Name of a colormap lump to use as the global colormap for this level. This colormap is applied to any sectors which do not have their own colormaps specified either via use of 242 height transfer linedefs or scripting. This lump must be between C_START and C_END tags or the "colormaps" directory in the PKE.||
||colormap||Name of a colormap lump to use as the global colormap for this level. This colormap is applied to any sectors which do not have their own colormaps specified either via use of 242 height transfer linedefs or scripting. This lump must be between C_START and C_END tags.||
  colormap = FOGMAP
  colormap = FOGMAP
|-
||outdoorfog||Name of a colormap lump to use as the outdoors colormap for this level. This lump must be between C_START and C_END tags or the "colormaps" directory in the PKE.||
outdoorfog = FOGMAP
|-
|-
||defaultenvironment||Sets the default sound environment (reverb) effect to happen in the map. Use two identifiers, as defined in [[EDF]].||
||defaultenvironment||Sets the default sound environment (reverb) effect to happen in the map. Use two identifiers, as defined in [[EDF]].||
Line 235: Line 222:
||'''endofgame'''||Boolean value which, if true, causes a DOOM II cast call to occur when this map is exited. This value is currently only usable in DOOM II. A level must also have intermission text defined for a cast call to take place.||
||'''endofgame'''||Boolean value which, if true, causes a DOOM II cast call to occur when this map is exited. This value is currently only usable in DOOM II. A level must also have intermission text defined for a cast call to take place.||
  endofgame = true
  endofgame = true
|-
||'''endpic'''||String value. If '''finaletype''' has been set to '''endpic''', this value specifies the picture lump to display for the finale.||
finaletype = endpic
endpic = FINALPIC    // show a custom patch lump named FINALPIC
|-
|-
||'''finale-early'''||Boolean value which, if true, indicates that a text intermission should occur after this map without displaying the usual score screen. If no intermission text is defined for this map, this variable has no effect.||
||'''finale-early'''||Boolean value which, if true, indicates that a text intermission should occur after this map without displaying the usual score screen. If no intermission text is defined for this map, this variable has no effect.||
Line 273: Line 256:
||'''intertext'''||Lump name of a text lump to be loaded as intermission text for this level. If the level has an intermission by default, this will replace the default intermission text, even if it has been edited via DeHackEd. If there is not normally a text intermission after this map, the presence of this variable serves to enable it. If no intertext is defined, a text intermission will not occur after a map. The formatting of the text inside the indicated lump will be preserved exactly, with the exception of tabs, which are converted to spaces. There is no length limitation, but only one screen of text (40 columns, 17 rows) can be displayed. Any extra text will be drawn off the bottom of the screen.||
||'''intertext'''||Lump name of a text lump to be loaded as intermission text for this level. If the level has an intermission by default, this will replace the default intermission text, even if it has been edited via DeHackEd. If there is not normally a text intermission after this map, the presence of this variable serves to enable it. If no intertext is defined, a text intermission will not occur after a map. The formatting of the text inside the indicated lump will be preserved exactly, with the exception of tabs, which are converted to spaces. There is no length limitation, but only one screen of text (40 columns, 17 rows) can be displayed. Any extra text will be drawn off the bottom of the screen.||
  intertext = MAP04TXT
  intertext = MAP04TXT
|-
||'''intertext-secret'''||Like '''intertext''', but for the secret exit.||
|-
|-
||'''killfinale'''||Boolean value that allows built-in text intermission points to be disabled. For example, if you do not want text to appear after DOOM II MAP11, set this variable to true.||
||'''killfinale'''||Boolean value that allows built-in text intermission points to be disabled. For example, if you do not want text to appear after DOOM II MAP11, set this variable to true.||
Line 281: Line 262:
||'''levelaction'''||Specifies what happens when certain species of monsters all die in the map. The syntax is such: ''thingtype'' ''special'' [''arg1'' [''arg2'' [''arg3'' [''arg4'' [''arg5'']]]]]. You can even have more than one per level.
||'''levelaction'''||Specifies what happens when certain species of monsters all die in the map. The syntax is such: ''thingtype'' ''special'' [''arg1'' [''arg2'' [''arg3'' [''arg4'' [''arg5'']]]]]. You can even have more than one per level.


NOTE: this does not depend on the presence of the [[BossDeath]] or [[HticBossDeath]] codepointer in a monster's death sequence. Instead, it triggers immediately when the last monster is killed. In fact, if used in a map without such monsters, it will activate from the start. Also, it can only be used for actual monsters ('''COUNTKILL''' or '''KILLABLE''' in '''cflags'''), not for picking up items. Use '''levelaction-bossdeath''' if you want triggering when said codepointers are run.
NOTE: this does not depend on the presence of the [[BossDeath]] or [[HticBossDeath]] codepointer in a monster's death sequence. Instead, it triggers immediately when the last monster is killed. In fact, if used in a map without such monsters, it will activate from the start. Also, it can only be used for actual monsters ('''COUNTKILL''' or '''KILLABLE''' in '''cflags'''), not for picking up items.
||
||
  levelaction = BaronOfHell Floor_LowerToLowest 671 8
  levelaction = BaronOfHell Floor_LowerToLowest 671 8
  levelaction = Arachnotron Floor_RaiseByValue  667 8 24
  levelaction = Arachnotron Floor_RaiseByValue  667 8 24
|-
|-
||'''levelaction-bossdeath'''||Like '''levelaction''', but activated only during [[BossDeath]] or [[HticBossDeath]] from a dead monster of the intended species. Same syntax as '''levelaction'''. Warning: this one is susceptible to unexpected effects if the monsters can respawn or resurrect, then die again, retriggering the action. Use with care.
|}
|}


Line 305: Line 285:


The second example also sets a name and creator for the map (for the E1M1 mapslot, in this case), and also specifies that it will use SKY3 and scroll the sky slowly, using the skydelta variable.
The second example also sets a name and creator for the map (for the E1M1 mapslot, in this case), and also specifies that it will use SKY3 and scroll the sky slowly, using the skydelta variable.
==See also==
 
*[[UMAPINFO]]
[[Category:Editing]]
[[Category:Editing]]
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)