Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
 
 
Search Tutorials:           Advanced
 
 
 
Custom Map Textures
Difficulty: Intermediate
Category: CS:S > MappingAuthor(s): THEnub


There are two ways you can read this Tut.


  • : Read the whole thing. This would obviously take some time, but in the end, you’d understand much more about what you’re doing in the long run.
  • : Read only the text in bold. This is the shortcut way to glance over the wall of text and finish what you’re trying to do in less than 10 minutes. However, you won’t learn much more other than how to point and click on buttons.




To make custom textures to put into your maps, you will need four things.

  1. A material editing program. Paint will work fine for basic things, but other programs, like The Gimp, or Photoshop are best for making detailed textures.
  2. A Program to convert your image to the proper format (VTF). I recommend using VTFEdit (and that is what I will be using in this tut)
  3. PakRat. A program used to place the textures directly into the bsp so that other people can see the textures without downloading extra files.
  4. Source SDK (from the steam tools panel)


So first things first, you have to make the texture that you want in your map. So, open up your image program, and create it and save it as a dds, jpg, bmp, tga, gif or png, named whatever you like (I’ll be calling it CustomTex01). So you should now have a picture called CustomTex01 saved somewhere on your computer

Once you have that, you put it into your "Steam/steamapps/accountname/counter strike source/cstrike/materials" folder (you can make you own folder to put it in) I will be putting it in a folder at this location
Steam/steamapps/accountname/counter strike source/cstrike/materials/CustomTex".


Note: You don't have to put it into your materials folder yet, but i advise doing so, to avoid extra coding at the end.

After you've put it into your materials folder, open up VTFEdit, and import your image into it. Then, select File -> Save As and name it what you'd like(again, I’m going with CustomTex01). After you've saved it as a VTF, you select Tools -> Create VMT from the toolbar of VTFEdit.
It will then open up a second, smaller window, which will have several options available to you that allow you to give your textures things like bumpmaps, or normal maps, however we won't be doing any of those in this tut. Now, at the top of the second window there will be two tabs, one called Textures (the first one you see) and one called Options. Select Options and now you're able to choose the properties of you texture, such as what kind of material it is (metal, glass, wood...). Select whatever you want as Surface 1 and you can also set a second Surface (but it's not necessary).


The radio boxes at the bottom affect how the material is rendered)

Once you’ve set all of the options for your material, click Create, and when you open up the folder containing your VTF, you will notice that there is now a notepad document in it. That is the VMT. A VMT serves as a sort router for counterstrike, so that it’s able to find your textures. So, if your textures don’t work in game, it’s likely there’s a problem with your VMT.

Now, what you have to do is start up Source SDK (if it’s your first time using it, and it doesn’t load up [it says it’s starting, but just goes away] put this line of code in its launch options: -applaunch 211 -beta sdk -engine ep1). Now, after it starts, open up Hammer World Editor, and open the map you are trying to place the texture into. Now, select the brush or whatever you are trying to apply the texture to, and select the Texture Application Tool, and Filter to the name of your texture. If done correctly you should see your texture. If the VMT was incorrectly set up however (due to a wrong location specified in the VMT), then you will get a purple and black checkered image. Place the texture wherever you wish in the map.

After you’ve placed the texture into the map, you can compile it. But you’re not done once it’s compiled. Now you have to add the files to the bsp. We do this by using PakRat.

So, after you’ve downloaded, setup, and installed PakRat, you open it up. Now, you will be presented with an Explorer like window, asking you to search for your maps bsp file. Once you’ve selected it, it should change to show a different window, with the name of one (or more) textures. You will notice that yours is not in that list. So, you must add them to the map. To do so, click on the Auto button at the bottom of the screen. Now another window opens. In this one, you press Scan, at the top. It will then show a list of the textures in the map. You must then select all of the textures you want to be included within the map (which means selecting the VTF’s and VMT’s). Then, you select add to map, and finally you click Save

Congratulations, it was a long process (and I’m sure reading all this didn’t help the boredom), but if you do it well, it will have been a worthwhile process in separating your map from the rest.

Added: 27 days agoTags: texture, custom, mapping
Custom Map Textures
How to insert working custom textures into your maps
Added by...
Images






Submitter Identity
THEnub .
Mapper, HTML, Newb at skinning
Tutorial Stats
Statistics on tutorial submissions by THEnub .
Submissions: 1
    Independent: 1
    Studio: 0
    Redistributions: 0
Total Views: 605
Total Feedback: 1 posts
Average Rating: -
Unrated Tutorials: 1
Total Favs: 1
First Submission: 27 days ago
Latest Submission: 27 days ago
Favorite Category: CS:S > Mapping (1 releases)
More tuts submitted by THEnub .
None Found
Statistics
This tut's scores and traffic.
Rating: ?/10
Skill Band: Undefined (0)
Assessments: 0
Views: 682
Favorites: 1
Feedback: 5
New Tutorials: Mapping
More tuts in this category.
Flowing Water
Difficulty: Advanced
Very Useful Info On Models
Difficulty: Beginner
Parallax Mapping
Difficulty: Advanced
Hammer Editor Hotkey Reference
Difficulty: Beginner
Share It!
Get HTML Code
Get BBCode
Tell a Friend
Assessment
The community's verdict.
No assessments made... please vote!
Stamps
This tutorial in a nutshell...
No stamps recorded
Assess Tutorial
Tutorials are community moderated.
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamp Tutorial
How would you describe this tutorial in a few words?
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
Messages
Please feel free to post a comment or PM me if you need help with anything in this tutorial.
THEnub .
Mapper, HTML, Newb at skinning | Y2M
Posted 2 days ago
Posted by Whisky

Posted by THEnub

Posted by Whisky

I save the file from fotoshop as a TGA file inside my ctsrike material folder, (it automaticly creates a vmt) now i add it to the map, and compile the map, then i open pakrat wich is located inside the maps folder, i open up my map, then i press auto and VOILA! it fails and says Found not textures to add :S wtf am i doing wrong! i did every step from your tutuorial!


Hun I've never had that problem. But then again, ive never used photoshop for it. But I suppose that the only things you should check is to make sure you have both a .vmt (the text file) and a .vtf (the material file). That you have placed the textures in the map, and compiled the map ( it is very important that it has been compiled into a .bsp file). Then you open up pakrat and add them.

Hope that helps ya. Lemme know if this helped.


thnx for the quik respond, i already found out my problem, i had my scan on the wrong folder it works now :)


*rolls eyes* n00b jk man, we all do it sometimes...some more than others
Whisky .
Banana's with Bandana's | Y2M
Posted 2 days ago
Posted by THEnub

Posted by Whisky

I save the file from fotoshop as a TGA file inside my ctsrike material folder, (it automaticly creates a vmt) now i add it to the map, and compile the map, then i open pakrat wich is located inside the maps folder, i open up my map, then i press auto and VOILA! it fails and says Found not textures to add :S wtf am i doing wrong! i did every step from your tutuorial!


Hun I've never had that problem. But then again, ive never used photoshop for it. But I suppose that the only things you should check is to make sure you have both a .vmt (the text file) and a .vtf (the material file). That you have placed the textures in the map, and compiled the map ( it is very important that it has been compiled into a .bsp file). Then you open up pakrat and add them.

Hope that helps ya. Lemme know if this helped.


thnx for the quik respond, i already found out my problem, i had my scan on the wrong folder it works now :)
THEnub .
Mapper, HTML, Newb at skinning | Y2M
Posted 2 days ago
Posted by Whisky

I save the file from fotoshop as a TGA file inside my ctsrike material folder, (it automaticly creates a vmt) now i add it to the map, and compile the map, then i open pakrat wich is located inside the maps folder, i open up my map, then i press auto and VOILA! it fails and says Found not textures to add :S wtf am i doing wrong! i did every step from your tutuorial!


Hun I've never had that problem. But then again, ive never used photoshop for it. But I suppose that the only things you should check is to make sure you have both a .vmt (the text file) and a .vtf (the material file). That you have placed the textures in the map, and compiled the map ( it is very important that it has been compiled into a .bsp file). Then you open up pakrat and add them.

Hope that helps ya. Lemme know if this helped.
Whisky .
Banana's with Bandana's | Y2M
Posted 2 days ago
I save the file from fotoshop as a TGA file inside my ctsrike material folder, (it automaticly creates a vmt) now i add it to the map, and compile the map, then i open pakrat wich is located inside the maps folder, i open up my map, then i press auto and VOILA! it fails and says Found not textures to add :S wtf am i doing wrong! i did every step from your tutuorial!
{ACE}Mal .
Bananite | Y2M
Posted 27 days ago
Aight good its all working im stuck at the bump maps normal map thing? not sure what exatcly ur talkin about?
- Bananite
Add Message
You must login or register to access this!