• 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 Ground illumination

Messages
5
Hello everybody!
in the last couple days I realised that the exterior light of the A2A aircraft don't illuminate the ground (except for landing lights). After some search I found some old effects and managed to attach them to the c182. The effects are made by some textures which are placed "under" the plane. Unfortunately when I lift off the ground, the textures aren't disappearing.
Is there something I have to write into the aircraft.cfg or xml file for the effects? I'd appreciate any kind of help from you guys, because all I tried didn't really work out.
The link shows the current status of the project: https://ibb.co/jrZ1cy

cheers! :)
 
Messages
814
Country
ca-ontario
Check the effects options in SDK, there SHOULD be a switch that forces the fx to stay on the ground. As the aircraft lifts, it will follow it but it will be stuck to the ground level.

I believe that's how the rotor wash effect from helicopters works: fx_rtr_cmnt.fx, fx_rtr_lnd.fx, fx_rtr_wtr.fx
 
Messages
5
I just found the command "Ground Normal" so that the textures are always aligned to the surface. Is there sth I should type into the *.xml file controlling the effect?
XML:
<Gauge Name="CessnaStrobe" Version="2.0">
  <Element>
    <Select>
      <Value>
           }
             (L:LIGHT POSITION,enum) -1 ==
        if{
          (A:LIGHT STROBE,bool) (A:SIM ON GROUND,bool) &amp;&amp; if{ (A:LIGHT RECOGNITION,bool) ! if{ (>K:TOGGLE_RECOGNITION_LIGHTS) } }
          (A:LIGHT RECOGNITION,bool) (A:SIM ON GROUND,bool) ! &amp;&amp; if{ (>K:TOGGLE_RECOGNITION_LIGHTS) }
          
         (L:STROBE_T,enum) (P:ZULU TIME,hours) &lt;= (L:STROBE_T,enum) (P:ZULU TIME,hours) - 60 &gt; ||
        if{
            (L:STROBE_S,bool) !
            if{ (>K:STROBES_OFF) (A:LIGHT RECOGNITION,bool) if{ (>K:TOGGLE_RECOGNITION_LIGHTS) }
            els{
              (A:SIM ON GROUND,bool)
              if{ (A:LIGHT RECOGNITION,bool) ! if{ (>K:TOGGLE_RECOGNITION_LIGHTS) } }
              els{ (A:LIGHT RECOGNITION,bool) if{ (>K:TOGGLE_RECOGNITION_LIGHTS) } }
              0 (>L:STROBE_S,bool) (P:ZULU TIME,hours) 19 + (>L:STROBE_T,enum)
              }
            }
          }
            els{
          (A:LIGHT STROBE,bool) (A:LIGHT RECOGNITION,bool) || if{ -1 (>L:LIGHT POSITION,enum) 1 (>L:snd1_72,enum) }
        }
        if{(A:LIGHT STROBE, bool) 0 != (A:PLANE ALT ABOVE GROUND, feet) 5.3 - 3 &lt; and if{ 1 } els{ 0 }}}
      </Value>
    </Select>
  </Element>
</Gauge>

As you can see I tried to add a line that defines to turn off the effect at some feet above ground, but there's nothing happening.
 
Top