Besides Day of Defeat (DoD), you need three programs to make an overview map/minimap:
GIMP (GNU Image Manipulation Program) – download from www.gimp.org
Notepad – comes with Windows
MS Paint – comes with Windows
Your maps, overviews, etc. may be spread between two folders: dod and dod_downloads.
Recommended: cut or copy everything in the dod_downloads folder and put it into the dod folder.
If you are not comfortable doing this, note which folder your map is in (dod/overviews or dod_downloads/overviews).
If your map is in dod_downloads/overviews, save the bmp and txt files into dod_downloads/overviews.
Throughout this guide, the dod/overviews folder is the main focal point.
1. Open Day of Defeat.
2. Open Options > Video (tab).
3. Write down the following:
o Resolution (e.g. 1280 x 960 / Normal, allow widescreen, enable texture use shaders)
o Display Mode
o Any checkboxes that are checked or unchecked
1. In Steam, go to Library, right-click Day of Defeat, choose Properties, then Set Launch Options.
2. Write down what is there so you can change it back when you are done.
3. Replace it with the overview-making options below.
4. Click [OK], then [CLOSE].
Original (example):
-addons -novid -nojoy -noipx -condebug
Change to:
-nojoy -console -developer -dev -condebug +sv_cheats 1 -windowed -w 1024 -h 768
1. Click the [Day of Defeat] button to run the map.
2. Spawn as either side.
3. Tap your [m] key until the map/minimap is gone.
4. Open the console (~) and type these commands:
hud_draw 0
r_drawviewmodel 0
sv_cheats 1
dev_overview 2
5. Take a screenshot with [F5] (your bind may be different).
6. Press ~ to open the console and type:
dev_overview 1
7. Press the up arrow, backspace one character, type 0, and press Enter:
dev_overview 0
Copy one line from the console into Notepad. Typical example:
Overview: Zoom 1.51, Map Origin (-608.00, 288.00, 136.00), Z Min 577.00, Z Max -305.00, Rotated 1
All numbers from that line are used except Z Min.
In Notepad, paste your map's data into the template below (cut and paste the numbers to avoid typos). Anything after // is a comment and is ignored by the game.
Example with data filled in:
// Overview description file for CHANGENAME
global
{
ZOOM 1.51
ORIGIN -608.00 288.00 136.00
ROTATED 1
}
layer
{
IMAGE "overviews/CHANGENAME.bmp"
HEIGHT -305.00
}
Blank template (paste the copied console info into the empty values):
// Overview description file for CHANGENAME
// Overview made by YOURNAMEHERE
global
{
ZOOM
ORIGIN
ROTATED
}
layer
{
IMAGE "overviews/CHANGENAME.bmp"
HEIGHT
}
Save as mapname.txt into the dod/overviews folder, using your map's name in place of "mapname".
If you are not done making overview minimaps, continue to Step 5 for this map and repeat Step 3 for the next one.
When finished with the game session, restore the HUD in the console:
hud_draw 1
r_drawviewmodel 1
1. In the Steam Library window, click the menu [View] and choose [Screenshots].
2. Choose [Show on disk].
3. The bottom/last picture that is mostly numbers (like 20190907021558_1.jpg) is usually the one you want.
4. Right-click the picture and rename it to the map name, keeping the same extension (jpg).
5. Right-click the picture and choose [Open with...] GIMP.
1. In the GIMP menu, choose Image > Mode > Indexed.
2. Set [Maximum number of colors] to 256.
3. Click [Convert].
1. Below the menu is an array of tool icons. Click the Color Picker Tool (2nd row, 2nd from the left – looks like an eye-dropper).
2. Click the green part of the picture (background).
3. Below the tools is the foreground/background color selector. Left-click the green (Active foreground color).
4. The HTML notation should be 00ff00. That is what is needed for transparency. If it is different, change it to 00ff00.
5. Click [OK].
Only if you had to change the HTML notation number:
1. From the tool array, choose the Bucket Fill Tool (4th row, 4th column).
2. In the Bucket Fill options on the left, make sure "Fill similar colors" is selected (left side, about 3/4 down).
3. Left-click the green background in the picture to fill it with the transparency color (00ff00).
1. In the menu, click Image > Scale Image...
2. Change the X resolution and Y resolution to 72 pixels/in.
3. Click [Scale].
1. In the menu, choose File > Export as...
2. Change the file name extension from jpg to bmp.
3. In the "Save in folder" line (2nd line from the top of the window), click Steam.
4. Scroll down to steamapps/common/Half-Life/dod/overviews.
5. Click [Export], then [Compatibility Options].
6. Make sure "Do not write color space information" is NOT checked.
7. Click [Export].
· If you are NOT done making overview maps: close the tab of this picture and minimize GIMP.
· If you are done converting maps: close GIMP and choose [Discard Changes].
1. Run the map to see if the map/minimap works. This is a very important step.
2. Check the console (press ~) for any error messages.
Do this once you are done making overview maps/minimaps.
1. In Steam, go to Library, right-click Day of Defeat, choose Properties, then Set Launch Options.
2. Enter what you wrote down in Step 2.
3. Click [OK], then [Close].
4. In the game, go to Options > Video (tab).
5. Uncheck [ ] Run in a window.
6. Adjust the video settings to what you wrote down in Step 1.
For reference, the author's own Launch Options are:
-nojoy -console
Error parsing overview file overviews/dod_yourmap.txt. (, unknown)
There are commas in the ORIGIN field. Remove them.
Error parsing overview file overviews/dod_yourmap.txt. ( unknown)
Possibly missing the ending quote (") on the IMAGE line.
Unsupported image file format
Check that the file extension is bmp for the IMAGE. Make sure you saved as a bmp using GIMP to your dod/overviews folder.