Special Aircraft Service

Please login or register.

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

Author Topic: zoom levels for in game ed_map?  (Read 2950 times)

0 Members and 1 Guest are viewing this topic.

slipper

  • Modder
  • member
  • Offline Offline
  • Posts: 920
zoom levels for in game ed_map?
« on: June 02, 2013, 09:21:23 AM »

Some maps, like CY6's Rhur Nightfighting map have different ed_maps, so as a player zooms in on the in game map a different map appears according to the zoom level.

Does anyone know how to change what ed_map appears at a certain zoom level please? Have looked in the maps load.ini but cannot see any reference to zoom levels there.

Also are zoom levels hard coded, or can they also be set?

thanks for any help

slipper
Logged

SAS~Boomer

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 814
Re: zoom levels for in game ed_map?
« Reply #1 on: June 02, 2013, 12:57:19 PM »

In the load.ini >

[MAP2D]
ed_m01.tga = FMB Map
ed_m02.tga = In game Map
ed_m03.tga = In game Map

there are your three zoom levels
find a map that is using three ed_maps and open them up and look at the size of them

each ed_map is a different size
ed_m01.tga should be %50 percent of the size of MyMap_C.tga
and so on an so forth

That's it   :)
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: zoom levels for in game ed_map?
« Reply #2 on: June 02, 2013, 01:29:29 PM »

I have thought before as UP~Boomer ,
 but now I revealed that
 in Battle of Moscow map we have :
ed_m01 size 1152 x 928,
ed_m02 size 2304 x 1856

and in m7su map :
ed_m01 size 2240 x 1664
ed_m02 size 4480 x 3328

and everything works well. I am curious what is the reason of this behaviour.
Logged

slipper

  • Modder
  • member
  • Offline Offline
  • Posts: 920
Re: zoom levels for in game ed_map?
« Reply #3 on: June 02, 2013, 02:51:43 PM »

Thanks Boomer and Uzin

So there is a maximum of three maps that can be used under [MAP2D], and the zoom levels at which they are shown are hardcoded, is that correct?

regards

slipper
Logged

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: zoom levels for in game ed_map?
« Reply #4 on: June 03, 2013, 12:19:37 AM »

correct.
Logged
.....taking fun seriously since 1968.....  8)

SAS~Boomer

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 814
Re: zoom levels for in game ed_map?
« Reply #5 on: June 03, 2013, 12:44:16 AM »

experimenting a bit
seems ed_maps can be any size you want
the smaller they are,the quicker the map will load

As for the 5 or so zoom levels of the Nav map,can't seem to find what actually controls that
Logged

slipper

  • Modder
  • member
  • Offline Offline
  • Posts: 920
Re: zoom levels for in game ed_map?
« Reply #6 on: June 03, 2013, 05:57:38 AM »

Thanks again all.

Boomer, will an ed_map be loaded according to its size then? Largest first? Or are they loaded in the order they are listed in the [MAP2D] section of the load.ini regardless of their size?

cheers

slipper
Logged

SAS~Boomer

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 814
Re: zoom levels for in game ed_map?
« Reply #7 on: June 03, 2013, 03:07:50 PM »

ed_m01.tga is the Navigation in game map (blue)
ed_m02.tga is the FMB map                     (green)
ed_m03.tga is the mission brief map           (red)

I did solid colors of blue,green,and red for each of the ed_Maps
and the above is the where the files loaded

which is a lot different from what I thought myself,from what I have read
and really they have nothing to do with any zoom levels of the Nav map
as only one ed_map is for the Nav map,and one ed_map for the briefing map and the other for the FMB map

the sizes of each ed_map,and what they should be or could be is another interesting thing to ponder  :D


Logged

slipper

  • Modder
  • member
  • Offline Offline
  • Posts: 920
Re: zoom levels for in game ed_map?
« Reply #8 on: June 04, 2013, 07:22:54 AM »

Thanks again all.

Just to clear things up then finally  ;)

when in game i can zoom in on the in-game map 6 times (i think !).

What i would like to do is have two maps listed under [MAP2D] say navmap.tga and blankscreen.tga, navmap would have the standard navigation map showing and the blankscreen map would just be plain black.
I would like the navmap to show at maximum zoomed out view and then the blankscreen for every other zoom, is this possible?

Would also like to do the opposite, so have blankscreen showing for all zoom levels and then navmap at the most zoomed in view.

Its to do with an idea i have for aiding navigation, without giving the precise location.

cheers

slipper
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: zoom levels for in game ed_map?
« Reply #9 on: June 04, 2013, 07:51:52 AM »

Just my 2pence:

After opening the map in FMB, I see ed_m02 map. The slider on the left side is at its uppermost position.
When moving the slider on the left side down, the map goes into ed_m01 map.
Moving the slider even more down, true terrain of the map appears,
which, by pushing ENTER, goes into 3D view of the map, where I can move as if flying.
Logged

SAS~Boomer

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 814
Re: zoom levels for in game ed_map?
« Reply #10 on: June 04, 2013, 05:06:46 PM »

Yes,that is something
I just loaded the three color ed_maps I made and just like you say Uzin
when sliding the slider of the map, the map goes from ed_map02 to ed_map01
and you can see the zoom levels change

interesting  ;D
Logged

Uzin

  • Modder
  • member
  • Offline Offline
  • Posts: 2816
  • On lifetime holidays
Re: zoom levels for in game ed_map?
« Reply #11 on: June 05, 2013, 12:29:10 AM »

Another 2pence:
I renamed the smaller size file ed_m02.tga to ed_m01.tga,
and the larger size file ed_m01.tga to ed_m02.tga.
After opening the map in FMB, now the file called ed_m01.tga opened first,
and only by sliding the left slider down, the larger size file , now called ed_m02.tga, appears.
Conclusion:
game opens the smaller file first, regardless of its name.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.033 seconds with 24 queries.