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

Signal lights to switch off when approaching them

Messages
453
Country
austria
Hu, that was a long title.

I love to work with MDL-Tweaker. So I decided to add a signal light which has to be switched off in a certain distance. I want so simulate the lights aside the stopbars in LOWS. In real they are switched off by the controller after the clearance to line up. Same for the lights on the ground.

My idea is that the lights should vanish when the plane is about 50 m in front of the stopar. So I used the "Distance to Reference Point" and set the values to 50 meters (minimum) and 300 meters (maximum).

But this does not work. The lights are not switched off. Could perhaps somebody give me a hint?

Kind regards
gianni
 
Hi Gianni,

The distance is measured from the reference point, are you sure that is close enough to your lights? Also how did you place the lights?
 
This is also something I am looking for.. to have an effect turn (off) at a ceartain distance as you approach it..Mdl tweaker only conditions the object the effect is attached to to disappear but the effect will remain.. an effect controller seems to be the way but the (distance) parameter does not work like mdl tweaker ..it seems to be from the ref point and outward only
 
It is not possible to condition effects with the code I use in MDL Tweaker, so your only option to apply conditions to an effect is to use the code in the fx file. I am no export on effect files, so can't really say what kind of conditions are possible there.
 
My idea is that the lights should vanish when the plane is about 50 m in front of the stopar. So I used the "Distance to Reference Point" and set the values to 50 meters (minimum) and 300 meters (maximum).

Did you use the cockpit-view when checking this? If you use the spot-mode this could indeed be a refpoint-problem as FS then uses the spotview-refpoint and not the aircraft-refpoint.

...but the effect will remain.. an effect controller seems to be the way...
I think this can be done without a controller. It may important that the lifetime of a sprite is limited so it really vanishes when the emitter stops. What kind of fx do you use? If it is a default light-fx the emitter shuts down aftere emitting the first sprite, which then exists forever (well...:D).
 
Pumping up this thread...

I got really stuck with this issue.

Again - in GMAX I made a model which contains seven lights (tiny boxes with a controller each applied which triggers effects). The effects are the genuine navredh-effects from FS9.

My idea is to "switch" this model into a similar one with green lights when the plane is approaching the stopbar.

With mdl-tweaker 2 I applied a condition (distance to ref-point between 20m and 1000m).

But the first mentioned model does not disappear. What is wrong - is it simply a logical error?

still confused....
gianni
 
Ok. I got it.

MDL-Tweaker commands do not work with effects, as far as I see. I used a LIGHT_NAV material instead and now everything is fine.

greetz
 
Hi Gianni,

That is correct. Effects are in a different section of the MDL file and they can not be conditioned.
 
Back
Top