FSX Light engine fire

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

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