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

Effect emitting other effect

Messages
216
Trying to setup an effect that emits effects (instead of particles), using the following syntax (edit of the default FSX fx_flare.fx)

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

[Properties]

[Emitter.0]
Lifetime=1000.00, 1000.00
Delay=0.00, 0.00
Bounce=0.00
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=0.00, 0.00
Bank=0.00, 0.00
Heading=0.00, 0.00

[Particle.0]
Name=user_flashrabbit.fx
Type=26
EmittedEffectName=user_flashrabbit.fx

[ParticleAttributes.0]

But nothing is rendered (the effect is placed with ADE).
The effect that is called is checked and it is visible when placed directly.

Any idea what would be wrong with it?
 
Hello:

One can see in the FS default Fireworks Effects *.FX files, a sophisticated example of how to have Effects "call" other Effects. :idea:


However, more to your apparent goal, try using the FSX SDK Special Effects Tool (aka "FX Tool" aka "VisualFX.DLL") in a live FSX flight.


I suggest doing this from a locked spot view using a small aircraft.

Better yet, use Jim Robinson's excellent "2.5 Meter" addition to the Finney Cross Hairs Plus (aka "CH+") aircraft): :spushpin:

http://www.fsdeveloper.com/forum/showpost.php?p=630847&postcount=6



1.) Open an example *.FX file ex: [FSX install path]\Effects\fx_CampFire.fx

2.) Check "Emit Effect" (browse dialog opens)

3.) Select another highly visible example *.FX file ex: [FSX install path]\Effects\fx_Flashbulb.fx

4.) Click "Do Effect"

5.) Navigate: FX Tool Menu > File > Save As, then save as ex:

[FSX install path]\Effects\fx_CampFire_Emit_Flashbulb.fx


6.) 'Exit' Fx Tool

a.) Re-open Fx Tool

b.) Load "[FSX install path]\Effects\fx_CampFire_Emit_Flashbulb.fx"

c.) Click "Do Effect"; verify it is working the same as when when configured, tested, and saved as a new *.FX file

7.) Open and compare code structure in both *.FX files:

[FSX install path]\Effects\fx_CampFire.fx

...and:

[FSX install path]\Effects\fx_CampFire_Emit_Flashbulb.fx


8.) Note how FX Tool modified the code structure ;)


Hope this helps ! :)

GaryGB
 
Last edited:
Back
Top