Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Skinning Half-Life 2 models

A Tutorial for Half-Life 2

No ads for members. Membership is 100% free. Sign up!

Learn how to replace textures in Half-Life 2

0. What will you need

  • GCFScape - to open Source Engine Archives
  • VTFEdit - to open .vtf files which store the textures
  • GIMP or another graphics editor

1. Get the textures

The textures are stored inside archives of the .vpk format, which can be opened using GCFScape.

Open GCFScape and click File > Open, then go to located in C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2 which is where the texture vpk is stored in. Inside is a file called hl2_textures_dir.vpk. Open it.

When you open it, the files inside the vpk will appear. Now you need to find the model you want to edit the texture for. For example most character models are in ../materials/models Please remember the folder structure, as you will needed for the installation of the new texture.

For the tutorial, I'll edit Alyx's body texture, that is in the ../materials/models/alyx folder and named alyx_sheet.vtf. In here we will find the .vtf files, which on double click open up VTFEdit we installed earlier. It will look like this:

But you can't edit it yet. You need to export it to PNG. You can do that by clicking File > Export and selecting PNG in the type select

2. Edit it

Now you can open the exported file with a graphics editor, I'm using Photoshop. Let your creativity run wild! As an example I created this:

3. Replacing the texture in-game

Now that you have your texture saved into a PNG, you can't just place it back into the vpk. First you'll need to make it back into a VTF. Open VTFEdit and click File > Import and select your PNG texture. When a dialog box opens, just click OK.

When the texture succesfully loads, select File > Save as and save the file with the same name as the VPK file from which you have gotten the texture. For example because my texture is from alyx_sheet.vtf I need to name this one alyx_sheet.vtf.

To make the texture appear in game, you need to make a folder named custom inside your ../common/Half-Life 2/hl2 folder. Inside the custom folder, make a folder with some random name. Inside it make the same folder structure like the one inside the original .vpk file from which you got the .vtf file. For example here is my file structure:

4. Test

Now you just need to test it! Launch Half-Life 2 and get playing!

Sign up to access this!
  • access_time 6d
    Recommending MSPaint isn't really a good idea. GIMP is free and does that job better.
    • Agree x 1
    Source Engine Wizard avatar
    Source Engine Wizard
    URL to post:
  • johnyonghwang1 avatar
    johnyonghwang1 Joined 5y ago
    944 points Ranked 41261st
    access_time 8d

    Hey dude can you make a tutorial about how to
    replace map textures with differently sized textures, while maintaining the original alignment
    Shrek is Love Shrek IS life
    URL to post:
  • Asais10 avatar
    Asais10 Joined 2y ago
    128 points Ranked 63464th
    access_time 9d
    Here's a tip for some people:

    Some textures (at least for me) do not export properly and appear corrupted when you export them as .png, but .bmp works fine. So, if the texture you're using doesn't export properly as a .png, use .bmp.
    • Helpful x 1
    URL to post:
  • Greig avatar
    Greig Joined 2y ago
    543 points Ranked 44964th
    access_time 9d
    Good thing I figured this all out myself
    I'm going to B-hop my way out
    URL to post:
  • Lambda logo avatar
    Lambda logo Joined 5mo ago
    4 points Ranked 46072nd
    9 medals 2 rare
    • 10 submissions featured Medal icon
    • Returned 1000 times Medal icon
    • Submission featured Medal icon
    • Returned 100 times Medal icon
    • Submitted 10 Skins Medal icon
    • One month a member Medal icon
    access_time 10d
    Although I know how to do all this, but the tutorial turned out great! It will definitely help novice users.
    URL to post:
  • tom avatar
    tom username pic Joined 18y ago
    TBS2 Manager Super Admin
    36,158 points Ranked 124th
    64 medals 12 legendary 10 rare
    • Achieved Super Admin clearance Medal icon
    • 10 years a member Medal icon
    • Thanked 500 submitters Medal icon
    • Submitted 200 Blogs Medal icon
    • Submitted 200 Threads Medal icon
    • Submitted 60 Polls Medal icon
    tom avatar
    test 1 2 3
    access_time 10d
    Awesome tutorial, thank you!
    • Thanks x 1
    • Agree x 1
    testing 1234 222
    URL to post:


Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code


Key Authors
hernik avatar
hernik username pic Joined 3y ago
231 points Ranked 54104th
Made the tutorial


hernik avatar
hernik username pic Joined 3y ago
231 points Ranked 54104th
hernik avatar

Sign up to access this!
Sign up to access this!
Sign up to access this!


Sign up to access this!



Difficulty Level




  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Today's Pick
    Featured on Dec 1 2019
  • 4
  • 856
  • 11
  • 10d
  • 3d

More Skinning Tutorials