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

Flood lights effect visibility [Problem]

Messages
144
Country
algeria
Hi guys,

I'm having a small problem here with light splash visibility, i wish you would be able to help me! :)
Ok let's begin, I faced a problem with the visibility of the light effect, as you can see in this picture: :(
JFWepx.jpg

However when I approach to it, I see it well, but this is really annoying: :banghead:
eAIkxp.jpg

I need to see it normally as ORBX have done in their EGPB Sumburgh airport:
https://www.fullterrain.com/images/ss/egpb/5.jpg :stirthepo
This problem still occurs even when I made a controller distance .FX :banghead:
Amm! maybe the .FX settings are wrong, please take a look at it and see what's missing! :eek:
.FX effect:
Code:
[Library Effect]
Lifetime=5
Version=2.00
Display Name=fx_DAOO_LightFlood
Radius=100000
Priority=0

[Properties]
Spot=1
Tower=1
Map=1

[Emitter.0]
Lifetime=1.00, 1.00
Delay=0.00, 0.00
Bounce=0.00
No Interpolate=1
Rate=0.5, 0.5
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Rotation=0.00, 0.00
Y Rotation=0.00, 0.00
Z Rotation=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Pitch=45.00, 45.00
Bank=0.00, 0.00
Heading=0.00, 0.00

[Particle.0]
Lifetime=0.00, 0.00
Type=25
X Scale=7.50, 7.50
Y Scale=15.00, 15.00
Z Scale=0.00, 0.00
X Scale Rate=0.00, 0.00
Y Scale Rate=0.00, 0.00
Z Scale Rate=0.00, 0.00
Drag=0.00, 0.00
Color Rate=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Rotation=0.00, 0.00
Static=1
Face=0, 0, 0

[ParticleAttributes.0]
Blend Mode=2
Texture=DAOO_LightFlood.bmp
Bounce=0.00
Color Start=255, 255, 241, 64
Color End=255, 255, 241, 0
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
uv2=1.00, 1.00
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00
   
[Emitter.1]
Lifetime=1.00, 1.00
Delay=0.00, 0.00
Bounce=0.00
No Interpolate=1
Rate=0.5, 0.5
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Rotation=0.00, 0.00
Y Rotation=0.00, 0.00
Z Rotation=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Pitch=0.00, 0.00
Bank=45.00, 45.00
Heading=90.00, 90.00

[Particle.1]
Lifetime=0.00, 0.00
Type=25
X Scale=7.50, 7.50
Y Scale=15.00, 15.00
Z Scale=0.00, 0.00
X Scale Rate=0.00, 0.00
Y Scale Rate=0.00, 0.00
Z Scale Rate=0.00, 0.00
Drag=0.00, 0.00
Color Rate=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Rotation=0.00, 0.00
Static=1
Face=0, 0, 0

[ParticleAttributes.1]
Blend Mode=2
Texture=DAOO_LightFlood.bmp
Bounce=0.00
Color Start=255, 255, 241, 64
Color End=255, 255, 241, 0
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
uv2=1.00, 1.00
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00
.FX controller effect:
Code:
[Library Effect]
Lifetime=5
Version=1.00
Radius=200
   
Priority=0
[controller.0]
lifetime=0.0, 0.0
type=3
distance=10000.00, 10000.00
delay=10000000.00, 10000000.00
x offset=0.00, 0.00 
y offset=0.00, 0.00 
z offset=0.00, 0.00
effect.0=fx_DAOO_LightFlood, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
Please I need a help with this to complete my First freeware project DAOO Airport in Algeria :rolleyes:

Thank you guys!
with Regards,
Dayou.
 
Ok guys,
Here's an update,
I used the same .FX effect, controller .FX of FlyTampa - Vienna and the texture, but still the same problem :( :banghead:
I also used the same method as Flytampa used to place the Light flood using XML to place it many times in the project, however Flytampa XML effectParams is different than mine.
This is Flytampa - Vienna XML:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Created by Scenery Design Engine (SDE) on 7/24/2014 -->
<FSData
   version="9.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="bglcomp.xsd">
   <SceneryObject
      lat="48.1260800734162"
      lon="16.5365400910378"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="VERY_SPARSE">
      <Effect
         effectName="flytampa_loww_light_flood1_cntrl.fx"
         effectParams="MOY=01,12;DOM=01,31;HOD=17,24;MOH=00,60;SOM=00,60"/>
   </SceneryObject>
   <SceneryObject
      lat="48.1270791962743"
      lon="16.5351413190365"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="VERY_SPARSE">
      <Effect
         effectName="flytampa_loww_light_flood1_cntrl.fx"
         effectParams="MOY=01,12;DOM=01,31;HOD=17,24;MOH=00,60;SOM=00,60"/>
   </SceneryObject>
   <SceneryObject
      lat="48.1277889758348"
      lon="16.5372432768345"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="VERY_SPARSE">
      <Effect
         effectName="flytampa_loww_light_flood1_cntrl.fx"
         effectParams="MOY=01,12;DOM=01,31;HOD=17,24;MOH=00,60;SOM=00,60"/>
   </SceneryObject>
   <SceneryObject
      lat="48.1275599822402"
      lon="16.5379875898361"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="VERY_SPARSE">
      <Effect
         effectName="flytampa_loww_light_flood1_cntrl.fx"
         effectParams="MOY=01,12;DOM=01,31;HOD=17,24;MOH=00,60;SOM=00,60"/>
   </SceneryObject>
   <SceneryObject
      lat="48.128243945539"
      lon="16.5359942615032"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="VERY_SPARSE">
      <Effect
         effectName="flytampa_loww_light_flood1_cntrl.fx"
         effectParams="MOY=01,12;DOM=01,31;HOD=17,24;MOH=00,60;SOM=00,60"/>
   </SceneryObject>
   <SceneryObject
      lat="48.1231745705009"
      lon="16.5441289544106"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="VERY_SPARSE">
      <Effect
         effectName="flytampa_loww_light_flood1_cntrl.fx"
         effectParams="MOY=01,12;DOM=01,31;HOD=17,24;MOH=00,60;SOM=00,60"/>
   </SceneryObject>
   <SceneryObject
      lat="48.1233646720648"
      lon="16.5435773134232"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="VERY_SPARSE">
      <Effect
         effectName="flytampa_loww_light_flood1_cntrl.fx"
         effectParams="MOY=01,12;DOM=01,31;HOD=17,24;MOH=00,60;SOM=00,60"/>
   </SceneryObject>
   <SceneryObject
      lat="48.1235376745462"
      lon="16.5430498123169"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="VERY_SPARSE">
      <Effect
         effectName="flytampa_loww_light_flood1_cntrl.fx"
         effectParams="MOY=01,12;DOM=01,31;HOD=17,24;MOH=00,60;SOM=00,60"/>
   </SceneryObject>
</FSData>
This my XML:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData
   version="9.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="bglcomp.xsd">
   <SceneryObject
      lat="35.6213544309139"
      lon="-0.604427307844162"
      alt="10M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="156"
      imageComplexity="NORMAL">
      <Effect
         effectName="fx_DAOO_LightFlood.fx"
         effectParams="DAY=0;NIGHT=1"/>
   </SceneryObject>
   <SceneryObject
      lat="35.6208629161119"
      lon="-0.605798810720444"
      alt="10M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="156"
      imageComplexity="NORMAL">
      <Effect
         effectName="fx_DAOO_LightFlood.fx"
         effectParams="DAY=0;NIGHT=1"/>
   </SceneryObject>
   <SceneryObject
      lat="35.6205182522535"
      lon="-0.606849789619446"
      alt="10M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="156"
      imageComplexity="NORMAL">
      <Effect
         effectName="fx_DAOO_LightFlood.fx"
         effectParams="DAY=0;NIGHT=1"/>
   </SceneryObject>
   <SceneryObject
      lat="35.6201434135437"
      lon="-0.608092993497849"
      alt="10M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="156"
      imageComplexity="NORMAL">
      <Effect
         effectName="fx_DAOO_LightFlood.fx"
         effectParams="DAY=0;NIGHT=1"/>
   </SceneryObject>
   <SceneryObject
      lat="35.619562715292"
      lon="-0.608830600976944"
      alt="10M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="156"
      imageComplexity="NORMAL">
      <Effect
         effectName="fx_DAOO_LightFlood.fx"
         effectParams="DAY=0;NIGHT=1"/>
   </SceneryObject>
   <SceneryObject
      lat="35.6182973831892"
      lon="-0.610387623310089"
      alt="10M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="156"
      imageComplexity="NORMAL">
      <Effect
         effectName="fx_DAOO_LightFlood.fx"
         effectParams="DAY=0;NIGHT=1"/>
   </SceneryObject>
   <SceneryObject
      lat="35.6217648088932"
      lon="-0.603200197219849"
      alt="10M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="156"
      imageComplexity="NORMAL">
      <Effect
         effectName="fx_DAOO_LightFlood.fx"
         effectParams="DAY=0;NIGHT=1"/>
   </SceneryObject>
</FSData>

Please, Is there a fix for this annoying problem !!
Hope someone help me with this !:(
Dayou.
 
I don't know either. I do not place only FX by XML. Normally I would attach to the model in Gmax.
 
Hi jtanabodee,
Thank you so much, I fixed the problem by creating mipmaps to my LightFlood.bmp 32-bits,
Thanks a lot. ;)
 
Hi Dayou:

That is some very good troubleshooting you've done with this project ! :)


Hmmm... now this info makes me wonder if a 'dummy' invisible textured Effect (*.FX) object (using MIP-Mapped BMP textures with an Alpha channel that makes it "completely transparent" in FSX at run time) which is attached to the MDL or defined as an additional "Particle" ...might help extend / ensure the desired / specified working radius of "other" attached Effect file types / Particles (Ex: such as those which do not even require a "visible" object to be seen at run time) ! :scratchch

Maybe its time again for Richard Ludowise (aka "rhumbaflappy") to show us yet another magical "one-file-for-all-FS-Effect-functions-including-integrated-controller" *.FX file ...such as he did here: :wizard:

http://www.fsdeveloper.com/forum/showthread.php?t=19185&highlight=effect


GaryGB
 
Last edited:
OK Guys,!

Here is what I got in FSX by this new method which is to place only the effect .FX without attaching to boxes:D
The most important thing to fix all the problems with the null visibility of light when you're far from your own effect: is that your texture of the effect must be in .BMP 32-bit format and make sure you've generated mipmaps for the texture.
I used a good effect since I've used 2 emitters, The first one:
Pitch=45.00, 45.00
Bank=0.00, 0.00
Heading=0.00, 0.00
The second one:
Pitch=0.00, 0.00
Bank=45.00, 45.00
Heading=90.00, 90.00

I used XML placement and placed the effect 7 times on 1 XML and got this in FSX:
Night:
lpjHb6.jpg

Dusk:
4xgzzC.jpg

At the beginning, I thought that using multiple effects in one XML will impact FPS.
By the way, my XML source doesn't contain just the effects placement, it also contains Flood lights towers:D

The result:
-No problem with clouds behind.
-No FPS drop or impact.
-Good FPS during parking in the apron.

NOTE: If needed, I'll share you my XML and FX in order beginners people be able to create their individual apron light splash.
It's a new good method of creating light splash, isn't it? :rolleyes:

Thank so much guys who have helped me! :);):oops:
 
Last edited:
Well done ! :)

I think you might consider making this into a tutorial packaged for download, or perhaps as an addition to the FS Developer wiki. :idea:

GaryGB
 
Hi Guys.

I have a problem. I trying to make Twy and ALS lights and is my first time with custom effects.

I use this parameters...



Controller:
Code:
[Library Effect]
Lifetime=5
Version=1.00
Radius=200
Priority=0

[controller.0]
lifetime=0.00, 0.00
type=3
distance=5000.00, 5000.00
delay=7200.00, 72000.00
x offset=0.00, 0.00
y offset=0.00, 0.00
z offset=0.00, 0.00
effect.0=fx_ld_Taxilight, 0.00, 0.40, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00


Effect:

Code:
[Library Effect]
Lifetime=5
Version=1.00

[Properties]
Cockpit=1
Spot=1
Tower=1
Map=1

[Emitter.0]
Lifetime=0.50, 0.50
Delay=0.00, 0.00
Bounce=0.00
No Interpolate=1
Rate=1.00, 1.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00

[Particle.0]
Lifetime=0.00, 0.00
Type=19
X Scale=1.00, 1.00
Y Scale=2.00, 2.00
Z Scale=0.00, 0.00
X Scale Rate=0.00, 0.00
Y Scale Rate=0.00, 0.00
Z Scale Rate=0.00, 0.00
Drag=0.00, 0.00
Color Rate=0.00, 0.00
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Rotation=0.00, 0.00
Static=1
Face=1, 1, 1

[ParticleAttributes.0]
Blend Mode=2
Texture=fx_2.bmp
Bounce=0.00
Color Start=0, 155, 219, 100
Color End=0, 155, 219, 0
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
uv2=0.50, 0.50
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00

[Emitter.1]
Lifetime=0.50, 0.50
Delay=0.00, 0.00
Bounce=0.00
No Interpolate=1
Rate=1.00, 1.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00

[Particle.1]
Lifetime=0.00, 0.00
Type=19
X Scale=1.00, 1.00
Y Scale=1.00, 1.00
Z Scale=0.00, 0.00
X Scale Rate=0.00, 0.00
Y Scale Rate=0.00, 0.00
Z Scale Rate=0.00, 0.00
Drag=0.00, 0.00
Color Rate=0.00, 0.00
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Rotation=0.00, 0.00
Static=1
Face=1, 1, 1

[ParticleAttributes.1]
Blend Mode=2
Texture=latinwings1.bmp
Bounce=0.00
Color Start=55, 52, 50, 255
Color End=55, 52, 50, 0
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
uv2=0.50, 0.50
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00

[Emitter.2]
Lifetime=0.50, 0.50
Delay=0.00, 0.00
Bounce=0.00
No Interpolate=1
Rate=1.00, 1.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00

[Particle.2]
Lifetime=0.00, 0.00
Type=19
X Scale=0.25, 0.25
Y Scale=0.25, 0.25
Z Scale=0.00, 0.00
X Scale Rate=0.00, 0.00
Y Scale Rate=0.00, 0.00
Z Scale Rate=0.00, 0.00
Drag=0.00, 0.00
Color Rate=0.00, 0.00
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Rotation=0.00, 0.00
Static=1
Face=1, 1, 1

[ParticleAttributes.2]
Blend Mode=2
Texture=ld1.bmp
Bounce=0.00
Color Start=155, 152, 150, 255
Color End=155, 152, 150, 0
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
uv2=0.50, 0.50
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00

Then, i attach the effect using MCX and it show, when i attach controller fx also show in MCX but not in FSX. Any solution with this? .

Many thanks!
 
Last edited:
OK Guys,!

Here is what I got in FSX by this new method which is to place only the effect .FX without attaching to boxes:D
The most important thing to fix all the problems with the null visibility of light when you're far from your own effect: is that your texture of the effect must be in .BMP 32-bit format and make sure you've generated mipmaps for the texture.
I used a good effect since I've used 2 emitters, The first one:
Pitch=45.00, 45.00
Bank=0.00, 0.00
Heading=0.00, 0.00
The second one:
Pitch=0.00, 0.00
Bank=45.00, 45.00
Heading=90.00, 90.00

I used XML placement and placed the effect 7 times on 1 XML and got this in FSX:
Night:
lpjHb6.jpg

Dusk:
4xgzzC.jpg

At the beginning, I thought that using multiple effects in one XML will impact FPS.
By the way, my XML source doesn't contain just the effects placement, it also contains Flood lights towers:D

The result:
-No problem with clouds behind.
-No FPS drop or impact.
-Good FPS during parking in the apron.

NOTE: If needed, I'll share you my XML and FX in order beginners people be able to create their individual apron light splash.
It's a new good method of creating light splash, isn't it? :rolleyes:

Thank so much guys who have helped me! :);):oops:
Please share your XML and FX file for reference. Thank you.
 
Back
Top