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

Custom building textures using SETAGNBUILDINGTEXTURE

Messages
153
Country
unitedstates
Where does the building texture specified by SETAGNBUILDINGTEXTURE need to be located in order to show up properly in the sim?

Is defining this texture for the buildings in ScenProc and then putting the texture in the correct folder all that's needed to make custom building textures? Or do you have to edit one of the autogen SPB files?

Thanks,
Scott
 
Never mind the above questions, I should have read the Autogen SDK more closely. :rolleyes: It says right in there that all you have to do is put the DXT1 DDS texture in the FSX/Texture folder.

However, now I'm having another problem. When I assign a custom AG building texture (let's call it Custom.dds) to my autogen in ScenProc, the results look pretty weird in the sim. The upper part of the sides of the buildings becomes transparent. Weirder still, it seems that the higher the elevation of the building, the more pronounced the issue, until at higher elevations no side of the building is visible, only the roof.

Things I've tried:
*Saving the texture with and without a 1 bit alpha (no actual alpha channel is present in the file)
*Resizing the image from 1024 to 512 (has anybody else noticed that the SDK states that AG building textures are 512, but the actual default textures are 1024?)
*Renaming a default texture to Custom.dds, to swap out my new texture with a tried-and-true default one. Problem still remains.
*Assigning a default texture (BLDM2.dds) in the SETAGNBUILDINGTEXTURE and then naming my custom texture to BLDM2.dds to copy over the default one. After doing this, everything appears fine.


So is this a bug in the way FSX handles custom building texture sheets, or am I doing something wrong? My troubleshooting tells me it must be the former... However, I recall seeing a custom-named building texture in Arno's example of this ScenProc feature, so maybe there is a way to get it working?

-Scott

Mdgs1.jpg
 
Yes, I would have thought that the problem was a missing night texture, as that's exactly how the autogen looks if you don't include this. Maybe check the LM name? If you texture is Custom.dds then your LM needs to be CustomLM.dds.
 
Hmm, do I need to specifically define the night map in ScenProc, or do I just have to put _LM at the end and it should show up automatically? I did the latter and it didn't work, but I'll try again. It'll have to wait a couple days though, I'm on a trip away from my FS computer.

Thanks for the replies!
 
Nevermind, I just read the linked post. I used an underscore in my LM suffix, so I'll omit that next time and it should be good. Thanks guys!

-Scott
 
Back
Top