• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[2D] Do it yourself: Recolor it yourself

Ardenian

A

Ardenian

[2D] Do it yourself: Recolor it yourself



Tired and ashamed of having to bother other people doing stuff for you?
Want to become a successful modder and creator?

Read through this tutorial and you never have recolor requests again!
You don't have to draw anything, I promise!


Requirements:


Index


Step 1: Converting your BLP resource to a usable file type
Step 2a: Full image recolor
Step 2b: Recoloring parts of an image
Extra: Easiest and fastest way to preview changes of a skin

Step 1: Converting your BLP resource to a usable file type


GIMP cannot open BLP files, we need to convert the BLP files to PNG, TGA, JPG or BMP.

Open the BLP file in the BLP Lab if it is a skin or icon, or in the Button Manager
if it is an icon. Choose 'Save as...' and select your file type and a name.

Attention, both tools don't have their conversion quality
initially set to 100%, you might want to change that before converting,
done in the settings or an option field for quality, dependent on the tool.

Open the converted file in GIMP.

Step 2a: Full image recolor


In some cases, we want an icon match another one.
Here is an example:

icons_6131_btn.jpg
<->
icons_18259_btn.jpg


Credit for the left icon to http://www.hiveworkshop.com/forums/icons-541/btnxrandomgreenthing-147743/
Credit for the right icon to Chen.

We want the right one match the left one.
But how do we do this ?

We have the option to fully image recolor an image:
Go to the tab 'Color' and then you see these two options in the list:

View attachment 153424 - Changes the color dependent on the current one

View attachment 153425 - Re-colors the image

What is the difference ? The top one takes your current color and allows
you to change the color, brightness and saturation.
For this tutorial, we are going to use that method.
The second, bottom one is basically the same, but applies a new color on the image.

Now let's get started. Press the View attachment 153424 field.
( the other one recolors the icon border, too, which we do not want)
Now a pop-up appears.

Focus on the three bars at the bottom, color tone, brightness, and saturation.

Move them a bit around and see how the icon changes.

attachment.php


But back to our icon project. Let's make the spheres similar to the reference icon.

It is a bit blue, isn't it? So we change the color tone towards blue.
Hm, our reference is bright, let's increase brightness here, too.
Now we see the reference icon has a weaker green tone, so we reduce saturation.

Result:

icons_6131_btn.jpg
<--> View attachment 153427 <-
icons_18259_btn.jpg


Maybe a bit too blue, maybe not saturated enough, but I assume you understand the direction.

Pro Tip:
Always have the reference in visible range when recoloring,
saves time and nerves.
You can open multiple images at once in GIMP and drag the reference around
so it is visible even if you work on the other one.


Step 2b: Recoloring parts of an image


Now things get a lot more complicated.

You have to learn about image layers in this step. Basically, an image is one layer.
However, GIMP is able to manipulate multiple layers at the same time, so
we have different images within the same image, overlapping.
We come back to this later.

We want a skin of a unit texture change its color ( don't confuse the resource type 'skin' with the skin of a creature)

Let's take an orc texture. Open the MPQ browser in the http://www.hiveworkshop.com/forums/tools-560/war3-model-editor-62876/.
For our example, I choose the Witch Doctor.
The texture is located under Units\Orc\WitchDoctor\WitchDoctor.blp in the "war3x.mpq" (Frozen Throne assets).

We want it to share the same texture as the green orcs.

Follow Step 1, use the BLP Lab.
Open the converted file in GIMP.

Now we try our recolor option
attachment.php
from Step 2a:

attachment.php


Oh no, everything is green.
How can we prevent this and only recolor actual orc skin?

Now I introduce you to the selection tools:
attachment.php


You can see these fields in the tool board, located to the left.
From left to right:

Box Selection: Selects a rectangle or square
Circle Selection: Selects a circle
Freehand Selection: Create lines and connect beginning and end for a free shape
Magic Wand: Select matching image parts.

But what is that 'selection' ?
It allows you to pick out a manual chosen part of the image and manipulate it,
cut it, recolor it, move it and so on. Endless options.

Play a bit around with the different selection tools.
Find one you like and keep using it in this tutorial.
Note that for a perfect recolor, a use of all is to consider.

You might notice now every time you use a new selection tool or
create a new selection with the same tool, the selection gets refreshed.
We can use these to change that:
attachment.php


You find them under the tool board, where the settings for the currently selected tool
are displayed.
Change the current mode to the one to the right of the currently selected.
Now new selections are merged with the old one.

Now select all parts of the visible orc skin.
Pro Tip: Zoom in to increase accuracy. The current zoom is displayed
and can be changed at the bottom of the middle window, where the image is
displayed.

Now you should have something like this ( left one, right one for reference):

attachment.php
attachment.php


Now we cut these off and create a new layer.
To do so, hit CTRL+X, then CTRL+V.
Now, move your eye to the right board.

attachment.php


Now right click on the top one and select
attachment.php
'Create as new layer'.

Ignore the border that appeared now on the image.

Now select the top layer, the one you just created, and hit one of the two recolor ways.
Choose your color to your liking.

attachment.php


When you now save your image, it will be saved as .xcf, the GIMP file type.
You need to export it to one of the previous file types ( PNG, TGA, BMP, JPG).
Use 'Export as...' in the main menu.
If it asks you to merge layers, do so.

Then re-convert it to BLP and enjoy.

attachment.php



Extra: Easiest and fastest way to preview changes of a skin


Isn't it tiresome to import an edited texture to the world editor, save the map, close the editor and open it again ?
Luckily, there is a way to preview skins within seconds.

You can do so in both tools, the Model Editor or the http://www.hiveworkshop.com/forums/tools-560/warcraft-iii-viewer-62878/.
I am going to explain how to preview a skin in the W3 Viewer because there
the preview can be refreshed faster than in the Model Editor and it is easier for
people who haven't touched modeling yet.

To preview a skin, open the corresponding model in the W3 Viewer.
If it is a default unit, you can search the MPQs, too, but you have to manually
search the MPQ files when swapping between them.
In difference to the Model Editor, the W3 Viewer can search the currently opened MPQ ( CTRL+f).

Once you opened the model, hit CTRL+M.
Now you see a bunch of paths. One of these paths is the texture path of the
skin you edited.
Click on that path and hit 'Change...' in the middle under the list.
Search your edited skin and open it ( does not accept PNG, but TGA, BMP, JPG and BLP).
Now the old skin is replaced with your new one ( that's how the final picture in Step 2b was created).

But it comes better! You can refresh the skin with hitting CTRL+T.
This reloads the textures, including the edited one.

Work flow example
:
Edit a texture in GIMP.
Export it as TGA, BMP or JPG.
Preview in the W3 Viewer, leave both GIMP and the Viewer open.
Continue working on the texture.
Export it once again to the same file as before ( over-writing it).
Hit CTRL+T to preview the changes immediately.
 
Last edited by a moderator:
Top