• 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 3D Landing Lights?

I've done it both ways, but honestly it's actually easier to simply draw the "ground splash" (GS) as the last [Emitter.n] section in the .fx file. Obviously, the same technique will apply to nav lights as well as the beacon. By having two versions of the same .fx file (one with GS and the other without) means you have an easier time with on/off ground control! :)

Here's the GS entry for the strobeGS.fx file. Note the [Particle.n] entries in red below.

The X Scale= and Y Scale= entries define the diameter of the GS.

The Ground Normal=1 entry "flattens the effect to be parallel to the ground"

The Y Offset= entry is set to offset the "GS" to be just barely above the ground. This needs to be just high enough that it won't sink into the ground when the a/c is fully loaded to the max pax and fuel! :D

If I put it in a .fx file. The groundsplash doesn´t stay on the ground and is also vicible in the air. What did i do wrong?
 
If I put it in a .fx file. The groundsplash doesn´t stay on the ground and is also vicible in the air. What did i do wrong?

You need to have two separate .fx files, one for on the ground, and the other for when off the ground. Simply set up the logic to hide the one for ground operations when the a/c takes off.
 
Thx!
I have put the code in a new .fx file.
But there's one problem. I have no experience with XML or whatever it's called so I don't understand this part: Simply set up the logic to hide the one for ground operations when the a/c takes off. :teacher:

THX for your quick reply!
 
Kind of hate saying it, but if you are going to get this sophisticated you will probably have to learn XML...
 
That's true XD
But I only want to do is make a flash on the ground on some my airplanes. I Already know how to collor it and position it and resize it. I only don't know what to do to get the .fx turned off when of the ground.
 
In the modeldef.xml file (or similar in the makemdl.parts.xml file):

Code:
  <PartInfo>
    <Name>CJ1_Strobe_on_ground</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:SIM ON GROUND,bool) 0 &gt;
          (A:LIGHT STROBE,bool) 1 == and
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
          if{ 1 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    
    <Name>CJ1_Strobe_off_ground</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:SIM ON GROUND,bool) 0 ==
          (A:LIGHT STROBE,bool) 1 == and
          (A:ELECTRICAL MASTER BATTERY,bool)
          and
          if{ 1 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
 
Were do i have to put the code? And how do I need to call the .fx?

(maybe I sound so stupid right now :D)
 
Last edited:
Hey Bill

i cant find your illuminate stuff tuturial do you think you could kindly give me a link to it. Im trying to make 3d landing lights and have no clue where to even begin

thanks
 
Back
Top