Page 1 of 1

FSX AI help needed

Posted: 22 Sep 2007, 17:37
by DaveG
Hi guys 'n' gals,

been playing with making some AI plans for FSX using TDBB, but I've hit a problem. I can make a standard A to B flightplan. That compiles and works fine. The snag is I can't get touch and goes working :-(
Been though the SDK, but even the examples given don't want to work.
Here's a sample schedule:

Code: Select all

SPITDWB,DWB,50,ONE_DAY,VFR
{
1300,EGSU,32,,1330
}

HURRSDN,SDN,50,ONE_DAY,VFR
{
1315,EGKB,32
1515,EGSU,33
}
The second part works, the first doesn't.
Any ideas? HELP

Re: FSX AI help needed

Posted: 23 Sep 2007, 01:56
by TSR2
Hi Dave... I think its that you've set it to ONE_DAy and haven't specified the Day. If you want it to happen every day I think you need to use hours... and then not specify the day in the time area...

Example...

Code: Select all

AC#1500,VX639,40,TWO_HOURS,VFR
{
0005,EGOV,10,,2000
0025,EGOV,10,,0000
}

Re: FSX AI help needed

Posted: 23 Sep 2007, 10:15
by DaveG
I see where you're coming from Ben, but that doesn't explain why the Hurricane from Duxford to Biggin and back works, and the Spit doing T&Gs doesn't. Both use the same interval. :dunno:
I did try with hourly intervals, but that didn't work either. I'll try setting the day and see what happens.

Re: FSX AI help needed

Posted: 23 Sep 2007, 11:15
by TSR2
Hi Dave... its coming back to me now... albeit vaugly. I couldn't get it to work either, hence why there are two lines in my example. This works (its a JP at valley) but it doesn't really make sense as to why.

If my memory comes back I'll explain it. I seem to remember spending a whole weekend trying to get it to work. :cpu:

Re: FSX AI help needed

Posted: 23 Sep 2007, 12:24
by DaveG
I added a second t&g line to the plan so it now reads:

Code: Select all

SPITDWB,DWB,50,ONE_DAY,VFR
{
1300,EGSU,10,,1330
1500,EGSU,10,,1530
}
Seems to work now :thumbsup:
Looks like the SDK's missing a bit of information.
So much for RTFM :lol:

Re: FSX AI help needed

Posted: 23 Sep 2007, 12:26
by TSR2
Glad you've got it sorted. :thumbsup: :cpu:

Re: FSX AI help needed

Posted: 23 Sep 2007, 12:27
by DaveG
Thanks for pointing me in the right direction.