« Art Mod Idea | Main | Machinima Review: Katherine Anna Kang's "Anna" »

Custom Charachter in HL2 Deathmatch

Here are some screen shots of the custom character that I created.

girl1.jpg
girl2.jpg
girl3.jpg

Here are a few things that I learned during this exercise that might be helpful for other students:

1. A model can reference more than one texture. For my model it was important because after adding the hair and merging the models, when I exported the rendermap, then reimported it as the single texture, it superimposed the hair texture over the body texture, so the entire model was covered with hair--not cool!

2. The way that I achieved using two textures for the model was as follows:
a. downloaded and installed this plugin for photoshop which allows saving as .vtf.
Download photoshop vtf plugin
b. saved the two textures (body and hair) that i created in photoshop as .tga
c. in xsi mod tool, selected the body polymesh and textured it with the body .tga
d. in xsi mod tool, selected the hair polymesh and textured it with the hair .tga
e. merged meshes, etc. as we learned in the noesis timebomb tutorial.
f. connected the single polymesh to the valve biped rig
g. exported the smd as is (i did not create a rendermap or reapply it)
h. in photoshop, changed the size of each of the textures i made to 512x512
i. saved the two textures as .vtf

The rest is pretty much the same as the tutorial explained, except now there is no need to use vtex.exe. Just put your .vtfs that you made in photoshop in the right place and make some .vmts for them. Compile your model, and check it with mdltextureinfo.exe. You will see that the model will be looking for two textures, and it will provide the name and location of the .vmts that it is looking for.


3. If you use the xsi mod tool basic charachters as a starting point, without making a seperate head, the model will NOT have eyeballs.
girl6.jpg

4. Getting the fingers of the rig and the fingers of the mesh matched up is a hard task, and even if it looks alright in xsi, when it is imported and animated in HL2, it can result in strangely mangled hands.
girl5.jpg

If anyone has any questions, feel free to ask. Happy modding!

Comments (2)

Andy Cox:

Well done!

My Dolly model had a separate head and body. I managed to make a single rendermap of both. But not ideal since I really wanted more detail in the head. Using more than one texture is better and that's what Valve does (that's how we were able to change the head on the Deathmatch models)

Didn't you have to edit the vmt to point to two textures?

Andy Cox:

who is that girl?

Post a comment

About

This page contains a single entry from the blog posted on March 25, 2008 2:13 PM.

The previous post in this blog was Art Mod Idea.

The next post in this blog is Machinima Review: Katherine Anna Kang's "Anna".

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31