The website and forum will be intermittently unavailable while we're making some security updates.
File uploads to the download hangar are also disabled until further notice.

AI Traffic file problem

Post all your own Military AI projects here from days gone by.
Post Reply
User avatar
jinx
Second Lieutenant
Second Lieutenant
Posts: 43
Joined: 10 Feb 2009, 08:47
Version: FS9

AI Traffic file problem

Post by jinx »

I am making an AI Traffic file for LUQA LMML.

Problem is ATC calls all my Ai a/c "AIr Force 2169...etc".
I had an A-3 Skywarrior called "Navy 610" before I changed the plans.
Its nose no. was 610...
For RAF a/c I can use part of their serial number...
Here are some of the current flight plans I have--most are similar:

AC#1,V,20%,4Hr,VFR,12:33:05,09:48:05,210,F,441,LMML,03:33:10,03:48:10,200,F,1310,LMML
AC#9,HUN,20%,1Hr,VFR,09:15:00,00:15:00,290,F,2169,LMML,03:02:13,03:17:13,300,F,9645,LMML
AC#2,SHA,20%,4Hr,VFR,12:33:05,09:48:05,210,F,441,LMML,03:33:10,03:48:10,200,F,1310,LMML
AC#12,BEL,20%,4Hr,VFR,12:00:05,09:48:05,210,F,441,LMML,03:33:10,03:48:10,200,F,1310,LMML
AC#13,B57,20%,1Hr,VFR,09:15:00,00:15:00,290,F,2169,LMML,03:02:13,03:17:13,300,F,9645,LMML



Any help will be appreciated. The plans above cause the problem....

Nick

Athens, Greece
User avatar
clickclickdoh
MAIW Developer
MAIW Developer
Posts: 1568
Joined: 03 Mar 2009, 03:04

Re: AI Traffic file problem

Post by clickclickdoh »

Hi Jinx. Your problem is going to be a two part issue. First the call sign, then the flight number. FS9 gets the call sign from inside the aircraft.cfg file, not the flight plans. You are going to want to look for this entry in the each section of the aircraft.cfg file:

atc_airline=HIRYU

What comes after the "=" will be the call sign if you have the right vcp file. If you plane is calling as "Air Force" that line has most likely been entered as "atc_airline=airforce"

The second problem is inside your flight plan files:

AC#1,V,20%,4Hr,VFR,12:33:05,09:48:05,210,F,441,LMML,03:33:10,03:48:10,200,F,1310,LMML
AC#9,HUN,20%,1Hr,VFR,09:15:00,00:15:00,290,F,2169,LMML,03:02:13,03:17:13,300,F,9645,LMML
AC#2,SHA,20%,4Hr,VFR,12:33:05,09:48:05,210,F,441,LMML,03:33:10,03:48:10,200,F,1310,LMML
AC#12,BEL,20%,4Hr,VFR,12:00:05,09:48:05,210,F,441,LMML,03:33:10,03:48:10,200,F,1310,LMML
AC#13,B57,20%,1Hr,VFR,09:15:00,00:15:00,290,F,2169,LMML,03:02:13,03:17:13,300,F,9645,LMML

The parts I underlined are where it pulls the flight number from for each flight leg segment. So, for example, your aircraft #1 will be flight 441 on the first segement and flight 1310 on the second segment.

If you want AC#1 to call as Navy 610, first check the aircraft.cfg file to make sure the call sign is Navy, then modify the two entries in the flight plan file to have 610 instead of 441 and 1310
User avatar
leuen
Second Lieutenant
Second Lieutenant
Posts: 96
Joined: 07 May 2011, 22:00
Version: FS9
Location: near LSZE

Re: AI Traffic file problem

Post by leuen »

Didn't you got some error message while compiling? Normally flight numbers should be done with four numbers, f.i. 0441 instead of 441. According to your FP the plane should arrive before it took off. A pattern flight would rather look like that:
AC#1,V,20%,4Hr,VFR,12:33:05,12:48:05,210,F,0441,LMML,12:50:10,13:05:10,200,F,1310,LMML

Bernard
User avatar
Garysb
MAIW Developer
MAIW Developer
Posts: 2807
Joined: 11 Aug 2006, 19:33
Version: FSX
Location: Scunthorpe, North Lincolnshire, UK

Re: AI Traffic file problem

Post by Garysb »

leuen wrote:Didn't you got some error message while compiling? Normally flight numbers should be done with four numbers, f.i. 0441 instead of 441. According to your FP the plane should arrive before it took off. A pattern flight would rather look like that:
AC#1,V,20%,4Hr,VFR,12:33:05,12:48:05,210,F,0441,LMML,12:50:10,13:05:10,200,F,1310,LMML

Bernard
You dont need 4 any number will work

Gary
I believe that every human has a finite number of heart-beats. I don't intend to waste any of mine running around doing exercises.
Buzz Aldrin (1930 -
Post Reply