(Created page with "Introduction Dark Forces uses a 3D Engine called '''JEDI''' which renders each of the missions in the game. The missions, and all the accompanying assets, are stored in files called '''GOBs''' which are compressed containers like a zip file. <!-- A neat tool to open GOB files is called CONMAN and you can download it here https://df-21.net/downloads/utilities/conman/conman.zip --> The main '''GOB''' files are... # '''DARK.GOB -''' Stores all the main mission data inc...") |
No edit summary |
||
Line 1: | Line 1: | ||
Introduction | Introduction | ||
Dark Forces uses a 3D Engine called '''JEDI''' which renders each of the missions in the game. The missions, and all the accompanying assets, are stored in files called '''GOBs''' which are compressed containers like a zip file. | Dark Forces uses a 3D Engine called '''JEDI''' which renders each of the missions in the game. The missions, and all the accompanying assets, are stored in files called '''GOBs''' which are compressed containers like a zip file. | ||
( '''Note:''' A handy tool to inspect the GOB files is called CONMAN and you can get it [https://df-21.net/downloads/utilities/conman/conman.zip '''here'''] ) | |||
The main '''GOB''' files are... | The main '''GOB''' files are... | ||
Line 19: | Line 21: | ||
## '''VOC''' files are all the sound effects such as stormtrooper blaster shots or elevator hums. | ## '''VOC''' files are all the sound effects such as stormtrooper blaster shots or elevator hums. | ||
## '''GMD''' files are the mission soundtracks. | ## '''GMD''' files are the mission soundtracks. | ||
#'''TEXTURES.GOB''' - Contains all the textures for the game. | |||
##'''BM''' files store the texture assets for Dark Forces. | |||
Line 25: | Line 29: | ||
'''LEV''' Files | '''LEV''' Files | ||
Each of the Dark Forces missions is stored in a LEV file. For example Secret | Each of the Dark Forces missions' geometry is stored in a LEV file. For example, ''Secret Base'' is stored in SECBASE.LEV and the Arc Hammer is stored in '''ARC.LEV'''. | ||
[[File:Secret Base LEV.png|left|thumb|485x485px]] | |||
The LEV geometry itself is made out of rooms, called '''Sectors'''. The more sectors you have, the more rooms the mission will have. For example, the small mission Secret Base has 218 sectors while the Arc Hammer has 409. Since this is not a true 3D game, the sectors themselves are basically an outline of a room and an accompanying height. Here is an example of a sector with six walls. | |||
[[File:Sector Example.png|left|thumb|343x343px]] | |||
'''Sectors''' | Each sector includes information like the number of walls it has, the textures '''Sectors''' | ||
These are basically | These are basically |
Revision as of 19:37, 20 June 2022
Introduction
Dark Forces uses a 3D Engine called JEDI which renders each of the missions in the game. The missions, and all the accompanying assets, are stored in files called GOBs which are compressed containers like a zip file.
( Note: A handy tool to inspect the GOB files is called CONMAN and you can get it here )
The main GOB files are...
- DARK.GOB - Stores all the main mission data including the level geometry. Some of the files inside the GOB are described below.
- LEV files store the raw level geometry (all the rooms, the walls and their textures)
- O files store all the objects (enemies, items etc..)
- INF files contain all the game scripting logic (Ex: how to move to an elevator or open a door)
- GOL files store all the mission goals (Ex: Find the Death Star Plans)
- CMP files store the colormap mapping (Ex: How lighting affects textures)
- PAL files store the available colors in the mission. You are limited to 256 colors.
- 3DO files store all the true 3D geometry such as platforms or Kyle's ship
- SPRITES.GOB - Stores all the enemy and item objects files.
- WAX files store all the animated enemies and items like stormtroopers or shield pick-ups.
- FME files are non-animated decorations and items such as the blaster rifle
- SOUNDS.GOB - Containers all the sound effects and music for the game
- VOC files are all the sound effects such as stormtrooper blaster shots or elevator hums.
- GMD files are the mission soundtracks.
- TEXTURES.GOB - Contains all the textures for the game.
- BM files store the texture assets for Dark Forces.
When making missions with WDFUSE you will be mostly working with LEV O and INF files. Lets go into more details about each of these components
LEV Files
Each of the Dark Forces missions' geometry is stored in a LEV file. For example, Secret Base is stored in SECBASE.LEV and the Arc Hammer is stored in ARC.LEV.
The LEV geometry itself is made out of rooms, called Sectors. The more sectors you have, the more rooms the mission will have. For example, the small mission Secret Base has 218 sectors while the Arc Hammer has 409. Since this is not a true 3D game, the sectors themselves are basically an outline of a room and an accompanying height. Here is an example of a sector with six walls.
Each sector includes information like the number of walls it has, the textures Sectors
These are basically