Weapon and engine sprite recoloring

Just another technical question from a hopeless noob

Hello fellow EV enthusiasts, it's been quite a while since I've posted here on the boards and I apologize if this has already been covered (I'm sure it has).

My question is relatively simple, I hope. I'm curious as to what the best way is to change the color of a weapon sprite, for example changing a wraithi from pink to green, while keeping the shading and color balance. On a similar note, I'm also interested in figuring out how to change a ship's engine color, similar to what was done for the rebel valkyrie.

Anyone who can take the time to help me solve this issue would be greatly appreciated.

Edit: I realize I probably should of put this in the Plug-in developer forum, if this is the case any helpful moderators please forgive my ignorance...

This post has been edited by ShaneSerris : 23 March 2012 - 11:43 PM

Let me start by saying my advice in this post comes from being a Mac user. If you're on a PC, the exact way you go about doing it might be a little different.

I personally use Graphic Converter for this kind of work, but almost any image-manipulation program will do. First, you need to use Mission Computer to export the sprite's base image into some sort of image format such as .png, .PICT, etc.* Then load it into your image-manipulation program. Find the program's Hue Edit tool, whatever it may be called. In the case of Graphic Converter specifically, this option is located in the menu bar. Go to Filter > Color Adjustment > Hue Adjust. Then just fiddle with the slider till you find something at least close to the color you want. If you're not quite happy with the end effect, you can use another tool Graphic Converter has to fine-tune the hue effect. Go to Picture > Brightness/Contrast/Hue. The hue option here is a bit limited compared to the first one I mentioned, so it's best used for fine-tuning the final color. You can also use the brightness, contrast, and saturation sliders to fiddle with the image—make it brighter, darker, etc—till you get something you like.

Now you need to put the image back into EVN. First you need to make sure the background is completely black. Do this by double-clicking on the paint bucket tool in the quick-select that should be to the right of the image. Change its 'Tolerance' to 1 and make sure your selected color is complete black. Click on the background and viola, black background. Save the image. This is important as you're not done editing it yet.

Now you need to make the sprite mask. Double-click the Magic Pen tool ('Magic Wand' is trademarked by Photoshop) and change its tolerance to 1, as well. Click on the background. This should select the entire background but no part of the sprite itself. Go to the tool bar at the top and click Edit > Invert Selection. This will switch your selection to the sprite instead of the background. Then simply hit the delete/backspace key to get rid of the sprite, leaving a white space in its place. Save this as a separate image. Now, assuming you know how to import sprites into EVN, you should be set.

Hope this helps! I'm afraid I've never been too good at giving tutorials, so if you need me to clarify anything, let me know and I'll try.

  • I'm not sure if the Windows beta of Mission Computer can export sprites yet. If not, you'll have to find another way. Unfortunately, I've no idea what to use on Windows.

@darthkev, on 24 March 2012 - 08:42 AM, said in Weapon and engine sprite recoloring:

Now you need to make the sprite mask.

If your changes have been only to the colours of the image, surely you can re-use the original mask?

Possibly, but it never hurts to make a new mask. Suppose in the process of editing, you made the sprite darker and eliminated some of the 'bloom' effect at the edges. This makes the sprite smaller and using the original mask would leave a black border around it. Or perhaps you increased the bloom effect to make the sprite appear to glow even more than it did before. Using the original mask would cut off the extra bloom.