I'm experimenting with adding AI...

Adding Aircraft Traffic, airport gates, etc, to your Sim - AFCAD, TTools, Project AI, AI Aircraft, etc

I'm experimenting with adding AI...

Postby Draconiator » Sun Mar 25, 2007 8:04 pm

...so I've created a small G.A. airport which is below here...


Image

Anyway, I read the TrafficTools tutorial, and went at it.   But when it came time to compile it, TT gave me (and is still giving me) a strange error (complete with colors):

ERROR in file E:\TrafficTools\FlightPlans240307.txt
Line 1 (error location shown in red) :


AC#23,2894,15%,6Hr,VFR,21:53:30,22:10:40,001,F,8984,KSAN,00:43:00,01:06:35,001,F,KPAR

The flight number format is bad (should be 0000 to 16383)

It was named KPA1 before, and I figured that 4-space ICAOs that start with K and contain a number were not allowed, so I changed the identifier, and as you can see I STILL get this problem.
I don't know what's going on.  It's in the Airport list:

KPAN,N34* 15.41',W111* 20.35',5154
KPAO,N37* 27.66',W122* 6.90',3
KPAR,N32* 26.35',W117* 17.76',3
KPB ,N56* 21.11',W133* 37.35',0
KPBF,N34* 10.49',W91* 56.08',203

Here's the contents of the seperate file I made too:

AC#23,2894,15%,6Hr,VFR,21:53:30,22:10:40,001,F,8984,KSAN,00:43:00,01:06:35,001,F,KPAR
AC#24,8838,15%,12Hr,VFR,01:30:00,01:53:45,002,F,8372,KSAN,04:00:04,04:23:00,001,F,KPAR

Annnnnnd....the route in question:

Image



so, what is going on here?
Last edited by Draconiator on Sun Mar 25, 2007 8:07 pm, edited 1 time in total.
Draconiator
Ground hog
Ground hog
 
Posts: 4
Joined: Mon Mar 19, 2007 2:18 pm

Re: I'm experimenting with adding AI...

Postby ashaman » Sun Mar 25, 2007 9:28 pm

I think you have an error in the flight plan.


Example on one of the simplest of mine:

AC#3,N1382,80%,6Hr,IFR,14:00,,060,R,0000,LIRN,17:00,,070,R,0000,LIRB


legenda

AC#3   - Number aircraft,
N1382 - tail number airplane,
80%   - min traffic level to engage,
6Hr    - time between iterations,
IFR    - IFR or VFR, your choice
14:00 - time flight start,
,,       - time arrival (usually left blank, TTools will calculate that for you),
060    - flight level,
R       - R (ATC will use the tail# instead of a flight#)  F (ATC will use flight#),
0000  - A flight#, if used, would go here
LIRN  - Arrival Airport
17:00 - Time return flight start,
,,       - Time return flight arrival (usually left blank, TTools will calculate that for you),
070    - Flight Level,
R       - R (ATC will use the tail# instead of a flight#)  F (ATC will use flight#),
0000  - A flight#, if used, would go here
LIRB  - Starting Airport


Forgive me, I can't hack your flight plans at all. Surely my fault.
Last edited by ashaman on Sun Mar 25, 2007 9:31 pm, edited 1 time in total.
There's but one real cure for human stupidity. It's called DEATH.

At the moment mourning the assassination of sarcasm and irony for the good of the "higher".

Proud FSIX user. Active user of FS98, X-plane and novic
User avatar
ashaman
Major
Major
 
Posts: 1741
Joined: Thu Nov 27, 2003 9:08 am
Location: LIRN

Re: I'm experimenting with adding AI...

Postby Gypsy_Baron » Sun Mar 25, 2007 9:30 pm

...so I've created a small G.A. airport which is below here...


-SNIP-

Anyway, I read the TrafficTools tutorial, and went at it.   But when it came time to compile it, TT gave me (and is still giving me) a strange error (complete with colors):

ERROR in file E:\TrafficTools\FlightPlans240307.txt
Line 1 (error location shown in red) :


AC#23,2894,15%,6Hr,VFR,21:53:30,22:10:40,001,F,8984,KSAN,00:43:00,01:06:35,001,F,KPAR

The flight number format is bad (should be 0000 to 16383)

It was named KPA1 before, and I figured that 4-space ICAOs that start with K and contain a number were not allowed, so I changed the identifier, and as you can see I STILL get this problem.
I don't know what's going on.  It's in the Airport list:

KPAN,N34* 15.41',W111* 20.35',5154
KPAO,N37* 27.66',W122* 6.90',3
KPAR,N32* 26.35',W117* 17.76',3
KPB ,N56* 21.11',W133* 37.35',0
KPBF,N34* 10.49',W91* 56.08',203

Here's the contents of the seperate file I made too:

AC#23,2894,15%,6Hr,VFR,21:53:30,22:10:40,001,F,8984,KSAN,00:43:00,01:06:35,001,F,KPAR
AC#24,8838,15%,12Hr,VFR,01:30:00,01:53:45,002,F,8372,KSAN,04:00:04,04:23:00,001,F,KPAR

Annnnnnd....the route in question:
-SNIP-



so, what is going on here?




The first thing I see is that you are missing a parameter after the "F" and before the
airport (KPAR)...TTools is expecting a numeric value where you have "KPAR".

Looking more closely,  the flight number should follow the "F".


Should be ",001,F,8984,KSAN,00:43:00,01:06:35,001,F,8984,KPAR" assuming that you
meant to have a cruise of 1000'.

   
 Paul
Image
User avatar
Gypsy_Baron
1st Lieutenant
1st Lieutenant
 
Posts: 467
Joined: Tue Oct 05, 2004 6:33 pm
Location: Daly City, California


Return to Adding Aircraft Traffic (AI) & Gates

Who is online

Users browsing this forum: No registered users and 581 guests