Vertex

From SRB2 Wiki
Jump to navigation Jump to search

Vertices are points on a map at which two or more linedefs are joined. They have no properties other than their position. No two vertices may be coincident. Extra vertices are generated in the process of nodebuilding, but these are normally hidden from the user when the map is opened in a map editor.

Specification

In the binary map format, the vertices of a map are stored in the VERTEXES lump as a list. Each vertex has a 4-byte entry consisting of the following:

Bytes Data type Description
0–1 Signed 16-bit integer X position
2–3 Signed 16-bit integer Y position

Since the positions are stored as signed 16-bit integers, they can range from -32768 to 32767.

Z position

This article or section is incomplete. It doesn't have all of the necessary core information on this topic. Please help the SRB2 Wiki by finishing this article.

In UDMF maps, vertices may optionally specify a Z position for the floor and/or ceiling. This is one of several ways to define slopes.

  Map components [view]

ThingLinedefSidedefVertexNodeSectorRejectBlockmap