Creating minimap
In this tutorial i explain how to create minimap in game day of defeat source. It is no hard, read steps:
1) Open your map in game, sv_cheats 1 in console.
2) Choose a team (anything).
3) Turn off a fog, fog_override 1 in console
4) cl_leveloverview x in console, there ? - the high of camera. I recommend use x = 8 . You can also use anything value of x .
5) Use noclip and fly on the map, while can get image, which is suitable for you. I have this:
6) Turn off your hud, cl_drawhud 0 in console.
7) Make a screenshots in TGA.
8) Remember last coordinates in console, example:
Overview: scale 8.00, pos_x -5437, pos_y 3460
9) Make VTF file from screenshot with help of VTFEdit.
10) Make VMT ???? in VTFedit .it must contain:
"UnlitGeneric"
{
"$basetexture" "overviews/name of vtf(must contain name of a map)"
"$vertexcolor" "1"
"$vertexalpha" "1"
"$no_fullbright" "1"
"$ignorez" "1"
}
11) Put both to dod/materials/overviews/ .
12) Make txt file in dod/resource/overview , name must contain name of a map. For example:
"mapname"
{
"material" "overviews/mapname"
"pos_x" "Your position data"
"pos_y" "Your position data"
"scale" "Your scale"
"rotate" "0"
"zoom" "1"
}
We remember coordinates from console ? Paste them to x,y, positions and scale.Example:
"dod_harrington_2x2_b1"
{
"material" "overviews/dod_harrington_2x2_b1"
"pos_x" "-5437"
"pos_y" "3460"
"scale" "8.00"
"rotate" "0"
"zoom" "1"
}
This is all, run map , and look at result. Change a value of pos_x and pos_y, that points will be in place. I don't do this, my result you can see below and also in dod_harrington_2x2.





