Page 1 of 1

Pacwar background map - editing

Posted: Tue Jan 21, 2003 7:08 pm
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

Posted: Wed Jan 22, 2003 4:31 am
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).

Posted: Thu Jan 23, 2003 9:50 pm
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.