Anmelden

Archiv verlassen und diese Seite im Standarddesign anzeigen : Minimap / Neues Radar in Map einfügen



Gast
31. August 2006, 12:54
Hallo,

wolllte meine map mit dem neuen radar versehen, doch leider bekomme ich das nicht hin. habe die fertige overview schon komplet als *.vtf datei im "materials\overviews" vorliegen. textur funktioniert auch, wenn ich sie z.b in de_dust_pcg umbenenne wird sie dann auch auf dust_pcg angezeigt. leider nur nicht bei meiner eigenen map.

Stard00d
02. September 2006, 13:59
2. In the same folder as this .VTF, using a text editor, add a new material file, mapname.VMT, which should look like this:

"UnlitGeneric"
{
"$translucent" "1"
"$basetexture" "overviews/mapname"
"$vertexalpha" "1"
"$no_fullbright" "1"
"$ignorez" "1"
}

3. Finally, in a text editor, create a text file mapname.txt in \resource\overviews (eg. counter-strike source\cstrike\resource\overviews) that contains the necessary projection data:

"mapname"
{
"material" "overviews/mapname" // texture file
"pos_x" "-2651" // X coordinate,
"pos_y" "4027" // Y coordinate,
"scale" "6.0" // and used scale used when taking the screenshot
"rotate" "0" // map was rotated by 90 degress in image editor
"zoom" "1.3" // optimal zoom factor if map is shown in full size
}



http://developer.valvesoftware.com/wiki/Level_Overviews