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

Airport Sound

Messages
9
Country
spain
Hello Everyone.
This is my first post in this forum.:wave:

Some time ago I'm trying to make a sound to be heard in an airport. But I do not get it :banghead:

For example: in Gibraltar airport (made by Aerosoft ) the sound of birds are heard.

I just want you at an airport a sound is heard.

Please help.

Regards.
 
Take a look here if could be of help http://www.google.es/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjttZH9iajOAhXDVhoKHdOWCyEQFggoMAA&url=http://www.fsdeveloper.com/forum/threads/do-you-know-how-to-add-custom-audio-at-your-airport.19020/&usg=AFQjCNEej55blcJqONla2nlCv50w6Ub_Lg
here a thread in Avsim, they talk about an effect and a XML file for placement
http://www.google.es/url?sa=t&rct=j...s-fsx/&usg=AFQjCNHCcXRaiNTe7eE9jIeNoY7EHcywNg
the only addon I have Heard those custom sounds is in the Nimith carrier. and thougt is was cool. and how could it be done.
Good luck
 
Last edited:
I tried yesterday, but it did not work.

Look at my code:


in the " Sound" folder of p3d i have this file: Sonido.wav

XML:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData
   version="9.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<!-- GHD_Barn_Fx_Obj_Plc-2.bgl -->

   <SceneryObject
      lat="38.28623972665008"
      lon="-0.5553165078163147"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="VERY_SPARSE">
      <Effect
         effectName="Cntrl_Sonido.fx"
         effectParams=""/>
   </SceneryObject>

</FSData>

Cntrl_Sonido.fx:

Code:
[Library Effect]
Lifetime=5
Version=3.00
Display Name=Sonido
Radius=200
Priority=0

[controller.0]
Lifetime=0.00, 0.00
Type=0
Delay=[B]3.00, 3.00[/B]
effect.0=fx_Sonido

fx_Sonido.fx:

Code:
[Library Effect]
Lifetime=5
Version=3.00
Display Name=Sonido
Radius=100
Priority=0

[Sound]
Looping=TRUE
MinAttenuationDistance=100.00
FileName=[B]Sonido.wav[/B]

[Properties]
Cockpit=1
VirtualCockpit=1
Spot=1
Tower=1
Map=1

[Emitter.0]
Lifetime=[B]3.00, 3.00[/B]
Rate=0.01, 0.01
 
Joe W posted some samples:
Basically you need a sound file, an effect file for that sound, If you have more than on sound, you need a controller, then you need an XML to place it. this is just like placing a object.
This is for one sound:
< ?xml version="1.0" encoding="ISO-8859-1"?>
< FSData version="9.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bglcomp.xsd">

<SceneryObject lat="55.118049" lon="-130.316691" alt="0" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="NORMAL">
<Effect effectName="fx_Gulls3" />
< /SceneryObject>

To add another sound just place another object. Effect Params can be added to the line with the effect name.

Next is the FX file:
[Library Effect]
Lifetime=5
Version=2.00
Radius=24
Priority=1
[Sound]
FileName=gulls3.wav
MinAttenuationDistance=75.00
Looping=TRUE

[Properties]
Cockpit=1
VirtualCockpit=1
Spot=1
Tower=1
Map=1

[Emitter.0]
Lifetime=0.00, 0.00
Delay=0.50, 0.50
Bounce=0.00
Rate=5.00, 10.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.20, 0.20
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=1.00, 2.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

The emmitter area has to be there or it wont work. The radius= ## is in meters. this is explained in the effects SDK.
The MinAttenuationDistance= is also in meters and it's the maximum distance it will be heard. this wont work unless you have a controller.

The controller:
[Library Effect]
Lifetime=5
Version=1.00
Radius=200
Priority=0

[controller.0]
lifetime=1.00, 1.00
type=3
delay=10.00, 10.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_Gulls3, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
effect.1=fx_RRL_Wolf, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
effect.2=fx_HDH_Wolf, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00

it's for three sound placement. don't know if it help, is the same guy on the Avsim thread that posted an exemple file there.
Sorry but the effect managment is something I couldn't control very well yet I've tried but i get lost soon
good luck.
 
the controller is if you want to place more than one sound.
Anyway I would check the name of the objects, it seem to me something is wrong with them.
 
Muy bueno ¡ podrías explicar un poco donde estaba el fallo y como es la cosa. puede ser interesante añadir sonidos propios a los escenarios Es como dije antes esto de los efectos no me acabo de aclarar. saludos.
 
This is the code that works perfectly:
*The sound " Sonido.wav " is within the sound folder.

XML:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData
   version="9.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="bglcomp.xsd">

   <SceneryObject
      lat="38.28623972665008"
      lon="-0.5553165078163147"
      alt="0.0M"
      altitudeIsAgl="TRUE"
      pitch="0"
      bank="0"
      heading="0"
      imageComplexity="NORMAL">
      <Effect
         effectName="fx_Sonido.fx"/>
   </SceneryObject>

</FSData>

Cntrl_Sonido.fx:
Code:
[Library Effect]
Lifetime=5
Version=1.00
Radius=200
Priority=0

[controller.0]
lifetime=1.00, 1.00
type=3
delay=10.00, 10.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_Sonido, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00

fx_Sonido.fx:
Code:
[Library Effect]
Lifetime=5
Version=2.00
Radius=24
Priority=1
[Sound]
FileName=Sonido.wav
MinAttenuationDistance=75.00
Looping=TRUE

[Properties]
Cockpit=1
VirtualCockpit=1
Spot=1
Tower=1
Map=1

[Emitter.0]
Lifetime=0.00, 0.00
Delay=0.50, 0.50
Bounce=0.00
Rate=5.00, 10.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.20, 0.20
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=1.00, 2.00

MUCHAS GRACIAS Tejal Bernardo
;)
 
Back
Top