Author Topic: Clipboard map help  (Read 518 times)

LJK Raubvogel

  • Guest
Clipboard map help
« on: August 25, 2000, 02:13:00 PM »
Ok, someone please help me solve the great mystery of the clipboard map. I made my 4 bmp files, and put them in with the raw terrain files. When I load editor, all I get is a big black ocean. Thanks in advance.

------------------
LJK_Raubvogel
Luftjäger I-13
Luftjägerkorps

Offline jihad

  • Nickel Member
  • ***
  • Posts: 356
Clipboard map help
« Reply #1 on: August 25, 2000, 02:26:00 PM »
They must be 256 bit color or you get black clipboard.

Offline 10Bears

  • Silver Member
  • ****
  • Posts: 1509
Clipboard map help
« Reply #2 on: August 25, 2000, 02:45:00 PM »
Heres what Rodney told me:

(1) take a birds-eye image of your terrain from nice and high up with the screen shot button (Shift-S??)

(from 10Bears: or use your terr.bmp which in in editor dir)

(2) open the following file:

HTC\aheditor\terrains\maps\mapxxx.bmp

where xxx = the size of your map. E.g. map64.bmp is for a 64x64 size map.

(from 10Bears: all three use 512X512)

(3) Place a copy of that file in the directory that your new terrain is in.

e.g. terrains\newterr\map64.bmp

(4) Cut and Paste the image of your terrain into the map file that you created in the terrain directory.

(from 10B: if your paint program has transparency use that to get the lines in map)

(5) Now the tricky part  : You need to cut the mapxxx.bmp file into 4 quarters. Each quarter should measure 256x256 pixels.

(from 10B: your graphics program has rulers use em')

Name the quarter's in the following way:

Top Left quarter -> map0.bmp
Top Right quarter -> map1.bmp
Bottom Left quarter -> map2.bmp
Bottom Right quarter -> map3.bmp

(6) copy those four files into your new terrains directory.

e.g. terrains\newterr\map0.bmp etc

(from 10b: your map256 or whatever you used, should also be included in this dir)


You might find it takes a while to get the map to fit exactly if your terrain doesn't fill the full area of the map. Trial and Error is the method I've used for that so far

(ruler see above)

This is how I did it. There is probably a better way. If so, I would love to hear about it!

Rodney w/ the brains
10Bears w/ the sweat


Rodney

  • Guest
Clipboard map help
« Reply #3 on: August 26, 2000, 09:09:00 PM »
Thanks for that 10Bears. Saves me typing it all  

One thing I want to add is that the standard maps (e.g. map64.bmp) are all 256 grey scale

If you want a coloured map you first have to increase the colour depth to 256 colours.

Jihad is right, any more than 256 colours and you just get a big black thing of nothing.

HTH

Rod

LJK Raubvogel

  • Guest
Clipboard map help
« Reply #4 on: August 26, 2000, 11:19:00 PM »
That must be my problem   Didn't know about the 256 color thingy. Thanks guys.

------------------
LJK_Raubvogel
Luftjäger I-13
Luftjägerkorps