• 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.

Textured line

Messages
216
Is it possible to make seasonal textures for a textured line?
If not, could seasonal textures be applied to a textured polygon?
 
Hi,

Do you mean the terrain vector lines and polygons you can make with SBuilderX?
 
Yes.
I specifically have in mind shorelines. I have used (with SBuilderX) one with custom texture, but normally I would need seasonal variants.
 
I'm an sbuilderx noob, I don't know if any of these ideas are valid, but thought I would chip in:

- SbuilderX textured lines/polys are made using SCASM, but in the GUI there's no provision for seasons. You could probably grab the SCASM code generated in the Work folder and tweak it for seasonal textures

or,

- You might try adding a terrain.cfg entry and call that GUID for your shoreline. The terrain.cfg entries allow for seasonal textures. If you want to distribute your scenery though, adding a custom terrain.cfg entry is a pain.

or,

- You could convert your shorelines to landclass polygons and then use a custom landclass texture in your scenery. Landclass texture calls allow for seasonal variants AFAIK

Good luck! :)

Barry
 
bdf369,
thanks for your feedback:
(1) I wouldn't know how to do it, (2) is as you say rather awkward even for a "personal" addon, so this leaves us with (3).
I don't think that the standard SBuilderX GUI let's you specify the seasonal variants, in case of landclass. Is there anything more implied in this solution (like editing an xml file) ?
 
I think FSX is supposed to search for a texture tile according to the naming convention here:

http://msdn.microsoft.com/en-us/library/cc707102.aspx#AppendixII

However the true mapping of landclass, season and region to a texture file is done by lclookup.bgl and this mapping is documented here:

http://www.fsdeveloper.com/forum/downloads.php?do=file&id=133

So I think that by looking in the spreadsheet in the above download, you can choose a landclass that has seasonal variants along with the filenames that FSX would use, then you can put custom textures with those same filenames in your scenery's textures folder and FSX should use them. So if you use a landclass polygon I would expect FSX to use the custom textures in your polygon.

I have not tried this myself so not sure if it would work.
 
Clever idea, and sounds promising also.
Is there any tutorial or older post about tweaking the SCASM code (as you suggested in your previous message) accordingly?
 
Never wrote a line of SCASM, but my guess is you tweak the LoadBitmap() line according to doc here:

http://www.scasm.de/doc/sca_cmd5.htm#ldbm

eg LoadBitmap(0 WSFH5 EF 0 0 0 "shore.bmp")

0 is always first argument
WSFH are the seasons, 5 is ground type
EF 0 0 0 is the RGB Color

Then your textures should be shore_FA.bmp etc.
 
Back
Top