Special Aircraft Service

Please login or register.

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

Author Topic: Questions about the Map_C file and Texture  (Read 1340 times)

0 Members and 1 Guest are viewing this topic.

Ju87R

  • member
  • Offline Offline
  • Posts: 45
Questions about the Map_C file and Texture
« on: April 23, 2021, 08:04:52 PM »

Hello guys, I met some problems when making the map.
1. After I drawed the map file, I use Map_c tool to make the MWmap_c and the newMWmap_c.
But there are some parts of these two files that look like they've been cut out, like this
This causes them to narrow and even break rivers in the map




2: Why do some river areas look like deep sea(or muddy in lower effect)after texture painting on the side.
Is there any solution?



3: Problems with GMAX registration. I find that the official website of GMAX seems to be unable to be accessed.
Is there any other way to get the registration of GMAX now?
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6064
Re: Questions about the Map_C file and Texture
« Reply #1 on: April 23, 2021, 10:23:44 PM »

Those pinching down of rivers results from the way the map_c texture is broken onto small square sections and reassembled into a smaller construct that omits any portions having no coastlines or rivers present. Where coasts/rivers hit an edge of this small block (64 pixels on a side??), there is an odd discontinuity introduced. This usually manifests in the game as a little inflection on a coastline and these annoying pinchings of narrower rivers.

Whether a river has a deep water look or a shallow look depends on the darkness of the line you draw on map_c. It also can depend on which water texture--if any--you might have for the river in map_t. If no water texture, the river will have a fully dark look right up to the edge. An ssigned water texture will tend to have some shallows along the bank at least. If the whole river line in map_c is of a suitably light hue (and a water texture is placed there), the whole river will have a shallow appearance.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Ju87R

  • member
  • Offline Offline
  • Posts: 45
Re: Questions about the Map_C file and Texture
« Reply #2 on: April 24, 2021, 03:34:24 AM »

ummmm, I think I already draw the water texture completely surround it...... But it still like this
By the way, do you guys know where I can register for Gmax? its website seems to be stuck




Logged

mandrill

  • Modder
  • member
  • Offline Offline
  • Posts: 785
Re: Questions about the Map_C file and Texture
« Reply #3 on: April 24, 2021, 07:06:47 PM »

The pinching and disappearance of stretches of rivers means that you blurred the black line on the rawmap_c - as you should - but the resulting line was too light in that place after blurring and became land, not water.

Draw a 1 or 2 pixel wide 000 black line on that stretch of river and re-blur it a little, so it blends in with the rest of the river and it will be fine.
Logged

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 943
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: Questions about the Map_C file and Texture
« Reply #4 on: April 25, 2021, 11:55:15 PM »

By the way, do you guys know where I can register for Gmax? its website seems to be stuck


Hi

Try this for Gmax:

Registered User Identification Code for Gmax:
B6A0B426078403D55F9AF670BD44E623A5869CF9F3E27C5E2BF35574B5

To activate Gmax, copy and paste the Registered User Identification Code shown above into the input field in the 'Welcome to gmax' screen, and press the 'Continue' button.

Good luck.

vonOben
Logged
vonOben's Flight Sim Mods  http://vonoben.free.fr/ Twenty Years online January 3, 2022!

Ju87R

  • member
  • Offline Offline
  • Posts: 45
Re: Questions about the Map_C file and Texture
« Reply #5 on: April 26, 2021, 01:27:18 AM »

Thank you guys so much!! ;)
Logged

Chrival

  • member
  • Offline Offline
  • Posts: 181
  • The wacky guy
Re: Questions about the Map_C file and Texture
« Reply #6 on: April 26, 2021, 06:35:54 AM »

Hi
Hello guys, I met some problems when making the map.
1. After I drawed the map file, I use Map_c tool to make the MWmap_c and the newMWmap_c.
But there are some parts of these two files that look like they've been cut out, like this
This causes them to narrow and even break rivers in the map

Well, in fact, Map_c tool does not break the rivers. On the contrary, it's an attempt to correct it.
But unfortunately, it does not work because the way of doing is wrong.

I wrote a Gimp script-fu instead that solves the problem
It transforms the master map-c before conversion into the map-c that IL2 uses with the help of a table, the map_c.tga.table
It does not create the table. It just prepares the original image.
It should correct the artifacts visible while runing the sim such as:

- Periodic disappearing of narrow river
- Spurious and unwanted lines and squares in large shallow water area
- Periodic coast lines distorsions

Direct link : https://www.mediafire.com/file/focq8jcdmtuzmok/Mymap-c-preparation-v01.zip/file

INSTALLATION

Unzip wherever you want

Copy the 'Mymap-c-preparation-v01.scm' file into the script folder of the GIMP repertory.

Path should be :
C:\Users\<UserName>\AppData\Roaming\GIMP\2.10\scripts

HOW TO USE IT

- Open your image in Gimp
   All the layers must be merged in only one
   The image may not necessary be in grayscale nor flatten. It does not matter, the script will
   do the job
- In the tool bar you now have a new tab called 'IL2 MapBuild'
- Open it and run the script 'Mymap-c-preparation-v01'
- Export as a .tga file (make sure to uncheck RLE compression)

Then, convert it as usual with Map_c ToolBox.

If you use map_c tools instead, export the file as 'MWmap_c.tga' and run '2 dissect.bat' directly.
IMPORTANT NOTE : Do not use 'transform.bat' but dissect directly

LIMITATION

I use the Gimp 2.10 version. It should work with other version, but with no guarantee.

It works fine providing the rivers drawings are not too thin.
Especially if you intend to draw narrow canals, for example, canals may disappear

I'm currently working on a new version that would allow to draw very narrow rivers/canals (less than 50m wide)
I will release it asap.

Regards

Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6064
Re: Questions about the Map_C file and Texture
« Reply #7 on: April 26, 2021, 09:11:05 AM »

Chrival,
Awesome stuff! That matter of the blocking out of shallows has really vexed me no end for years. I guess I'll have to add GIMP to my toolkit (I've been using Photoshop.)
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Chrival

  • member
  • Offline Offline
  • Posts: 181
  • The wacky guy
Re: Questions about the Map_C file and Texture
« Reply #8 on: April 26, 2021, 10:39:26 AM »

WxTech, thanks for your kind words
I take the opportunity to tell you how much I appreciate your work. All your mods are real gems.
Don't hesitate to install Gimp. It's free. I mean really free. No connection required, no login, no account, no need to give your mail, your phone number, the maiden name of your mother in law,
none of these Gafam's bullshit and swindles ...
Logged
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 28 queries.