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

FSXA Landing Lights?

mskhan1991

Resource contributor
Messages
935
Country
pakistan
Hi guys,
I am currently working on a project and I dont seem to get my landing lights to work.
I tried LionHeart's tutorial here:

http://www.fsdeveloper.com/forum/th...-an-interesting-find-to-make-them-work.18856/

But the problem is that under the visibility tab in Attachpoint tools I am not getting the option of "'light_landing_vis" in the drop down menu?

Is there a more elaborate way to make them?

Sorry but I am really new at this stuff, so I am working with already present tutorials
 
Ah, Bill apparently forgot that he'd added some new entries of mine to his modeldef.xml file, among which is that particular tag.

Here are all of my custom "light control visibility" entries. Simply copy/paste them towards the bottom of your modeldef.xml file.

Note that every one of them includes a check for the master battery as well. There's nothing that annoys me more than lights that work even when the battery switch is turned OFF... :banghead:

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_strobe_off</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT STROBE,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </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) !
          or
        </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_beacon_off</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT BEACON,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </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) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </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_wing_INvis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT WING,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </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_recog_OFF</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT RECOGNITION,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool)
          or
        </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>
 
 
  <PartInfo>
    <Name>light_logo_ON</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT LOGO,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
 
  <PartInfo>
    <Name>light_logo_OFF</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT LOGO,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
 
  <PartInfo>
    <Name>PanelViewActive_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (L:PanelViewActive,bool)
          (E:Time of Day,enum) 3 !=
          or
        </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>
 
  <PartInfo>
    <Name>aircraft_on_ground</Name>
    <Visibility>
      <Parameter>
        <Code>(A:SIM ON GROUND,bool) 0 &gt; if{ 1 } els{ 0 }</Code>
      </Parameter>
    </Visibility>
  </PartInfo>
 
</ModelInfo>
 
so does that mean, I can make 3d lights like those in Lotus Sim's L-39 with this? I am really looking forward to it
 
This is only for the landing light effect to work, not 3D landing lights like you mention. Bill Leaming I hear, has made those and might be able to walk you through that or point you to a tutorial. I have never done 3D landing lights. Very interesting concept.
 
I wonder if they are a the same as ground airport beacons? They use big polygons to illuminate with. Isnt there a tutorial in the SDK's about ground beacons?
 
As developed by Jon Blum or Lotus or both (egg vs. chicken?), the landing lights are trapezoidal polygons equipped with a "skinned mesh" tag and bones at each edge. The bones are animated and basically control light splash size, so that it gets bigger as you get closer to the ground. The polygons can also be visibility tagged so that you can make brightness increase accordingly. Controllers compensate for pitch and roll. The material itself has the ability to illuminate everything over which it is rendered.

It looks extremely cool in-sim, but setting it up is a major PITA. It requires knowledge of the bone system in (G)Max and advanced skills in XML programming as you will have to adapt the original animation code for the bones to your aircraft. You also have to be extremely careful when tweaking it as all elements are interlocked in a three-level hierarchy (pitch controller - roll controller - bones). (Un)Linking an element at the wrong animation slider position requires a bit of CTRL-Z or even a save file reload. Also, as Bill L. found out, the original material does not play nicely with fog conditions in FSX.

Over time, I've dumbed the system down quite a bit. I've found material settings that do play nicely with fog, but do not illuminate stuff quite as well as the original ones did. This found its into my Do-328 (Here).

For the 737-200, I've found that I simply could not be arsed to deal with all the bones anymore, so I just settled for huge, fixed-size light splashes. They're animated to compensate for height and can still be layered and adjusted for brightness. The drawback is, however, that you'll have to adjust the model radius after every export as the plane model will be very far away when viewed in the preview window and with the default external camera due to XToMDLs estimation of aircraft radius. The pitch and roll controllers are retained though, as they're the easiest part to implement.
(737 GMax source file available on request. Do not ask via PM though.)

It was a worthwile experiment in its original form for me. Next to Chuck Jodry's findings on extremely emissive materials, it offered a nice way to get rid of the bug-ridden attachpoint-based default lights.
 
Ah, Bill apparently forgot that he'd added some new entries of mine to his modeldef.xml file, among which is that particular tag.

Here are all of my custom "light control visibility" entries. Simply copy/paste them towards the bottom of your modeldef.xml file.

Note that every one of them includes a check for the master battery as well. There's nothing that annoys me more than lights that work even when the battery switch is turned OFF... :banghead:

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_strobe_off</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT STROBE,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </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) !
          or
        </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_beacon_off</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT BEACON,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </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) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </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_wing_INvis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT WING,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </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_recog_OFF</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT RECOGNITION,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool)
          or
        </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>


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

  <PartInfo>
    <Name>light_logo_OFF</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT LOGO,bool) !
          (A:ELECTRICAL MASTER BATTERY,bool) !
          or
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

  <PartInfo>
    <Name>PanelViewActive_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (L:PanelViewActive,bool)
          (E:Time of Day,enum) 3 !=
          or
        </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>

  <PartInfo>
    <Name>aircraft_on_ground</Name>
    <Visibility>
      <Parameter>
        <Code>(A:SIM ON GROUND,bool) 0 &gt; if{ 1 } els{ 0 }</Code>
      </Parameter>
    </Visibility>
  </PartInfo>

</ModelInfo>


How do I make them visible in Attachpoint tool? Visibility option after adding them to Modeldef.xml ??
 
How do I make them visible in Attachpoint tool? Visibility option after adding them to Modeldef.xml ??
Well yes, that is precisely how. All <Visibility> and <MouseRect> entries will show up in the Attachpoint tool under their respective categories.

The only "gottcha" you have to be aware of is that any changes made to modeldef.xml will not appear in the Attachpoint tool unless the tool is not opened when the save is made, or if it is opened already, it must be closed and then reopened. Every time the tool(s) are loaded, the modeldef.xml file is re-read.
 
well, i think i might have been confused with which entry of modeldef has been defined in my 3ds max? I was never good at keeping tracks of these things anyway! :P
 
Guys, A little problem I landed onto after adding the default lights.... Even if I turn off the landing lights, they are visible on the ground... like this in the picture:

probll_zps79175457.jpg


any solutions?
 
I assume you need to set a visibility condition in the modeldef file?
 
Did you assign a visibility tag to the attachpoint? It should be "general_light" i think...
 
Yep... these are my user defined properties in 3ds max:

Code:
Mass = 0.000000
Ellasticity = 0.300000
Friction = 0.300000
Optimization_Level = 0.500000
Unyielding = 0
Simulation_Geometry = 2
Proxy_Geometry = <none>
Use_Display_Proxy = 0
Display_Children = 1
Disable_Collisions = 0
Inactive = 0
Display_Proxy = <none>
FSXML = <?xml version="1.0" encoding="ISO-8859-1" ?> <FSMakeMdlData version="9.0"> <Attachpoint name="attachpt_landing"> <AttachedObject> <Effect effectName="fx_landing" effectParams=""/> </AttachedObject> </Attachpoint> <Visibility name="general_light"> </Visibility> </FSMakeMdlData>
 
"general_light" is a ridiculous choice for control, as it will not respect the battery at all. IOW, landing light will always be on if the LL switch is on.

This is precisely why I posted some suggested XML script to use instead in my previous reply, such as this:
Code:
  <PartInfo>
    <Name>light_landing_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT LANDING,bool)
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
Note carefully that this "tag" requires both the LL switch to be on AND the master battery to be on... :cool:
 
did it and the results are same...... haven't been able to test on FSX yet since I had a little problem and had to re-install it all.

but the guy helping me with P3d previews says that it's still the same way. The light splash is still visible after the light has been turned off.

Here's the new code...

Code:
Mass = 0.000000
Ellasticity = 0.300000
Friction = 0.300000
Optimization_Level = 0.500000
Unyielding = 0
Simulation_Geometry = 2
Proxy_Geometry = <none>
Use_Display_Proxy = 0
Display_Children = 1
Disable_Collisions = 0
Inactive = 0
Display_Proxy = <none>
FSXML = <?xml version="1.0" encoding="ISO-8859-1" ?> <FSMakeMdlData version="9.0"> <Attachpoint name="attachpt_landing"> <AttachedObject> <Effect effectName="fx_landing" effectParams=""/> </AttachedObject> </Attachpoint> <Visibility name="general_light"> </Visibility> </FSMakeMdlData>
 
What is all this crap doing in the Object Properties/User Defined field?
Code:
Mass = 0.000000
Ellasticity = 0.300000
Friction = 0.300000
Optimization_Level = 0.500000
Unyielding = 0
Simulation_Geometry = 2
Proxy_Geometry = <none>
Use_Display_Proxy = 0
Display_Children = 1
Disable_Collisions = 0
Inactive = 0
Display_Proxy = <none>
I suspect that your FSXML = <?xml version="1.0" ... blah, blah isn't even being seen or processed by the exporter and/or compiler!
I've never seen anything like that in this field. At the very least, try moving this entry to the top of the pile... :yikes:
 
For some reason, landing lights are very difficult to get working in FSX/P3D. There are so many things that can go wrong.

But...........! First, you should experiment with your 'effect'. I didn't know what code you were posting till I realized it is a section of effect code. Why not try this, to make sure your light is at least correctly wired in the sim. Select a stock landing light effect and use that, export the model and test in the sim. If that works correctly, then you need to then reload your original effect and trace down what might be causing that. For instance, cross referencing a stock effect with yours might turn up a bug.

Also... You must apply a Material to the landing light. Create a basic Material, name it Light_Landing (just like that), and give it a color, like bluish white, cream white, bright white, etc. Apply that to the Polygon. Assign it a UVW Map. Reset its Scale. Export a model and test in your sim.


Bill
 
Bill, you were writing yours as I wrote mine.

I hope he isn't putting the effect code into the parts 'object properties' area. That would really mess it up.
 
Back
Top