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
 
m (Less 'you')
Tag: Source edit
 
(One intermediate revision by the same user not shown)
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 proprterties to sectors in a map.
In Zandronum, it has two properties:
In Zandronum, it has two properties:
* <tt>name</tt> allows you to name specific areas of your map.
* <tt>name</tt> allows naming specific areas of a map.
* <tt>points</tt> allows creating [[Game Modes#Domination|Domination]] points.
* <tt>points</tt> allows creating [[Game Modes#Domination|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 be ignored.
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 be ignored.
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 ==

Latest revision as of 17:56, 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 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