Jump to content


Welcome to Mutley's Hangar Forums

Welcome to Mutley's Hangar Forums, like most online communities you must register to post in our forums or to take advantage of our download centre, but don't worry, this is a simple and free process that requires minimal information for you to sign up. Be a part of Mutley's Hangar Forums by signing in or creating an account, you can even sign in using your Twitter, Facebook or OpenID account!
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Customise your experience here
Guest Message by DevFuse
 

Photo

Tutorial: Adding Custom AI Traffic


  • Please log in to reply
25 replies to this topic

#1 TapA321

TapA321

    Globetrotter

  • Members
  • 659 posts
  • 0 thanks
  • Country:
  • LocationRichmond Upon Thames
  • Sim Version:FSX
  • Op System:Vista64
  • CPU:Intel i7 920 3.8Ghz
  • GPU:GTX 285
  • Ram:6GB DDR3

Posted 12 August 2008 - 03:32 PM

:roll:

This tutorial will guide you through the stages of adding your own custom AI traffic, using the many freeware items and utilities available. It will help those who may be having trouble installing a pre-made traffic addon such as ProjectAI or World of AI and also for those who wish to take AI traffic one step further and add airlines that may not be included in such addons. It will also help you get the best out of your Flight Simulator AI by adding the highest quality and up-to-date traffic available.

In this tutorial, we will be adding Virgin Atlantic to the Traffic Database.

Part A: Downloading and Sorting the Flightplans

1. The first thing I would recommend all users to do is to make a folder called "My Traffic" (or whatever you wish) to place all the files related to the airline you are planning to install. I would also recommend making a seperate folder for each airline:
Posted Image

2. Now we need to find the flightplans for our AI airline. We are going to use avsim (http://www.avsim.com) to find all the needed freeware items for this tutorial, although when you continue after this tutorial, you may wish to use other sources. So, let's do a search for 'Virgin Atlantic' under 'Flight Simulator 2004 AI Flight plans":
Posted Image

3. Look through the results and find the one which you think is the most suitable (and reliable) looking download (preferably a relative up-to-date one too!) For this tutorial, let's use the EvAi ones:
Posted Image

4. After the download, notice the Airport, Aircraft and Flightplans files. They are highlighted in the below image:
Posted Image

5. These files are the heart of the Virgin Atlantic AI airline. Copy them into your "My Traffic/Virgin Atlantic" Folder:
Posted Image

6. If you open the Aircraft and Flightplan text files, you will notice that each aircraft has a number (AC#). This is how the system recognises the different aircraft types.
Posted Image

Posted Image


Part B: Downloading and Sorting the Aircraft

1. Now that we have the flightplans sorted, we need to assign some aircraft to them. So, let's start with the first one (AC#1) The Virgin A343. We now need to do another search on avsim for this aircraft. Search for 'Virgin Atlantic' again but this time under the 'Flight Simulator 2004 - AI Aircraft' option:
Posted Image

2. After looking through the results, we come across this:
Posted Image

3. Now, some of you may have noticed that this is only the Virgin Atlantic Textures for 'The Fruit-Stand A340-300'. So we also need to download the base package:
Posted Image

Posted Image

Posted Image

4. Now you will have the two zip files. One for textures and one for the base package. Extract the Base package (TFS_A340-300) to your main Flight Simulator 2004/Aircraft folder:
Posted Image

5. Then copy the texture file from the other zip file into the TFS_A340-300 folder:
Posted Image

6. Now that we've added a texture folder, we also need to add the 'fltsim' entry to go with it. So, open the [fltsim.X]_VIR and copy the contence into the aircraft.CFG of the TFS_A340-300. Make sure that you open the .cfg file with notepad!
Posted Image

Posted Image

7. IMPORTANT: Now that you have copied the fltsim entry into the aircraft.cfg, you also need to add the appropriate ending (the .X bit.) This MUST go in the correct order, i.e adding 1 each time. So the first is .0 then .1 then .2 and so on:
Posted Image

8. Now that you have the aircraft.cfg sorted, copy the 'title=' entry from the Virgin A340 into the original Aircraft text document back in My Traffic/Virgin Atlantic folder. Make sure that you overwrite the bit between the two "".
Posted Image

Posted Image

And that's it for AC#1. I know it seems like a long process here, but once you get used to it and have done it a couple of times, each aircraft will be done in a matter of seconds. Now for this next bit, you will have to use a bit of initiative to fill in the remaining four aircraft. So once you are finished, you should have a complete list of title entries, for the appropriate aircraft.


Part C: Compiling the Traffic

1. Now that you have your completed list of title entries for the aircraft...
Posted Image

2. ...Save the aircraft text file. Now for this next bit I recommend that you download the World of AI installer from http://www.world-of-ai.com. Once you have downloaded it, extract all the files to a folder of your choice. Then copy the three files from the My Traffic/Virgin Atlantic folder into the World of AI folder:
Posted Image

3. Then open up the 'TTools' application and click on the three files on the left hand side (which are your Virgin Atlantic files). They should appear highlighted. Then click on the compile button and Job done! :yes: This will then create a .bgl file in the World/Scenery folder of Flight Simulator:
Posted Image


List of Useful Websites:

http://www.avsim.com
http://www.world-of-ai.com
http://www.ai-aardvark.com
http://www.projectai.com

I hope that this tutorial is clear and precise, and helps you along the way to having the most realistic and high quality AI traffic possible.

Thank you for taking the time to read through,

George
Posted Image

West London Aero Club - White Waltham - Berkshire

#2 grth_bbtt

grth_bbtt

    First Officer

  • Members
  • 374 posts
  • 0 thanks

Posted 12 August 2008 - 03:39 PM

fantastic guide there george!
it will come in very handy when i go to make some new traffic files especially for some flybe a/c at gatwick.

i think mut or one of the mods should make this a sticky :roll:

#3 allardjd

allardjd

    Site Admin

  • Administrators
  • 6,158 posts
  • 111 thanks
  • Country:
  • LocationFlorida - USA
  • Sim Version:FS2004, FSX
  • Op System:Windows 7(64)
  • CPU:Intel Core i7-2600 CPU @ 3.4 GHz
  • GPU:NVIDIA GeForce GT 530
  • Ram:8 GB

Posted 12 August 2008 - 03:44 PM

Looks good and I will digest it when I get a chance later today. Thanks for taking the time to put that together. it looks like it was a lot of work. In the meantime, a question....

Is a flightplan in the format shown in your 7th image OK with T2005? It's a different format than those created by using the flight plan editor in the T2005 Traffic Editor.

John
Posted Image

#4 mutley

mutley

    Site Owner

  • Administrators
  • 15,940 posts
  • 273 thanks
  • Real Name:Joe Lawford
  • Country:
  • LocationHampshire, UK
  • Sim Version:FSX Acceleration
  • Op System:Windows 7(64)
  • CPU:i7 965 Extreme 3.6Ghz
  • GPU:GTX 690 4Gb
  • Ram:12Gb
  • Mother Board:Asus P6T v2 Deluxe
  • Hard Disks:.
    Crucial M4 512Gb SSD
    Veloceraptor 320Gb
    Veloceraptor 600Gb FS
    Hitachi 7200 1Tb
    WD 4Tb NAS

Posted 12 August 2008 - 03:47 PM

:good
"Stickied" as promised George, well done :roll:

Cheers

joe_crew.png


#5 TapA321

TapA321

    Globetrotter

  • Topic Starter
  • Members
  • 659 posts
  • 0 thanks
  • Country:
  • LocationRichmond Upon Thames
  • Sim Version:FSX
  • Op System:Vista64
  • CPU:Intel i7 920 3.8Ghz
  • GPU:GTX 285
  • Ram:6GB DDR3

Posted 12 August 2008 - 04:54 PM

Thanks guys. :blush

I'm not too sure about your question, John. I certainly wouldn't like to make any assumptions. Maybe someone who uses Traffic 2005 on the forum will be able to help on this one? :roll:

George
Posted Image

West London Aero Club - White Waltham - Berkshire

#6 hurricanemk1c

hurricanemk1c

    Staff Reviewer

  • Staff Reviewers
  • 6,595 posts
  • 166 thanks
  • Country:
  • Sim Version:FS2004, FSX Acceleration, Prepar3D, Other
  • Op System:XP

Posted 12 August 2008 - 05:49 PM

Hi George!

Thanks for posting this! Doing it now.

John, before this, I used the T2005 editior and edited default FPs with WoAI. Until it kick out all airlines with the aircraft in it. Had to re-install.

Kieran
Cheers

Posted Image Posted Image

Chuck, is that you?

www.chickenwingscomics.com

#7 hurricanemk1c

hurricanemk1c

    Staff Reviewer

  • Staff Reviewers
  • 6,595 posts
  • 166 thanks
  • Country:
  • Sim Version:FS2004, FSX Acceleration, Prepar3D, Other
  • Op System:XP

Posted 12 August 2008 - 06:22 PM

Do you need to put the Aircraft into the FS9/Aircraft folder?

Kieran
Cheers

Posted Image Posted Image

Chuck, is that you?

www.chickenwingscomics.com

#8 TapA321

TapA321

    Globetrotter

  • Topic Starter
  • Members
  • 659 posts
  • 0 thanks
  • Country:
  • LocationRichmond Upon Thames
  • Sim Version:FSX
  • Op System:Vista64
  • CPU:Intel i7 920 3.8Ghz
  • GPU:GTX 285
  • Ram:6GB DDR3

Posted 12 August 2008 - 06:32 PM

Yes you do, otherwise TTools won't recognise the title entries. Check Part B, step 4 :roll:

George
Posted Image

West London Aero Club - White Waltham - Berkshire

#9 allardjd

allardjd

    Site Admin

  • Administrators
  • 6,158 posts
  • 111 thanks
  • Country:
  • LocationFlorida - USA
  • Sim Version:FS2004, FSX
  • Op System:Windows 7(64)
  • CPU:Intel Core i7-2600 CPU @ 3.4 GHz
  • GPU:NVIDIA GeForce GT 530
  • Ram:8 GB

Posted 14 August 2008 - 03:16 PM

Has anyone used the Random Flight Plan Generator? I think it's part of TT Tools. Mine came with Traffic 2005.
It's never worked correctly though I have recently learned how to work around the problems and get a flight
plan file out of it that works correctly in T2005.

You give it a list of airports and a list of AC with the quantity of each type. It produces a flight plan file with
random times and airport pairs using the AC list and the airport list. It takes some manual work to fix the
template file it produces and some more on the finished flight plan file it spits out, but the randomly generated
fields (departure times, airport pairs, AC used for each) are fine and it's not all that difficult to get a working
flight plan from it.

John
Posted Image

#10 TapA321

TapA321

    Globetrotter

  • Topic Starter
  • Members
  • 659 posts
  • 0 thanks
  • Country:
  • LocationRichmond Upon Thames
  • Sim Version:FSX
  • Op System:Vista64
  • CPU:Intel i7 920 3.8Ghz
  • GPU:GTX 285
  • Ram:6GB DDR3

Posted 14 August 2008 - 03:29 PM

Back in 2005, John, when I used T2005, I also used this 'Random Flight plan' creator as well - but it did nothing but cause problems for me. It always added the flight plans but it never used the correct aircraft. If I added a flightplan with a BA A320 it would fly the correct plan, but use a completely different aircraft, say a Monarch A320. :???:

Also, unless you have the complete list of aircraft types, like in T2005, it is quicker to download the flightplans, and assign the aircraft as in the above tutorial, rather than create your own flightplans, because the only thing that takes the time in the above method is adding the aircraft, not the flightplans. :thum:

Thanks for the tip, though. It is good if you have T2005! :dance2:

Regards,

George
Posted Image

West London Aero Club - White Waltham - Berkshire

#11 hurricanemk1c

hurricanemk1c

    Staff Reviewer

  • Staff Reviewers
  • 6,595 posts
  • 166 thanks
  • Country:
  • Sim Version:FS2004, FSX Acceleration, Prepar3D, Other
  • Op System:XP

Posted 14 August 2008 - 06:01 PM

Hi Geroge!

Thanks to your guide, I'm adding traffic (up to Emirates at the mo) to Kai Tak, 10 years after it closed (sadly)

Kieran
Cheers

Posted Image Posted Image

Chuck, is that you?

www.chickenwingscomics.com

#12 TapA321

TapA321

    Globetrotter

  • Topic Starter
  • Members
  • 659 posts
  • 0 thanks
  • Country:
  • LocationRichmond Upon Thames
  • Sim Version:FSX
  • Op System:Vista64
  • CPU:Intel i7 920 3.8Ghz
  • GPU:GTX 285
  • Ram:6GB DDR3

Posted 15 August 2008 - 02:41 PM

Great news, Kieran! :dance2:

Which flightplans did you download for Kai Tak? What airlines have you added so far?

George
Posted Image

West London Aero Club - White Waltham - Berkshire

#13 hurricanemk1c

hurricanemk1c

    Staff Reviewer

  • Staff Reviewers
  • 6,595 posts
  • 166 thanks
  • Country:
  • Sim Version:FS2004, FSX Acceleration, Prepar3D, Other
  • Op System:XP

Posted 15 August 2008 - 05:02 PM

Hi George!

I've downloaded vhhx98_vol.2_fps.zip from AVSIM and so far, I've seen Cathay Pacific, China Southern, China Airlines and Drangonair. Getting there!

Kieran
Cheers

Posted Image Posted Image

Chuck, is that you?

www.chickenwingscomics.com

#14 TapA321

TapA321

    Globetrotter

  • Topic Starter
  • Members
  • 659 posts
  • 0 thanks
  • Country:
  • LocationRichmond Upon Thames
  • Sim Version:FSX
  • Op System:Vista64
  • CPU:Intel i7 920 3.8Ghz
  • GPU:GTX 285
  • Ram:6GB DDR3

Posted 15 August 2008 - 06:02 PM

Does this fully support all the routes of those airliners or just the runs to and from Kai Tak?

George
Posted Image

West London Aero Club - White Waltham - Berkshire

#15 hurricanemk1c

hurricanemk1c

    Staff Reviewer

  • Staff Reviewers
  • 6,595 posts
  • 166 thanks
  • Country:
  • Sim Version:FS2004, FSX Acceleration, Prepar3D, Other
  • Op System:XP

Posted 15 August 2008 - 07:09 PM

Just to Tai Kak

Kieran
Cheers

Posted Image Posted Image

Chuck, is that you?

www.chickenwingscomics.com

#16 TapA321

TapA321

    Globetrotter

  • Topic Starter
  • Members
  • 659 posts
  • 0 thanks
  • Country:
  • LocationRichmond Upon Thames
  • Sim Version:FSX
  • Op System:Vista64
  • CPU:Intel i7 920 3.8Ghz
  • GPU:GTX 285
  • Ram:6GB DDR3

Posted 15 August 2008 - 11:11 PM

Hi Kieran,

Do you have Kai Tak by FlyTampa? If you do, does the AI fly the proper approach, i.e. over the city?

George
Posted Image

West London Aero Club - White Waltham - Berkshire

#17 hurricanemk1c

hurricanemk1c

    Staff Reviewer

  • Staff Reviewers
  • 6,595 posts
  • 166 thanks
  • Country:
  • Sim Version:FS2004, FSX Acceleration, Prepar3D, Other
  • Op System:XP

Posted 16 August 2008 - 07:48 AM

Hi Tap!

I have the freeware 9 Dragons scenery and I don't know if they fly a proper approch

Kieran
Cheers

Posted Image Posted Image

Chuck, is that you?

www.chickenwingscomics.com

#18 Mrbobo

Mrbobo

    Ground Staff

  • Members
  • 45 posts
  • 0 thanks

Posted 02 April 2009 - 06:38 PM

Excellent! :great:

I've just tried it and it didn't work!

O well!

Will reinstall and try again!

#19 Mrbobo

Mrbobo

    Ground Staff

  • Members
  • 45 posts
  • 0 thanks

Posted 03 April 2009 - 07:38 AM

Excellent! :great:

I've just tried it and it didn't work!

O well!

Will reinstall and try again!


Ok it works now but I don't seem to get the AI traffic landing!

Could it be something to do with AFCADS?

#20 TapA321

TapA321

    Globetrotter

  • Topic Starter
  • Members
  • 659 posts
  • 0 thanks
  • Country:
  • LocationRichmond Upon Thames
  • Sim Version:FSX
  • Op System:Vista64
  • CPU:Intel i7 920 3.8Ghz
  • GPU:GTX 285
  • Ram:6GB DDR3

Posted 07 April 2009 - 05:49 PM

Hi there Mrbobo,

It could be the AFCAD causing the problem. Could you possibly explain in a bit more detail? Which airport(s) don't you see aircraft landing - do you have any addon scenery for that airport etc.

It could also be the flightplans. If the flightplans you downloaded for the chosen airline aren't very reliable, they could be written incorrectly. If you used the stated flightplans in the tutorial, however, you shouldn't have any problems here!

EDIT: Remember! If the traffic is going wrong and you want to delete it and start over, you can delete the BGL file for that set of flightplans that is located in FS9/Scenery/World/Scenery. The name of the BGL file will be the same as the names of the flightplans/aircraft/airports files.

Kind Regards,

George
Posted Image

West London Aero Club - White Waltham - Berkshire




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users