FSX AI help needed

A quiet place for budding model makers to share thoughts, get answers to questions and request and share references.

Moderators: Guru's, The Ministry

Post Reply
User avatar
DaveG
The Gurus
Posts: 8089
Joined: 23 Jun 2004, 18:05
Location: in a deep, dark hole somewhere.
Contact:

FSX AI help needed

Post 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
Dave G.

User avatar
TSR2
The Ministry
Posts: 16345
Joined: 17 Jun 2004, 14:32
Location: North Tyneside, UK
Contact:

Re: FSX AI help needed

Post 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
}
Ben.:tunes:

ImageImageImage

User avatar
DaveG
The Gurus
Posts: 8089
Joined: 23 Jun 2004, 18:05
Location: in a deep, dark hole somewhere.
Contact:

Re: FSX AI help needed

Post 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.
Dave G.

User avatar
TSR2
The Ministry
Posts: 16345
Joined: 17 Jun 2004, 14:32
Location: North Tyneside, UK
Contact:

Re: FSX AI help needed

Post 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:
Ben.:tunes:

ImageImageImage

User avatar
DaveG
The Gurus
Posts: 8089
Joined: 23 Jun 2004, 18:05
Location: in a deep, dark hole somewhere.
Contact:

Re: FSX AI help needed

Post 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:
Dave G.

User avatar
TSR2
The Ministry
Posts: 16345
Joined: 17 Jun 2004, 14:32
Location: North Tyneside, UK
Contact:

Re: FSX AI help needed

Post by TSR2 »

Glad you've got it sorted. :thumbsup: :cpu:
Ben.:tunes:

ImageImageImage

User avatar
DaveG
The Gurus
Posts: 8089
Joined: 23 Jun 2004, 18:05
Location: in a deep, dark hole somewhere.
Contact:

Re: FSX AI help needed

Post by DaveG »

Thanks for pointing me in the right direction.
Dave G.

Post Reply