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

MDL visibility setting??

Messages
104
Country
unitedstates
Hi arno,I know your busy so -no hurry - but ..is there a way to change the visibility for an mdl object..in as fsdsv3 created X file or a new mdl tweaker?..I wonder..because an airport populated with small (custom made)objects like baggage containers,ect would load the objects (way) out before you can see them causing unessesary FPS drops..is there a way like the older SCASM to set an object to appear -say at 1000 ft or so??instead of 32 kilos away using the new MDL format..or is it hard coded..Happy new year and thankX
 
Hi,

As you have seen for MDL objects the maximum range is determined by the scenery engine. There are two ways to limit this:

  1. Use LODs, if you make the higher LODs empty you will get the result you want.
  2. Add a check for the distance to the RefPoint to the object, this can for example be done with MDL Tweaker. This will limit the display distance to the values you give.
 
Hi arno,,happY new year..thanks for your replies,,When you get time can you explain,,say LODs ,,and what version of the tweaker can add a check to a ref point for an MDL to limit the visibility of a scenery object..I just can not find any reference to your reply about this ..so far..thankZ
 
Hi,

For the LODs, have a look at the MS house tutorial. It is explained in there how you can add different levels of detail to your object.

For the the range condition, it is easiest just to download the latest version of MDL Tweaker. Then you can add a condition for the variable 33B (distance to RefPoint). If you set the minimum value to 0 and the maximum to 500 you will have an object that is only visible if you are closer than 500 meter.

Of course both of these ranges are hardcoded in the MDL, so they can not be chosen by the user when he places the object. The designer has to make the choice. That is different from the range in the API macros.
 
Back
Top