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

Controller .fx question

Messages
52
Hi again. Just had a quick question re the controller file for sound.fx files

I have spent the weekend creating a heap of 70's style airport announcements, which would suit any European Airport. After instruction from this forum, I originally created one long announcement, worked out how to place it, and it worked a treat. I then thought the idea of randomly played separate files would sound more realistic. I have created all the .wav files, all the **.fx files and a controller file as below:

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

[controller.0]
lifetime=0.00, 0.00
type=1
Random Count=1, 1
distance=10.00, 10.00
delay=5.00, 15.00
x offset=0.00, 0.00
y offset=0.00, 0.00
z offset=0.00, 0.00
effect.0=Departures Aer Lingus Belfast.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
effect.1=Departure CourtLine Corfu.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
effect.2=Departures Aer Lingus Cork.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
effect.3=Departures Air France Orly.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
effect.4=Departures Alitialia Milan Malpensa, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
effect.5=Departures Aviogenex Belgrade.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
effect.6=Departures BEA Edinburgh.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
effect.7=Departures BEA Lisbon.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
effect.8=Departures BEA Malaga.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00

<snip>

There are no other entries below the effect.* in this file

Below is one example of one of the .fx files:

[Library Effect]
Lifetime=5
Version=2.00
Display Name=Departures BEA Edinburgh
Radius=30
Priority=0

[Sound]
FileName=Departures BEA Edinburgh.wav
MinAttenuationDistance=5
Looping=False

[Properties]

[Emitter.0]
Lifetime=119.00, 119.00
Delay=0.00, 0.00
Bounce=0.00
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]
Lifetime=119.00, 119.00
Type=19
X Scale=1.00, 1.00
Y Scale=1.00, 1.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.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Rotation=0.00, 0.00
Face=0, 0, 0

[ParticleAttributes.0]
Blend Mode=0
Bounce=0.00
Color Start=0, 0, 0, 0
Color End=0, 0, 0, 0
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
uv2=0.00, 0.00
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00


On firing up the controller file in FX Editor, each time I run it or press reload effect, a different announcement plays, so it appears the "randomness" appears to be working, as is the distance from the effect is heard, so all good there.

The only issue I am having is one plays then, 2 secs later, another one starts up, and a few seconds later again, yet a different one starts up, so I'm almost there

I have a feeling it may be something to do with the items in RED in my controller file, but not sure

Ideally I would like them to play, randomly, singly, between 5 and 15 mins, ideally

Thanks for any help here! (again) :)

Cheers

Chris

As an aside, they have all been uploaded to FS.Com so should appear in a day or two. If you have a use for them, help yourself! (Manchester 1970 announcements.zip)
 
Messages
34
Country
france
Hi statesman
actually these parameters are "delay min, delay max"
If you want the reading to be random, the numbers must be different for exemple:
effect.0=Departures Aer Lingus Belfast.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 5.00
Please note, these are not minutes but time units (Thanks JantjeBas)
 
Last edited:
Messages
52
Hi mindstorm, and thanks for your quick reply.

So I set all the effect.* entries with 0.00, 5.00 at the end? or does there have to be variations of on each one ie:

effect.0=Departures Aer Lingus Belfast.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 5.00
effect.1=Departures CourtLine Corfu.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 8.00

Do all the lines of text look ok in the controller file?, as I have been messing around with the text in red most of the day trying to get it to work, LoL

Thanks

Chris
 
Messages
34
Country
france
Hi Chris
I cannot tell you precisely because I am not a controller specialist, I am currently fighting just with the light effects. In your place I will try to put delays that follow each other
effect.0=Departures Aer Lingus Belfast.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 5.00
effect.1=Departures CourtLine Corfu.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 5.00, 8.00
and then overlap.
effect.0=Departures Aer Lingus Belfast.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 5.00
effect.1=Departures CourtLine Corfu.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 8.00

good luck
 
Top