Tech Support Forum banner
Status
Not open for further replies.
1 - 6 of 6 Posts

· Grammar Nazi!
Joined
·
3,866 Posts
Discussion Starter · #1 ·
Can someone link me a good tutorial on how Counter Strike Source files are arranged. I have so many extra skins installed I'm not sure which folder the game uses to get the CT and T skins from and the current weapon skins for the various guns etc. I generally get confused because there is a \cstrike\materials\models\player\... path and a \cstrike\models\player\... path and they both have similar folders and files in them.

TIA,

Dragoen
 

· Retired Mod.
Joined
·
4,500 Posts
Were do you get your skins, fpsbanana?
 

· Grammar Nazi!
Joined
·
3,866 Posts
Discussion Starter · #4 ·
Yes, fpsbanana, cs_nation i think is another site. I just google css skins and look around.

I think a better way to ask the question is how does CSS know which set of player skins to use when you have, say, 17 different versions (subfolders) in your players folder?

I'm looking for a programmers guide or developers guide to explain the relationship between the files stored in both player folders. I've figured out the naming conventions used for the weapon folders and files.
 

· Hardware Team , Games Team
Joined
·
4,666 Posts
If you have multiple player skins you can only have one "active" per CT or T model. You need to edit the vmt file (Valve material Table) and change the value of the $baseTexture to you skin. (Example: $baseTexture "\materials\models\player\custom_skin")

You will need to following tools.
VTFEdit (to quickly edit vmt and vmf files)
GCFScape (To open Steams GCF Archive files)

First open GCFScape and navigate to the file counter-strike source shared.gcf which is in steamapps. If you have steam currently running you need to click options in GCFScape and select Violate Access before you open the file.

Once the file is opened you need to navigate to \cstrike\materials\models\player\ there will be other folders in here each one is a player model. Choose which one(s) you want the custom skin(s) to appear on. Open those folders and extract the VTM (Example: ct_gign.vtm) Place the vtm files in your counter-strike material folder "\cstrike\materials\models\player" make sure your custom skin (vmf) is in the same folder as the vtm.

Now you open the VTFEdit and open the vtm, you will be met with a few lines of code. Look for $baseTexture and change the path name to where your skin file is.
So the path name should be something like this. "materials\models\player\custom_skin".
Save the new file and close the program. If ive written this correctly you should have a custom skin on the selected model. If not it will still be the original or pink/black checkerboard look.
 

· Grammar Nazi!
Joined
·
3,866 Posts
Discussion Starter · #6 ·
Thanks for the programs. I'll play around with them and see what trouble I can get into. :grin:
 
1 - 6 of 6 Posts
Status
Not open for further replies.
Top