How do I change/edit/create the image that's used in the radar system, like in de_dust2, de_dust, de_train etc....
Cheers
Daz
1
Re: Radar Image Greating/Edting
Posted by Crono on Mon Aug 28th at 12:34am 2006
Posted by Crono on Mon Aug 28th at 12:34am 2006
Check the valve wiki (It's on DoD:S, but all the commands still apply).
Creating the Mini-Map
To create a map overview, follow these steps:
1. Load your map with sv_cheats 1
2. Join a team
3. Disable any fog with fog_override 1
4. Switch to the overhead view with cl_leveloverview X, where X is the scale factor you wish to use
5. Walk around (use noclip or change the scale factor if needs be) until the entire map is on the screen
6. Hide the game interface with cl_drawhud 0
7. Take your screenshot, ideally in TGA format
8. Note down the most recent position information displayed in the console
9. Create a VTF from your screenshot (see Creating a Material)
* Due to the way in which mini-maps are displayed, transparency is generally something to avoid.
* You can find a generic background image for your mini-map on the Day of Defeat forums. [1]
10. Create a VMT for your new texture (see below for code)
* Do not include the .bsp extension in $basetexture when creating the VMT
* Ensure both files have the same name as your map, again without the .bsp extension
11. Place both the VTF and VMT in the dod/materials/overviews/ folder
12. Create an overview file in dod/resource/overviews (see below for code)
* The file should be called mapname.txt
13. Load the map and ensure that the overview is working
You may wish to use BSPZIP to embed the files you created in your BSP.
[edit]
VMT code
Do not include the .bsp extension in $basetexture!
[edit]
Overview definition code
* Do not include the .bsp extension for mapname!
* Fill in pos_x, pos_y, and scale from the console message you noted down.
[edit]
My overview is missing bits of my map!
The overview tool attempts to intelligently remove portions of the map that are not wanted on an overview: roofs, inaccessible areas, and so on. However, it is not perfect. [/pre]
? quoting Valve Wiki
Creating the Mini-Map
To create a map overview, follow these steps:
1. Load your map with sv_cheats 1
2. Join a team
3. Disable any fog with fog_override 1
4. Switch to the overhead view with cl_leveloverview X, where X is the scale factor you wish to use
5. Walk around (use noclip or change the scale factor if needs be) until the entire map is on the screen
6. Hide the game interface with cl_drawhud 0
7. Take your screenshot, ideally in TGA format
8. Note down the most recent position information displayed in the console
9. Create a VTF from your screenshot (see Creating a Material)
* Due to the way in which mini-maps are displayed, transparency is generally something to avoid.
* You can find a generic background image for your mini-map on the Day of Defeat forums. [1]
10. Create a VMT for your new texture (see below for code)
* Do not include the .bsp extension in $basetexture when creating the VMT
* Ensure both files have the same name as your map, again without the .bsp extension
11. Place both the VTF and VMT in the dod/materials/overviews/ folder
12. Create an overview file in dod/resource/overviews (see below for code)
* The file should be called mapname.txt
13. Load the map and ensure that the overview is working
You may wish to use BSPZIP to embed the files you created in your BSP.
[edit]
VMT code
"UnlitGeneric"
{
"$basetexture" "overviews/mapname"
"$vertexcolor" "1"
"$vertexalpha" "1"
"$no_fullbright" "1"
"$ignorez" "1"
}
Do not include the .bsp extension in $basetexture!
[edit]
Overview definition code
"mapname"
{
"material" "overviews/mapname"
"pos_x" "Your position data"
"pos_y" "Your position data"
"scale" "Your scale"
"rotate" "0"
"zoom" "1"
}
* Do not include the .bsp extension for mapname!
* Fill in pos_x, pos_y, and scale from the console message you noted down.
[edit]
My overview is missing bits of my map!
The overview tool attempts to intelligently remove portions of the map that are not wanted on an overview: roofs, inaccessible areas, and so on. However, it is not perfect. [/pre]
Blame it on Microsoft, God does.
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0202 seconds.

Snarkpit v6.1.0 created this page in 0.0202 seconds.


