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

attchpts effects problem

Messages
6
Country
unitedkingdom
hi guys need some expert help here in solving this ok over at ukmil and and dave are working on our new gr4 its all done and today a problem cropped up that we can't solve if you look at the pictures there you can see the landing lights if you look closely at it you can see a vortex trail behind them we have deleted made new ones etc but everytime we turn on th elights the vortex shows up when we turn off the lights the vortex go's away now the light have been done as pernormal sdk (general light vis mode ) (effect fx landing )
now this is the code from the modeldef file trhat gmax uses for the generla light
<PartInfo>
<Name>general_light</Name>
<AnimLength>100</AnimLength>
<Visibility>
<Parameter>
<Sim>
<Variable>LIGHT LANDING</Variable>
<Units>bool</Units>
</Sim>
</Parameter>
</Visibility>
</PartInfo>

does naybody pick up any thing wrong with it at all?? or if you know why this is happening please le tme know or dave over at ukmil
 

Attachments

  • image1.jpg
    image1.jpg
    47.8 KB · Views: 537
I highly recommend not using the default "general light" for anything. Instead, add these to the bottom of your modeldef.xml file and use the appropriate lighting bus and condition for your lights:

Code:
  <!-- exterior and interior lights -->

  <PartInfo>
    <Name>light_battery_vis</Name>
    <Visibility>
      <Parameter>
        <Sim>
          <Variable>ELECTRICAL MASTER BATTERY</Variable>
          <Units>bool</Units>
        </Sim>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_batteryOFF_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:ELECTRICAL MASTER BATTERY,bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_panel_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT PANEL,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_panelOFF_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT PANEL,bool) 0 ==
          (A:ELECTRICAL MASTER BATTERY,bool) 0 ==
          or
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_strobe_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT STROBE,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_landing_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT LANDING,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_landing_off</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT LANDING,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  
  <PartInfo>
    <Name>light_taxi_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT TAXI,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_taxi_off</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT TAXI,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_beacon_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT BEACON,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_nav_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT NAV,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_nav_vis_off</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT NAV,bool) 0 ==
          (A:ELECTRICAL MASTER BATTERY,bool) 0 ==
          or
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_logo_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT LOGO,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_logo_invis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT LOGO,bool) !
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_wing_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT WING,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_recog_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT RECOGNITION,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>light_cabin_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT CABIN,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <!-- end exterior and interior lights -->
  <PartInfo>
    <Name>Daytime</Name>
    <Visibility>
      <Parameter>
        <Code>
          (E:Time of Day,enum) 1 ==
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>Nightime</Name>
    <Visibility>
      <Parameter>
        <Code>
          (E:Time of Day,enum) 1 !=
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
 
hi thanks for that we solved the problem yesterday i have to say it was a problem with the attchpts in the vc once i removed them hay pressto all working 100% now as they should be
 
hi thanks for that we solved the problem yesterday i have to say it was a problem with the attchpts in the vc once i removed them hay pressto all working 100% now as they should be

Ah! Yes, one thing the SDK is not at all clear on is that you should NOT have duplicated .fx attachpoints in the interior model...

...except for the ones used for landing and taxi lights!
 
Back
Top