plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

We prepared 3 new YouTube tutorials about Audio! They are available here.
You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!


question

VALROK avatar image
VALROK asked jarnie answered

Custom max distance on custom light sources?

Is there a way of controlling the max distance from which a custom light source (spot light from Blender in this case) is visible in MSFS?

Wattage and the "custom distance"-option doesn't seem to do much in terms of how far my flashing spotlights are visible. I need it to be visible from approximately 7-10 km away. It is currently "only" visible from 2 km out.

scenerylightblender
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image
FlyingRaccoon answered FlyingRaccoon rolled back

Hello.

"FlightSimLights" have no range parameter. It's handled on engine side and can't be configured at the moment.

Lights (flightsimulator.com)

Regards,
Sylvain

3 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Hello Sylvain,

Thank you for your reply. It's sad that one cannot adjust the range by an effect of the light source (like in real life) - Wattage > Lumen = Range, essentially. This does not seem to apply in MSFS.

Blender, as you probably already know, does not have the same selections available. I cannot choose the object type in the same way as in 3Ds Max, so the custom light source is just a regular spotlight.

Perhaps the engine's range-interpretation of custom light sources could be "parented" to the "wattage" (in Blender)/intensity (in 3Ds Max), that is being transfered into the .gltf-file?

1 Like 1 ·
Hello again Sylvain,

Are you planning on implementing such a feature as described and requested with custom view-distance of custom light-sources?

This applies mainly for non-airport projects that adds collision lights to buildings/structures, as this is where we need to be able to see the lights from further away.


Thanks in advance!

0 Likes 0 ·

Hello.

Nothing planned at the moment.
We are going towards exposing scenery features outside airports so lights could be considered as well.
I suggest you create an idea to describe your needs and have it upvoted.

Regards,
Sylvain

1 Like 1 ·
Sasa avatar image
Sasa answered Sasa commented

If it's an airport try to build your own LightPresets within the airport.

Those are light dots with lots of different settings you can try. There's no distance parameter neither as far as I know but depending on their intensity, direction etc. they may be adjustable to be visible for a much greater distance.

Just an idea.

6 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Thank you for your tip. This is sadly not for an airport build, but just a "landmark", "Sightseeing" build, so I am not able to utilize those presets.
1 Like 1 ·
Same here. I'd love to be able to add proper obstacle lights for my objects, but without access to something like these LightPresets it's not possible.
0 Likes 0 ·

In theory you could create a fake airport closeby that has an invisible runway and is set as CLOSED=TRUE so it doesn't become visible anywhere. But you'd need to be aware that in doing so you would block an ICAO code. Which makes this something that should only be done with VERY careful consideration.

I'm not sure however if the closed tag would make the lights invisible as well.

0 Likes 0 ·
Show more comments
WildLynxAir avatar image
WildLynxAir answered

I have made several lighthouses along the Finnish south coast. The lights can be added, blinking or rotating in Blender. But there seems to be no way of making them visible for more than 1-2km away. Lighthouse lights should be visible for several nautical miles, some even more than 10 nm. The same problem applies to warning lights on buildings and high masts etc.

We really need a way to control the visibility distance of such lights. In Blender it would be easiest to let the wattage of the light control the distance, imho.


10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

jarnie avatar image
jarnie answered

A way to ensure a (small) scenery object (such as the lighthouse blinking light) stays displayed when it is displayed at a distance is to 'fool' MSFS into 'thinking that the scenery object is larger than it is.

This can be achieved (using Blender) by adding a mesh plane to the scenery object and place it below your scenery object and set the MSFS material to MSFS INVISIBLE and then joining all the meshes into one (select All meshes then press ctrl J).

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.