Jump to content

AI Aircraft cfg file not read


PierreDamienGaillard

Recommended Posts

Hi all,

I hope this message finds you well and that someone will be able to help me.

 

After having installed thousands of repaints for AI planes for airlines via UTL I'm now adding Business Jets with AIFP.

 

I installed 2 new models in the regular "AI Aircraft" (KCAI Gulfstream 650 and JBAI Challenger 600) folder in the SimObjects folder where I have 128 other aircraft models all working well with UTL and AIFP.

When I go to AIFP and substitute the flightplan aircrafts, these new repaints from these 2 new folders don't show. I still have all the others appearing.

UTL does not recognize them either.

 

I checked both Aircraft cfg files and in particular the fltsim.X sequence. They are ok.

 

I don't understand what's causing these 2 new folders not being "read". My guess is that it's coming from the cgf files but I can't figure out what's the issue.

 

Any help or suggestion would be highly appreciated!

 

Thank you!

Pierre.

Link to comment
Share on other sites

UTL is Ultimate Traffic Live from Flight1.

I can't insert the 2 cfg files! It says "invalid file"! Anything related to the cfg files properties?

 

Thanks for your help!!

 

Something has gone wrong. Any file should be post-able, so you probably named them wrong.

 

Check the file name and make sure you named them correctly, including the suffix. You were confused by `cgf` and the correct `cfg` in your first post! The late, great OPA explained the correct approach here:

https://docs.microsoft.com/en-us/previous-versions/microsoft-esp/cc526949(v=msdn.10)?redirectedfrom=MSDN

Link to comment
Share on other sites

[General]

atc_type=Gulfstream

atc_model=GLF6

editable=1

performance=AI Aircraft

Category=airplane

 

[WEIGHT_AND_BALANCE]

max_gross_weight = 20450.0 // (pounds)

empty_weight = 12000.0 // (pounds)

 

reference_datum_position = 34.5, 0, 0 // (feet) distance from FlightSim Reference position, which is: (1/4 chord, centerline, waterline)

empty_weight_CG_position = -34.1, 0, 0 // (feet) longitudinal, lateral, vertical distance from specified datum

 

max_number_of_stations = 50

 

station_load.0 = "170, -17.0, -1.2, 0.0, Pilot" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.1 = "170, -17.0, 1.2, 0.0, Co-Pilot" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.2 = "170, -22.5, -1.2, 0.0, Passenger 1" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.3 = "170, -22.5, 1.2, 0.0, Passenger 2" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.4 = "170, -26.7, -1.2, 0.0, Passenger 3" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.5 = "170, -26.7, 1.2, 0.0, Passenger 4" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.6 = "0, -30.9, -1.2, 0.0, Passenger 5" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.7 = "0, -30.9, 1.2, 0.0, Passenger 6" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.8 = "0, -35.1, -1.2, 0.0, Passenger 7" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.9 = "0, -35.1, 1.2, 0.0, Passenger 8" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.10 = "100, -42.0, 0.0, 0.0, Baggage1" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

station_load.11 = "50, -45.0, 0.0, 0.0, Baggage2" // Weight(lbs), longitudinal, lateral, vertical positions from datum (feet)

 

;Moments of Inertia

empty_weight_pitch_MOI = 80000

empty_weight_roll_MOI = 80000

empty_weight_yaw_MOI = 90000

empty_weight_coupled_MOI = 0.0

 

[contact_points]

static_pitch = -1.3

static_cg_height = 8.45

tailwheel_lock = 0

gear_system_type = 1

max_number_of_points = 3

 

point.0 = 1, 6.5, 0, -6.85, 20000, 0, 0.9, 60, 0.37, 2, 0.7, 5, 5, 0, 260, 260

point.1 = 1, -38.3, -7.65, -7.3, 20000, 1, 1.4, 0, 0.33, 2, 0.7, 6, 6, 2, 260, 260

point.2 = 1, -38.3, 7.65, -7.3, 20000, 2, 1.4, 0, 0.33, 2, 0.7, 6, 6, 3, 260, 260

 

[lights]

 

//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing

 

//light.0 = 3, -50.41, -46.1, 0.44, fx_navredm

//light.1 = 3, -50.41, 46.1, 0.44, fx_navgrem

light.0 = 3, -81.1, 0, 15.95, fx_navwhih

//light.3 = 2, -50.1, -45.8, 0.2, fx_strobeh

//light.4 = 2, -50.1, 45.8, 0.2, fx_strobeh

light.1 = 1, -37, 0, -4.0, fx_beaconh

 

[electrical]

max_battery_voltage = 12.0

generator_alternator_voltage = 13.8

max_generator_alternator_amps = 40.0

 

;BusType, MaxAmpLoad, MinVoltage BusTypes:0=MainBus,1=AvionicsBus,2=BatteryBus,3=HotBatteryBus,4-7=Generator/AlternatorBus(1-4)

avionics_bus = 0, 5 , 9.5

avionics = 1, 5 , 9.5

additional_system = 0, 2 , 9.5

marker_beacon = 1, 2 , 9.0

fuel_pump = 0, 5 , 9.0

 

[flight_tuning]

cruise_lift_scalar = 1.0

parasite_drag_scalar = 1.0

induced_drag_scalar = 1.0

elevator_effectiveness = 1.15

aileron_effectiveness = 1.0

rudder_effectiveness = 1.0

pitch_stability = 2.0

roll_stability = 1.5

yaw_stability = 1.5

elevator_trim_effectiveness = 1.5

aileron_trim_effectiveness = 1.5

rudder_trim_effectiveness = 1.0

 

[GeneralEngineData]

engine_type = 1 //0=Piston, 1=Jet, 2=None, 3=Helo-Turbine, 4=Rocket, 5=Turboprop

Engine.0 = -49.3, -7.6, 4.3 //(feet) longitudinal, lateral, vertical distance from reference datum

Engine.1 = -49.3, 7.6, 4.3 //(feet) longitudinal, lateral, vertical distance from reference datum

fuel_flow_scalar = 1.0 //Scalar for fuel flow efficiency

min_throttle_limit = -0.00 //Minimum percent throttle. Generally negative for turbine reverser

 

[TurbineEngineData]

fuel_flow_gain = 0.0025 //Gain on fuel flow

inlet_area = 4.2895 //Square Feet, engine nacelle inlet area

rated_N2_rpm = 29920 //RPM, second stage compressor rated value

static_thrust = 3500 //Lbs, max rated static thrust at Sea Level

afterburner_available = 0 //Afterburner available?

reverser_available = 0 //Thrust reverser available?

 

[jet_engine]

thrust_scalar = 1.0

 

[gear_warning_system]

gear_warning_available = 1 //Normal

pct_throttle_limit = 0.1 //Percent throttle that activates warning

flap_limit_idle = 15.0 //Flap angle that activates warning at idle

flap_limit_power = 30.0 //Flap angle that activates warning at above idle

 

[brakes]

parking_brake = 1 //Parking brake available

toe_brakes_scale = 0.25 //Brake scalar

 

[hydraulic_system]

normal_pressure = 3000.0 //PSI

electric_pumps = 0 //no electric pumps

engine_map = 1,1,0,0 //pumps on Eng1,2

 

[Views]

eyepoint = -16.385, -1.435, 3.012

 

[Effects]

 

[flaps.0]

type = 1 // 1 - tail, 2 - lead

span-outboard = 0.8 // 0.0 .. 1.0

extending-time = 5 // seconds

flaps-position.0 = 0 // degrees

flaps-position.1 = 8 // degrees

flaps-position.2 = 20 // degrees

flaps-position.3 = 40 // degrees

damaging-speed = 250 // KIAS

blowout-speed = 300 // KIAS

lift_scalar= 0.00

drag_scalar= 1.00

pitch_scalar= 0.00

 

[Radios]

// Radio Type = availiable, standby frequency, has glide slope

Audio.1 = 1

Com.1 = 1, 0

Com.2 = 1, 0

Nav.1 = 1, 0, 1

Nav.2 = 1, 0, 0

Adf.1 = 1

Transponder.1 = 1

Marker.1 = 1

 

[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 = 150, 250

aileron = 150, 250

rudder = 150, 250

 

[direction_indicators]

//1 Type: 0=None, 1=Vacuum Gyro, 2=Electric Gyro, 3=Electro-Mag Slaved Compass, 4=Slaved to another

//2 Indicator number of slaving indicator if Type = 4

direction_indicator.0=3,0

 

[attitude_indicators]

//Type: 0=None, 1=Vacuum Gyro, 2=Electric Gyro

attitude_indicator.0 = 2

attitude_indicator.1 = 1

 

[turn_indicators]

//Type: 0=None, 1=Electric Gyro, 2= Vacuum Gyro

turn_indicator.0=0,0

 

[fuel]

Center1 = -41.4, 0.0, -1.5, 359.0, 0.0 //Longitudinal (feet), Lateral (feet), Vertical (feet), Usable(gallons), Unusable (gallons)

LeftMain = -36.3, -10.0, -1.5, 268.5, 0.0 //Longitudinal (feet), Lateral (feet), Vertical (feet), Usable(gallons), Unusable (gallons)

RightMain = -36.3, 10.0, -1.5, 268.5, 0.0 //Longitudinal (feet), Lateral (feet), Vertical (feet), Usable(gallons), Unusable (gallons)

fuel_type = 2 //Fuel type: 1 = Avgas, 2 = JetA

number_of_tank_selectors = 1

electric_pump=1

 

[airplane_geometry]

wing_area = 389.0 //Square feet

wing_span = 99.7 //Feet

wing_root_chord = 9.9 //Feet

wing_dihedral = 2.5 //Degrees

wing_incidence = 0.5 //Degrees

wing_twist = -1.5 //Degrees

oswald_efficiency_factor= 0.8 //Measure of lift effeciency of wing

wing_winglets_flag = 1 //Are winglets available?

wing_sweep = 13.4 //Degrees, wing leading edge

wing_pos_apex_lon = -31.5 //Feet, longitudinal distance from reference point, negative going aft

wing_pos_apex_vert = 0.0 //Feet, vertical distance from reference point, positive going up

htail_area = 67.0 //Square feet

htail_span = 17.2 //Feet

htail_pos_lon = -59.1 //Feet, longitudinal distance from reference point, negative going aft

htail_pos_vert = 0.0 //Feet, vertical distance from reference point, positive going up

htail_incidence = 2.0 //Degrees

htail_sweep = 25.0 //Degrees, horizontal tail leading edge

vtail_area = 42.0 //Square feet

vtail_span = 7.4 //Feet, tip to body

vtail_sweep = 30.0 //Degrees, vertical tail leading edge

vtail_pos_lon = -55.0 //Feet, longitudinal distance from reference point, negative going aft

vtail_pos_vert = 4.1 //Feet, vertical distance from reference point, positive going up

elevator_area = 17.0 //Square feet

aileron_area = 13.5 //Square feet

rudder_area = 7.3 //Square feet

elevator_up_limit = 17.0 //Degrees

elevator_down_limit = 15.5 //Degrees

aileron_up_limit = 18.0 //Degrees

aileron_down_limit = 18.0 //Degrees

rudder_limit = 30.0 //Degrees

elevator_trim_limit = 15.0 //Degrees

spoiler_limit = 60.0 //Degrees

spoilerons_available = 0 //Spoilerons Available?

aileron_to_spoileron_gain = 4.6 //Aileron to spoileron gain

min_ailerons_for_spoilerons = 5 //Degrees

min_flaps_for_spoilerons= 0.0 //Minimum flap handle position when spoilerons activate

auto_spoiler_available=1

spoiler_extension_time=2.000000

positive_g_limit_flaps_up=3.000000

positive_g_limit_flaps_down=2.000000

negative_g_limit_flaps_up=-2.000000

negative_g_limit_flaps_down=-2.000000

 

[Reference Speeds]

flaps_up_stall_speed = 102.0 //Knots True (KTAS)

full_flaps_stall_speed = 92.0 //Knots True (KTAS)

cruise_speed = 464.0 //Knots True (KTAS)

max_mach = 0.87

max_indicated_speed = 340 //Red line (KIAS)

 

[autopilot]

autopilot_available= 1

flight_director_available= 1

default_vertical_speed= 1800.0

autothrottle_available= 1

autothrottle_arming_required= 0

autothrottle_max_rpm = 90

autothrottle_takeoff_ga= 0

pitch_takeoff_ga = 8;

max_pitch=10.0

max_pitch_acceleration=1.0

max_pitch_velocity_lo_alt=2.0

max_pitch_velocity_hi_alt=1.5

max_pitch_velocity_lo_alt_breakpoint=20000.0

max_pitch_velocity_hi_alt_breakpoint=28000.0

max_bank=25.0

max_bank_acceleration=1.8

max_bank_velocity=3.00

max_throttle_rate=0.10

nav_proportional_control=11.00

nav_integrator_control=0.20

nav_derivative_control=0.00

nav_integrator_boundary=2.50

nav_derivative_boundary=0.00

gs_proportional_control=9.52

gs_integrator_control=0.26

gs_derivative_control=0.00

gs_integrator_boundary=0.70

gs_derivative_boundary=0.00

yaw_damper_gain = 1.0

 

[stall_warning]

type=2

stick_shaker=1

 

[pitot_static]

pitot_heat=1.000000

 

[vacuum_system]

max_pressure=5.150000

vacuum_type=2

electric_backup_pressure=0.000000

engine_map=0,0,0,0

 

[pneumatic_system]

max_pressure=18.000000

bleed_air_scalar=1.000000

 

[deice_system]

structural_deice_type=0

 

[fltsim.0]

title=Fox Corporation Gulfstream 650 N898NC

sim=AI_G650

model=

texture=Fox Corporation N898NC

atc_id=N898NC

ui_manufacturer=KCAI

ui_type=Gulfstream 650

ui_variation=Fox Corporation N898NC

atc_parking_codes=XJET

atc_parking_types=RAMP

 

[fltsim.1]

title=Fox Corporation Gulfstream 650 N900NC

sim=AI_G650

model=

texture=Fox Corporation N900NC

atc_id=N900NC

ui_manufacturer=KCAI

ui_type=Gulfstream 650

ui_variation=Fox Corporation N900NC

atc_parking_codes=XJET

atc_parking_types=RAMP

 

[fltsim.2]

title=Fox Corporation Gulfstream 650 N988NC

sim=AI_G650

model=

texture=Fox Corporation N988NC

atc_id=N988NC

ui_manufacturer=KCAI

ui_type=Gulfstream 650

ui_variation=Fox Corporation N988NC

atc_parking_codes=XJET

atc_parking_types=RAMP

 

[fltsim.3]

title=Fox Corporation Gulfstream 650 N2702

sim=AI_G650

model=

texture=Fox Corporation N2702

atc_id=N2702

ui_manufacturer=KCAI

ui_type=Gulfstream 650

ui_variation=Fox Corporation N2702

atc_parking_codes=XJET

atc_parking_types=RAMP

Link to comment
Share on other sites

I'm wondering if this is your issue. fltsim.0 through 3 need to be at the very top of the .cfg file. I've never seen that at the bottom. While it may work in the Sim, it may not for a utility since it's expecting to see the fltsim.0 - fltsim.3 entries at the top.
Link to comment
Share on other sites

Just tried it but did not work either!

All my cfg have aicrafts at the bottom. I did that myself. But they all work except those 2 new ones.

I created the 2 new folders directly in the AI aircraft folder. Then I sent the base/p3d files to these created folders. For the the other aircrafts I directly downloaded from the developer base model. Could that come from here? issue with rights? if so I'm not sure what to look at as they seem to be the same than the others.

Thanks again for your support!!

Link to comment
Share on other sites

The late, great OPA explained the correct approach here:

https://docs.microsoft.com/en-us/previous-versions/microsoft-esp/cc526949(v=msdn.10)?redirectedfrom=MSDN

 

I hate to argue semantics, but this is driving me nuts. Nowhere on the webpage does it mention OPA publishing that content, and no where on that webpage is an author even mentioned. Not even in the source code.

 

Unless you meant to say something along the lines of, "The late, great OPA explained the correct approach cited from this article here: *insert TLD.*"

 

I had that webpage in my signature before, and used it as a reference quite often. Even the special effects SDK documentation. Interesting to note, at the top of that webpage says it's a 97 minute read. Now did Microsoft pay someone to read it and time how long it took? It's really not something to read verbatim, but as a reference source for certain entries. Though, many years ago I did read the entire thing. LOL!

 

Seems like a lot of websites say their article is a four minute read, a three minute read, a two minute read, etc. But to those that can read whole sentences in one go, they're lying! LOL

Link to comment
Share on other sites

I see the error already. The titles are wrong.

 

For,

Fox Corporation Gulfstream 650 N898NC

 

In the Aircraft file it's not written like that at all. Each sim title, 0 through 3 needs to be reflected exactly the same way in the Aircraft file. So now do your due diligence, go back in the Aircraft file and correct all the titles to match fltsim.0 through fltsim.3.

 

The Airports and Flightplans' file formatting look fine. I personally wouldn't use registration numbers ® of 0000, but rather flight numbers (F) of like, 1123, 5545, 3245, etc so that ATC gives each flight its own unique flight number. But I think using the R in the flight plan file will have ATC just use the tail number. I can't remember.

 

Something else that may be an issue. The commented out text that makes use of // in the Flightplans' files is something I've never seen before and I'm not sure if it can be used in compiling the files to a flight plan BGL or not. It may, I don't know the SDK ramifications on that. I know the use of commenting something out by using the // is used in CFG files. If after fixing the titles and you still have an issue, then it could be the // usage in the flightplans file.

Edited by CRJ_simpilot
Link to comment
Share on other sites

Your G550 aircraft.cfg titles need to be reflect in the Aircraft_FoxCorporationSu19.txt file as well. In post #5 I just see the G650.

 

In your first post you say, "KCAI Gulfstream 650 and JBAI Challenger 600," but I only see the usage of a G650ER and a G550 in the Aircraft file. Also, the aircraft.cfg file you posted just mentions four variations of a 650.

 

Post both aircraft.cfg files from both planes and I'll correct this giant cluster. Is there only this flight plan file or two?

 

Actually, where did you download this from?

Edited by CRJ_simpilot
Link to comment
Share on other sites

Thank you for your feedback!

I probably did not explained myself correctly sorry.

My issue is when I try to substitute an aircraft in the compiler. Basically I change the name of all aicraft in the cfg file to keep consistency and to find myself better in this huge amount of datas and then I use the "substitute" option in the AIFP compiler to find my repaint.

I do like this for all my aicrafts... and that works for all of them except those 2!

Please see attached a print screen. In this print screen, this is my current way of doing and the G550's from Fox Corporation appear and I can "substitute" them. Until there all fine! When it comes to the G650, I don't find them in the list. I can't find any of the G650 from any repaint downloaded. This the same issue with the JBAI Challenger 600.

 

I checked the flight plans. The others are also written with the same "R" and "0000" and they seem to be working in the Sim. (I did not check all of them one by one but I can see some planes in the Sim with this settings).

 

I find all these FP at https://aibizjetproject.wordpress.com. Huge database of Private Jet FP.

 

Thanks again for your time and support!

FOX G650.png

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...