SECTINFO: Difference between revisions

From Zandronum Wiki
m (Less 'you')
Tag: Source edit
m (Grammar fix.)
 
Line 1: Line 1:
'''SECTINFO''' is a special lump originating from ZDaemon that allows applying proprterties to sectors in a map.
'''SECTINFO''' is a special lump originating from ZDaemon that allows applying properties to sectors in a map.
In Zandronum, it has two properties:
In Zandronum, it has two properties:
* <tt>name</tt> allows naming specific areas of a map.
* <tt>name</tt> allows naming specific areas of a map.

Latest revision as of 15:33, 7 August 2024

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

  • name allows naming specific areas of a 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