Author Topic: Problem with GSX.cfg  (Read 5983 times)

Plexi1

  • Newbie
  • *
  • Posts: 29
    • FS-Flightcrew.de
Problem with GSX.cfg
« on: March 23, 2012, 08:34:45 pm »
I am really sorry to bother you again but now I have another problem.

I am now trying to add GSX.cfg files to some more planes but I can not add two cargo vehicles, only one appears and I don´t know why. The default A321 , the 747 and the default B737 have two vehicles (on the same parking spot) but I believe they are fully supported by GSX anyway.

It is also not possible to add more stairs on some planes (the Project Opensky 737 for eample, I can only get one stair there).

Also the entries in the aircraft.cfg seem to have an influence on how GSX handles the exits/cargo doors, for example when I remove the entry for the cargo door from the aircraft.cfg and add an entry for it to the GSX.cfg I won´t get any cargo vehicle.

What am I doing wrong ?

here is my gsx.cfg for the Project Airbus A320 for example

Code: [Select]
[exit1]
pos = -1.9 11.5 -0.1 0
code = 1
name = Front Pax Door

[exit2]
remove = 1

[exit3]
remove = 1

[exit4]
pos = -1.8 -13.1 0.3 -8
code = 3
name = Rear Pax Door

[service1]
flip = 1
name = Front Catering Door

[service2]
flip = 4
name = Rear Catering Door

[cargo1]
pos = 1.2 8.3 -1.4 0
code = 2
name = Front Cargo Door
uldcode = ""

[cargo2]
pos = 1.3 -8.3 -1.5 0
code = 2
name = Rear Cargo Door
uldcode = ""

If you are wondering about the door heights, I know that it should be the height from the ground but for me, it really works this way, when I set the height to 0, the stairs attach at the middle of the door and when I set it to 3 for example, the stair is above the door, which is way too high, so I believe, the Z coordinate is not from the ground but from the center of the plane.
« Last Edit: March 23, 2012, 09:01:00 pm by Plexi1 »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50875
    • VIRTUALI Sagl
Re: Problem with GSX.cfg
« Reply #1 on: March 24, 2012, 11:03:40 am »
If you are wondering about the door heights, I know that it should be the height from the ground but for me, it really works this way, when I set the height to 0, the stairs attach at the middle of the door and when I set it to 3 for example, the stair is above the door, which is way too high, so I believe, the Z coordinate is not from the ground but from the center of the plane.

I think this is the problem which affect the vehicle selection, because vehicles have conditions depending on the door's height, and with heights that low, most of them will be rejected.

I can confirm the Z parameter IS from the ground level, but it seems this particular airplane has an unusual offset. Is a model ported from FS9 maybe ?

Plexi1

  • Newbie
  • *
  • Posts: 29
    • FS-Flightcrew.de
Re: Problem with GSX.cfg
« Reply #2 on: March 24, 2012, 12:17:23 pm »
no, it is a true FSX model and as I said, the planes from Project Opensky have the same problems (they are FSX models also)

On the PA Airbus, only the cargo/belt loaders are affected, I can only use one, the second one does not show up. On the POSKY 737 it affects the stairs and the cargo/belt loaders, only one of each works.
« Last Edit: March 24, 2012, 12:23:13 pm by Plexi1 »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50875
    • VIRTUALI Sagl
Re: Problem with GSX.cfg
« Reply #3 on: March 24, 2012, 12:27:40 pm »
I'm sorry, but something is clearly strange on that model.

I've asked this question several times on the forum before, but nobody seemed to be able to reply in a definite way: is there an installer for the Project Airbus that I can just run and have the full airplane working, without having to reconstruct the airplane taking a panel from a download, the model from another one, the livery from another one ?

Plexi1

  • Newbie
  • *
  • Posts: 29
    • FS-Flightcrew.de
Re: Problem with GSX.cfg
« Reply #4 on: March 24, 2012, 12:32:28 pm »
no there is none as far as I know and there are even different aircraft.cfg for those.

I saw in another post that the coordinates are dependant on the reference datum and cg_height, the one I have has its reference point at 0,0,0 and static_cg_height is 11.60

This is how it looks with the above GSX.cfg and as you can see, the rear loader is missing but the bagagge truck is there although the amount of bagagges does not change but it holds three times as if there was a loader and then drives away.

http://www.abload.de/img/2012-3-24_13-11-38-74gluq4.jpg
« Last Edit: March 24, 2012, 01:58:16 pm by virtuali »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50875
    • VIRTUALI Sagl
Re: Problem with GSX.cfg
« Reply #5 on: March 24, 2012, 02:00:13 pm »
I'm sorry, but I can't really explain, other than there's something unusual with that model, never had any issues with all the dozen of 3rd party airplanes we configured for the default airplane database that comes with GSX.

Can you post the aircraft.cfg you are using at least ?

Plexi1

  • Newbie
  • *
  • Posts: 29
    • FS-Flightcrew.de
Re: Problem with GSX.cfg
« Reply #6 on: March 24, 2012, 02:08:02 pm »
sure, here you go, I have left out the entries for the repaints and the cameras

Code: [Select]
[forcefeedback]
gear_bump_nose_magnitude=3000           ; 0 - 10000
gear_bump_nose_direction=18000          ; 0 - 35999 degrees
gear_bump_nose_duration=250000          ; in microseconds
gear_bump_left_magnitude=2700           ; 0 - 10000
gear_bump_left_direction=35500          ; 0 - 35999 degrees
gear_bump_left_duration=250000          ; in microseconds
gear_bump_right_magnitude=2700          ; 0 - 10000
gear_bump_right_direction=00500         ; 0 - 35999 degrees
gear_bump_right_duration=250000         ; in microseconds
ground_bumps_magnitude1=1300            ; 0 - 10000
ground_bumps_angle1=08900               ; 0 - 35999 degrees
ground_bumps_intercept1=3.0
ground_bumps_slope1=0.20
ground_bumps_magnitude2=200             ; 0 - 10000
ground_bumps_angle2=09100               ; 0 - 35999 degrees
ground_bumps_intercept2=1.075
ground_bumps_slope2=0.035
crash_magnitude1=10000                  ; 0 - 10000
crash_direction1=01000                  ; 0 - 35999 degrees
crash_magnitude2=10000                  ; 0 - 10000
crash_direction2=9000                   ; 0 - 35999 degrees
crash_period2=75000                     ; in microseconds
crash_duration2=2500000                 ; in microseconds

//------------------------------------------------------------------------------------------------------------

[WEIGHT_AND_BALANCE]
     

//Pax Zonings
station_load.0= "7605.9, 21.24, 0.000, 0.000,  CAB OA (60)" 
station_load.1= "7149.6,  -3.33, 0.000, 0.000,  CAB OB (60)"   
station_load.2= "6541.1, -26.34, 0.000, 0.000, CAB OC (59)"
//-ok

//Cargo & Baggage
station_load.3= "2921.1,  22.10, 0.000, 0.000, CPT 1"   //Compartment 1 (7500lbs)
station_load.4= "3086.5, -11.99, 0.000, 0.000,  CPT 3"   //Compartment 3 (5349lbs)
station_load.5= "1190.5, -22.67, 0.000, 0.000, CPT 4"   //Compartment 4 (4652lbs)
station_load.6= "171.96, -33.11, 0.000, 0.000,  CPT 5"   //Compartment 5 (3300lbs)


//Basic Weight                42637 kgs  |   93998 lb   
//Crew 3/4(1 OBS)=              520 kgs  |    1146 lbs   
//Pantry Wgt Sector- DOM=       570 kgs  |    1257 lbs   
//-----------------------------------------------------------
//Dry Operating Weight/Index= 43727 kgs  |   96401 lbs   56.5
//-----------------------------------------------------------
//"weights in kilos"
//ZFWCG/MACZFW= 31.8% / 56.7

empty_weight=96401.4
empty_weight_roll_MOI=959904.000000
empty_weight_pitch_MOI=1710000.000000
empty_weight_yaw_MOI=1230000.000000
empty_weight_coupled_MOI=0.000000
max_gross_weight=169756
reference_datum_position=0.0000,0.000000,0.000000
empty_weight_CG_position=0.63,0.000000,0.000000
CG_forward_limit=0.18
CG_aft_limit=0.40


//------------------------------------------------------------------------------------------------------------

[airplane_geometry]
wing_area=1317.503
wing_span=111.833333
wing_root_chord=13.76
wing_dihedral=3.298901
wing_incidence=-3.5
wing_twist=-1.600000
oswald_efficiency_factor=0.745 
wing_winglets_flag=1
wing_sweep=25.0000
wing_pos_apex_lon=16.813
wing_pos_apex_vert=0.70000
htail_area=333.681
htail_span=41.666667
htail_pos_lon=-57.33688
htail_pos_vert=6.500000
htail_incidence=1.500000
htail_sweep=0.000000
vtail_area=231.424
vtail_span=17.991665
vtail_sweep=0.000000
vtail_pos_lon=-54.51698
vtail_pos_vert=19.915
elevator_area=76.500000
aileron_area=57.0
rudder_area=56.200000
elevator_up_limit=25.0
elevator_down_limit=15.0
aileron_up_limit=25.0
aileron_down_limit=15.0
rudder_limit=25.0
elevator_trim_limit=13.5
spoiler_limit=50.0 //35.0
spoilerons_available=1         
aileron_to_spoileron_gain=1.5       
min_ailerons_for_spoilerons=12             
min_flaps_for_spoilerons=0                   
auto_spoiler_available=1
spoiler_extension_time=1.500000
positive_g_limit_flaps_up=4.000000
positive_g_limit_flaps_down=3.000000
negative_g_limit_flaps_up=-3.000000
negative_g_limit_flaps_down=-2.000000

//------------------------------------------------------------------------------------------------------------

[General]
performance=A320-214\nCFM56-5B4\n\nMZFW: 61,000 KG\nMTOW: 77,000 KG\nMLW: 64,500 KG\n
atc_type=Airbus
atc_model=A320
Category=airplane


//------------------------------------------------------------------------------------------------------------

[GeneralEngineData]
engine_type=1
fuel_flow_scalar=1.09 
Engine.0=13.500000,-18.95,-5.125
Engine.1=13.500000,18.95,-5.125
min_throttle_limit=-0.43
max_contrail_temperature = -30
master_igniton_switch=1

//------------------------------------------------------------------------------------------------------------


[Reference Speeds]
flaps_up_stall_speed=128.000
full_flaps_stall_speed=102.000
cruise_speed=462.0
max_indicated_speed=350.000000
max_mach=0.820

//------------------------------------------------------------------------------------------------------------

[autopilot]
autopilot_available=                    1
flight_director_available=              1
default_vertical_speed=                 1500
autothrottle_available=                 1
use_no_default_pitch= 1
use_no_default_bank= 1
pitch_takeoff_ga=                       18
autothrottle_arming_required= 1
autothrottle_takeoff_ga= 1
autothrottle_max_rpm= 105
default_pitch_mode=0
default_bank_mode=0
max_pitch= 10.00
max_pitch_acceleration= 2.00
max_pitch_velocity_lo_alt= 4.00
max_pitch_velocity_hi_alt= 1.50 
max_pitch_velocity_lo_alt_breakpoint= 20000
max_pitch_velocity_hi_alt_breakpoint= 28000
max_bank= 25.00
max_bank_acceleration= 2.0
max_bank_velocity= 3.0
max_throttle_rate= 0.30
nav_proportional_control= 12.00
nav_integrator_control= 0.05
nav_derivative_control= 0.01
nav_integrator_boundary= 0.5
nav_derivative_boundary= 0.35
gs_proportional_control= 25.0
gs_integrator_control= 0.83 //0.30
gs_derivative_control= 0.00
gs_integrator_boundary= 0.70
gs_derivative_boundary= 0.00
yaw_damper_gain= 1.00
direction_indicator=                    0
attitude_indicator=                     0
default_bank_mode=                      0

//------------------------------------------------------------------------------------------------------------

[direction_indicators]
direction_indicator.0=3,0

//------------------------------------------------------------------------------------------------------------

[EFFECTS]
wake=fx_wake
water=fx_spray
dirt=fx_tchdrt
concrete=fx_sparks
touchdown=fx_tchdwn, 1

//------------------------------------------------------------------------------------------------------------

[RADIOS]
Audio.1= 1
Com.1  = 1, 1
Com.2  = 1, 1
Nav.1  = 1, 1, 1
Nav.2  = 1, 1, 0
Adf.1  = 1
Transponder.1= 1
Marker.1= 0

//------------------------------------------------------------------------------------------------------------

[contact_points]
static_pitch=-0.319722
static_cg_height=11.60811023622
//      1     2            3          4             5          6         7          8          9        10          11          12         13          14           15          16
point.0=1.0,  38.84,    0.0,      -11.85,      800,         0.0,      1.53379,  68.0,       1.0,      1.4390,     0.680000,  13.2,      12.9,        0.000000,  252.000000, 282.0
point.1=1.0,  -3.660,    -12.458,    -12.2,      1200,         1.000000, 1.680382,  0.000000,  0.72,     1.5419948,  0.75,      14.000000, 13.700000,   2.000000,  252.000000, 282.000000
point.2=1.0,  -3.660,     12.458,    -12.2,      1200,         2.000000, 1.680382,  0.000000,  0.72,     1.5419948,  0.75,      14.200000, 13.300000,   3.000000,  252.000000, 282.000000
point.3=2.0, -13.750000, -54.583333,  -0.500000,  750.924659,  0.000000, 0.000000,  0.000000,  0.000000, 0.000000,   0.000000,   0.000000,  0.000000,   5.000000,    0.000000,   0.000000
point.4=2.0, -13.750000,  54.583333,  -0.500000,  750.924659,  0.0,      0.0,       0.0,       0.0,      0.0,        0.0,        0.0,       0.0,        6.0,         0.0,        0.0
point.5=2.0, -71.250000,   0.0,        0.750,     750.924659,  0.0,      0.0,       0.0,       0.0,      0.0,        0.0,        0.0,       0.0,        9.0,         0.0,        0.0
point.6=2.0,  51.666667,   0.0,       -8.166667,  750.924659,  0.0,      0.0,       0.0,       0.0,      0.0,        0.0,        0.0,       0.0,        4.0,         0.0,        0.0
gear_system_type=1
emergency_extension_type=2

//------------------------------------------------------------------------------------------------------------

[fuel]
Center1=   4.15,   0.0, -4.00, 2179.6, 8.0
LeftMain=  3.31, -19.6,  1.40, 1829.6, 5.0 //3653 //3.45
LeftAux=  -4.80, -36.4,  2.20,  232.5, 5.0 //464
RightMain= 3.31,  19.6,  1.40, 1829.6, 5.0 //3653  //3.45
RightAux= -4.80,  36.4,  2.20,  232.5, 5.0 //464
fuel_type=2.0
number_of_tank_selectors=1
fuel_dump_rate = 0.0167
electric_pump=1

//------------------------------------------------------------------------------------------------------------

[keyboard_response]
aileron=180.000000,130.000000

//------------------------------------------------------------------------------------------------------------

[pitot_static]
vertical_speed_time_constant=999               
pitot_heat=1.000000

//------------------------------------------------------------------------------------------------------------

[Views]
eyepoint=48.5, -2.1, 4.5
zoom=0.3

//------------------------------------------------------------------------------------------------------------

[Flaps.0]
type=1                                   
span-outboard=0.8                                 
extending-time=20                                   
flaps-position.0=0                                   
flaps-position.1=1                                   
flaps-position.2=10                                 
flaps-position.3=15                                   
flaps-position.4=20                                   
flaps-position.5=35 //21
damaging-speed=250
blowout-speed=270
lift_scalar=0.84
drag_scalar=1.25
pitch_scalar=0.9
system_type=1 

//------------------------------------------------------------------------------------------------------------

[flaps.1]     //slats
type=2                       
span-outboard=0.8   
extending-time=10     
flaps-position.0=0           
flaps-position.1=18     
flaps-position.2=18   
flaps-position.3=22   
flaps-position.4=22           
flaps-position.5=25       
damaging-speed=250             
blowout-speed=270             
lift_scalar=0.8
drag_scalar=0.7
pitch_scalar=0.9
system_type=1 

//------------------------------------------------------------------------------------------------------------

[flaps.2] //ailerons
type=2
span-outboard=0.85
extending-time=11.000
system_type=1
damaging-speed=233.000
blowout-speed=250.000
flaps-position.0=0.000,
flaps-position.1=0.000,
flaps-position.2=5.000,
flaps-position.3=5.000,
flaps-position.4=5.000,
flaps-position.5=5.000,
lift_scalar=0.20
drag_scalar=0.32

//------------------------------------------------------------------------------------------------------------

[flaps.3]  //actual flaps
type=1
span-outboard=0.85
extending-time=21.000
system_type=1
damaging-speed=233.000
blowout-speed=250.000
flaps-position.0=0                                   
flaps-position.1=1                                   
flaps-position.2=10                                 
flaps-position.3=15                                   
flaps-position.4=20                                   
flaps-position.5=35 //21
lift_scalar=0.62 
drag_scalar=1.08

//------------------------------------------------------------------------------------------------------------

[jet_engine]
thrust_scalar=1.000

//------------------------------------------------------------------------------------------------------------

[TurbineEngineData]
fuel_flow_gain=0.00247
inlet_area=29.3000
rated_N2_rpm=29920 //15183.000000
static_thrust=30000   //25500.000000  //do not change!
afterburner_available=0
reverser_available=1
bypass_ratio=5.40

//------------------------------------------------------------------------------------------------------------

[exits]
number_of_exits=3
exit.0 = 0.19,  38,    -5.5,   7.0, 0
exit.1 = 0.19, -29.90, -6.0,   7.0, 0
exit.2 = 0.05, -21.20,  5.45, -4.0, 1
exit.3 = 0.05, 15.20,  5.45, -4.0, 1


//------------------------------------------------------------------------------------------------------------

[flight_tuning]
rudder_effectivenes=1.0
aileron_effectivenes=1.0
elevator_effectiveness=1.0
pitch_stability=1.2
roll_stability=1.0
yaw_stability=1.0
elevator_trim_efeectivenes=1.1
aileron_trim_effectiveness=0.9
rudder_trim_effectiveness=1.1
cruise_lift_scalar     = 0.83 //1.35

//------------------------------------------------------------------------------------------------------------

[LIGHTS]       
light.0=   3, -13.90,  -55.25,  2.45, fx_navred320pa
light.1=   3, -13.90,   55.25,  2.45, fx_navgre320pa
light.2=   3, -69.70,    0.00,  4.70, fx_navwhi320pa
light.3=   2, -69.70,    0.00,  4.70, fx_strobe2320pa
light.4=   2, -13.95,  -55.25,  2.45, fx_strobe320pa
light.5=   2, -13.95,   55.25,  2.45, fx_strobe320pa
light.6=   1,    6.8,    0.00, -5.80, fx_beacon320pa ,
light.7=   1,   3.83,    0.00,  8.47, fx_beacon3202pa ,

//------------------------------------------------------------------------------------------------------------

[TailHook]
tailhook_length=4                             
tailhook_position=-15.0, 0.0, -1.0           
cable_force_adjust=0.9

//------------------------------------------------------------------------------------------------------------

[folding_wings]
wing_fold_system_type=4                   
fold_rates=0.11,0.13                       

//------------------------------------------------------------------------------------------------------------

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

flap_motor=               0, 5 , 17.0
gear_motor=               0, 5 , 17.0
autopilot=                0, 5 , 17.0
avionics_bus=             0, 5 , 17.0
avionics=                 1, 5 , 17.0
pitot_heat=               0, 10, 22.0
additional_system=        0, 5 , 17.0
marker_beacon=            1, 2 , 22.0
gear_warning=             0, 2 , 17.0
fuel_pump=                0, 5 , 17.0
starter1=                 0, 20, 17.0
starter2=                 0, 20, 17.0
light_nav=                0, 5 , 20.0
light_beacon=             0, 5 , 20.0
light_landing=            0, 10, 17.0
light_taxi=               0, 5 , 20.0
light_strobe=             0, 5 , 17.0
light_panel=              3, 5 , 17.0
light_cabin=              3, 10, 17.0
light_logo=               0, 5 , 20.0
light_wing=               0, 5 , 20.0
light_recognition=        3, 5 , 00.0
auto_brakes=              0, 5 , 17.0
standby_vacuum=           0, 5 , 20.0
hydraulic_pump=           0, 5 , 17.0
fuel_transfer_pump=       0, 5 , 17.0
light_recognition=        2, 5 , 17.0
directional_gyro=         1, 2 , 17.0
directional_gyro_slaving= 1, 2 , 17.0
max_battery_voltage = 24.0
generator_alternator_voltage = 30.0
max_generator_alternator_amps = 200.0
electric_always_available=0
engine_generator_map=1,1

//------------------------------------------------------------------------------------------------------------

[brakes]
toe_brakes_scale=0.544
parking_brake=1
auto_brakes=4
hydraulic_system_scalar = 1
differential_braking_scale=1.0

//------------------------------------------------------------------------------------------------------------

[gear_warning_system]
gear_warning_available=1
pct_throttle_limit=0.099976
flap_limit_power=20.5 //25.496622
flap_limit_idle=16.0 //5.042029

//------------------------------------------------------------------------------------------------------------

[hydraulic_system]
electric_pumps=1
engine_map=1,1
normal_pressure=3000.000000

//------------------------------------------------------------------------------------------------------------

[stall_warning]
type=1
stick_shaker=1

//------------------------------------------------------------------------------------------------------------

[attitude_indicators]
attitude_indicator.0=1

//------------------------------------------------------------------------------------------------------------

[airspeed_indicators]
airspeed_indicator.0=1
airspeed_indicator.1=1

//------------------------------------------------------------------------------------------------------------

[altimeters]
altimeter.0=1
altimeter.1=1

//------------------------------------------------------------------------------------------------------------

[turn_indicators]
turn_indicator.0=1,0

//------------------------------------------------------------------------------------------------------------

[vacuum_system]
max_pressure=5.150000
vacuum_type=2
electric_backup_pressure=0.000000
engine_map=1,1

//------------------------------------------------------------------------------------------------------------

[pneumatic_system]
max_pressure=18.000000
bleed_air_scalar=1.000000

//------------------------------------------------------------------------------------------------------------

[deice_system]
structural_deice_type=1

//-------------------------------------------------------------------------------------------------------------------------------------------------------


virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50875
    • VIRTUALI Sagl
Re: Problem with GSX.cfg
« Reply #7 on: March 24, 2012, 02:11:54 pm »
Please, attach the file, not post it, I was trying to understand if there was something like extra characters or so, so I need to be sure it's not altered a single bit from the file you have on your system, and the forum software might do that if you copy&paste, but attaching it's safe. ZIP the file first.

Plexi1

  • Newbie
  • *
  • Posts: 29
    • FS-Flightcrew.de
Re: Problem with GSX.cfg
« Reply #8 on: March 24, 2012, 02:15:47 pm »
sorry, I misundertood you, here you go and as I said, I left out the repaints and cameras

maybe it would help if I knew how GSX exactly works but I guess this is your secret to keep
« Last Edit: March 24, 2012, 02:26:36 pm by Plexi1 »