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

Triggering effect at a fixed distance froma aircraft

Messages
5
I have been trying to get my explosion effect to only show when the aircraft is within 500m from the spot, but I continue to see the explosion from miles away
To date I have tried creating a trigger box in G-Max, as well as creating a control for the effect, but have not been able to get the desired result
Is there anyone that could possible help me with this?

Thanks
André
 
open the fx file and see what's really going on. it gets messed up during trial and error. Even better post the code so we could see whats happening:cool:
 
wako1
Thanks for the reply.

I think the problem lies with the controller, it doesn't seem to do anything.

In my effect I changed the emitter lifetime from Lifetime=0.10, 0.12 to Lifetime=0.00, 0.00
This way it stays on and I was hoping that it could then be switched on by the controller when the aircraft is at a certain distance from it.

Changing the values back from 0.00 to anything else, results in the effect spawning when FS is switched on and never again.
The same happens if I use any of the default effects and create a controller for it

This is what my controller looks like:
[Library Effect]
Lifetime=5
Version=1.00
Radius=300
Priority=0

[controller.0]
lifetime=0.0, 0.0
type=3
distance=300.00, 300.00
x offset=0.00, 0.00
y offset=0.00, 0.00
z offset=0.00, 0.00
random count=0, 0
effect.0=fx_explosion, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
 
hmmm looks actually correct! one more change you might try is .....

[Library Effect]
Lifetime=5.00,5.00

instead of
[Library Effect]
Lifetime=5

are you using fs9 or fsx?
 
Thanks, will give that a try

I am using both Fs9 and FSX and have set up different effects for each, but thus far no success on the trigger:confused:
 
Back
Top