Tutorial: Re-texturing Models Last edited 20 years ago2003-09-18 04:00:00 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.

This article was converted from a previous version of TWHL and may need to be reviewed

  1. The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
  2. Some information may be out of date
  3. After the article is re-formatted and updated, remove this notice and the Review Required category.
  4. Some older tutorials are no longer useful, or they duplicate information from other tutorials and entity guides. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.

Download attachment

Ever wanted to create a Mod but thought: "These monsters just don't look right for my mod. I wish they were a different colour."

You also might have thought: "No, these clothes just aren't suitable at all."

Well, your problems are solved! And it's REALLY easy!

First, you'll need the Half-Life Model Viewer. You can find a direct link to HLMV here Links Page. Download HLMV, and install it. If you have unpacked your models, you can save time by associating their file type with HLMV and that will make them easier to browse.

You'll also need a graphics program. Paint Shop Pro and Adobe Photoshop are both very good graphics programs but, if you don't have them or are like me and have the slowest Internet connection ever, MS Paint (shudder!) will do just fine.

OK, find the offending model, in this case the hgrunt.mdl. Load it in HLMV. Select the texture tab at the bottom and scroll through the textures until you find one that you want to replace. Select Export and save it to an obvious location. In my case, I've saved them in a new skins folder on the desktop. Now, open up this texture with your graphics program (MS paint for me) and change everything that needs to be changed.

Once you are happy with the alterations (MAKE SURE YOU KEEP THE TEXTURE THE SAME SIZE!), go back to the model, find the texture which you altered (it will, of course, display the original texture) and select import. Locate your new texture and import it. View the model and it will have the new texture.

Now VERY IMPORTANT!: go back to the texture tab and select save model. Either save it in another place, or, rename it, or, save over the old model.

The example grunt model I have included has the following textures changed, the grunt's arms have been painted black (Don't ask), the gas mask guy has a grey helmet.
The GruntThe Grunt
The CommanderThe Commander
The Commander has a reddish-brown beret and sunglasses, and the black beret guy (Cigar guy on low definition grunts) has been given a balaclava and grey beret (Again, don't ask).
Ski GogglesSki Goggles
Balaclava ManBalaclava Man
Just remember that when moving models, you must move the numbered ones with it, or it won't open in HLMV. Also, you don't need the model which ends in t (In this case, hgruntt). You only need the [VA]t[/VA] model if there are no other numbered ones. If there isn't a t or numbered ones, then you don't need to move anything extra. Included with this are the altered grunt models mentioned.

Just don't copy 'em over the old hgrunts if you prefer the old ones! If you prefer these, and save over the old ones, then when you want to go back to the old ones, just get the old ones out of the PAK file again.

[Three minutes after reading this tutorial I re-textured this grunt using Wally as the texture editor. Ok, so it's rubbish, but it worked and now the grunts are really easy to spot! What surprised me was that HL takes it's models and textures from the unpacked model file and not from the 0pak file when it launches. So the possibilities are endless. To share your re-textured models you will have to include the ones you have changed, and distribute them in a model folder so that those viewing your creations have access to them.

And as Vassy said, if you get sick of your new textures, just unpack the 0pak file into your model folder again, and you will have the old models back! - Andy]
Weird GruntWeird Grunt

1 Comment

Commented 15 years ago2008-06-01 05:07:13 UTC Comment #100604
Excellent tutorial. Thank you = )

You must log in to post a comment. You can login or register a new account.