LOL
On another note. I'm trying to add sounds with the Rhumbaflappy method: Dick Ludowise (aka "Rhumbaflappy") posted an interesting example demonstrating how sound effects may be implemented without a controller-type file, instead just using a XML placement BGL with a "basic" sound *.FX file here:
http://www.fsdeveloper.com/forum/showthread.php?t=19185&highlight=effect.I used his example and his example worked. I edited the xml placement file to reflect a new location to place the sound but alas no sound showed up.
This is the xml file edited only for the new location:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Created by Scenery Design Engine (SDE) on 10-Oct-15 -->
<FSData
version="9.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<SceneryObject
lat="59.103025496006"
lon="-138.427633345127"
alt="0.0M"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="4.5648193359375"
imageComplexity="SPARSE">
<Effect
effectName="sfx_Chickens"
effectParams=""/>
</SceneryObject>
</FSData>
And this is the unedited fx file
[Library Effect]
Lifetime=5
Version=2.00
Radius=-1
Priority=0
[Sound]
FileName=barn_fx.wav
MinAttenuationDistance=50.00
Looping=TRUE
[Properties]
Spot=1
Tower=1
[Emitter.0]
Lifetime=0.00, 0.00
Delay=0.00, 0.00
Bounce=0.00
Rate=0.01, 0.01
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=0.01, 0.01
Type=19
X Scale=0.01, 0.01
Y Scale=0.01, 0.01
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.30, 0.60
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Fade In=0.30, 0.30
Fade Out=0.71, 0.71
Rotation=0.00, 0.00
Ground Normal=1
Face=0, 0, 0
[ParticleAttributes.0]
Blend Mode=1
Texture=fx_aurora.bmp
Bounce=0.00
Color Start=255, 255, 255, 1
Color End=255, 255, 255, 1
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
uv2=1.00, 1.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
I've recompiled the xml placement with new location info. Find them on google drive here:
https://drive.google.com/file/d/0B2fiB2sLcJNQM1lMbEJ1RHRHVGs/view?usp=sharingPlease can someone please take a look at themb to check if the code is okay, and test the bgl. All is in the compressed file including a situation file.
Thanks for any pointers!
Rob