Pacwar background map - editing

Pacific War is a free update of the old classic, available in our Downloads section.
Post Reply
strawb
Posts: 90
Joined: Mon Jan 13, 2003 8:06 pm
Location: Grongardville

Pacwar background map - editing

Post by strawb »

Hi

Being playing this confounded, wonderful, infuritating and brilliant game for several years but only recent got into forums - great mine of infornmation.

So a question:

I have stared playing with the paceditors - mostly rebasing the odd ship and LCU for a more logical Japanese start but now getting ambitious: I was looking at Indian ocean action and maybe the Russians (to give Kwangtung something to worry about). However, I really would like to be be able to re-shape those bits of the map/coast.

Can the pac.map file (which I assume is the background overlay) be edited? What format is it in?

Thanks
Sometimes, when you are a Bear of Very Little Brain, and you Think of Things,you find sometimes that a Thing which seemed very Thingish inside you is quite different when it gets out into the open and has other people looking at it. - Winnie the Pooh
Dawy
Posts: 26
Joined: Mon Jul 08, 2002 5:55 am

Post by Dawy »

If you know all about hex editing, then use a hex editor to open up the pac.map file.

Each byte is a value that corresponds what tile number it is.

Tile 0 is a water tile.

So that means if the first byte in the file is 00 (I think). Then it must be water.

The first byte in the file is the tile number for the top-left corner of the map. It then keeps going to the end of the row, then continues onto the next row from the left.

Note: There are several different water tiles I think. One is just water and the other is actually the AI sea lane. Also there are about 64 terrain tiles (I think).
Coming second is nothing more than being the first loser...
strawb
Posts: 90
Joined: Mon Jan 13, 2003 8:06 pm
Location: Grongardville

Post by strawb »

Thanks

hex editing bit rusty but getting there - current struggle is trying to sort which map hex equates to which set of hexi in the editor eg sure I will soon sort hex editor to wrap lines to match map hexes if you see what I mean!

Any more advice welcome.
Sometimes, when you are a Bear of Very Little Brain, and you Think of Things,you find sometimes that a Thing which seemed very Thingish inside you is quite different when it gets out into the open and has other people looking at it. - Winnie the Pooh
Post Reply

Return to “Pacific War: The Matrix Edition”