• 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 Effects in Free Flight

Messages
4
Country
ireland
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
 
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:
 
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:
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:
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.
 
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
 
Where to put the xml?

Sorry to be dim, HL, but where do you put your xml file? That's why I thought it was a mission!
Cheers - Dai. :cool:
 
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
 
Back
Top