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

FSXA Scenery SFX

Messages
1,964
Country
unitedkingdom
Bashing me head against a wall here:

EFFECT


[Library Effect]
Lifetime=5
Version=2.00
Radius=-1
Priority=0
[Sound]
FileName=SXAD_Bird_Song.wav
MinAttenuationDistance=200
Looping=TRUE

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

[Emitter.0]
Lifetime=95.656, 95.656
Delay=0.00, 0.00
Bounce=0.00
No Interpolate=1
Rate=15.00, 25.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=-1.00, 1.00
Y Particle Velocity=5.00, 8.00
Z Particle Velocity=-1.00, 1.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


CONTROLLER

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

[controller.0]
lifetime=0.00, 0.00
type=3
distance=600.00, 600.00
delay=26.656, 26.656
x offset=0.00, 0.00
y offset=0.00, 0.00
z offset=0.00, 0.00
effect.0=SXAD_SFX_FOREST_AMB.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00


XML PLACEMENT
<?xml version="1.0" encoding="ISO-8859-1"?>

-<FSData xsi:noNamespaceSchemaLocation="bglcomp.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="9.0">

<!-- GHD_Barn_Fx_Obj_Plc.bgl -->



-<SceneryObject imageComplexity="VERY_SPARSE" heading="0" bank="0" pitch="0" altitudeIsAgl="TRUE" alt="0.0M" lon="-76.201101" lat="36.902320">

<Effect effectParams="" effectName="Cntrl_SXAD_Forest_Ambience.fx"/>

</SceneryObject>

</FSData>



Why isn't this working?

I've the Effect and Controller are exactly the same as a library one with the names changed.​
 
Looking at the SDK should this

<Effect effectParams="" effectName="Cntrl_SXAD_Forest_Ambience.fx"/>

be this

<Effect effectName="Cntrl_SXAD_Forest_Ambience"/>

Effect params are for day month year etc.?

edit

and:

effect.0=SXAD_SFX_FOREST_AMB.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00

without.fx

effect.0=SXAD_SFX_FOREST_AMB, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00

http://www.fsdeveloper.com/forum/threads/do-you-know-how-to-add-custom-audio-at-your-airport.19020/


review where your sound file is.
 
Last edited:
Whoops I fumbled that <Effect effectParams="" effectName="Cntrl_SXAD_Forest_Ambience.fx"/> at the last minute while re-doing that.

The example I saw from ORBX had it with .fx, although I did read in that other thread to have it without.

Changed both of these and it still don't work.

Sounds files in fsx/sounds @ 22.5khz wav.
 
Whoops I fumbled that <Effect effectParams="" effectName="Cntrl_SXAD_Forest_Ambience.fx"/> at the last minute while re-doing that.

The example I saw from ORBX had it with .fx, although I did read in that other thread to have it without.

Changed both of these and it still don't work.

Sounds files in fsx/sounds @ 22.5khz wav.

Do the filenames match?

Cntrl_SXAD_Forest_Ambience.fx

SXAD_SFX_FOREST_AMB.fx


Missing an _SFX_ in the controller?

I'm just guessing here. Post the files - see if someone else can get it to work.
Should the effect be attached to something?

Tried the effect in a different location other than the airport you are trying to use?
Sorry not an effects expert.

edit

Is there something you can put in the fsx.cfg to allow the error to get logged? Can't remember but you can in P3D

ContentErrorLogging

edit2

this a fumble?

-<
 
Last edited:
Back
Top