SECTINFO

From ZDoom Wiki
Jump to navigation Jump to search
SkulltagIcon.png Warning: This feature is Skulltag specific, and is not compatible with ZDoom!
To see all of Skulltag's specific features, see Skulltag features.


SECTINFO is a feature originating from ZDaemon 1.08.06 and intended as a workaround to add more information to maps made in map formats other than UDMF. The original purpose is to associate names to sectors so that the sector a player is in can be identified.

A SECTINFO lump is a single text lump. Maps are identified by sections similar to those of an ini file: the section header is the lump name of the map within square brackets. Then a number of properties are listed under the form property = { values }. The values are normally sector numbers. A special property is names, where instead the values are enumerations under the form "name" = { sector numbers }. The points property works in the same way as names but in addition marks the concerned sectors as control points for Skulltag's domination gamemode.

[maplump]
base0 = {sector number, sector number, sector number}
base1 = {sector number, sector number, sector number}
names = 
{
   "area name" = {sector number, sector number, sector number},
   "area name" = {sector number, sector number, sector number},
   "area name" = {sector number, sector number, sector number}
}
points =
{
   "area name" = {sector number, sector number, sector number},
   "area name" = {sector number, sector number, sector number},
   "area name" = {sector number, sector number, sector number}
}