.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > Mods
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old July 30th, 2013, 08:23 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,658
Thanks: 4,094
Thanked 5,862 Times in 2,893 Posts
DRG will become famous soon enough
Default Re: How to Edit Icons

From the SHPEDIT HELP file. I have highlighted the step you have missed

Basic Editing

In the simplest case, the steps to replace an image in a shp file (foo.shp) would be as follows:

1. Use the Load Shp button to load foo.shp into ShpEd.
2. If foo.shp does not use the Panzer General palette, load the appropriate palette using the Load Palette button.
3. Type in or use the up/down arrows to adjust the image number to the value that you want to edit. (Use the View Collage button to preview several images to find the one you want first if you don’t already know the number.)
4. Press the View Shp button to display the image.

5. Press the Save Bmp button and save the image as a bmp file e.g. foo.bmp.
6. Use a paint program to edit foo.bmp and save as foox.bmp.
7. Use the Load Bmp button to load foox.bmp.
8. Click the Convert Bmp to Shp button to convert the image to the shp format.
9. Make sure that the correct shp file (foo.shp) is loaded and the desired Image # is selected. Press the Replace Image button. Doing this will make a copy of foo.shp that contains the revised image. The resulting file is always named “bignew.shp”. To use this file, it will need to be copied to the game’s shp directory and renamed (after removing the original shp file) to the proper name e.g. foo.shp.


After you change the first image you need to load BIGNEW then continue on from there and when you are done you rename BIGNEW to whatever SHP file # you started with but first you have to either rename the original SHP file or delete it

Also, SHPEDIT does NOT use Pallatized BMP's so don't use them
Reply With Quote
  #2  
Old July 30th, 2013, 09:09 AM

Sam08 Sam08 is offline
Private
 
Join Date: Jul 2013
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Sam08 is on a distinguished road
Default Re: How to Edit Icons

Thanks! I got it working.

Is there any tutorials on-line for how to make quality icons? My image works, but is seems I need to do some work to make the details stand out more:

That's supposed to look like a T-64, but I can't really see any details.
Reply With Quote
  #3  
Old August 13th, 2013, 10:17 AM
Cross's Avatar

Cross Cross is offline
Captain
 
Join Date: Jun 2006
Location: UK / USA
Posts: 895
Thanks: 32
Thanked 282 Times in 123 Posts
Cross is on a distinguished road
Default Re: How to Edit Icons

Quote:
Originally Posted by Sam08 View Post
Is there any tutorials on-line for how to make quality icons? My image works, but is seems I need to do some work to make the details stand out more:

That's supposed to look like a T-64, but I can't really see any details.
There's a thread over at this site that gives a lot of helpful advice about making good SP icons:

http://spwaw.com/phpBB2/viewtopic.ph...r=asc&&start=0

The thing I found most important is light.

Generally, the higher a feature is on a vehicle the lighter shade it should be. So the top of the turret should have the lightest colour.

When working on an icon, I will create a micro palette of the colours I'm using, like this:


Then choose a light shade for the highest feature and work down the palette as you work down the vehicle.

Look at the back of the Morris C8 FAT and the Kuebelwagen, notice how you can create a sloping effect by having a lighter colour at the top and then use darker colours as you move towards the rear bumper:



Notice the lightest colour on the open topped cars is the top of the windshield/windscreen (the highest point). Depth inside the cars is created by putting black or dark gray at the lowest point.

With SP icons always remember that the light source is coming from the northeast, so put the south and the west in deeper shadow. Notice the left hand side of the Morris C8 FAT is lighter than the right side.

Notice the tire behind the cab of the Bedford QLD 3 Ton, there's a tread pattern of light and dark gray, but the light and the dark gray both get darker at the ends of the tire to give the impression of being round.

Same with the mud guards over the Bedford's front wheels. The lightest colour at the top, which gets darker towards the front and back to give a round impression.

I used darker shades for features on the front deck of the Ford GPA (amphibious Jeep). Features create shadow, so should usually be darker, or a mixture of dark and light (like the MG turret on the roof of the Bedford cab).

Make sure you add dark shadow around the tank turret to distinguish it from the hull.

In fact you might want to zoom in on a similar tank icon (that you like) to the one you are making, and see what the artist did to make it look good.


Cross

Last edited by Cross; August 13th, 2013 at 10:30 AM..
Reply With Quote
  #4  
Old August 15th, 2013, 07:50 AM

Sam08 Sam08 is offline
Private
 
Join Date: Jul 2013
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Sam08 is on a distinguished road
Default Re: How to Edit Icons

Hi Cross, thanks for the info! I really like how you did the canvas on the trucks.

My problem is that I can't seem to turn already-made graphics into good-looking SP icons.

I'm playing a German long campaign, and slowly replacing the icons in game as I use them. I don't have the time for a full-blown mod, so just a little at a time. I've even brought out Close Combat 3 and tried replacing SP icons with those-results are mixed.

Usin GIMP, I can create an SP palette by indexing the colors of a picture of the SP palette by going to indexed mode from RGB. No problem there.

My problem is taking an icon I already have (24 bit) and then having GIMP color the image according to the SP palette. GIMP assigns colors based on luminosity, not what colors actually looks like, leading to some bizarre-looking icons.

I'm better off often letting SP translate the colors to the palette, but if I'm going to touch-up the icons using the techniques you describe, then I need an accurately translated image using the SP palette in my editing program.

Maybe GIMP is the wrong tool? I've seen some plug-ins for Paint.net regarding palette creation and image recoloring, but I was wondering what program you prefer.
Reply With Quote
  #5  
Old August 16th, 2013, 11:41 AM
Cross's Avatar

Cross Cross is offline
Captain
 
Join Date: Jun 2006
Location: UK / USA
Posts: 895
Thanks: 32
Thanked 282 Times in 123 Posts
Cross is on a distinguished road
Default Re: How to Edit Icons

Quote:
Originally Posted by Sam08 View Post
My problem is taking an icon I already have (24 bit) and then having GIMP color the image according to the SP palette. GIMP assigns colors based on luminosity, not what colors actually looks like, leading to some bizarre-looking icons.

I'm better off often letting SP translate the colors to the palette, but if I'm going to touch-up the icons using the techniques you describe, then I need an accurately translated image using the SP palette in my editing program.

Maybe GIMP is the wrong tool? I've seen some plug-ins for Paint.net regarding palette creation and image recoloring, but I was wondering what program you prefer.
Sam,

I’ve never used GIMP, but I’ve read a lot of good things about it. Apparently there’s no real difference between GIMP and Paint.Net in their capabilities, though there’s no doubt that each can do a few things the other can’t. GIMP supposedly has a much longer learning curve as it’s not as user friendly as Paint.Net.

As for applying a palette to an image, Paint.Net can do that, and I've used it, but I have no idea if it works better than GIMP.

Post a ‘before and after’ image that you put through GIMP, and I’ll put it through Paint.Net and we’ll see if PDN does what you want. That will save you installing PDN and the plugins only to find it’s no better than GIMP.

Cross
Reply With Quote
  #6  
Old August 16th, 2013, 03:39 PM

Sam08 Sam08 is offline
Private
 
Join Date: Jul 2013
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Sam08 is on a distinguished road
Default Re: How to Edit Icons

Here's an example of a Humvee I made. I loaded it into GIMP and told it to translate to the SP palette


And here's what it did!



The GIMP uses luminosity values and even messes up the pink transparent pixels! That should be a direct 1 for 1 translation there!
Reply With Quote
  #7  
Old August 16th, 2013, 05:26 PM
Cross's Avatar

Cross Cross is offline
Captain
 
Join Date: Jun 2006
Location: UK / USA
Posts: 895
Thanks: 32
Thanked 282 Times in 123 Posts
Cross is on a distinguished road
Default Re: How to Edit Icons

Your original on the left, after applying the SP palette with Paint.Net on the right.



NB. I removed the invisible pink from the SP palette in PDN, because I don't want PDN to use invisible pink for the hands of infantry etc. I just add the pink to the icon afterwards.
If you prefer to have pink in the palette it's easy to add, just make sure you check pink wasn't added to the icon itself.


Cross
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:05 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.