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

Needing help on FSX AI flightplan

If it converts the day of the week correctly, you are a savior of much hard work!
0 = Monday in FSX
0 = Sunday in FS2004.

I updated the software to add a -1 day offset to FS9 weekly flightplans, so it should do the job now. download here : http://lc0277.nerim.net/bglfpfsxconvert02.zip
It won't change files already in FSX format, so you may want to reconvert your FS9 files.

I did'nt really optimize memory usage. I tested it with a large PAI traffic file (65 mb), but bigger files may cause some out of memory errors.
 
I updated the software to add a -1 day offset to FS9 weekly flightplans, so it should do the job now. download here : http://lc0277.nerim.net/bglfpfsxconvert02.zip
It won't change files already in FSX format, so you may want to reconvert your FS9 files.

I did'nt really optimize memory usage. I tested it with a large PAI traffic file (65 mb), but bigger files may cause some out of memory errors.


I just re-compiled 7 FS9 BGLs with the largest being
a 43MB input file. Memory usage never exceeded 180 MB
above what the system was using. And that's about the
largest FS9 traffic BGL that I have on my system. I just
have a LOT of files :)

Paul
 
A pure FSX traffic

I want to create a bgl traffic file for FSX, to show one aircraft flying a circuit traffic (Touch and Go). I read carefully the Traffic Toolbox.html (from FSX SDK), to learn the method.

The Theory
-----------
HTML:
To make an aircraft fly circuits at the destination, specify a circuitEndTime
for that leg. If the circuitEndTime is less than ten minutes before the
departure time of the next leg, the aircraft will not park but will fly circuits
until the next departure time and then fly on to the next destination. The
TrafficDatabaseBuilder will not allow you to schedule more than three aircraft
at a time to be doing circuits at an airport to keep the traffic pattern from
becoming overly congested.


The Schedule (Copied from Traffic Toolbox.html/4. To Customize the AI Aircraft Routes):
-------------
Code:
# Aircraft type: C172-1
# Tail number: N172SP
# Traffic density: 33%
# Repeats every: hour
# Flight rules: VFR
# Schedule:
# Time Departure Destination Altitude FlightNumber Circuits?
# 0010Z SBES SBES 12 (none) until 0045Z

C172-1,N172SP,33,ONE_HOUR,VFR
{
0010,SBES,12,,0045
}

The Airport
-----------
HTML:
SBES,-22.816111073,-42.091944516,18.6,D,1,1.00,Brazil
{
 RUNWAY,7874,92,HARD
 PARKING,30.0,GATE
 PARKING,26.0,RAMP
 PARKING,20.0,RAMP
 PARKING,15.0,RAMP
 PARKING,15.0,RAMP
 PARKING,15.0,RAMP
 PARKING,15.0,RAMP
 PARKING,15.0,RAMP
 PARKING,15.0,RAMP
 PARKING,20.0,RAMP
 PARKING,20.0,RAMP
 PARKING,20.0,RAMP
 PARKING,20.0,RAMP
 PARKING,20.0,RAMP
 PARKING,20.0,RAMP
 PARKING,26.0,RAMP
 PARKING,26.0,RAMP
 PARKING,26.0,RAMP
 PARKING,26.0,RAMP
 PARKING,26.0,RAMP
 PARKING,38.0,GATE
 PARKING,26.0,RAMP
 PARKING,26.0,RAMP
 PARKING,10.0,RAMP
 PARKING,16.0,GATE
 PARKING,20.0,GATE
 PARKING,20.0,RAMP
}


The command line
----------------
HTML:
>TrafficDatabaseBuilder
/Airports=SBES.Airports.dat
/AircraftTypes=fs10.AircraftTypes.csv 
/Countries=countries.csv 
/Schedules=SBES_Schedules_3.dat 
/AutoSchedule=No 
/Output=SBES_Traffic.bgl

The result (after 3 working days)
--------------------------------
No traffic at all.

If someone could point out what is wrong or/and send me a Schedule that create a circuit traffic, I would be grateful.

Regards,

José
 
I did'nt really optimize memory usage. I tested it with a large PAI traffic file (65 mb), but bigger files may cause some out of memory errors.


It works well with BGL's. And big ones, too. :) Very nice! It even does the day of the week correctly for weekly plans! Excellente!

It does not convert .txt file plans. You must have an existing FS9 bgl.

If you do not have an FS9 bgl, then you are basically out of luck--unless you compile an FS9 bgl first using TTools. That's what I ended up doing in my test.

It does not output a txt file such as schedules_coa.txt in FSX format. That would be super-nice if it did.... :D That way you could make sure your aircraft names were correct before compiling.

Also, you must be VERY CAREFUL of the aircraft names being used. You must know exactly (very exactly) the names of the aircraft referenced in the FS9 traffic bgl file. This converter converts the EXACT name from the FS9 file, and if this title= line doesn't appear in your FSX aircraft folder, you will not see any AI in your converted BGL.

That's why it seems to me the best way to use it is to first have your basic txt files in TTools format, edit the aircraft_xxx.txt file to match your FSX AI aircraft title= lines, and compile the bgl using TTools. Then apply bglfp convert to that FS9 bgl.
 
I want to create a bgl traffic file for FSX, to show one aircraft flying a circuit traffic (Touch and Go). I read carefully the Traffic Toolbox.html (from FSX SDK), to learn the method.

-SNIP-
# Schedule:
# Time Departure Destination Altitude FlightNumber Circuits?
# 0010Z SBES SBES 12 (none) until 0045Z

C172-1,N172SP,33,ONE_HOUR,VFR
{
0010,SBES,12,,0045
}
[/CODE]
-SNIP-
If someone could point out what is wrong or/and send me a Schedule that create a circuit traffic, I would be grateful.

Regards,

José

My understanding, after reading the SDK, such as it is...., is that you
must have at least two legs...A to B to A....to get the
circuits (TNG's) to function.
I'm surprised that TDBB would compile a flight plan with
the departure and destination the same.

Paul
 
Back
Top