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

Ignor post (Posted in wrong forum)

Messages
1,749
Country
unitedstates
Since i am new to using 3DS MAX i have an issue i can't solve. After converting xtomdl the model works fine in fsx when you run the model. But if i load the preview window in FSX the sim gets an error and crashes. SIM1.DLL is the cause of the error.

Any tips would be awesome.

I am using the new P3D V3 SDK for aces to export and tried both P3D V1 for xtomdl and the FSX xtomdl. Both have the same issue.
 
Update: I tried to export a box from the same scene and it also failed. So then i tried to export a box from a new scene and it worked. So looking at the xtomdl export file i see that it says failed to process parts that are LCD screens with scripts. So i am doing some testing to find out if i can have panels in the exterior model or the part needs to be re designed.

Update: Fixed those errors by re assigning the tags. But the issue is still there. So now i am making a new scene and importing each group until i find the part causing the issue. Seems to be a bad part causing the main issue.:rolleyes:
 
Last edited:
Is there a tool to help find degenerated poly's? I tried the xview with no luck. I fixed almost all of my parts that had this issue by welding or removing extra polygons then re welding. But i have 1 part that i can't find where the degenerated poly is. Can xtomdl be set to ignore them like gmax does? I tried to find CryEngine tools with no luck. Any help would be helpful.

Seems i have 1 part left that is preventing me from having the preview working.
 
Update: The degenerated parts are not the cause as i suspected. Because years of using Gmax they did not effect the model. I narrowed it down to 2 panels and trying to find a bad part. it just takes 1 bad part to cause issues. But i have never seen this before where the model loads and works but the preview fails. i am wondering if it's a texture.
 
I found the exact issue. It was 2 XML codes in the modeldef. But here is the kicker. I fixed one and this now works. But the other one is not making any sense. If the code is written correctly and works for the light to come on using a vis tag then the preview windows fails. If the code is written wrong and the light does not work then the preview window works.

Here is the code that works for the function but fails to load in the preview window:
Code:
  <PartInfo>
      <Name>SUCTION_LEFT_LT</Name>
    <Visibility>
      <Parameter>
        <Code>(A:ENG HYDRAULIC PRESSURE:1, Psi) 15 &lt; (A:ELECTRICAL BATTERY BUS VOLTAGE,Volts) 3 &gt; and</Code>
      </Parameter>
    </Visibility>
  </PartInfo>

Here is the code that fails for the function but works to load in the preview window:
Code:
  <PartInfo>
      <Name>SUCTION_LEFT_LT</Name>
    <Visibility>
      <Parameter>
        <Code>(A:ENG HYDRAULIC PRESSURE:1, Psi) 15 &lt; (A:ELECTRICAL BATTERY BUS VOLTAGE,Volts) 3 &gt; and if{ 1 } els{ 0 }</Code>
      </Parameter>
    </Visibility>
  </PartInfo>

This code works for function and preview but then i do not have a second option for the function. This make no sense at all.....:banghead:
Code:
  <PartInfo>
      <Name>SUCTION_LEFT_LT</Name>
    <Visibility>
      <Parameter>
        <Code>(A:ENG HYDRAULIC PRESSURE:1, Psi) 15 &lt; </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

Note: I have tried 4 different types of code that also fail. I have never seen an issue like this before. I do know that the preview is for the exterior model and i could just use no functions for the panel but this model has a very small panel layout and i would like to keep active. And just to know what is going on here. Gmax never had this issue so it has something to do with XtoMDL and complex vis tags.
 
Last edited:
Update: If i only assign the left light and have no tag for the right light then any code works for function and preview. So this narrows it down. If i only assign to the right light is fails. I have the aircraft.cfg setup up for 2 engine hydraulics. 1,1,0,0

The question now is WHY?

Code:
<PartInfo>
<Name>SUCTION_LEFT_LT</Name>
<Visibility>
<Parameter>
<Code>(A:ENG HYDRAULIC PRESSURE:1, Psi) 15 &lt; (A:ELECTRICAL BATTERY BUS VOLTAGE,Volts) 3 &gt; and</Code>
</Parameter>
</Visibility>
</PartInfo>

<PartInfo>
<Name>SUCTION_RIGHT_LT</Name>
<Visibility>
<Parameter>
<Code>(A:ENG HYDRAULIC PRESSURE:2, Psi) 15 &lt; (A:ELECTRICAL BATTERY BUS VOLTAGE,Volts) 3 &gt; and</Code>
</Parameter>
</Visibility>
</PartInfo>
 
Update: Neither of these codes work for the preview but they do work for the function and i have 2 engines with the hydraulic section set up for 1,1,0,0

(A:ENG HYDRAULIC PRESSURE:2, Psi)

(A:HYDRAULIC PRESSURE:2, Psi)
 
Last edited:
Back
Top