Jump to content
Sign in to follow this  
Jakob Arnholtz

Converting aircraft for AI

Recommended Posts

Happy New Year :( What do I edit in the Aircraft.cfg file in order to make a aircraft work as AI aircraft?There has been a tread on the subject, but I can't find it again, and I just can't remember the alterations (Apart a new airfile)KindlyJakob Arnholtz

Share this post


Link to post
Share on other sites

I don't think you need to edit anything. But beware that not a aircraft make good AI planes. most will eat FPS alive. Better to use real AI planes. Even AI planes made for FSX do not always work well. Trial and error.Bob


Bob

i5, 16 GB ram, GTX 960, FS on SSD, Windows 10 64 bit, home built works anyway.

Share this post


Link to post
Share on other sites

Hi Bob an thanks for your reply.I am using planes like Captain Sim F-104 as AI. I guess I have a fairly fast system and my framerates are satistfactory (+20fps at Edwards afb)I have done this before, and now I am working on historic testaircrafts at Edwards. (Great fun to meet the Douglas Stiletto X-3 or the YBell XP-59A Aircomet)Normaly I use a airfile I now works, but as I recall it, one should edit in the general part of the Aircraft.configurationfile to have satistfactory results. And in some casese, just forget about it, it cant' be done.What I cant't remeber, and what I need to know is, what to edit in the general section of the aircraft.cfgKindlyJakob Arnholtz

Share this post


Link to post
Share on other sites
Happy New Year :( What do I edit in the Aircraft.cfg file in order to make a aircraft work as AI aircraft?There has been a tread on the subject, but I can't find it again, and I just can't remember the alterations (Apart a new airfile)KindlyJakob Arnholtz
Jakob,As said here, the problem with most "flying" aircraft is the size - default or payware. It's just not worth the loss of performance. I don't know what your trying to accomplish, but there are very few aircraft types that don't have an AI equivalent. One exception - you can get away from most performance hits by using (occasionally) "flying" aircraft by making them static. I have done that for a few aircraft. You just make an FP that keeps the aircraft stationary. But, even this eats up performance.fb

Share this post


Link to post
Share on other sites

As said above. Framerates is not a issue on my system. Lots of planes built for FS2002 or fs9 can be used as AI with great results due to the much faster processors we have today.As I recall it, one should edit in the general part of the Aircraft.configurationfile to have satistfactory results. It might look like this:[General]performance=CREW: 3\nDIMENSIONS:\nLength 96.75 ft (29.49 m)\nWingspan 56.83 ft (17.32 m)\nHeight 31.42 ft (9.58 m)\nWing Area 1,542 ft2 (143.25 m2)\nWEIGHTS:\nEmpty 55,560 lb (25,200 kg)\nMax Takeoff 163,000 lb (73,935 kg)\nPROPULSION:\nPowerplant four General Electric J-79 afterburning turbojets\nThrust 42,000 lb (186.83 kN) 64,000 lb (284.70 kN) with afterburner\nPERFORMANCE:\nMax Level Speed at altitude: 1,385 mph (2,230 km\/h) at 40,000 ft (12,190 m), Mach 2.1\nService Ceiling 60,000 ft (18,290 m)\nRange 1,735 nm (3,220 km) 4,845 nm (8,975 km) with in-flight refueling\nARMAMENT:\nGun one 20-mm T-171E3 Vulcan rotary cannon in a radar-aimed tail barbette\nStations one external hardpoint for a disposable centerline pod\nAir-to-Air Missile none\nAir-to-Surface Missile none\nBomb various nuclear bombsatc_type=BOEING AIRCRAFTatc_model=B-58Aatc_type=[WEIGHT_AND_BALANCE]reference_datum_position= 0.000, 0.000, 0.000empty_weight_CG_position= 1.000, 0.000, 0.000max_number_of_stations=50station_load.0=0.000, 0.000, 0.000, 0.000empty_weight= 55560.000empty_weight_roll_MOI= 8595000.000empty_weight_pitch_MOI= 8190549.000empty_weight_yaw_MOI= 8520000.000empty_weight_coupled_MOI= 1200.000max_gross_weight= 158699.797CG_forward_limit= 0.000CG_aft_limit= 1.000[fuel]Center1= 0.000, 0.000, 0.000, 6510.000, 0.000LeftMain= 0.000, 0.000, 0.000, 3122.000, 0.000LeftAux= 0.000, -22.667, 0.000, 1320.000, 0.000RightMain= 0.000, 0.000, 0.000, 3122.000, 0.000RightAux= 0.000, 22.667, 0.000, 1320.000, 0.000fuel_type=2.000000number_of_tank_selectors=1[airplane_geometry]wing_area= 1540.000wing_span= 56.833wing_root_chord= 27.083wing_dihedral= 1.302wing_incidence= -0.439wing_twist= -2.000oswald_efficiency_factor= 0.834wing_winglets_flag= 0wing_sweep= 0.000wing_pos_apex_lon= 0.000wing_pos_apex_vert= 0.000htail_area= 260.000htail_span= 29.167htail_pos_lon= -24.750htail_pos_vert= 0.000htail_incidence= 0.000htail_sweep= 0.000vtail_area= 210.000vtail_span= 16.523vtail_sweep= 0.000vtail_pos_lon= -20.917vtail_pos_vert= 5.833elevator_area= 75.000aileron_area= 27.920rudder_area= 34.000elevator_up_limit= 27.502elevator_down_limit= 20.626aileron_up_limit= 19.481aileron_down_limit= 14.897rudder_limit= 23.491elevator_trim_limit= 19.481spoiler_limit= 59.989spoilerons_available= 1aileron_to_spoileron_gain= 3.000min_ailerons_for_spoilerons= 10.000min_flaps_for_spoilerons= 0.000[contact_points]point.0= 1.000, 33.500, 0.000, -10.000, 1574.803, 0.000, 1.600, 51.960, 0.481, 2.500, 0.511, 5.000, 5.000, 0.000, 0.000, 0.000point.1= 1.000, -11.167, -8.167, -10.200, 2755.906, 1.000, 1.600, 0.000, 0.482, 2.500, 0.511, 5.000, 5.000, 2.000, 0.000, 0.000point.2= 1.000, -11.167, 8.167, -10.200, 2755.906, 2.000, 1.600, 0.000, 0.482, 2.500, 0.511, 5.000, 5.000, 3.000, 0.000, 0.000point.3= 2.000, -28.800, -28.867, -0.087, 1574.803, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 5.000, 0.000, 0.000point.4= 2.000, -28.800, 28.867, -0.087, 1574.803, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 6.000, 0.000, 0.000point.5= 2.000, -44.667, 0.000, -0.917, 1574.803, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 9.000, 0.000, 0.000point.6= 2.000, 30.500, 0.000, -0.917, 1574.803, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 4.000, 0.000, 0.000point.7= 2.000, 6.500, -13.150, -7.300, 1574.803, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 4.000, 0.000, 0.000point.8= 2.000, 6.500, 13.150, -7.300, 1574.803, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 4.000, 0.000, 0.000static_pitch= -1.000static_cg_height= 10.553[GeneralEngineData]engine_type= 1Engine.0= -6.250, -6.667, -1.667Engine.1= -6.250, 6.667, -1.667Engine.2= -5.000, 3.333, -4.000Engine.3= -5.000, -3.333, -4.000fuel_flow_scalar= 0.250[TurbineEngineData]fuel_flow_gain= 0.001inlet_area= 18.758rated_N2_rpm= 29920.000static_thrust= 21631.700afterburner_available= 1reverser_available= 1[Reference Speeds]flaps_up_stall_speed= 120.000full_flaps_stall_speed= 96.000cruise_speed= 2231.791[keyboard_response]//Breakpoint speeds (knots) on the keyboard increments of control surfaces.//Speed at which the incremenet is reduced to 1/2 and 1/8 respectively.elevator=70,130aileron=70,130rudder=70,130[Views]eyepoint=28.47193,-0.410105,0.231998[autopilot]autopilot_available=1flight_director_available=1default_vertical_speed=1800.000000autothrottle_available=1autothrottle_arming_required=1autothrottle_takeoff_ga=1autothrottle_max_rpm=90.000000pitch_takeoff_ga=8.000000[direction_indicators]direction_indicator.0=3,0[jet_engine]thrust_scalar=1.000[flight_tuning]cruise_lift_scalar=1.000pitch_stability=1.000roll_stability=1.000yaw_stability=1.000parasite_drag_scalar=1.000induced_drag_scalar=1.000elevator_effectiveness=1.000aileron_effectiveness=1.000rudder_effectiveness=1.000elevator_trim_effectiveness=1.000aileron_trim_effectiveness=1.000rudder_trim_effectiveness=1.000[Flaps.0]type= 1span-outboard= 0.500extending-time= 3.005system_type= 0damaging-speed= 0.000blowout-speed= 0.000lift_scalar= 1.000drag_scalar= 1.000pitch_scalar= 1.000flaps-position.0= 0.000, 0.000flaps-position.1= 39.992, 0.000Can the aircraft be improved by altering some of the abowe mentioned data, or is it totally up to the airfile to deside how the plane will behave as AI aircraft?KindlyJakob Arnholtz

Share this post


Link to post
Share on other sites

AI aircraft will respond to some aircraft.cfg edits; for instance some of the flight_tuning section vars can have an effect, and the fuel flow can have an effect, too. You should go over to Project AI's site, I recall much in-depth discussion on there about how to finesse and tweak an AI flight model.


Rhett

7800X3D ♣ 32 GB G.Skill TridentZ  Gigabyte 4090  Crucial P5 Plus 2TB 

Share this post


Link to post
Share on other sites
AI aircraft will respond to some aircraft.cfg edits; for instance some of the flight_tuning section vars can have an effect, and the fuel flow can have an effect, too. You should go over to Project AI's site, I recall much in-depth discussion on there about how to finesse and tweak an AI flight model.
Tank you for the reply. I will do just that.KaindlyJakob

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...