I am having trouble getting a player to execute the PlayFlute animation AND play the flute sound.
These are the lines I am dealing with. I have tried:
AssignCommand(oPC, PlaySound("as_cv_flute1", TRUE));
AssignCommand(oPC, PlayAnimation(ANIMATION_LOOPING_FLUTEPLAY, 1.0, 2.9));
and
PlaySound("as_cv_flute1", TRUE);
AssignCommand(oPC, PlayAnimation(ANIMATION_LOOPING_FLUTEPLAY, 1.0, 2.9));
This is currently firing the animation, but the sound is not played.
Prior I had the sound working but not the animation. Fixing the animation stopped the sound. I am not sure how to get both to happen at the same time?
Please help
sounds and animations
Débuté par
Quilistan
, oct. 25 2011 01:24
#1
Posté 25 octobre 2011 - 01:24
#2
Posté 25 octobre 2011 - 02:25
You might have to delay one of the commands slightly:
AssignCommand(oPC, PlayAnimation(ANIMATION_LOOPING_FLUTEPLAY, 1.0, 2.9));
DelayCommand(0.1, AssignCommand(oPC, PlaySound("as_cv_flute1", TRUE)));
Assigning the animation first might also help. Throwing in a ClearAllActions() before the two can't hurt either.
AssignCommand(oPC, PlayAnimation(ANIMATION_LOOPING_FLUTEPLAY, 1.0, 2.9));
DelayCommand(0.1, AssignCommand(oPC, PlaySound("as_cv_flute1", TRUE)));
Assigning the animation first might also help. Throwing in a ClearAllActions() before the two can't hurt either.
#3
Posté 25 octobre 2011 - 03:03
Thanks for the reply
I got that in and still no luck. The script fires, the animations run, but there is no flute sound.
actual script:
I got that in and still no luck. The script fires, the animations run, but there is no flute sound.
actual script:
#include "x2_inc_switches"
void main()
{
int nEvent = GetUserDefinedItemEventNumber();
if (nEvent == X2_ITEM_EVENT_ACTIVATE)
{
object oPC = GetItemActivator();
object oFlute = GetItemActivated();
//object oCaster = oPC;
object oTarget;
location lTarget;
object oArea = GetArea(oPC);
//Check for illegal uses
if (GetIsInCombat(oPC) == TRUE) return;
if (GetTag(oArea) == "hcr2_fugue") return;
//Setup teleport
oTarget = GetItemActivatedTarget();
lTarget = GetLocation(oTarget);
object oDestination = GetWaypointByTag("dst_TFW2_ATwest");
location lDestination = GetLocation(oDestination);
//Play Flute animation and sound
ClearAllActions();
AssignCommand(oPC, PlayAnimation(ANIMATION_LOOPING_FLUTEPLAY, 1.0, 2.9));
DelayCommand(0.1, AssignCommand(oPC, PlaySound("as_cv_flute1", TRUE)));
DelayCommand(2.9, AssignCommand(oPC, PlayAnimation(ANIMATION_FIREFORGET_FLUTEIDLEFIDGET, 1.0)));
// Fire teleport FX
DelayCommand(3.1, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectNWN2SpecialEffectFile("fx_teleport_new"), lTarget));
//Jump Player
DelayCommand(3.2, AssignCommand(oTarget, ActionJumpToLocation(lDestination)));
}
}
#4
Posté 25 octobre 2011 - 03:49
The way I manage it, I place a sound object in the area next to the flute player, with a unique tag and the flute sounds attached, and set to inactive. Then I use GetNearestObjectByTag in the script to set the sound object, and PlaySoundObject to start the thing playing.
I think the problem with PlaySound is that it plays the sound as a mono sound too softly to be heard by the PC (really, the floating camera).
I think the problem with PlaySound is that it plays the sound as a mono sound too softly to be heard by the PC (really, the floating camera).
#5
Posté 25 octobre 2011 - 04:18
Thanks Yep, I have used that approach in another area. Problem with this one is it fires when an item is activated. It is a flute that when played (from any, but a couple areas) will teleport the player to the forest. It is a PW item.
The strange this is if I take the animations out, the sound is played just fine.
Would creating the sound object at the players location, then destroying it after it has played be a viable solution? or is there a better/more efficient way?
The strange this is if I take the animations out, the sound is played just fine.
Would creating the sound object at the players location, then destroying it after it has played be a viable solution? or is there a better/more efficient way?
#6
Posté 25 octobre 2011 - 04:46
If you've gotten it to play without the animation, I'm guessing the animation itself is conflicting with the sound. You might try spawning an i-point at the PC's location and then playing the sound off the i-point.
You could also have a short cutscene convo with the flute sound added as a node sound.
You could still do it with a placeable sound, just set the sound object to be non-positional and place a copy in every area. Just make sure to set the object as inactive afterwards.
You could also have a short cutscene convo with the flute sound added as a node sound.
You could still do it with a placeable sound, just set the sound object to be non-positional and place a copy in every area. Just make sure to set the object as inactive afterwards.
#7
Posté 25 octobre 2011 - 02:43
You could also experiment with using PlayCustomAnimation() instead of PlayAnimation() and see if that works better with the sound.
You have to use different parameters, though. Check the NWN2 wiki for the names of the different custom animations.
You have to use different parameters, though. Check the NWN2 wiki for the names of the different custom animations.
Modifié par M. Rieder, 25 octobre 2011 - 02:43 .
#8
Posté 25 octobre 2011 - 10:29
The problem seems to be noted here:
http://nwn2.wikia.com/wiki/PlaySound
"PlaySound does not play while you have an action enqueued. Any action at all. For example, if you have three actions enqueued it will wait for all three to end before it executes"
http://nwn2.wikia.com/wiki/PlaySound
"PlaySound does not play while you have an action enqueued. Any action at all. For example, if you have three actions enqueued it will wait for all three to end before it executes"
#9
Posté 26 octobre 2011 - 01:34
Thanks DannJ, that is exactly what I needed! such funny things we have to do as builders sometimes to "play a flute".
This will get the job done though.
This will get the job done though.
#10
Posté 26 octobre 2011 - 04:00
Put the sound into a visual effect with the SEF editor, and apply that to the target. That is how i did lightning and thunder.
// example sef ( yes they are just xml files )
// fx_enviro_thunderlightening.SEF
[code=auto:0]
<?xml version="1.0"?>
<EventList>
<Name>
</Name>
<MaxDuration>0</MaxDuration>
<SpecialTargetPosition>0</SpecialTargetPosition>
<FogMultiplier>1</FogMultiplier>
<Event0>
<Type>8</Type>
<Name>al_wt_distantthunder_01</Name>
<DefinitionFile>al_wt_distantthunder_01.wav</DefinitionFile>
<DelayTime>0</DelayTime>
<MaxDuration>6</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event0>
<Event1>
<Type>8</Type>
<Name>al_wt_distantthunder_03</Name>
<DefinitionFile>al_wt_distantthunder_03.wav</DefinitionFile>
<DelayTime>6</DelayTime>
<MaxDuration>13</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event1>
<Event2>
<Type>8</Type>
<Name>al_en_thunder_dist_01</Name>
<DefinitionFile>al_en_thunder_dist_01.wav</DefinitionFile>
<DelayTime>19</DelayTime>
<MaxDuration>6</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event2>
<Event3>
<Type>8</Type>
<Name>al_en_thunder_dist_02</Name>
<DefinitionFile>al_en_thunder_dist_02.wav</DefinitionFile>
<DelayTime>25</DelayTime>
<MaxDuration>5</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event3>
<Event4>
<Type>8</Type>
<Name>al_en_thunder_dist_03</Name>
<DefinitionFile>al_en_thunder_dist_03.wav</DefinitionFile>
<DelayTime>30</DelayTime>
<MaxDuration>14</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event4>
<Event5>
<Type>8</Type>
<Name>as_wt_thunderds3</Name>
<DefinitionFile>as_wt_thunderds3.wav</DefinitionFile>
<DelayTime>44</DelayTime>
<MaxDuration>7</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event5>
<Event6>
<Type>8</Type>
<Name>as_wt_thunderds4</Name>
<DefinitionFile>as_wt_thunderds4.wav</DefinitionFile>
<DelayTime>51</DelayTime>
<MaxDuration>9</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>1</SoundLoops>
</Event6>
<Event7>
<Type>11</Type>
<Name>light5</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>5</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>250</x>
<y>250</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>1</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event7>
<Event8>
<Type>11</Type>
<Name>light10</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>10</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>0</x>
<y>250</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>2</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event8>
<Event9>
<Type>11</Type>
<Name>light15</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>15</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>250</x>
<y>0</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>2</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event9>
<Event10>
<Type>11</Type>
<Name>light19</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>19</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>0</x>
<y>-250</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>2</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event10>
<Event11>
<Type>11</Type>
<Name>light25</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>25</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>-250</x>
<y>0</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>2</FlickerType>
<LightRange>300</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event11>
<Event12>
<Type>11</Type>
<Name>light30</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>30</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>0</x>
<y>250</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>1</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event12>
<Event13>
<Type>11</Type>
<Name>light45</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>45</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>-250</x>
<y>0</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>1</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event13>
<Event14>
<Type>11</Type>
<Name>light55</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>55</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>0</x>
<y>250</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>1</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event14>
<Event15>
<Type>6</Type>
<Name>LightningA5</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>5</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event15>
<Event16>
<Type>6</Type>
<Name>LightningB5</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>5.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event16>
<Event17>
<Type>6</Type>
<Name>LightningA10</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>10</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event17>
<Event18>
<Type>6</Type>
<Name>LightningB10</Name>
<DefinitionFile>fx_enviro_lightning4.bbx</DefinitionFile>
<DelayTime>10.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event18>
<Event19>
<Type>6</Type>
<Name>LightningA15</Name>
<DefinitionFile>fx_enviro_lightning5.bbx</DefinitionFile>
<DelayTime>15</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event19>
<Event20>
<Type>6</Type>
<Name>LightningB15</Name>
<DefinitionFile>fx_enviro_lightning6.bbx</DefinitionFile>
<DelayTime>15.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event20>
<Event21>
<Type>6</Type>
<Name>LightningA19</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>19</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event21>
<Event22>
<Type>6</Type>
<Name>LightningB19</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>19.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event22>
<Event23>
<Type>6</Type>
<Name>LightningA25</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>25</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event23>
<Event24>
<Type>6</Type>
<Name>LightningB25</Name>
<DefinitionFile>fx_enviro_lightning4.bbx</DefinitionFile>
<DelayTime>25.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event24>
<Event25>
<Type>6</Type>
<Name>LightningA30</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>30</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event25>
<Event26>
<Type>6</Type>
<Name>LightningB30</Name>
<DefinitionFile>fx_enviro_lightning5.bbx</DefinitionFile>
<DelayTime>30.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event26>
<Event27>
<Type>6</Type>
<Name>LightningA45</Name>
<DefinitionFile>fx_enviro_lightning6.bbx</DefinitionFile>
<DelayTime>45</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event27>
<Event28>
<Type>6</Type>
<Name>LightningB45</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>45.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event28>
<Event29>
<Type>6</Type>
<Name>LightningA55</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>55</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event29>
<Event30>
<Type>6</Type>
<Name>LightningB55</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>55.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event30>
<Event31>
<Type>6</Type>
<Name>LightningA5</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>4</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event31>
<Event32>
<Type>6</Type>
<Name>LightningB5</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>4.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event32>
<Event33>
<Type>6</Type>
<Name>LightningA10</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>7</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event33>
<Event34>
<Type>6</Type>
<Name>LightningB10</Name>
<DefinitionFile>fx_enviro_lightning4.bbx</DefinitionFile>
<DelayTime>17.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event34>
<Event35>
<Type>6</Type>
<Name>LightningA15</Name>
<DefinitionFile>fx_enviro_lightning5.bbx</DefinitionFile>
<DelayTime>13</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event35>
<Event36>
<Type>6</Type>
<Name>LightningB15</Name>
<DefinitionFile>fx_enviro_lightning6.bbx</DefinitionFile>
<DelayTime>13.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event36>
<Event37>
<Type>6</Type>
<Name>LightningA19</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>18</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event37>
<Event38>
<Type>6</Type>
<Name>LightningB19</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>18.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event38>
<Event39>
<Type>6</Type>
<Name>LightningA25</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>28</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event39>
<Event40>
<Type>6</Type>
<Name>LightningB25</Name>
<DefinitionFile>fx_enviro_lightning4.bbx</DefinitionFile>
<DelayTime>28.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event40>
<Event41>
<Type>6</Type>
<Name>LightningA30</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>33</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event41>
<Event42>
<Type>6</Type>
<Name>LightningB30</Name>
<DefinitionFile>fx_enviro_lightning5.bbx</DefinitionFile>
<DelayTime>33.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event42>
<Event43>
<Type>6</Type>
<Name>LightningA45</Name>
<DefinitionFile>fx_enviro_lightning6.bbx</DefinitionFile>
<DelayTime>43</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event43>
<Event44>
<Type>6</Type>
<Name>LightningB45</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>43.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event44>
<Event45>
<Type>6</Type>
<Name>LightningA55</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>58</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event45>
<Event46>
<Type>6</Type>
<Name>LightningB55</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>58.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachm
// example sef ( yes they are just xml files )
// fx_enviro_thunderlightening.SEF
[code=auto:0]
<?xml version="1.0"?>
<EventList>
<Name>
</Name>
<MaxDuration>0</MaxDuration>
<SpecialTargetPosition>0</SpecialTargetPosition>
<FogMultiplier>1</FogMultiplier>
<Event0>
<Type>8</Type>
<Name>al_wt_distantthunder_01</Name>
<DefinitionFile>al_wt_distantthunder_01.wav</DefinitionFile>
<DelayTime>0</DelayTime>
<MaxDuration>6</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event0>
<Event1>
<Type>8</Type>
<Name>al_wt_distantthunder_03</Name>
<DefinitionFile>al_wt_distantthunder_03.wav</DefinitionFile>
<DelayTime>6</DelayTime>
<MaxDuration>13</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event1>
<Event2>
<Type>8</Type>
<Name>al_en_thunder_dist_01</Name>
<DefinitionFile>al_en_thunder_dist_01.wav</DefinitionFile>
<DelayTime>19</DelayTime>
<MaxDuration>6</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event2>
<Event3>
<Type>8</Type>
<Name>al_en_thunder_dist_02</Name>
<DefinitionFile>al_en_thunder_dist_02.wav</DefinitionFile>
<DelayTime>25</DelayTime>
<MaxDuration>5</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event3>
<Event4>
<Type>8</Type>
<Name>al_en_thunder_dist_03</Name>
<DefinitionFile>al_en_thunder_dist_03.wav</DefinitionFile>
<DelayTime>30</DelayTime>
<MaxDuration>14</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event4>
<Event5>
<Type>8</Type>
<Name>as_wt_thunderds3</Name>
<DefinitionFile>as_wt_thunderds3.wav</DefinitionFile>
<DelayTime>44</DelayTime>
<MaxDuration>7</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>0</SoundLoops>
</Event5>
<Event6>
<Type>8</Type>
<Name>as_wt_thunderds4</Name>
<DefinitionFile>as_wt_thunderds4.wav</DefinitionFile>
<DelayTime>51</DelayTime>
<MaxDuration>9</MaxDuration>
<Position>
<x>0</x>
<y>0</y>
<z>0</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<SoundLoops>1</SoundLoops>
</Event6>
<Event7>
<Type>11</Type>
<Name>light5</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>5</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>250</x>
<y>250</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>1</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event7>
<Event8>
<Type>11</Type>
<Name>light10</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>10</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>0</x>
<y>250</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>2</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event8>
<Event9>
<Type>11</Type>
<Name>light15</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>15</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>250</x>
<y>0</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>2</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event9>
<Event10>
<Type>11</Type>
<Name>light19</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>19</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>0</x>
<y>-250</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>2</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event10>
<Event11>
<Type>11</Type>
<Name>light25</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>25</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>-250</x>
<y>0</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>2</FlickerType>
<LightRange>300</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event11>
<Event12>
<Type>11</Type>
<Name>light30</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>30</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>0</x>
<y>250</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>1</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event12>
<Event13>
<Type>11</Type>
<Name>light45</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>45</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>-250</x>
<y>0</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>1</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event13>
<Event14>
<Type>11</Type>
<Name>light55</Name>
<DefinitionFile>.ltx</DefinitionFile>
<DelayTime>55</DelayTime>
<MaxDuration>0.15</MaxDuration>
<Position>
<x>0</x>
<y>250</y>
<z>50</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>0</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
<StartLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>2</Intensity>
</StartLighting>
<EndLighting>
<Diffuse>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Diffuse>
<Specular>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Specular>
<Ambient>
<r>255</r>
<g>255</g>
<b>255</b>
<a>255</a>
</Ambient>
<Intensity>0</Intensity>
</EndLighting>
<Lerp>1</Lerp>
<LerpPeriod>0.1</LerpPeriod>
<Flicker>1</Flicker>
<FlickerVariance>0.75</FlickerVariance>
<FlickerRate>0.8</FlickerRate>
<FlickerType>1</FlickerType>
<LightRange>500</LightRange>
<FadeInTime>0.15</FadeInTime>
<CastsShadows>0</CastsShadows>
<ShadowIntensity>1</ShadowIntensity>
<VisionEffect>0</VisionEffect>
</Event14>
<Event15>
<Type>6</Type>
<Name>LightningA5</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>5</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event15>
<Event16>
<Type>6</Type>
<Name>LightningB5</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>5.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event16>
<Event17>
<Type>6</Type>
<Name>LightningA10</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>10</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event17>
<Event18>
<Type>6</Type>
<Name>LightningB10</Name>
<DefinitionFile>fx_enviro_lightning4.bbx</DefinitionFile>
<DelayTime>10.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event18>
<Event19>
<Type>6</Type>
<Name>LightningA15</Name>
<DefinitionFile>fx_enviro_lightning5.bbx</DefinitionFile>
<DelayTime>15</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event19>
<Event20>
<Type>6</Type>
<Name>LightningB15</Name>
<DefinitionFile>fx_enviro_lightning6.bbx</DefinitionFile>
<DelayTime>15.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event20>
<Event21>
<Type>6</Type>
<Name>LightningA19</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>19</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event21>
<Event22>
<Type>6</Type>
<Name>LightningB19</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>19.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event22>
<Event23>
<Type>6</Type>
<Name>LightningA25</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>25</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event23>
<Event24>
<Type>6</Type>
<Name>LightningB25</Name>
<DefinitionFile>fx_enviro_lightning4.bbx</DefinitionFile>
<DelayTime>25.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event24>
<Event25>
<Type>6</Type>
<Name>LightningA30</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>30</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event25>
<Event26>
<Type>6</Type>
<Name>LightningB30</Name>
<DefinitionFile>fx_enviro_lightning5.bbx</DefinitionFile>
<DelayTime>30.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event26>
<Event27>
<Type>6</Type>
<Name>LightningA45</Name>
<DefinitionFile>fx_enviro_lightning6.bbx</DefinitionFile>
<DelayTime>45</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event27>
<Event28>
<Type>6</Type>
<Name>LightningB45</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>45.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event28>
<Event29>
<Type>6</Type>
<Name>LightningA55</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>55</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event29>
<Event30>
<Type>6</Type>
<Name>LightningB55</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>55.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event30>
<Event31>
<Type>6</Type>
<Name>LightningA5</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>4</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event31>
<Event32>
<Type>6</Type>
<Name>LightningB5</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>4.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event32>
<Event33>
<Type>6</Type>
<Name>LightningA10</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>7</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event33>
<Event34>
<Type>6</Type>
<Name>LightningB10</Name>
<DefinitionFile>fx_enviro_lightning4.bbx</DefinitionFile>
<DelayTime>17.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event34>
<Event35>
<Type>6</Type>
<Name>LightningA15</Name>
<DefinitionFile>fx_enviro_lightning5.bbx</DefinitionFile>
<DelayTime>13</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event35>
<Event36>
<Type>6</Type>
<Name>LightningB15</Name>
<DefinitionFile>fx_enviro_lightning6.bbx</DefinitionFile>
<DelayTime>13.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>-95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event36>
<Event37>
<Type>6</Type>
<Name>LightningA19</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>18</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event37>
<Event38>
<Type>6</Type>
<Name>LightningB19</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>18.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event38>
<Event39>
<Type>6</Type>
<Name>LightningA25</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>28</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event39>
<Event40>
<Type>6</Type>
<Name>LightningB25</Name>
<DefinitionFile>fx_enviro_lightning4.bbx</DefinitionFile>
<DelayTime>28.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event40>
<Event41>
<Type>6</Type>
<Name>LightningA30</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>33</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event41>
<Event42>
<Type>6</Type>
<Name>LightningB30</Name>
<DefinitionFile>fx_enviro_lightning5.bbx</DefinitionFile>
<DelayTime>33.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event42>
<Event43>
<Type>6</Type>
<Name>LightningA45</Name>
<DefinitionFile>fx_enviro_lightning6.bbx</DefinitionFile>
<DelayTime>43</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event43>
<Event44>
<Type>6</Type>
<Name>LightningB45</Name>
<DefinitionFile>fx_enviro_lightning2.bbx</DefinitionFile>
<DelayTime>43.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>95</x>
<y>0</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event44>
<Event45>
<Type>6</Type>
<Name>LightningA55</Name>
<DefinitionFile>fx_enviro_lightning1.bbx</DefinitionFile>
<DelayTime>58</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachment>0</SourceAttachment>
<TargetAttachment>0</TargetAttachment>
<SourceAttachmentObject>1</SourceAttachmentObject>
<TargetAttachmentObject>1</TargetAttachmentObject>
</Event45>
<Event46>
<Type>6</Type>
<Name>LightningB55</Name>
<DefinitionFile>fx_enviro_lightning3.bbx</DefinitionFile>
<DelayTime>58.1</DelayTime>
<MaxDuration>0.5</MaxDuration>
<Position>
<x>0</x>
<y>-95</y>
<z>30</z>
</Position>
<UseOrientedPosition>0</UseOrientedPosition>
<SourceAttachm
#11
Posté 26 octobre 2011 - 04:02
oops double post.
Modifié par painofdungeoneternal, 26 octobre 2011 - 04:02 .
#12
Posté 26 octobre 2011 - 06:19
Great Idea Pain. Thank you!
#13
Posté 26 octobre 2011 - 09:18
The PlaySound bug must only affect PCs, because I've had no trouble making NPCs play animations and sounds at the same time (such as in my Baggin's Hollow prefab area). Either that, or PlayCustomAnimation (which is what I prefer to use) isn't considered an 'action'.
Modifié par DannJ, 26 octobre 2011 - 09:19 .
#14
Posté 27 octobre 2011 - 09:27
Is there a way to control the volume of the sound playing, or set it to be "area wide/mono" when you attach it with the sef?





Retour en haut






