Desciption on how to modify the objectview 
::::::::::::::::::::::::::::::::::::::::::

For easier handling i've included several already finished plane-cards.
I've also included several "B&W 3d plans" for several aircraft that can be used for the creation of 
further plane-cards.
There are also 2 batfiles for doing the insertion of the images and the text.


The objview3.wsp holds 30 sprites.
These are the cards of the different aircrafts in the view object screen.
They can be extracted from objview3.wsp to raw format using the dump_wsp utility.


The images are in format 419 x 155 and in "raw" format.
Raw format means that they does not contain any palette information.
It is therefor VERY IMPORTANT that you use the same palette as the screen the sprites occurs in.
Since it is from this palette the colours are taken.

I've included the palette in the file viewobjects.pal (PaintShop 7.04)


For painting I use PaintShop Pro 7.04.

To load an image from RAW format:
================================
When you load the image a window "RAW Options" will popup, asking for the format of the image.

Here you specify
----------------
Width: 419 Height: 155
Single channel (greyscale)
Interleaved
Order RGB

This will load an B&W image.

Then chooze "Colors" Load palette.
Select the screen.pal supplied in this package.
Be sure also to select "Maintain indexes"

Now you have the picture with the correct palette (The one from the screen the sprite is appearing in).

To modify the sprite image:
============================
--- NOTE: Start from here if you're using any of the already present gif's since they alrady have the correct palette.
          (Note the b&w_3dplans does NOT have the correct palette)
          You should start with using the "Mall.bmp", that is a "blank" card image with max colours.
		  
		  
Increase the number of colours to maximum before starting to modify the image usually gets the best result.
Then start to modify the image.
You can load a B&W_3viewplan image as a new image, then increase the number of colours to maximum and start to modify.
When you're done copy and paste the parts you want into the "Mall.bmp"  resize to fit the "card area".
(You can also use a small perspective function to get a better image of the cards "laying on the table")


Getting rid of colour 0 (usually black) and get the coreect palette back.
==========================================================================
Note color index 0 (0,0,0) black appears transparent on the screen.
Therefor I use this method to make sure the color 0 is not used in the image:
First load the correct 256 colour palette.
Select edit palette and change the colour 0 (0,0,0) to any really bright colour. (I use neon green 0,255,0).
Click OK
Now you will see all those pixels that will appear strange in the picture as they change from black to neon green.
Change them to a similar black colour but from another colour index (there are several "black" colours in the palette, I use the colour index 3 (2,2,2) that is almost as black as colour 0)
Note if you use Paintshop 7 there is a "colour replacer tool" that will ease this handling.
After this you MUST reload the palette again and select "Maintain indexes".
Now you should have a correct image.
Save the image as gif or pcx  and also save it as "RAW" format.


Using the ptch_wsp
====================

Use command:
ptch_wsp.exe objview3.wsp <slot_index_number> picname.raw width height 
The following syntax will insert the image myp38j.raw to the index 1 slot (p38j slot):
ptch_wsp.exe objview3.wsp 1 myp38j.raw 419 155  
Note: for this to work it is important that all files involved (raw files,ptch_wsp.exe and objview3.wsp) are kept in the same folder and also executed from here.

For easier handling I've included a bat file: objview.bat  that will insert all slots to the objview3.wsp.
So just edit the objview.bat and alter the raw image names to what you want to have in each slot.
For description of what planes are in what slots see the file "Table of Hanger Files.txt"
When you're done altering the objview.bat file just doubleclick on it and it will insert the images you specified 
into the corresponding index or slot. You will se a cmd-window open for a short time then it will close.
Note: Do not use blanks or spaces for your raw image filenames since this will cause problems.

put the objview3.wsp in the Main EAW folder and check it out.


Modyfying the plandesc.str
=============================
For correct text information for each "card" you need to modyfy the file plandesc.str.
Use the present "plandesc.txt" and open it with an editor (notepad or similar).
Then change the text to a suitable one.
The plandesc.txt is the default one.
Note: you must NOT add or remove any lines since this will cause problems.
Also note that some of the lines contains information about several planes.
For instance the first line contains info about both the p38h and the p38j.
When you're done with the text save it as "txt".
Then double click on the plandesc.bat and this will convert insert the text into the plandesc.str

put the plandesc.str in the main EAW folder and check it out.


Good luck and happy "modding" !!


Greetings

//Knug