I made a test skin and I got it to work. Here's what I did: I extracted the vtf from the gcf, converted it to tga, edited it, back to vtf, put it in the right folder : half-life 2 deathmatch\hl2mp\materials\Models\Combine_soldier Voila! :) I made a camo shotgun:
What program did you use to convert it to TGA (and back)?
I found THIS in a spanish site. Click where it says "El Pack Vtex" and get those files. It has 2 programs that work from the command line.
LOL I download that file a couple of days ago but could not fig it out :) here how to use it in english.(and a bit of spanish that I cound not translate) In this tutorial we will learn to use the Vtex tools for the conversion to format vtf , the format of the textures of the models of Half-Life 2 . For it we will need:
* Note: It can that anybody does not understand to me when I talk about "directory", is exactly just like a "folder" of Windows. You decompress the Pack Vtex with Winrar where querais (I, put Vtex so I know were to look for it, decompressed it in a subdirectory of the Desktop is a good place). You must have a structure similar to this: ..:: TGA to VTF::.. In order to begin you would have to have prepared the image that querais (??) to turn. You remember that the height as much as the width must be multiples of 2 . (2.....16.....128.256...). You use the publisher of images to keep the image in format TGA. I recommend to You to put the maximum detail to image TGA (24-32 bits, depends on the publisher). In my case I have prepared this image of example with size 128x128: You keep file TGA in the subdirectory from pack hl2/materialsrc/sprays : Then you execute the file tga2vtf.bat and the resulting file vtf will along with appear in the subdirectory of pack hl2/material/sprays another file of information (it of no interest to us). Now already teneis has turned drawing to texture VTF. ..:: VTF to TGA::.. This still is simpler than the previous thing, debeis to know a little MSDOS , only the sufficient thing to arrive at the directory vtex. In order to go to the MSDOS, you go to Menu Beginning - > RUN - > cmd You watch, of this form podeis moves between the folders like in My PC: After this smallest tutorial of MSDOS already you would have to know how to arrive at the place where you have vtex. You write vtf2tga . You will see how it is used. For greater facility you place the file vtf to the directory of vtex (sinó you use the relative directories). I have placed the file VTF that have created before (ejemplo.vtf) in the folder of vtex. Then, from there, in MSDOS, I write: vtf2tga.exe ejemplo.vtf ejemplo.tga And if everything comes out well it will leave something similar to this: In the folder vtex you will find to your file .
*EDIT* THIS HAS BECOME OUTDATED AND DOES NOT APPLY ANYMORE
Please visit HERE for the new tutorials.
HL2 Skinning Guide By Fragger
What you need
GCFscape (Download) Vtex tools (Found in "\sourcesdk\bin") Photoshop (Buy it) Knowledge of basic DOS commands and Knowledge of alpha channels (Find tutorials)
Extracting the textures
Run GCFscape Extract all files from “source materials.gcf” into a new folder and name it “work” That will create a folder named “root” and the textures will be in it Copy Vtex tools into “work” (vtex.exe. vtf2tga.exe, tier0.dll and vstdlib.dll) and create a batch file (tga2vtf.bat) with this: vtex.exe -mkdir -shader LightmappedGeneric hl2\materialsrc\sprays\*.tga Your folder should look like so: (a batch file is a text file with a .bat extension.)
Converting the textures
Search for the texture you want to convert. Weapons have 2 textures: View and world View is the 1st person texture (Big) and world is the 3rd person texture (Small) Place a copy of the texture in the “work” folder and open a command window navigate to the “work” folder Type the following: Use the right name instead of name (DUH!) Press ENTER and when it’s done, you’ll have a tga in the folder
Bring the tga into Photoshop and edit it to your heart’s content. The alpha channel needs to be edited too, or the skin will look weird.
Placing the textures in their final destination
Once you finish, save it to “\work\hl2\materialsrc\sprays” (Create the folders) Run “tga2vtf.bat”. When it’s done, look in “work\hl2\materials\sprays” (Create the folders) Your vtf should be there, along with some other files that are not needed Take your vtf file and place it in a folder that recreates the original folder structure Let’s use the .357 as an example: “half-life 2 deathmatch\hl2mp\materials\Models\Weapons\v_357” This means that under your “username” folder in Steam, there’s the “half-life 2 deathmatch” folder. In it, there’s a “hl2mp” folder, in it, there’s a “materials” folder and so on until we get to “v_357”. In “v_357”, you need to put both textures (world and view). The world texture is necessary so that the weapon doesn’t change colors as if by magic when you pick it up.
That’s it. You should be able to figure out how to replace any texture now. Look at all the textures you need to replace: Weapons = 2 (world and view) and players = 2 (main skin and menu icon). I’ll elaborate more about player skins in the next tutorial, including instructions on how to pose the model in ridiculous ways for the menu icon.
Use Google to find the tools you can’t find otherwise. For any questions, please ask in the forums and I’ll reply there. This will help everybody and I won’t have to answer questions on an individual basis.
Hope you have fun!
i think there is a easier way to do this jsut dunno how .. at hl2 world there is a tutorials for skining. i can find out cuz i cant find the register button......... i can find evry thing else tho!
There are no tutorials for skinning for HL2, since I'm the first to do it.
no yer not... someoen made a cyboric stryder, combine soldeirs with the word gordon was here on the back of a shirt and some oters
Where did you see those... Whatever they are? Also, I'm the first to do it with the RETAIL version. All others did it with the leak.