- Messages
- 1,637
- Country

Looking through the forums for lighting ideas I came across the thread by Fog about his lighting effect. Seems straightforward but I can't seem to compile or I should say it compiles but is not working.
Firstly, anybody using this method? How are the FPS as I plan to add about 50-60 lightpoles throughout the airport.
Here is the XML file I am using which I call FloodlightQuad.xml:
<?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="22.315939" lon="114.209092" alt="0" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="SPARSE">
<Effect effectName="fx_FloodlightQuad" effectParams="DAWN=1;DUSK=1;"/>
</SceneryObject>
<SceneryObject lat="22.315939" lon="114.209092" alt="0" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="SPARSE">
<Effect effectName="fx_FloodlightQuad" effectParams="DAY=0;NIGHT=1;" />
</SceneryObject>
</FSData>
I read on another thread about adding two instances of the scenery object so it works during day/night and dusk/dawn. I tried it with it and without it but still no go.
Here is the .fx file. All I did was copy/paste Fog's code. I call this file fx_FloodlightQuad.fx:
[Library Effect]
Lifetime=5
Version=2.00
Display Name=Floodlight
Radius=50
Priority=0
[Properties]
Cockpit=1
VirtualCockpit=1
Spot=1
Tower=1
Map=1
[Emitter.0]
Lifetime=0.50, 0.50
Delay=0.00, 0.00
Bounce=0.00
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 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=0.00, 0.00
Heading=0.00, 0.00
[Particle.0]
Lifetime=0.00, 0.00
Type=19
X Scale=550.00, 550.00
Y Scale=185.00, 185.00
Z Scale=00.00, 00.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
Ground Normal=1
Static=1
Face=0, 0, 1
[ParticleAttributes.0]
Blend Mode=2
Texture=fx_floodlightquad.bmp
Bounce=0.00
Color Start=152, 184, 184, 255
Color End=152, 184, 184, 255
Jitter Distance=0.00
Jitter Time=0.00
TempK=107.00
TempRate=0.00
uv1=0.00, 0.00
uv2=1.00, 1.00
X Scale Goal=0.5
Y Scale Goal=0.5
Z Scale Goal=0.5
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00
Can anybody get this to compile and show up. Here's a little bmp attached too in case you wanna try. It shows up at VHHX, Kai Tak Airport down over at where the Government Flying Services buildings would be (south side of the airport).
Thanks,
Clutch
Project 9Dragons
Firstly, anybody using this method? How are the FPS as I plan to add about 50-60 lightpoles throughout the airport.
Here is the XML file I am using which I call FloodlightQuad.xml:
<?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="22.315939" lon="114.209092" alt="0" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="SPARSE">
<Effect effectName="fx_FloodlightQuad" effectParams="DAWN=1;DUSK=1;"/>
</SceneryObject>
<SceneryObject lat="22.315939" lon="114.209092" alt="0" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="SPARSE">
<Effect effectName="fx_FloodlightQuad" effectParams="DAY=0;NIGHT=1;" />
</SceneryObject>
</FSData>
I read on another thread about adding two instances of the scenery object so it works during day/night and dusk/dawn. I tried it with it and without it but still no go.
Here is the .fx file. All I did was copy/paste Fog's code. I call this file fx_FloodlightQuad.fx:
[Library Effect]
Lifetime=5
Version=2.00
Display Name=Floodlight
Radius=50
Priority=0
[Properties]
Cockpit=1
VirtualCockpit=1
Spot=1
Tower=1
Map=1
[Emitter.0]
Lifetime=0.50, 0.50
Delay=0.00, 0.00
Bounce=0.00
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 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=0.00, 0.00
Heading=0.00, 0.00
[Particle.0]
Lifetime=0.00, 0.00
Type=19
X Scale=550.00, 550.00
Y Scale=185.00, 185.00
Z Scale=00.00, 00.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
Ground Normal=1
Static=1
Face=0, 0, 1
[ParticleAttributes.0]
Blend Mode=2
Texture=fx_floodlightquad.bmp
Bounce=0.00
Color Start=152, 184, 184, 255
Color End=152, 184, 184, 255
Jitter Distance=0.00
Jitter Time=0.00
TempK=107.00
TempRate=0.00
uv1=0.00, 0.00
uv2=1.00, 1.00
X Scale Goal=0.5
Y Scale Goal=0.5
Z Scale Goal=0.5
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00
Can anybody get this to compile and show up. Here's a little bmp attached too in case you wanna try. It shows up at VHHX, Kai Tak Airport down over at where the Government Flying Services buildings would be (south side of the airport).
Thanks,
Clutch
Project 9Dragons
Last edited:

I tried it in every texture folder I could find except that one. However, I did finially see that texture folder at the very end. I tried it with another bmp thinking mine was somehow bad and it doesn't even show there.