WL6 Maps

From ECWolf Wiki
Revision as of 04:54, 21 May 2012 by Blzut3 (talk | contribs) (→‎Syntax: Player sprite syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ECWolf uses map files to assign names to the chunks in the various data formats used by Wolfenstein 3D. In general a mod should never have to use these scripts, but it may be necessary to create a compatibility patch for an existing mod. The name of the lump is determined by the extension of the files being mapped. For example Wolfenstein 3D uses "WL6MAP" and Spear of Destiny uses "SODMAP".

Syntax

A map file uses a keyword followed by a list of lump names enclosed in braces which correlates to the order of the chunks in the respective data file. The following is a list of sections in the map files.

digitalsounds
graphics
music
sounds
sprites
Note that entries in this list may be postfixed with :pspr to give the sprite player sprite offsets (weapons for example would use this.)
textures

Examples

music
{
	"CORNER",
	"DUNGEON",
	"WARMARCH",
	"GETTHEM",
	"HEADACHE",
	"HITLWLTZ",
	"INTROCW3",
	"NAZI_NOR",
	"NAZI_OMI",
	"POW",
	"SALUTE",
	"SEARCHN",
	"SUSPENSE",
	"VICTORS",
	"WONDERIN",
	"FUNKYOU",
	"ENDLEVEL",
	"GOINGAFT",
	"PREGNANT",
	"ULTIMATE",
	"NAZI_RAP",
	"ZEROHOUR",
	"TWELFTH",
	"ROSTER",
	"URAHERO",
	"VICMARCH",
	"PACMAN"
}