Friday, March 18, 2011

Quick Tip: Run Counter-Strike: Source in a Window

There are two ways to run Counter-Strike: Source in a window.

1. Start Counter-Strike: Source and in the menu screen of the game go to "Options". In the "Options" window click on the "Video" tab. Below the "Display Mode" text there will be a drop down bar. Click on it and select "Run in a window". Click "OK".








2. While in steam go to your "Library", right click on Counter-Strike: Source and go to "Properties". In the "Properties" window click on "Set Launch Options" (it's located in the "General" tab). In the "Launch Options" window type in "-sw" (without the quotes). Click "OK".




Happy fragging.

Wednesday, February 23, 2011

How to Install Custom Sprays in Counter-Strike: Source

Counter-Strike: Source allows players to import custom sprays into the game but there are some restrictions. The maximum dimension of the picture is 256 pixel width and 256 pixel height (anything bigger than that will get shrunk down and lose quality) and the file must be under 120kb. Also there are only four file types that are acceptable: .jpg, .bmp, .tga, .vtf.

For the first three file type (.jpg, .bmp, .tga) all you need to do is start Counter-Strike: Source and in the menu screen go to "Options". In the "Options" window click on the "Multiplayer" tab and next to the actual spray there will be a "Import Spray" button. Click on it and a search screen will appear. There, just locate the picture you want to use and click "Open". Now select it from the list of sprays and you're done.




























When you do import a spray the game will copy that file, convert it into two files (.vtf and .vmt) and store them in the steam\steamapps\accountname\counter-strike source\cstrike\materials\vgui\logos folder. That means that you can erase the original picture or move it without worrying that your spray will be gone.

Now for the ".vtf" files, it has to be a pair with a ".vmt" file and you have to store them both in the steam\steamapps\accountname\counter-strike source\cstrike\materials\vgui\logos folder yourself (NOT while running the game). If you know how to open a folder and use the copy/cut option this should be easy. After you stored the files in the correct folder, start your game and the spray will be located with all the other sprays.

If, when you go to the "cstrike" folder, you can't find the "materials" folder or any other, just create a "New Folder" and rename it appropriately.

That is how everything should be working and if it does for you, great! But to my knowledge the "Import Spray" function is broken. After some tests I found out that it completely does not accept ".jpg" files. For ".bmp" file types, only 24-bit files are working (16-bit, 32-bit and 256 Color files don't work) and for ".tga", it's only 24-bit or 32-bit (no 16-bit). Only the ".vtf" + ".vmt" file combo seems to be working correctly.

Happy fragging.

Tuesday, February 22, 2011

Quick Tip: Taking Screenshots in Counter-Strike: Source

To take a screenshot in Counter-Strike: Source all you have to do is press "F5" on the keyboard. The screenshot will be saved as a JPEG (.jpg) file, named "<map name><screenshot number>" (e.g. "de_dust0003") in the steam\steamapps\accountname\counter-strike source\cstrike\screenshots folder.

Happy fragging.