• 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 RIFF chunks VISC, VISS

Messages
611
Country
switzerland
Hi guys,

First off, I have no experience in hacking around in mdl files. :rolleyes: But as a scenery designer, I don't want to believe that we can't add conditions to the fsx mdl structure. So I did some reading about the format and stumbled on two RIFF identifiers: VISC and VISS, which are described as "Part visibility control expression" and "Part visibility control variable" in some document.
Hmm, so there is a mechanism to control parts with variables? Or is this for aircraft mdls only? Would be great if scenery variables worked on those!
There are similar identifiers for animations XAPC and XAPS.
Conditional animation? :cool:

As I said, I have no idea. I'm just thinking loud and I hope maybe some of you mdl gurus get inspired...;)

Best regards,
Jeff
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi Jeff,

I have not seen these sections while studying the MDL format for scenery objects, so at least it seems they do not appear often. Is there any default file you have found them in or did you find the information on the Wiki? Would be interesting to take a better look at this :).
 
Messages
611
Country
switzerland
Hey Arno,

No, as I said, I never tried to decompile mdl files ;)
I was just reading the various posts about the format.
The document I mentioned can be found HERE.

Maybe those sections only appear on aircraft mdls.
 
Messages
611
Country
switzerland
Arno,

Found out that those sections get written if you add a visibility condition in the fsx gmax attach tool.
There a some conditions for aircraft parts. The code which is written into the mdl can be seen in the modeldef.xml file.

I tried to edit the modeldef.xml file in order to add a visibility condition for a month (E:ZULU MONTH OF YEAR).
Attaching that to a box and exporting it works fine.
Placing the mdl into a bgl file is ok, but the condition doesn't work...

I suppose it only works for simobjects or airfraft mdls

Jeff
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
That's wouldn't be a surprise :), probably only for SimObjects.
 
Top