Results 1 to 12 of 12

Thread: Wonky AI behavior

Hybrid View

  1. #1
    Retired SOH Admin OBIO's Avatar
    Join Date
    Mar 2007
    Location
    OHIO
    Age
    44
    Posts
    7,647

    Wonky AI behavior

    Been flying GA planes in GW3 nearly exclusively the last few weeks...and one thing I have always noticed is that the Gw3 AI Cub flies like it is drunk. It bobs up and down...almost like it is trying to climb but keeps stalling out. With the ATC activated, I am bombarded with a nearly endless stream of chatter as the ATC keeps telling Piper to expedite the climb to 9000...but the way the Piper Cub is flying, it will never make it to 9000.

    I took a look at the stock FDE for the AI Cub, and the max gross weight was set lower than the empty weight..which made me scratch my head. I set the max weight to 1220...which is the accurate max gross for the Piper Cub. That made no difference. I swapped in the FDE from the flyable Piper Cub by Bill Lyons....that made no difference...the Cub still does its climb, stall, fall, climb, stall, fall routine.

    Anyone have any clue how to fix the Piper so it will fly right and so that ATC can stop nagging at the poor little plane?

    OBIO

  2. #2
    Senior Administrator Willy's Avatar
    Join Date
    Sep 2001
    Location
    West Tennessee, near KTGC
    Age
    56
    Posts
    8,649
    Maybe the .air file and most of the aircraft.cfg from the default Cub? I use it for AI.

  3. #3
    SOH-CM-2013 mrogers's Avatar
    Join Date
    Jun 2005
    Location
    Nelson, NZ
    Age
    48
    Posts
    567
    Maybe the cruise speed for it in the traffic BGL may be different to the one in the aircraft's air CFG. If so, that can cause the wonky behaviour. I had the same problem with an AI aircraft once, like you, I couldn't figure out why it was going up and down , like it was speeding up going up and then slowing down, going down.
    I found that the cruise speed for it in the traffic BGL was way off and not the same as the cruise speed set in the aircraft's air CFG. I fixed that by changing the values to both read the same cruise speed. After that, the AI plane was flying nice and level.

    Here's an example of what it should look like:
    (from the default C208 Amphibian's aircraft CFG)

    [Reference Speeds]
    flaps_up_stall_speed = 72.0 //Knots True (KCAS)
    full_flaps_stall_speed = 58.0 //Knots True (KCAS)
    cruise_speed = 143.0 //Knots True (KTAS) << this is the set cruise speed
    max_mach = 0.60
    max_indicated_speed = 175 //Red line (KIAS)

    in the traffic BGL: ( there are three txts, one called Flightplans, one called Aircraft, and one called Airports, all compiled into one BGL. Traffic Tools is used to decompile it and compile it all again afterwards) This one is from the Aircrafts txt.

    AC#16,143,"Cessna 208 Caravan Amphibian" << highlighted in red is the cruise speed set the same as that in the Cessna's aircraft CFG.

    Both airspeeds should be the same. If they aren't, the AI would be showing erratic behaviour just as you described.

    Hope that helps?
    Mark

  4. #4
    Retired SOH Admin OBIO's Avatar
    Join Date
    Mar 2007
    Location
    OHIO
    Age
    44
    Posts
    7,647
    Okay, there are some seriously funky cruise speeds set for the AI planes.

    Here's the AI Cub info:

    AC#22,129,"GW Cub AI 1"
    AC#23,129,"GW Cub AI 2"
    AC#24,129,"GW Cub AI 3"

    Check these cruise speeds out:

    AC#3,477,"GW DC3 AI 1"
    AC#4,477,"GW DC3 AI 2"
    AC#5,477,"Ford 4-AT-E Tri-Motor"
    AC#6,477,"GW DC3 AI 4"
    AC#7,477,"GW DC3 AI 5"
    AC#8,505,"GW DC3 AI 6"
    AC#9,505,"GW DC3 AI 1"
    AC#10,505,"GW DC3 AI 2"
    AC#11,505,"GW Waco Cabin"
    AC#12,482,"GW DC3 AI 1"
    AC#13,482,"GW DC3 AI 2"
    AC#14,482,"GW DC3 AI 3"
    AC#15,482,"GW DC3 AI 4"

    A DC3 cruising at 505 knots?!?!?!?!?!?

  5. #5
    Member SabreAce's Avatar
    Join Date
    Jun 2005
    Location
    Slatersville, RI
    Age
    28
    Posts
    78
    Those are the speeds from the original AI traffic file - AC#3-7 are the default Boeing 737s, 8-11 are the 747s, and the rest are the 777s. If you change the speeds to something a bit more realistic (I tend to use the cruise speed line that mrogers mentioned where possible, otherwise it's web research and hoping the FM is close), then recompile the file with TTools, it should balance everything out a bit better. It should also change the arrival times in the flights file to whatever it would be at the new speeds.

  6. #6
    Retired SOH Admin OBIO's Avatar
    Join Date
    Mar 2007
    Location
    OHIO
    Age
    44
    Posts
    7,647
    I will be working on adjusting all the cruising speeds to appropiate levels over the next couple days. Will get it recompiled and tested then will head over to The Old Hangar and see if they want to host this tweak to go along with the rest of the GW3 stuff they have.

    OBIO

  7. #7
    SOH-CM-2013 Terry's Avatar
    Join Date
    May 2006
    Location
    Arizona
    Age
    68
    Posts
    2,430
    This is an excerpt from TTools help file. The speed must be changed in the aircraft.cfg file, then in the traffic file.

    Cruise speed:
    This is the cruise speed (TAS) given in the aircraft specifications. It can be found in aircraft manuals or other reference material. Note that this number does not determine the actual cruise speed of AI aircraft, that is based on a cruise speed parameter included in the aircraft model’s aircraft.cfg file. This number is used only by the compiler to compute the trip time for the flight so it can come up with arrival times and sector mapping for flight plans that don’t use fixed arrival times.

  8. #8
    Senior Administrator Willy's Avatar
    Join Date
    Sep 2001
    Location
    West Tennessee, near KTGC
    Age
    56
    Posts
    8,649
    If they used the default AI flights as a starting point you might want to check on the altitudes on them. Those jets will cruise along at 30000+. Unpressurized aircraft like the DC-3 are not allowed above 12000 and usually fly a lot lower than that.

    I modded the default flights for my AI set and have been there. You'll have the ATC fussing at the aircraft to climb to the altitude in the flight plan. With a bunch of them, the ATC won't shutup. If you're going to mod the whole set, expect to take a while doing it.

  9. #9
    Member SabreAce's Avatar
    Join Date
    Jun 2005
    Location
    Slatersville, RI
    Age
    28
    Posts
    78
    So a quick AI question, then - I've noticed that a great many aircraft.cfg files don't have a cruise speed line. If that's not there, what's determining the AI's cruise speed/performance?

  10. #10
    SOH-CM-2013 Terry's Avatar
    Join Date
    May 2006
    Location
    Arizona
    Age
    68
    Posts
    2,430
    Quote Originally Posted by SabreAce View Post
    So a quick AI question, then - I've noticed that a great many aircraft.cfg files don't have a cruise speed line. If that's not there, what's determining the AI's cruise speed/performance?
    It would default to the .air file. You can copy the speed section over from another aircraft.cfg and reset it.

  11. #11
    Member SabreAce's Avatar
    Join Date
    Jun 2005
    Location
    Slatersville, RI
    Age
    28
    Posts
    78
    Cool, thanks Terry. I suspected the .air file came into play, but wasn't sure.

  12. #12
    SOH-CM-2013 Terry's Avatar
    Join Date
    May 2006
    Location
    Arizona
    Age
    68
    Posts
    2,430
    Has anyone visited John Loney's site? http://www.lfssd.net/index.html

    There are about 100 scenerys, and ai aircraft. There are also countless objects for placing in scenery. The menu is a bit trickey so keep digging and you will find it all.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Odd AI behavior
    By aeromed202 in forum FS 2002/2004 General Discussion
    Replies: 0
    Last Post: November 17th, 2012, 12:01
  2. Has SOH front page gon wonky
    By Rich in forum The NewsHawks
    Replies: 4
    Last Post: July 24th, 2012, 22:17
  3. SCENERY HAS GONE WONKY
    By Fibber in forum CFS2 General Discussion
    Replies: 0
    Last Post: June 29th, 2011, 20:37
  4. AI behavior
    By KellyB in forum CFS3 General Discussion
    Replies: 5
    Last Post: February 4th, 2011, 15:26

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Avsim - Flightsim - SimFlight - Simviation - iflyonline - CFS IP - Quarter Moon Saloon - Com-Central