CS Radar Overview

Tutorial collection, comprehensive listings on main site.

CS Radar Overview

Postby Tutorial on Wed Jan 03, 2007 9:42 pm

category
Counter-Strike: Source

description
Simple process to creating the small green overview to go in the top left of the HUD.

keywords
cs, source, counter, strike, counter-strike, radar, overview, mini, map, minimap.

In this tutorial I will be explaining the simple process behind making your newly created overview work in the radar minimap, the small green bit at the top left of the player's HUD.

First of all I will presume you have an overview created for the map already, if you are unsure on this process then make sure you read this extensive guide on creating an overview.

Head back here once you have the overview created and working in game.

So in this example I have my overview created:

Image

Now you have this all we need to do is give it a nice green hue. I did this by opening the image in Photoshop and duplicating the background so that it is a layer, then right click the layer and head into Blending Options and choosing Blend Mode - Darken and then a green colour of your choice, also lower the opacity.

Image

Image

Once we have done this save it as a .jpeg or .tga file and call it your_map_radar.jpeg

For example the above overview was for cs_office07 so my normal overview would be called cs_office07.vtf and the radar would need to be called cs_office07_radar.vtf

Using a tool called VTF Edit, open the files and save them as their respective .vtf names and also create two .vmt files to accompany them (VTF Edit will do this and then you can edit the .vmt yourself afterwards) using the following code:

{
"$translucent" "1"
"$basetexture" "overviews/cs_office07_radar"
"$vertexalpha" "1"
"$vertexcolor" "1"
"$no_fullbright" "1"
"$ignorez" "1"
}


Note the section in bold on the above, this will be the only difference in the two .vmts but make sure you remember to change them otherwise you will load the colour version in the minimap window and all your friends will point and laugh and throw turkish delights at your face, not a good outcome.

So to re-cap you should now have two .vtf files of the same overview but one with a green overlay and they should be named accordingly, eg:

cs_awesome.vtf (normal overview)
cs_awesome_radar.vtf (minimap overview)


To go with these you should have two .vmt files also:

cs_awesome.vmt
cs_awesome_radar.vmt


Remember to ensure the paths to the image are correct inside the .vmt

Once you're all done then just shove these files into this folder.

Steam\steamapps\your-email\counter-strike source\cstrike\materials\overviews

Once that's done run the map and enjoy never getting lost again!

Blink
- Don't send PM's to this user -
Tutorial
Not A Real User
 
Joined: Sun Mar 06, 2005 11:00 pm

Postby wiggle987 on Wed Jan 03, 2007 10:11 pm

Hoho! I knew you couldn't resist! :D

Nice stuff.
Image
User avatar
wiggle987
Veteran
Veteran
 
Joined: Mon Nov 22, 2004 8:54 pm
Location: O RLY?

Postby novalin on Wed Apr 04, 2007 3:23 am

i got it all to work....but...when i am spectating and it shows the color overview, it is looping on the left and right side....any ideas why? i followed the wiki line by line..
User avatar
novalin
Regular
Regular
 
Joined: Tue Jun 07, 2005 9:19 am
Location: San Francisco

Postby slayera on Wed Apr 04, 2007 11:55 am

If using vtex you need to make a .txt file by the same name as the texture and add

"clamps" "1"
"clampt" "1"

Make sure to compile the .txt file and the not .tga.


or if using the photoshop plugin you need to check the check boxes for each.

The clamp prevent the texture from tiling, this is useful for sprites too.
Last edited by slayera on Wed Apr 04, 2007 11:15 pm, edited 1 time in total.
Image


"When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion." -Robert Pirsig
User avatar
slayera
Veteran
Veteran
 
Joined: Wed Dec 08, 2004 3:15 am
Location: Near the world's only super volcano.

Postby novalin on Wed Apr 04, 2007 9:22 pm

interesting...i will try that. and i used photoshop.

i have run into 1 more problem:

I get the radar and overview to show up fine locally, but when I put it all into the bsp using pakrat, the radar shows up as a missing texture. Pakrat does not automatically find the files and I have to add them manually (unlike the textures), and I have to put the paths in. These are the paths I tried using:

- for the vmt and vtf files I used "materials\overviews"
- for the txt I used "resource\overviews"

what am I doing wrong?
User avatar
novalin
Regular
Regular
 
Joined: Tue Jun 07, 2005 9:19 am
Location: San Francisco

Postby slayera on Wed Apr 04, 2007 11:14 pm

Read this for help to include radar.

http://www.interlopers.net/forum/viewtopic.php?t=16894
Image


"When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion." -Robert Pirsig
User avatar
slayera
Veteran
Veteran
 
Joined: Wed Dec 08, 2004 3:15 am
Location: Near the world's only super volcano.

Postby novalin on Thu Apr 05, 2007 6:19 am

still didnt answer my question. this was the closest part " still misses gibs and the radar files though. "
User avatar
novalin
Regular
Regular
 
Joined: Tue Jun 07, 2005 9:19 am
Location: San Francisco

Postby slayera on Thu Apr 05, 2007 12:05 pm

You MUST add the file manually. The auto detect feature will not pick them up, of either MAN or Pakrat. I think it was stated pretty clearly in that tut.
Image


"When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion." -Robert Pirsig
User avatar
slayera
Veteran
Veteran
 
Joined: Wed Dec 08, 2004 3:15 am
Location: Near the world's only super volcano.

Postby Willy2k on Thu Apr 05, 2007 4:35 pm

Nice one!
Helpfull, thank you!
Image
User avatar
Willy2k
Regular
Regular
 
Joined: Wed May 24, 2006 3:00 pm

Postby novalin on Thu Apr 05, 2007 11:41 pm

I understand I have to add them manually, which I have been doing. But it still doesn't work. If someone could explain to me exactly which files I need to include with the radar and which extension I should use for each that would be helpful.

Again, for extensions, I used:
- vmt and vtf files I used "materials\overviews"
- txt I used "resource\overviews"

I ahve 4 vmt files (overview and radar) and 1 text

what am I doing wrong?
User avatar
novalin
Regular
Regular
 
Joined: Tue Jun 07, 2005 9:19 am
Location: San Francisco

Postby novalin on Fri Apr 06, 2007 4:59 am

no I get a missing texture, even when I dont zip it (just running everything locally). I am so confused now.
User avatar
novalin
Regular
Regular
 
Joined: Tue Jun 07, 2005 9:19 am
Location: San Francisco

Postby slayera on Fri Apr 06, 2007 12:52 pm

Recheck your statements in .vmt and .txt file. If you have the .vft and other files in the correct folders then there something wrong with pathing or coding.

If you have too copy/paste from a known good .vmt and .txt and just fill in your information.
Image


"When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion." -Robert Pirsig
User avatar
slayera
Veteran
Veteran
 
Joined: Wed Dec 08, 2004 3:15 am
Location: Near the world's only super volcano.

Postby novalin on Sat Apr 07, 2007 1:10 am

I went into all of the details here and I had pasted the information for the files from the tutorials. Can you check out this link and read what I put and where I put it and let me know what I did wrong?

http://www.chatbear.com/unity2/4989/267 ... ?v=flatold
User avatar
novalin
Regular
Regular
 
Joined: Tue Jun 07, 2005 9:19 am
Location: San Francisco

Postby Hellraz0r on Sat Apr 07, 2007 1:17 am

I'm having somewhat the same problem. I tried zipping up my custom content, all went well until I found my custom soundscapes and OVERVIEW didn't come up. I'm really lost and am waiting for a reply in this thread: http://www.interlopers.net/forum/viewtopic.php?t=17208
Hellraz0r
Pheropod
Pheropod
 
Joined: Sun Oct 23, 2005 10:42 pm

Postby slayera on Sat Apr 07, 2007 1:39 am

http://www.fpsbanana.com/tuts/1948

Follow this tut step by step. It is the most comprehensive one I have seen so far.
Image


"When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion." -Robert Pirsig
User avatar
slayera
Veteran
Veteran
 
Joined: Wed Dec 08, 2004 3:15 am
Location: Near the world's only super volcano.
Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users