Hi, I'm making this tutorial to explain how to make an icon for a unit and implement it, I do it in first place for someone, but as he said, it can help anyone. So you can be able to make your owns by yourself. It can be for modders or normal peoples just wondering how to do it without using Photoshop or any professional software that is complicated, just doing a good small thing, I'll try to go step by step.
It might not be the best way, feel free to say if you have a shorter way to do it, or advices for others, but it works for me.
This tutorial is step by step, can be very annoying for peoples understanding fast, but some peoples don't and are newbies.
First of all, the softwares or files that are needed, all free : -You won't need everything, it depend on what you want to do, so just go to the tutorial, come back to download when needed, GIMP, the Wargame Mod Installer, and the Modding Suite are needed in any case. The other are depending on which card you edit, an inf or a vehicle like a plane, with a screenshot taken ingame.
GIMP : http://www.gimp.org/downloads/ to cut and resize an image.
PAINT.NET : http://www.getpaint.net/download.html to save as DDS and with good parameters.
The Wargame Mod Installer (Made by Vasto) : https://mega.nz/#F!4QoxmDYD!6A7Qb15Gz30wsaHCWgVGOA tutorial will explain later how it works for that, it will implement the icons. (I pre-made a code to install icons.-Plus, it can be used to install lot of things for Wargame, files, hashes and skins)
NotePad++ : https://notepad-plus-plus.org/download/v6.9.1.html to edit the code of the installer. (Sublime Text 2, and Microsoft XML Editor 2007 can work fine too, suggested by The W:AB Noob)
The Modding Suite (Made by Enohka) : viewtopic.php?f=187&t=56451#p904985 will be used not for modding, but to seek the names of icons, will be needed in the installer code.
And the infantry backgrounds, given by Eugen : viewtopic.php?f=187&t=52090 to make backgrounds.
Two Tutorials are present, one, if you take a screenshot of the unit and want to implement it ingame (as said, useful for planes who have different loadouts), it works too if you have a real picture of a tank, its the same process, just you will not make a screenshot of it as you downloaded the image somewhere.
And another one, where I will explain how from a real picture of infantry, to cut it, plus paste it on a background corresponding to it (Elite, AT etc..) then install it, it can fit pretty well without having big skills, if you know how to make shadows or whatever, feel free to make it looks cooler.
MAKE A BACKUP BEFORE DOING ANYTHING, go to your wargame files Wargame > Data\WARGAME\PC\430000587\430000609\ZZ_4.dat <<< copy that file, that's the one we are going to touch, in case you do something wrong, make a copy of it somewhere, and you'll need it in case that you want your game back normal.
First Tutorial - FROM A SCREENSHOT OR A REAL PICTURE -
STEP 1 So here, we'll need FastStone Capture, you will take ingame, a screenshot of the wanted unit, try to make it in skirmish, easier for planes with slow-motion, then go to find the replay of the game so you can make pause and F12 for all screen screenshot, then recover the screenshot.
Rename like UNITNAME_icon.png (instead of UNITNAME if you are clever, you guessed that you have replace it .. like me with rafale_icon.png)
Then, for my example, here is what I have, a Rafale flying over the sea :
STEP 2 Now, launch GIMP, we will need to resize the picture. Click on your picture > Edit with GIMP
-My software is in french, but i've replaced the words in english, make it easier for you to understand and to spot IRL.
The picture need to be resized exacly to that size : 164 x 84, click up there on the Tools tab > Transformation tools > Scaling
Then type 164 in height and 84 in width, click back in the height bar to see how it looks, then push the Scale button.
Now, right click on the picture, to cut it :
Do it, then, you will create a new picture go in files and click new, make it 164 x 84, and paste the previous picture that we just cut(right click in middle of new blank, and paste) you can now close the previous GIMP page opened to edit the picture without saving, just keep the new one.
Export it somewhere you'll find it of course ^^
You can, now, close GIMP, don't save anything, all we need is our exported picture, so, we don't care.
STEP 3 Now, we are editing the picture, we need now PAINT.NET, lauch it, and open the picture, to... save it ! Indeed , but it's because we need to save it as DDS and with special parameters, plus this software is used to make skins.
So, open it and go in Files tab > Open > locate your picture and load it.
We are going indeed to save it, as DDS :
Now, very very very important : (even if it's in french, you can see what line to select or not, I hope.)
STEP 4 And, we got our DDS file now, so, it's getting serious right now, you will now need... The Modding Suite to extract a file, that contains icons, but, its not to touch them, just to search the name of our unit, for later.
So, open the ModdingSuite (click on the exe file), then click on File > Open (tab) and then, go to your Wargame files then to that exact file :
Here we need to define your export path, if you know where your file will end up, you can ignore this thing.
When it's done, you'll have this, one left click on commoninterface.pkk to select it, then the garbage icon > Export
The file will be on your desk now, in the Modding Suite, click on File > Open > your file on desktop, then when it's open, you can search for your unit, be careful if it's a unit present in multiple countries, it can have similars names ! Pic :
STEP 5 Now that we know the name of the icon, we can go into the The Wargame Mod Installer installerConfig , which will install our icon.
Go into the "Icon Installer" folder, you can now paste your DDS file into the "Cards" folder. Now, we'll use the NotePad++, open the installerConfig.wmi :
This is what you'll have :
So, now you know where to type your unit's name and the original's one. You can do several in same time by copying multiple times :
Code: Select all
Now, time to lauch the WargameModInstaller, install your own icon, and lauch the game to check !
Second Small Tutorial - HOW TO CUT A SOLDIER FROM A REAL PICTURE AND INTEGRATE IT WITH A PROPER BACKGROUND-
(cause I got no artistist skills atm)
I've choosen that Marines picture to make it, plus the shadows already present on the soldier will look nice ingame.
So, open GIMP and load the picture. Now select the lasso tool in your tool's bar.
You can click on the Zoom tool in the Tool tab up there and left click to zoom, get back your lasso now and start ! Now, start left clicking all around the soldier's body, try to not let pass details, even shadows can give some shape to it on the card, it takes time, but more dots/points you'll make all around, more accurate and nice it'll look.
You can at some point when you did the upper part of it, you can cut down the chest, it will not be seen in the card as its small and you only see what's up to his chest mostly, so cut off down there.
Now, you right click on it, Edit > Cut or Copy, its the same outcome for us anyway :
Okay, so, i've asked up there in the software and files section to download or look at the background for infantry units, so here we are, open the one you want, in our case the normal inf background
then paste the cut soldier on it, we'll resize it, because he's too fat obviously . Use again the scaling tool
drag the corner of the soldier as much as needed to make it smaller, but not smashed either, need to be legit !
Now select the Move button, and drag the soldier into the middle of the image , the down of the soldier is a bit hidden by its name ingame, and by his flag on the left side, don't forget that ! (Even me right there I should have moved the soldier a bit more on right, because of the flag ingame)
You can currently start from the end of STEP 2 in the first tutorial, at the moment of the export.
This tutorial is now over ! Hope it helped you, as it took several hours to make
Thanks to Darkmil that helped once, for that problem of DTX1, and I give a wink to Narcissistic Black, he'll understand.
Note : This tutorial will be updated at some point to teach you how to make weapons icons, I'm still testing best ways to do it, but as modding is on pause at the moment, I'll do it when Nations Packs releases will stop, as I'll re-start for the 3rd time my mod and so show you some weapons icons made, and so on.