Image slot number vs ship ID number question?

This new stand alone release based on the legendary War in the Pacific from 2 by 3 Games adds significant improvements and changes to enhance game play, improve realism, and increase historical accuracy. With dozens of new features, new art, and engine improvements, War in the Pacific: Admiral's Edition brings you the most realistic and immersive WWII Pacific Theater wargame ever!

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
Dili
Posts: 4742
Joined: Fri Sep 10, 2004 4:33 pm

Image slot number vs ship ID number question?

Post by Dili »

In my editing of database it seems convenient to use the ID number of the ship or aircraft and use the same ID number for IMG when possible.

For example the first ship in database is King George V so slot 1 but the bitmap image is bitmap ID 183, is there any reason why isn't bitmap ID 1 ?
User avatar
BBfanboy
Posts: 20578
Joined: Wed Aug 04, 2010 5:36 pm
Location: Winnipeg, MB
Contact:

RE: Image slot number vs ship ID number question?

Post by BBfanboy »

You could try looking up the bitmaps in the ART files and see what numbers 1-182 are used for. I suspect the aircraft art was done first.
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
User avatar
Reg
Posts: 2793
Joined: Fri May 26, 2000 8:00 am
Location: NSW, Australia

RE: Image slot number vs ship ID number question?

Post by Reg »

original: Dili

In my editing of database it seems convenient to use the ID number of the ship or aircraft and use the same ID number for IMG when possible.

For example the first ship in database is King George V so slot 1 but the bitmap image is bitmap ID 183, is there any reason why isn't bitmap ID 1 ?

Technically, no reason at all.

However, it is up to the scenario designer how they structure the database and I would say there is some history involved. I would take a guess and say the bitmap number bears some resemblance to the order in which the images were created and renumbering them later would create configuration management mayhem.

I have attached a dump from my artwork management tool for the first 500 slots in the scenario 1 ship database and you can see which bitmaps are attached to which slot and associated ship class.

Also if you have look at the attached dump you will see with multiple upgrades of the same ship class (with separate slot numbers) with the same bitmap make a one for one correlation impractical.

It is what it is.......

Makes utilities like my Rotating Artwork Tool very useful. [;)]

Attachments
Scen001Sh..BMPdump.txt
(26.51 KiB) Downloaded 16 times
Cheers,
Reg.

(One day I will learn to spell - or check before posting....)
Uh oh, Firefox has a spell checker!! What excuse can I use now!!!
User avatar
Reg
Posts: 2793
Joined: Fri May 26, 2000 8:00 am
Location: NSW, Australia

RE: Image slot number vs ship ID number question?

Post by Reg »

ORIGINAL: BBfanboy

You could try looking up the bitmaps in the ART files and see what numbers 1-182 are used for. I suspect the aircraft art was done first.

Bitmap 0001 is used for slot 0353, North Carolina 3/43 class.

Have a look around that slot number in the attachment to my previous post. Looks like they started with a basic set of images and filled in the upgrade gaps later.

Aircraft artwork works in a similar manner but as aircraft improvements tend to be new types rather than upgrades, the slot-bitmap correlation is a lot closer but still not one for one....


Cheers,
Reg.

(One day I will learn to spell - or check before posting....)
Uh oh, Firefox has a spell checker!! What excuse can I use now!!!
Post Reply

Return to “War in the Pacific: Admiral's Edition”