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

FSX Light engine fire

Messages
62
Country
france
Hello
I develop the Béguet 941 for FSX (http://oldpat.e-monsite.com/pages/breguet-941.html ) and I have to light a signal lamp engine fire for each engine.
There is 4 engine, except I found only 2 signs: "Light_engine_fire_l" and "light_engine_fire_r" in attach point / visibility.
I use Gmax with the FSX SDK.
the lamps "FIRE" are in the middle of the 4 handles that are used to hit the corresponding extinguishers

Does anyone have a solution?

Best regards

capture-jpg.52176
 
Messages
440
Country
us-wisconsin
Add this to your modeldef.xml
The new parts will be light_engine_fire_3 & light_engine_fire_4
Light_engine_fire_l will be engine 1 while Light_engine_fire_r will be engine 2

Code:
  <PartInfo>
    <Name>light_engine_fire_3</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:ENG ON FIRE:3,bool) (L:switch_fire_test) ||
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_engine_fire_4</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:ENG ON FIRE:4,bool) (L:switch_fire_test) ||
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
 
Messages
62
Country
france
Thank you for your reply.
I've added the code in modeldef.xml, but I still do not see the selection in Gmax's attachment point / visibility drop-down menu.
I must certainly forget something, but what?
capture.jpg
capture.jpg
 
Messages
440
Country
us-wisconsin
just cannot recall, there may have been problems with part name(s) with a _# suffix,
maybe try -
XML:
  <PartInfo>
    <Name>light_engine_fire_three</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:ENG ON FIRE:3,bool) (L:switch_fire_test) ||
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_engine_fire_four</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:ENG ON FIRE:4,bool) (L:switch_fire_test) ||
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
I'm out of ideas if this doesn't work. You could always try the modelling forum here.
 
Messages
62
Country
france
Hello
Thank you.
I already posted on the forum modeling and I had almost the same answer.
I tried a bit of everything, with "_" instead of empty spaces.
Is the modeldef.xml file to be modified in Gmax \ gamepacks \ FSX_GmaxGamePack \ Plugins?
 
Messages
440
Country
us-wisconsin
Mine is in - FSX SDK\SDK\Environment Kit\Modeling SDK\bin although my Gmax/3DS Max setup is so borked i just don't remember. Haven't modelled in 4+ years but provide working code to other modellers.
Try this - Drag your modeldef.xml over to an open chrome, IE or firefox window. It will parse and show any errors.
 
Messages
289
Country
unitedkingdom
No, the modeldef.xml is in your FSX SDK folder, mine is here C:\Flight Simulator\Microsoft Flight Simulator X SDK\SDK\Environment Kit\Modeling SDK\bin.
 

Heretic

Resource contributor
Messages
6,830
Country
germany
Don't forget to restart GMax to see changes in the Modeldef file.
 
Messages
62
Country
france
Hello
I also modified the modeldef of fsx / fsx SDK without result.
But I worked around the problem by creating a 2D gauge that lights the lights, and I put the plane of this gauge just at the handle of extinction. It is not very aesthetic but it works!
Thank you for your help
Capture.JPG
 
Messages
62
Country
france
Hello
It's OK it works.
The error was that I did not modify the correct file.
Gmax uses the SDK of the old FSX (which I did not delete) while I export to Steam !!!
I'll put some pictures to keep you informed
Thank you very much for your help who informed me.
 
Top