Difference between revisions of "WL6 Maps"

From ECWolf Wiki
(Created page with '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 ne…')
 
m (→‎Syntax: Player sprite syntax)
 
Line 2: Line 2:
 
== Syntax ==
 
== 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.
 
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 '''
+
: ''' digitalsounds '''
* ''' graphics '''
+
: ''' graphics '''
* ''' music '''
+
: ''' music '''
* ''' sounds '''
+
: ''' sounds '''
* ''' sprites '''
+
: ''' sprites '''
* ''' textures '''
+
::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 ==
 
== Examples ==
 
<pre>music
 
<pre>music

Latest revision as of 04:54, 21 May 2012

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"
}