SECTINFO: Difference between revisions

From Zandronum Wiki
(Created page with "'''SECTINFO''' is a special lump originating from ZDaemon that allows applying proprterties to sectors in a map. In Zandronum, it has two properties: * <tt>name</tt> allows you to name specific areas of your map. * <tt>points</tt> allows creating Domination points. ZDaemon also has the <tt>base0</tt> and <tt>base1</tt> properties, for defining the bases of the red and blue teams respecitvely. These properties are not used by Zandronum and will b...")
Tag: Source edit
 
No edit summary
Tag: Source edit
Line 21: Line 21:


Multiple map definitions are allowed in a single SECTINFO lump. Sector number ranges are inclusive (i.e. <code>3-6</code> would include sectors 3, 4, 5, and 6.)
Multiple map definitions are allowed in a single SECTINFO lump. Sector number ranges are inclusive (i.e. <code>3-6</code> would include sectors 3, 4, 5, and 6.)
== Example ==
The SECTINFO lump used for Skulltag's maps can be viewed at [[Data:Skulltag SECTINFO]].


== See also ==
== See also ==

Revision as of 16:34, 22 August 2022

SECTINFO is a special lump originating from ZDaemon that allows applying proprterties to sectors in a map. In Zandronum, it has two properties:

  • name allows you to name specific areas of your map.
  • points allows creating Domination points.

ZDaemon also has the base0 and base1 properties, for defining the bases of the red and blue teams respecitvely. These properties are not used by Zandronum and will be ignored.

Format

SECTINFO takes the following format:

[MAP01]
base0 = { 1, 2, 3-6 }
base1 = { 7, 8, 9 }
names = {
    "Cool Room" = { 10, 11, 12-16 },
    "Warm Room" = { 17-19 }
}
points = {
    "First Point" = { 20 },
    "Second Point" = { 23 }
}

Multiple map definitions are allowed in a single SECTINFO lump. Sector number ranges are inclusive (i.e. 3-6 would include sectors 3, 4, 5, and 6.)

Example

The SECTINFO lump used for Skulltag's maps can be viewed at Data:Skulltag SECTINFO.

See also