View Full Version : Modding unit graphics

Alpha Zwo
04 Jul 08, 15:43
I would like to modify the units.bmp and do not know how to do this, for example replace the pictures with some of the PzC series. Is there a way to do this, probably a tutorial and free programme to do this somewhere to be found? :hmmm:

Thanks in advance.


07 Jul 08, 10:14
I don't recall seeing any tutorial, but I figured it out for myself a while ago. It just takes some trial and error and a willingness to experiment.

If you are modding the unit.bmp file, you will need a graphics/image editor program like Paint Shop Pro. Here's a page with descriptions of free image editing software (http://www.ironspider.ca/freetools/grfxeditors.htm), and here's a link to Paint.NET (http://www.getpaint.net/), which is another free program. Use Google and poke around, there's a lot of them out there.

You can even try MSPaint, which is included in Windows.

The game engine, if I understand this correctly, looks at certain locations in the units.bmp file for images for various units and leaders. If you use the OOB editor and play around a bit you will see that the game engine "grabs" only a portion of the file image to display. So any changes you make must be in the same locations. You should experiment a bit by changing the unit.bmp file using an image editor. That's the best way to learn how to do it, experiment a bit.

Also, the hot pink background of the units.bmp file (in SAW, as an example) is regarded as transparent by the game engine. If the background of the image you insert isn't that same color, down to the RBG values (again, IIRC), then that color will show up when they are displayed in the game.

Just be sure to back up any files you are going to play around with, so you can restore them if required.

I just did a quick and dirty change to the default SAW units.bmp file to add Mr. Putin. You can download it from this page (https://sites.google.com/site/jzs-place/jzs-game-page).