WMP
From GameStudio Wiki
German
Die WMP Datei beschreibt ein mit 3D Gamestudio erschaffenes Level. Im folgenden werde ich auf den Aufbau dieser Datei eingehen.
Die Datei startet mit 3 Kommentaren Beispiel:
// WMP2 // ACKWED V 6.38.01 // Created 04.06.2005
Der erste Kommentar gibt die Version der kommenden WMP Datei an. Der zweite gibt die WED Version an, mit dem die WMP Datei erstellt wurde. Der letzte Kommentar gibt an, an welchem Tag diese WMP Datei gespeichert wurde-
Auf diese 3 Kommentare folgt eine Versionsangabe (z.B. version 710)
In den folgenden 3 Zeilen wird angegeben, wieviele Blocks, entities und objects in der WMP Datei vorhanden sind.
Nun kommt der eigentliche Anfang der WMP Datei:
wed {
palette { /* Hier kommt die Palettenangabe auf die ich allerdings nicht eingehen werde */
}
wad { //beschreibt die geladenen WADs
0 0 0 0 0 /* Vll. kann jemand ergänzen was diese zahlen bedeuten */
<absoluter Pfad 1> 1
<absoluter Pfad 2> 1
//usw
}
}
In dem "wed" Block werden also angaben zu der benutzen Palette und den geladenen WADs gemacht. Ein Beispiel eines "wed" Blockes:
wed {
palette {
00 00 00 0f 0f 0f 1f 1f 1f 2f 2f 2f 3f 3f 3f 4b 4b 4b 5b 5b 5b 6b 6b 6b 7b 7b 7b 8b 8b 8b 9b 9b 9b ab ab ab bb bb bb cb cb cb db db db eb eb eb
0f 0b 07 17 0f 0b 1f 17 0b 27 1b 0f 2f 23 13 37 2b 17 3f 2f 17 4b 37 1b 53 3b 1b 5b 43 1f 63 4b 1f 6b 53 1f 73 57 1f 7b 5f 23 83 67 23 8f 6f 23
0b 0b 0f 13 13 1b 1b 1b 27 27 27 33 2f 2f 3f 37 37 4b 3f 3f 57 47 47 67 4f 4f 73 5b 5b 7f 63 63 8b 6b 6b 97 73 73 a3 7b 7b af 83 83 bb 8b 8b cb
00 00 00 07 07 00 0b 0b 00 13 13 00 1b 1b 00 23 23 00 2b 2b 07 2f 2f 07 37 37 07 3f 3f 07 47 47 07 4b 4b 0b 53 53 0b 5b 5b 0b 63 63 0b 6b 6b 0f
07 00 00 0f 00 00 17 00 00 1f 00 00 27 00 00 2f 00 00 37 00 00 3f 00 00 47 00 00 4f 00 00 57 00 00 5f 00 00 67 00 00 6f 00 00 77 00 00 7f 00 00
13 13 00 1b 1b 00 23 23 00 2f 2b 00 37 2f 00 43 37 00 4b 3b 07 57 43 07 5f 47 07 6b 4b 0b 77 53 0f 83 57 13 8b 5b 13 97 5f 1b a3 63 1f af 67 23
23 13 07 2f 17 0b 3b 1f 0f 4b 23 13 57 2b 17 63 2f 1f 73 37 23 7f 3b 2b 8f 43 33 9f 4f 33 af 63 2f bf 77 2f cf 8f 2b df ab 27 ef cb 1f ff f3 1b
0b 07 00 1b 13 00 2b 23 0f 37 2b 13 47 33 1b 53 37 23 63 3f 2b 6f 47 33 7f 53 3f 8b 5f 47 9b 6b 53 a7 7b 5f b7 87 6b c3 93 7b d3 a3 8b e3 b3 97
ab 8b a3 9f 7f 97 93 73 87 8b 67 7b 7f 5b 6f 77 53 63 6b 4b 57 5f 3f 4b 57 37 43 4b 2f 37 43 27 2f 37 1f 23 2b 17 1b 23 13 13 17 0b 0b 0f 07 07
bb 73 9f af 6b 8f a3 5f 83 97 57 77 8b 4f 6b 7f 4b 5f 73 43 53 6b 3b 4b 5f 33 3f 53 2b 37 47 23 2b 3b 1f 23 2f 17 1b 23 13 13 17 0b 0b 0f 07 07
db c3 bb cb b3 a7 bf a3 9b af 97 8b a3 87 7b 97 7b 6f 87 6f 5f 7b 63 53 6b 57 47 5f 4b 3b 53 3f 33 43 33 27 37 2b 1f 27 1f 17 1b 13 0f 0f 0b 07
6f 83 7b 67 7b 6f 5f 73 67 57 6b 5f 4f 63 57 47 5b 4f 3f 53 47 37 4b 3f 2f 43 37 2b 3b 2f 23 33 27 1f 2b 1f 17 23 17 0f 1b 13 0b 13 0b 07 0b 07
ff f3 1b ef df 17 db cb 13 cb b7 0f bb a7 0f ab 97 0b 9b 83 07 8b 73 07 7b 63 07 6b 53 00 5b 47 00 4b 37 00 3b 2b 00 2b 1f 00 1b 0f 00 0b 07 00
00 00 ff 0b 0b ef 13 13 df 1b 1b cf 23 23 bf 2b 2b af 2f 2f 9f 2f 2f 8f 2f 2f 7f 2f 2f 6f 2f 2f 5f 2b 2b 4f 23 23 3f 1b 1b 2f 13 13 1f 0b 0b 0f
2b 00 00 3b 00 00 4b 07 00 5f 07 00 6f 0f 00 7f 17 07 93 1f 07 a3 27 0b b7 33 0f c3 4b 1b cf 63 2b db 7f 3b e3 97 4f e7 ab 5f ef bf 77 f7 d3 8b
a7 7b 3b b7 9b 37 c7 c3 37 e7 e3 57 7f bf ff ab e7 ff d7 ff ff 67 00 00 8b 00 00 b3 00 00 d7 00 00 ff 00 00 ff f3 93 ff f7 c7 fe fe fe ff ff ff
}
wad {
0 0 0 0 0
<f:\3dgstudio6\wads\innen.wad> 1
<f:\3dgstudio6\wads\bunker_floor.wad> 1
}
}
Nun folgen Die Block Definitionen. Jede Block Definition beginnt mit den Schlüsselwörtern:
- block _Nummer_ {
_Nummer_ ist die Nummer des Blockes in der WMP Datei, wobei die erste Block Definition die Nummer 0 und die letzte die Nummer, Anzahl der Blöcke -1, besitzt.
BLOCK AUFBAU - OBJECT AUFBAU - LIGHT/SOUND ETC. Aufbau folgt
English
The WMP file describes a level created with 3D Gamestudio. In the following, I will go in on the construction of this file.
The file starts with 3 example commentaries:
// WMP2 // ACKWED V 6.38.01 // Created 04.06.2005
The first commentary indicates the version of the coming WMP file. The second indicates the WED version, with which the WMP file was generated. The last commentary gives the day which the WMP file was created. On these 3 commentaries, a version statement (z. B. version 710) follows. In the following 3 lines indicated are blocks, entities and objects in the available WMP file. Now the actual beginning of the WMP file comes:
wed {
palette { /* Here comes up that palette statement that to be sure I do not go in*/
}
wad { //describes the loaded WADs
0 0 0 0 0 /* Vll. someone can supplement what these mean pay */
<absoluter Pfad 1> 1
<absoluter Pfad 2> 1
//usw
}
}
In the "wed" block become therefore indicated use that palette and the loaded WADs made. An example of a "wed" block:
wed {
palette {
00 00 00 0f 0f 0f 1f 1f 1f 2f 2f 2f 3f 3f 3f 4b 4b 4b 5b 5b 5b 6b 6b 6b 7b 7b 7b 8b 8b 8b 9b 9b 9b ab ab ab bb bb bb cb cb cb db db db eb eb eb
0f 0b 07 17 0f 0b 1f 17 0b 27 1b 0f 2f 23 13 37 2b 17 3f 2f 17 4b 37 1b 53 3b 1b 5b 43 1f 63 4b 1f 6b 53 1f 73 57 1f 7b 5f 23 83 67 23 8f 6f 23
0b 0b 0f 13 13 1b 1b 1b 27 27 27 33 2f 2f 3f 37 37 4b 3f 3f 57 47 47 67 4f 4f 73 5b 5b 7f 63 63 8b 6b 6b 97 73 73 a3 7b 7b af 83 83 bb 8b 8b cb
00 00 00 07 07 00 0b 0b 00 13 13 00 1b 1b 00 23 23 00 2b 2b 07 2f 2f 07 37 37 07 3f 3f 07 47 47 07 4b 4b 0b 53 53 0b 5b 5b 0b 63 63 0b 6b 6b 0f
07 00 00 0f 00 00 17 00 00 1f 00 00 27 00 00 2f 00 00 37 00 00 3f 00 00 47 00 00 4f 00 00 57 00 00 5f 00 00 67 00 00 6f 00 00 77 00 00 7f 00 00
13 13 00 1b 1b 00 23 23 00 2f 2b 00 37 2f 00 43 37 00 4b 3b 07 57 43 07 5f 47 07 6b 4b 0b 77 53 0f 83 57 13 8b 5b 13 97 5f 1b a3 63 1f af 67 23
23 13 07 2f 17 0b 3b 1f 0f 4b 23 13 57 2b 17 63 2f 1f 73 37 23 7f 3b 2b 8f 43 33 9f 4f 33 af 63 2f bf 77 2f cf 8f 2b df ab 27 ef cb 1f ff f3 1b
0b 07 00 1b 13 00 2b 23 0f 37 2b 13 47 33 1b 53 37 23 63 3f 2b 6f 47 33 7f 53 3f 8b 5f 47 9b 6b 53 a7 7b 5f b7 87 6b c3 93 7b d3 a3 8b e3 b3 97
ab 8b a3 9f 7f 97 93 73 87 8b 67 7b 7f 5b 6f 77 53 63 6b 4b 57 5f 3f 4b 57 37 43 4b 2f 37 43 27 2f 37 1f 23 2b 17 1b 23 13 13 17 0b 0b 0f 07 07
bb 73 9f af 6b 8f a3 5f 83 97 57 77 8b 4f 6b 7f 4b 5f 73 43 53 6b 3b 4b 5f 33 3f 53 2b 37 47 23 2b 3b 1f 23 2f 17 1b 23 13 13 17 0b 0b 0f 07 07
db c3 bb cb b3 a7 bf a3 9b af 97 8b a3 87 7b 97 7b 6f 87 6f 5f 7b 63 53 6b 57 47 5f 4b 3b 53 3f 33 43 33 27 37 2b 1f 27 1f 17 1b 13 0f 0f 0b 07
6f 83 7b 67 7b 6f 5f 73 67 57 6b 5f 4f 63 57 47 5b 4f 3f 53 47 37 4b 3f 2f 43 37 2b 3b 2f 23 33 27 1f 2b 1f 17 23 17 0f 1b 13 0b 13 0b 07 0b 07
ff f3 1b ef df 17 db cb 13 cb b7 0f bb a7 0f ab 97 0b 9b 83 07 8b 73 07 7b 63 07 6b 53 00 5b 47 00 4b 37 00 3b 2b 00 2b 1f 00 1b 0f 00 0b 07 00
00 00 ff 0b 0b ef 13 13 df 1b 1b cf 23 23 bf 2b 2b af 2f 2f 9f 2f 2f 8f 2f 2f 7f 2f 2f 6f 2f 2f 5f 2b 2b 4f 23 23 3f 1b 1b 2f 13 13 1f 0b 0b 0f
2b 00 00 3b 00 00 4b 07 00 5f 07 00 6f 0f 00 7f 17 07 93 1f 07 a3 27 0b b7 33 0f c3 4b 1b cf 63 2b db 7f 3b e3 97 4f e7 ab 5f ef bf 77 f7 d3 8b
a7 7b 3b b7 9b 37 c7 c3 37 e7 e3 57 7f bf ff ab e7 ff d7 ff ff 67 00 00 8b 00 00 b3 00 00 d7 00 00 ff 00 00 ff f3 93 ff f7 c7 fe fe fe ff ff ff
}
wad {
0 0 0 0 0
<f:\3dgstudio6\wads\innen.wad> 1
<f:\3dgstudio6\wads\bunker_floor.wad> 1
}
}
Now the blocks definitions follow. Each block definition begins with the keywords:
- number looked {
Number is the number of the block in the WMP file whereby the first blocks definition possesses the number 0 and the last the number, amount of the blocks -1.
BLOCK CONSTRUCTION - OBJECT CONSTRUCTION - LIGHT/SOUND ETC. Construction follows
