Modders and those interested in how to mod the Homeworld 2 Engine.
Literally a copy paste job of Taro_m's texturing tutorial on TWC, all credit goes to him. similarly where it says I, this is referring to him. great tutorial, thought i would share it!
Posted by Schoon on Jul 18th, 2012
Taro's bag o' tricks
Hello everyone! Some may know me, but most probably aren't as I'm active in Third Age sub-mods forum. My biggest project was (and still is) a New Units for Gondor submod: Twcenter.net
I went a long way from start and learned a few things, about modeling and texturing, that are not describied anywhere on TWC (at least to my knowledge. So I decided to start this thread where I could share my tips with community. I will add tips as time goes on.
NOTE: I'm NOT and expert and some of my tips may in fact be the stupid way of doing stuff. In such case please let me know, and if you have better way of doing stuff, then even better.
Ok, let us start then!
TIP 1: The Basics
It is important to grasp the basics of modeling and texturing. I used few programs and let me tell you that basic principles of such programs are IDENTICAL. So if you know how 3D models work then you can use blender, milkshape or 3D Max. All those programs have different tools and UI, but basics are the same.
Before you continue you MUST read "Unit Makers Tome of Knowledge by Alletun": Twcenter.net
It is ESSENTIAL for your future work!
TIP 2: The Toolbox
Ok now that you read through Unit Makers Tome you can create your toolbox. You must gather all the tools that are essential to making units and putting them in MTW2. A good toolbox will make work easier and faster. I will put links to most of the stuff I use.
Mesh 2 ms3d beta 0.18 by GrumpyOldMan - Twcenter.net - this simple to use program that will suffice for most of the time. Personally I use this one when I can as its quick and easy. However it does NOT support custom skeletons.
GOAT GOAL ver1.0a by KnightErrant - Twcenter.net - this is a powerful collection of tools that will allow you to work with models that have custom skeletons or with siege engines. This one requires Python (2.6?) to be installed. Personally I only use this one when I have to.
texture/dds converter by alpaca - Twcenter.net - This easy to use converter that is all you really need. However it does require Python (again 2.6?) to work.
Notepad ++ - Notepad-plus-plus.org - my personally favorite thanks to good searching interface, ability to count characters and multi tabs and it is FREE.
These are the basic tools that you have to have in your toolbox to do some serious work on MTW2 units.
Also I suggest you to have all those tools in one place, main folder + subfolders for each tool (with exception of notepad ++), it is easier that way.
TIP 3: Basic materials
When making textures for your units it is VERY good idea to have basic materials at hand. Here are ones I use (you are free to use them as well):
Cloth (made by me)
Leather (also by me)
Mail (from rusichi, but I made a few tiles from it to be usable anywhere)
Metal (by CounterPoint391)
Wood (from Mount & Blade OSP)
It may not be much, let me assure you that you can do pretty much anything with these basic materials, it is just a matter of your imagination.
TIP 4: The databases
It is a good idea to have databases of models found in MTW2 along with screens. They are go to material when you need base for your units. Also they are great source of inspiration.
Here are my databases containing:
Vanilla MTW2 units - converted models and textures, with screenshots
Rusichi Total War units - converted models and textures of most units, with ingame screenshots
Burrek textures for MTW2 units - converted models and textures, with screenshots
Lord Calidors Weapons - converted models and textures
Baltic Total War - just ingame screenshots
Additionally I have screens of items from Mount & Blade. However DO NOT DARE TO USE ANYTHING ELSE THEN OPEN SOURCE MATERIAL! You will make baby Jesus cry and scary moderators will raid your house!
Download Databases (144 Mb): Mediafire.com
That's it for now, more tips MAY come, but I'm not promising anything solid .
Tip 5: The glint (or normal maps alpha channel)
Kudos for showing me this goes to my buddy Turambar.
A well made glint will make units that have leather or metal armor look much more natural. For a long time I followed the advice I found on forum and just changed brightness and contrast of whole image. So I got this:
Making alpha the wrong way
Do you notice the problem with what I did? If not then let me tell you how does alpha channel work on normal maps: the brighter the alpha in some section the more reflective that section is. As you can see my old alpha had metal pieces reflect light only in some parts that were brightest before I messed around with brightness and contrast settings. Also faces would reflect light with made them look rather weird ingame.
When was working with Turambar I noticed that he did alpha different way: all metal parts were simply solid color. It is a simple, but very effective solution, because that way all the metal armor reflects light same way with makes armor look much more natural and well... metal. Here is how I make my alpha channels now:
Better alpha channel
I expanded that technique a bit to include leather pieces as well. I spied that one in Mount & Blade. You see, if you give leather very slight glint it will look more natural. Unfortunately MTW2 has different shaders then M&B and achieving that soft glint is impossible. However very slight glint still adds some life into leather clad units.
Now I add glint to ONLY 3 materials: metal, leather, chainmail. Rest is simply left completely black. To make things easier I prepared small palette that you can use:
Making better alpha channel for normal maps takes a few minutes, but is not a hard process. Here is my system.
You take diff texture (one with colors) and create 3 new layers:
*base - completely black
*metal - you simply use selection tools to select all the metal sections in your texture, then you just fill them with metal gray from my palette
*leather - same as with metal, but you select leather parts and use leather gray
I use different technique for mail. If you use mail I provided, then you do this:
If you do it this way mail will nicely glitter in sunlight without looking like a solid piece of metal.
After you finish all layers, then you merge them (black base on bottom) and you can paste them into alpha channel of you normal map.
It may seem like a lot of work, but after making it few times it gets really easy and it will only takes couple minutes.
Tip 7: Stuff painted on stuff
Today I will tell you how to make very nice looking textures that contain stuff painted on other stuff along with coloring. There is a bit of a trick to make it look very natural, but not everybody may be aware how do do so.
I will describe how to do so using CoA painted on wooden shield I made few days ago. Also I assume that you have shield modeled and UV mapping is prepared for texture.
And that's it, just seven easy steps. Also while I used wooden shield as an example this technique can be freely used on all surfaces: cloth, leather, metal etc. Nothing changes.
Here's how my shield looks in game:
Shield in game