How to render infantrysprites for Hearts of Iron. Version 1.0
You will need the following software:
Alias Wavefronts Maya
Adobe After Effects
Adobe Photoshop
Unzip Hoi_infantry.
Maya:
Load Hoi_infantry/Scenes/Hoi_infantry.mb.
Set project to Hoi_Infantry and Batch render.
Render from "render_camera1".
You should now have two folders in \Hoi_infantry\images.
One is a groundlayer with a shadow and the other is the model itself.
AfterEffects:
Load afterfx_mergfile.
In the composition window, replace the groundlayer and modellayer with your rendered files.
Make a movie, make sure you render it as a *.bmp sequence with
"current settings" Size 56*56 pixels. Name it germansoldier.
You should get a bunch of files named germansoldier_0001 and so on...
Copy automerger.exe to the same folder as your aftereffects rendered bitmaps.
Open up the commandprompt. Go to the directory where your have your rendered files
and run automerger.exe
Write "automerger germansoldier" (do not include the frame number or extension!)
Now you should have 11 bitmap strips and their *.spr files
Photoshop:
OPen the bitmap strips and set pixeldepth to 256 colours, and move the transparency
colour to index 0 and shadow colour to index 1. Save all 11 bitmaps and copy one extra
that will become your palettefile. Open up your Spr files in notepad and ad an extra line like this:
Palette="germansoldier.bmp"
(if that is what you called your paletefile)
Copy your *.spr files to GFX/map/units
Copy your germansoldier.bmp files to GFX/map/bmp
Copy the palettefile to GFX/palette
Start Hearts of Iron and hopefully you should now have a new wonderful homemade sprite.
You can skip the Aftereffects step and do it manually if you dont have
Aftereffects. I use it to remove antialiasing around the edges, change colours for the shadow
and transperancy + and sometimes other filters like brightness/contrast and merge the ground + modellayer.
The files and instructions are provided as is and we will only answer questions regarding this when we have time to spare
Dick Sjöström,
Paradox Entertainment
hoi_infantry.zip 1.8mb