Definition files



filename

[mapname].def

location

defs directory (Heretic II/tmod/defs/) changed in v1.2

description

The definition files contain additional information to control the map. Things that can be done with the .def files:

  • inhibit entities to spawn
  • spawn additional entities
  • put logos/ models in the map
  • create indicators for arena usage
  • arena control flags: no teleport, no damage (future implementation)
  • change map title
  • change gravity
  • change sky
  • change brightness of maps

Changes in v1.4:
In contrast to v1.3, the .def files can be used on dedicated servers, even if a valid siganture file is missing. In this case, just a note is printed to connecting players.

syntax

The file must start with a version string in the first line. At the moment the version string is "VERSION 2".

Then one or more entries may follow. The order of entries is arbitrary. Each type of entry has its own syntax.

Current entry types:

[ Remind me to add this info later. For now, look at the existing .def files.]