FSXA Effects in Free Flight

#1
Is it possible to create a fire effect in a free flight without using a bgl file, using maybe an xml file instead. I have created a free flight with an plane crash and a person to be hoisted up and I wanted to add a small fire to the plane. If someone has the code for this I would be very grateful.

Thanks in advance for your help

Highlander21
 
#2
Trigger?

How would you trigger the effect in Free Flight? Fireworks can be on a time-of-day basis but I'm not sure there's an equivalent to a mission type ProximityTrigger in Free Flight.
Be interesting to see what the guru's think!
Cheers - Dai. :cool:
 
#3
How would you trigger the effect in Free Flight? Fireworks can be on a time-of-day basis but I'm not sure there's an equivalent to a mission type ProximityTrigger in Free Flight.
Be interesting to see what the guru's think!
Cheers - Dai. :cool:
You can use proximity triggers in free flight. I use them all the time when building 'multi-player missions' (not the FSX 'Missions') for the 91st Bombardment group, to create FLAK around multi-player 'targets' as well as bomb explosion effects with fires, smoke and craters. Read th SDK section on Effects and Effect Controllers.

You will need to create a bgl file to place the effect controller(s). It is a simple process and all you need is the SDK for the bglcomp.exe file to drag and drop your xml file onto.

Paul
 
Last edited:
#4
I have got it to work using a timertrigger at the start. This is the code I used just change the worldposition to where you want to place it. I don't use a bgl file for this.

<?xml version="1.0" encoding="UTF-8"?>
<SimBase.Document Type="MissionFile" version="1,0">

<Descr>Getting Fire Effect To Work in Free Flight</Descr>
<Title>Fire Test</Title>
<WorldBase.Flight>

<SimMission.TimerTrigger InstanceId="{6BD769FB-A3B2-489D-BF7F-6BBB66F7199B}">
<Activated>True</Activated>
<OneShot>True</OneShot>
<OnScreenTimer>False</OnScreenTimer>
<StartTime>0.000</StartTime>
<StopTime>3.000</StopTime>
<Actions>
<ObjectReference id="AttachEffect_CampFire" InstanceId="{794A80FE-2022-4A7C-8A7C-1CFB7BB64E55}"/>
</Actions>
<Descr>Timer_Intro 1</Descr>
</SimMission.TimerTrigger>

<SimMission.AttachEffectAction InstanceId="{794A80FE-2022-4A7C-8A7C-1CFB7BB64E55}">
<EffectName>fx_CampFire.fx</EffectName>
<AttachPointName>attachpt_GenericEffect</AttachPointName>
<ObjectReferenceList>
<ObjectReference id="GEN_SceneryEffect" InstanceId="{4A7CDA33-EDB2-4A60-878B-9AFBA0F1408F}"/>
</ObjectReferenceList>
<Descr>AE_Attach_FireEffect</Descr>
</SimMission.AttachEffectAction>

<SceneryObjects.LibraryObject InstanceId="{4A7CDA33-EDB2-4A60-878B-9AFBA0F1408F}">
<WorldPosition>N52° 11' 30.04",W7° 4' 51.09",+000000.00</WorldPosition>
<AltitudeIsAGL>True</AltitudeIsAGL>
<Orientation>0.000,0.000,0.000</Orientation>
<MDLGuid>{36D99924-A3B8-420E-A3FD-83ABC2DB6206}</MDLGuid>
<Scale>1.000</Scale>
<ImageComplexity>Very Sparse</ImageComplexity>
<Activated>True</Activated>
<Descr>Fire Effect</Descr>
</SceneryObjects.LibraryObject>


</WorldBase.Flight>
<MissionBuilder.MissionBuilder>
</MissionBuilder.MissionBuilder>
</SimBase.Document>

Hope this helps others.

Thanks guys for your input.

Highlander21
 
Last edited:
#5
Mission or Free Flight?

Looks like a mission to me - or did I miss something...

And multiplayer missions?

But I'm glad you sorted it!

Cheers - Dai.
 
#6
Hi Dai,

I added a crashed plane and 2 people to the code for the fire effect so that I could practice hoist lifting at a crash site using the EH 101 helicopter in free flight anytime without having to go through a mission. That was what I wanted to create and I can change the location easy by just changing the world position in the xml file without haveing to create a bgl file.

Thanks for your post.

Regards

Highlander 21
 
#8
Hi Dai,

I saved a flight, with the helicopter and weather settings, time of day etc...

and then I edited the xml file in the flight sim folder in My Documents. I only

keep the xml and the flt files, I delete the other files with same name. Then I

load as free flight. If you want I will post full xml file here.

Regards

Highlander21
 
Top