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

Gauge lighting by 'candlestick'

DragonflightDesign

Resource contributor
Older aircraft had the instruments illuminted externally by a bulb in a tall bulbholder (colloquially known as a 'candlestick'). If I told you I have spent the equivalent of 30 hours (or more) over the last few days trying to create such a simple fx effect, it's true... and I've failed.

mpg.png


The problem is the needles not being illuminated between about 22" MP and 41" MP. Can anyone please tell me what is wrong with my .fx file? The SDK Help doesn't help ('PBH = XYZ' and that's it, seriously); I spent a number of hours trying to figure out what the pitch and heading parameters do singly and in combination, but I cannot see any effect whatsoever when bank is applied. I also suspect that the position of the needles in the VC object hierarchy has somenthing to do with it but getting the VC model changed will happen when the world ends.

I am, as they say, at my wit's end.

Code:
[Library Effect]
Lifetime=5
Version=2.00
Radius=-1
Priority=0

[Properties]

[Emitter.0]
Lifetime=0.50, 0.50
Delay=0.00, 0.00
Bounce=0.00
Light=1
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 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=50.00, 50.00
Bank=0.00, 0.00
Heading=-80.00, -80.00

[Particle.0]
Lifetime=0.00, 0.00
Type=28
X Scale=0.1, 0.1
Y Scale=0.00, 0.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.02, -0.02
Y Offset=-0.02, -0.02
Z Offset=0.0, 0.0
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]
Color Start=255, 0, 0, 255
Color End=255, 0, 0, 255
//Color Start=100, 100, 100, 255
//Color End=180, 140, 100, 255
Bounce=0.25
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Falloff Exponent=1.00
Inner Cone Angle=5.00
Outer Cone Angle=80.50
Intensity Day=0.00
Intensity Night=100.00

I should have said this is a v4 problem. In v5 there's a reflectivity layer in the texture stack which I've made use of to redirect the lighting.
 
Last edited:
Top