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

Problems with conditional Display

Messages
7
Country
switzerland
Hi Arno
I make a try to tweak a MDL with Attached Effects to show up only if the NAV2 frequency is tuned. After tweaking with MDL Tweaker 2.0.266 there is no chance to compile a BGL after tweaking.

The source MDL is 6.72kb, and the tweaked is 6.64kb.

Code:
E:\Programme\Microsoft Games\Flight Simulator 9\Addon Scenery\LSZG Airport 2006\
scenery>bglcomp torblinker.xml

Parsing document: TorBlinker.XML

ERROR C2014: Failed to load model data in file: torblinker.mdl
ERROR C2149: Failed to load model data!
ERROR C2340: Failed to finalize MODEL_DATA!
ERROR C2034: XML Parse Fatal Error (line, column, error)

ERROR: 11, 82, Mindestens ein Argument ist ung³ltig.
ERROR C2470: Unrecoverable error parsing XML!
ERROR C2006: Parse failed  (0x80004005)
ERROR C2003: Failed to process file: torblinker.xml

its impossible to tweak the mdl for conditional display, if the object has attached effects.

I have attached my mdl file, if you want try if it works.

Best regards

Marcello
 

Attachments

Did you try to compile the origional (non-tweaked) MDL file? That one already fails on my PC.

I don't know why exactly, but I see some debugging code in the MDL, are you sure you are exporting with the normal GMax settings? These commands have no purpose in the MDL file.
 
Problem solved

Hi
thanks for your advice. The original MDL works fine. The problem was my makemdl.cfg contains the line Debug=1. I have delete this line now, and
try again to export -> tweak -> compile.

Compiling OK ! But the Effect allways show, only the object shows up, if the condition is true.

Thanks for your fast answer.

Best regards

Marcello
 
Last edited:
That is correct, you can't condition the attachpoints of an object.
 
Back
Top