• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Landclass Texture files

Messages
57
Country
israel
Hi,

I am experiancing an annoying problem, I'm working on a landclass for israel with EZ LANCLASS and FSX_KML, I finally found a landclass texture that is barren-israeli like texture but as I worked my way up north I encountered this problem:
problemmn4.jpg

as you can see, the green texture suddenly changed into grey-brown texture (both has same value of 46), I am guessing it has something to do with land alttitude because all of israel is in region J.

I understood there are no default textures for region J so I thought to solve this by making "custom" landclass texture for region J by copying the texture from region B with the green texture only...
The problem is I have no idea how to do this, I read in the SDK that the name of the textures is <number><region>2<season><serial#> but it doesn't seem like it, when I open 046b I see a dry grid town. so how can I make the custom textures and how should I name them?
 
Hello Ida,

the change to a different texture in your image can't be altitude-related because FS doesn't do that (it does change textures at steeper slope gradients but only locally). If all of Israel is in the same region then the only other possible cause is seasonal changes. Perhaps the northern part switches to a different seasons at a different time of the year.

Try overlaying your land class file in TMFViewer with the default seasons.bgl (in \Scenery\BASE\scenery) and cycle through the months (View > Seasons/Variations > ...)

You can create custom seasons files but that can be quite involved. It might be easier to just replace the inappropriate seasonal texture with another. Keep in mind, though, that any changes to the .bmp files in \Scenery\World\texture will have global effect.

If you want to create custom textures as you describe you can use my land class table to determine texture name (and other parameters) from the class number: http://forums.simflight.com/viewtopic.php?f=231&t=57245

Cheers, Holger
 
I know your excelent catalog, as I said, I know the number of the texture I'm using but I can't see a matching between those numbers and the numbers of the textures in FSX\Scenery\World\Scenery

how can I tell which number loads which texture ?
 
Last edited:
Hi Ido,

in the "Region B" worksheet, column A gives the LC number and Column C the asociated texture name.

Thus, LC 46 uses the 051b* series .bmp files.

Also, there's a "Notes" worksheet included that provides brief explanations regarding what the columns contain.

(just noticed a typo in the explanation for Column "FSX Texture": I wrote .bgl but it should be .bmp)

Cheers, Holger
 
Holger thank you very much!
A few more questions:

1. If I want to make custom textures for J region will it just mean changing the region letter in the texture file name ? or mybe it has different numbers for different regions...

2. I understood the sim will roll back to region B when no texture is found. Now lets say I took 051b summer textures and copied and renamed them to 051j, when winter will come, will the 051b winter textures show or the 051j summer will show

3. I noticed the slope info in the excel file. Is there a way to edit the LC's slope texture information? if so is it allover the FS world or region specific?
 
Hi Ido,

you're welcome!

1. Nope, that won't work. Unfortunately, the use of regional files is hard-coded in the lclookup.bgl file. If your region doesn't already have separate default textures (and J has none) then your own won't be displayed either. Thus, your best option is to provide your own texture folder in which you assemble your custom set of B region textures as you want. To avoid potential memory leaks you should always use complete texture sets with custom land class projects, meaning all textures for each land class defined in your land class file.

The way I do this is to set up a small DOS batch file, which will copy the default textures and rename them to what I want at the same time. For example:

cd ..
copy 001b2su1.bmp .\tex_copy\074b2fa1.bmp
copy 001b2su2.bmp .\tex_copy\074b2fa2.bmp
copy 001b2su3.bmp .\tex_copy\074b2fa3.bmp
copy 001b2su4.bmp .\tex_copy\074b2fa4.bmp
copy 001b2su5.bmp .\tex_copy\074b2fa5.bmp
copy 001b2su2.bmp .\tex_copy\074b2fa6.bmp
copy 001b2su4.bmp .\tex_copy\074b2fa7.bmp
copy 056b2hw1.bmp .\tex_copy\074b2hw1.bmp
copy 056b2hw2.bmp .\tex_copy\074b2hw2.bmp
copy 056b2hw3.bmp .\tex_copy\074b2hw3.bmp
copy 056b2hw4.bmp .\tex_copy\074b2hw4.bmp
copy 056b2hw5.bmp .\tex_copy\074b2hw5.bmp
copy 056b2hw6.bmp .\tex_copy\074b2hw6.bmp
copy 056b2hw7.bmp .\tex_copy\074b2hw7.bmp

I have a "tex_copy" folder in \Scenery\World\texture and inside it is my .bat file, which I created with Wordpad. Running the batch file will copy and rename the textures and place them in the tex_copy folder from where I can move them to my project texture folder.


2. That's covered in my response to 1; 051j will never show because it's not defined in the lclookup.bgl, which can't be altered (unless you hex code hack it).


3. Same story again: the slope thresholds and classes used are fixed in the lclookup.bgl. But, yes, you can change the texture set that's used for slope classes and, as long as you're setting up a custom land class project with your own texture set, those textures will only be used in the coverage area of your land class file. Also, if you're making your own custom set of textures you can choose classes that work better for you in terms of slope changes. The only drawback is that you'd also have to provide your own autogen annotations, which can be a bit of work.

Cheers, Holger
 
The problem here seems to be the typical one of winter textures being too brown. I fixed Florida, USA for someone by changing winter to spring in the affected area in an addon seasons.bgl file. you need to be a little careful since there is some area of hard winter (assume this is some mountain region).

scott s.
.
 
Thank you Scott and Holger,

I did what Holger suggested, copied the textures to the Texture folder of my landclass addon and altered them, this way I fixed the slopes issue and the brownish texture problem, I also made a texture to make mount hermon snowy at winter.

heres a picture of the Golan Heights at winter, all green:
snag0003la5.jpg


and the summer yellowish and barren at the top of mount Hermon:
snag0002nf5.jpg
 
Back
Top