• Blitz Shadow Player
  • Caius
  • redboot
  • Rules
  • Chain of Command
  • Members
  • Supported Ladders & Games
  • Downloads


Truck Icons
02-20-2011, 05:49 AM, (This post was last modified: 02-20-2011, 06:10 AM by Cross.)
#1
Truck Icons
I've been looking at the lorries recently, and made a new icon for the Bedford 3 Ton.

Thought I would share in case anyone wanted to use it.

Original:
[Image: icon003610.png]

New Icon:
[Image: bedfordtruck3610d.png]

The original really looks nothing like a Bedford QL 3 Ton, and is a little too large.

I'll attach the BMP file to this post.

For WinSPWW2 you will have to install it to Icon0036.10

.


Attached Files
.bmp   Bedford.Truck.36.10d.bmp (Size: 23.35 KB / Downloads: 2)
Quote this message in a reply
03-20-2011, 12:04 PM,
#2
RE: Truck Icons
(02-20-2011, 05:49 AM)Cross Wrote: I've been looking at the lorries recently, and made a new icon for the Bedford 3 Ton.

Thought I would share in case anyone wanted to use it.

Original:
[Image: icon003610.png]

New Icon:
[Image: bedfordtruck3610d.png]

The original really looks nothing like a Bedford QL 3 Ton, and is a little too large.

I'll attach the BMP file to this post.

For WinSPWW2 you will have to install it to Icon0036.10

.

Hi Cross,

First my congrats for ur awesome work!:bow:
But I'd like to ask how to add them to the game?? I can deal with OOBs and even some SHP files but cannot figure yet how to replace or add new icons..is there any SHP icons for dummies???Big Grin

Cheers

VB
[Image: FARibbon.jpg]
Quote this message in a reply
03-21-2011, 05:15 AM, (This post was last modified: 03-22-2011, 09:14 PM by Cross.)
#3
RE: Truck Icons
Hi VB,

Before I answer your question, I've done a little more research into the truck icons and most of them are in a scale of about 5 inches per pixel. I had thought they were 6 inches per pixel like the tanks.

Anyway...this means that my Bedford in the OP is too small compared with other soft vehicles (but would be the same scale as the tanks).

Here's the corrected version:
[Image: icon003610bx2.png]

There's two ways to add/change icons in SP.

Simple Method
The simple way is just have someone who has updated their SHP file send you copy of it, then you just have to replace the original shape file with the new one and you're done!

I'll attach the new SHP file (Icon0036) to this post. Just download it, unzip it, and put the SHP file in your
WinSPWW2/Game Data/Graphics
folder, and replace the original.

Back up the original 'Icon0036.shp' file by renaming it 'Icon0036.orig.shp' if you want.

I'll attach the shape file to this post, then I make another post about how to change shp files yourself.

Edit: Shp files can be installed mid game without OOB or security problems.


Attached Files
.zip   Icon0036.zip (Size: 17.63 KB / Downloads: 2)
Quote this message in a reply
03-21-2011, 09:08 AM, (This post was last modified: 05-11-2011, 08:34 AM by Cross.)
#4
RE: Truck Icons
The second way to change icons is to edit the SHP files yourself.

SHP files are found in the game’s GRAPHICS folder.

Each SHP file has about 30 to 100 Icons within it.

Collages
The icons are in collages (of about 35 icons in each collage) like this:

[Image: icon0036coll.png]

There’s usually 1 to 4 collages of icons in each SHP file.

BMP files
Each icon is a BMP file 89x89 pixels (some are a different size, but most are 89x89 pixels).

The invisible part of the icon is a specific pink colour.

The BMP files can only use a specific 256 Steel Panthers colours (a palette).

Palette
Here’s the 256 colours:

[Image: winspww2palettesmall.png]

Don’t use the above png image. I’ll attach a BMP image of the palette, where you can use an eye drop dipper to extract the BMP colours you want to use.

Editing BMP files
Use a BMP graphics editor (like Paint.Net, Gimp, or Photoshop) to create or edit your Icon.
1. Make sure the image is the right size (usually 89x89 pixels)
2. Make sure the icon is the right size (5 inches per pixel for most soft vehicles, 6 inches per pixel for most tanks)
3. Make sure you only use the approved 256 colours.

Once the BMP icon is finished, you are ready to add it to the SHP file.

Viewing Icons within SHP files
To view/edit SHP files you must use a SHP editing utility found in the Game’s GRAPHICS folder.

It’s called ‘ShpEd.exe’ (you can create a shortcut to ShpEd and put the shortcut on your desktop).

[Image: shped.png]


1. Start up ShpEd (Click on the Brown doors and they disappear, and I like to enlarge the window by dragging the bottom right corner).
2. Check the 3 little boxes on the left hand side, called:
• Use Old Header
• SP-No Flash
• Use Full Pal

3. Click the bottom left hand button (the button has a mouse over msg: ‘load a color palette’). Select the file ‘WinSPWW2_Palette.pal’ and click open. This makes sure you’re using the right palette.

4. You’re now back in the ShpEd window. Click the top left button (Load shp File) then click ‘up one level’ to get into the GRAPHICS folder to select the shape file.

There’s about 100 shp files. Knowing which shp file has the icon you want to edit can be tricky.

There's an icon map called:
WINSPWW2_MasterIconList.txt

which can be found in the DESIGN folder here:
WinSPWW2\Game Data\Design

5. After you’ve selected a shape file, click the 3rd button on the bottom (view collage). This will show you the first page/collage of icons in the shape file (about 35 icons).
In the little scrollable window it tells you how many icons total are in the shp file, and it tells you what the number of the last icon you can see.
To see more icons in the shp file, you can change the “Image#’ in the left box to say ‘36’, then hit the view collage button again and you will see icons 36 to 70.

Editing SHP Files The 12 step program
This process seems a little complex at first, but it’s just a lot of steps. Once you’ve done it a few times it becomes easy.

1. Use top button 1 in ShpEd to load the right shp file.
2. Use the collages to identify the icon # you want to change. In the example above, the Bedford truck is the 10th Icon (the first blank icon is # 1), so change the ‘Image #’ to ‘10’ then click button 2 at the top (show image #) to load the Icon and you will see it displayed so you can check you have the right one.
3. Then use button 3 at the top (save shp image as BMP) to download that icon as a BMP file, if you want to edit the original icon. Or you can skip this step.
4. Then use button 4 at the top (load bitmap/BMP from disk) to upload your own 89x89 pixel BMP icon to the shp file.
5. Then use button 5 at the top (convert bmp to shp) to convert the BMP to SHP.
6. Then use button 6 at the top (replace image # with new shp image). This creates a new SHP file, but you’ll have to manually rename it in the next step.
7. Open your GRAPHICS folder in a window and find the file called ‘BigNew.shp’. Which is the new shp file you just created. Rename BigNew to Icon0036.shp or whatever shp file you were editing. You may need to delete, rename or move the original Icon0036 before you rename BigNew.
8. Then go back to the ShpEd utility and reload Icon0036 (because you need the new edited file).
9. Enter the Image # (of the icon you just uploaded in steps 2-6) then hit top button 2 (show image #). Don’t skip this step.
10. Then hit the button on the right hand side called ‘SP Fix’. A new window will pop up.
11. Hit the ‘Show’ button, on the bottom left, and your Icon should appear with a blue cross on it.
12. Then use the up and down arrows to centre the blue cross on the icon. When you have it centred, hit the ‘Write’ button on the very bottom left (If you can’t see the ‘Write’ button, just make the window bigger). This positions the icon in the hex.

You are done!

If you get stuck, feel free to ask questions, or try this site here for some useful tips and pictures of the process:

http://www.vojska.net/eng/games/steel-panthers/editing/

Edit: When making/editing your own icons, I find it useful to load the icon into a SHP file, and view the icon in the game, because the icons in the game don't look exactly like the original BMP images. So a bit of testing and adjusting results in better game icons.

cheers


Attached Files
.bmp   WinSPWW2 Palette small.bmp (Size: 55.37 KB / Downloads: 3)
.zip   SPWW2 Cross Icon Map 2.0.zip (Size: 6.57 KB / Downloads: 1)
Quote this message in a reply
03-23-2011, 05:00 AM,
#5
RE: Truck Icons
Cross,

Thanks a lot bud!!!!!!:bow:

Cheers ,

VB
[Image: FARibbon.jpg]
Quote this message in a reply
03-23-2011, 05:58 AM,
#6
Thumbs_Up  RE: Truck Icons
+Karma for that post, Cross! cheers
Quote this message in a reply
03-28-2011, 07:23 AM,
#7
RE: Truck Icons
Here's some 'before and after' images of some other soft vehicles I've been working on:

Kettenkraftrad
[Image: kettenkraftrad.png]

Kubelwagen
[Image: kubelwagen.png]

Kfz 69 Krupp Protze 'Boxer'
[Image: kfz69kruppprotzeboxer.png]

Bedford MWD 15cwt
[Image: fordsonwot2orbedfordmwd.png]
Quote this message in a reply
03-29-2011, 09:34 AM,
#8
RE: Truck Icons
Congrats Cross, your work is very much appreciated.
[Image: Tiger-Sig2.jpg]
Send this user an email
Quote this message in a reply


Forum Jump:


Users browsing this thread: 7 Guest(s)