Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Tutorial - Making Map_F Files  (Read 1353 times)

0 Members and 1 Guest are viewing this topic.

caldrail

  • Modder
  • member
  • Offline Offline
  • Posts: 148
  • http://www.unrv.com/forum/blog/31-caldrails-blog/
Tutorial - Making Map_F Files
« on: July 21, 2010, 07:31:03 AM »

With all the maps currently appearing you have to admire the creative and artistic flair demonstrated. Nonetheless, there is a common issue with most maps that is actually so easy to address if you take the time. Map_F.tga.

I've decided to post a short tutorial on how to create a decent map_F file. This is not a guide to using paint programs. If you have trouble with that, seek some advice on techniques. To start, your map_F should have the same dimensions as the map_T.tga file. You will see some that are sized differently, but believe me, your map will look far better if you stick to the same size. Map_T is a greyscale bitmap, and map_F should be 24bit colour with an alpha layer.

What does map_F.tga do? Basically it's a giant mipmap. Instead of loading tons of texture files to paint landscape in the distance, it loads one, which it keeps in the background all the time. That reduces the number of 'tiles' IL2 has to keep track of during a mission. If map_F.tga is coloured correctly, there is a seamless change from detailed foreground to default horizon.

So how do you make a good one? First of all, finish your map. Don't worry about map_F until you're close to release. By then, you'll know which textures you're going to include and that's important.

Make copies of all the textures you intend to use and put them in a temporary folder together. One by one, load these temporary copies into a paint program and reduce the size to 8x8 pixels. Yep, that's what I said. Don't worry about the loss of detail.

Now load your map_t.tga file. Use this to select which parts of the map are coloured with a particular slot (the index of the greyscale is the same as the [FIELDS} section in load.ini, so colour 0 is Lowland0, 1 = Lowland1, and so forth until 31 = Water3). For each colour slot use the selection you made from map_t,tga, and flood fill that area on map_F.tga with the corresponding temporary reduced file as a bitmap fill., scaled 1:1.

I recommend making use of layers to allow easy editing, which means you should end up with around tewenty odd layers. Always make water areas (colour index 28 and 29) transparent and transfer those areas to the alpha layer. Remember that Water2 (30) is your riverbank, and Water3 (31) your beach textures. You really don't need to paint water on your map_F, nor will it look any better if you do, but I do paint in a dull and pale blue-grey colour anyway.

Finished? Then save your map_F and try it out.

It can get a little fiddly sometimes but be patient. The results are well worth the effort. Oh yes... You can delete your temporary folder now :)
Logged

caldrail

  • Modder
  • member
  • Offline Offline
  • Posts: 148
  • http://www.unrv.com/forum/blog/31-caldrails-blog/
Re: Tutorial - Making Map_F Files
« Reply #1 on: July 22, 2010, 02:50:59 AM »

As an example of what's possible, I did a map_F for Agreaciers Hankow V3 map last night, armed with PSP7, a bottle of diet coke, and no shortage of middle aged arrogance. Took me nearly two hours to achieve this...

Example - (ag_Hankow) map_f.tga
http://www.mediafire.com/?91f30t88lq988he

Okay, it could be improved, but as with all things IL2 it's a matter of time invested. For those who want to see the temporary folder and the incomplete project files, have a look here. You'll pick up clues about how to go about this sort of thing.

Example - Work folder
http://www.mediafire.com/?azdyehgmves2l5u
Logged

UP~Boomer

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1007
Re: Tutorial - Making Map_F Files
« Reply #2 on: November 20, 2010, 07:29:13 AM »

Been trying to find time to create some decent map_f.tga's for some maps I am making,
thanks for the tutorial it sounds very promising and a very effective way to create a extremely nice map_f

Thanks  :)
Logged

redko

  • Modder
  • member
  • Offline Offline
  • Posts: 547
Re: Tutorial - Making Map_F Files
« Reply #3 on: December 19, 2010, 04:02:14 AM »

I don't know if it is really interresting or not but in my case, i tried to make map_f for some of my repainted maps but didn't find the good way to make make.

And as the game was equesting a map_F to launch the map i just created a transparent map_F and is works. No impact on fps or visual artefects (at least nobody reported me to have troubles with my maps) and i have the feeling (maybe it's in my mind) that in the far the landscape seems to look more realistic, more "transparent" i mean the athmospherical perspective looks better.  ::)

I will check again this topic later to make a real map_f but i just wanted for now to report this....
Logged

UP~Boomer

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1007
Re: Tutorial - Making Map_F Files
« Reply #4 on: July 30, 2011, 07:21:51 PM »

Without a properley made map_F.tga
the far away distance looks like blue haze with a blank map_f.tga
It looks like your surrounded by water from a mirage

When making a map_f.tga it would be better to just blure the ed_M01.tga to get a better map_f.tga than a blank one

Caldrails tutorial makes a very impressive far away map(or map_f.tga as it is called)
and gives a really nice view in the far away distance
It does this by useing the actual textures you are using on the map
So the far away distance (map_f.tga)... blends perfectly together with the textures that are on the map

You do not get anything from a blank map_f.tga
other than excellent setting users will at least be able to load the map
but that is all a blank map_f.tga will do

I don't know if it is really interresting or not but in my case, i tried to make map_f for some of my repainted maps but didn't find the good way to make make.

And as the game was equesting a map_F to launch the map i just created a transparent map_F and is works. No impact on fps or visual artefects (at least nobody reported me to have troubles with my maps) and i have the feeling (maybe it's in my mind) that in the far the landscape seems to look more realistic, more "transparent" i mean the athmospherical perspective looks better.  ::)

I will check again this topic later to make a real map_f but i just wanted for now to report this....
Logged

farang65

  • SNARK!
  • Modder
  • member
  • Online Online
  • Posts: 690
  • Snark Critters
Re: Tutorial - Making Map_F Files
« Reply #5 on: July 30, 2011, 08:44:38 PM »

i've been reading and re reading this good little tut  ;D :D

As Boomer knows I have to complete a couple of map_F for excellent users.

It's a very good tutorial   ;D :D

Gimp 2.2 works reasonably well on Win 7 ultimate with small photos so I'm keen to develope my 20 or so layers

Thanks again   :D ;)

Kirby
Logged
Pages: [1]   Go Up