
//
// Gotha G.V
//

[performance]
    MaxSpeed           = 141 // H=0, , ,  
    MaxClimbRate       = 3.1 // H=0, ,   ,  
    MaxClimbCAS        = 110.0 // H=0, ,   ,  
    ServiceCeiling     = 5012.0 //  ,        ,  ,  Vy=0.5 /
    MaxAltitude        = 6150.0 //     ,  
    MinStructureHealth = 0.959
    MinEngineHealth    = 0.6
    EngineWarming      = true
    TurnRate           = 105.0, 11.5
    CruiseFuelRate     = 1.48 //[/], , =1000, TS=120/, EAS=130/,  50%,  
    PriorityType       = 4 //FIGHTER=1,HEAVY_FIGHTER=2,LIGHT_BOMBER=3,BOMBER=4,LIGHT_RECON=5,RECON=6,SHTURMOVIK=7,CARGO=8

    ////// ClimbTime = <float ALTITUDE>, <float TIME>
    ClimbTime =    0,   0
    ClimbTime =  500, 171
    ClimbTime = 1000, 357
    ClimbTime = 1500, 554
    ClimbTime = 2000, 763
    ClimbTime = 2500, 991
    ClimbTime = 3000,1251
    ClimbTime = 3500,1555
    ClimbTime = 4000,1931
    ClimbTime = 4500,2430
    ClimbTime = 4976,3149

    ////// MaxAltTAS = <float ALTITUDE>, <float TAS>
    MaxAltTAS =    0,137.0
    MaxAltTAS =  500,138.0
    MaxAltTAS = 1000,139.0
    MaxAltTAS = 1500,140.0
    MaxAltTAS = 2000,140.0
    MaxAltTAS = 3000,140.0
    MaxAltTAS = 4000,140.0
    MaxAltTAS = 5000,140.0
    MaxAltTAS = 6000,138.0
    
    ////// turn time at altitude (m/s) = <float ALTITUDE>, <float TIME>
    TurnTimeAlt = 0,22.5
    TurnTimeAlt = 3800,38.2

    ////// optimal turn CAS at altitude= <float ALTITUDE>, <float CAS>
    TurnOptimal_CAS_Alt = 0,138
    TurnOptimal_CAS_Alt = 3800,190
[end]

[cruise]
    RefAngle               = 90.0
    RefRoll                = 15.0
    MaxRoll                = 20.0
    MaxRollClimb           = 5.0
    RefRollFactor          = 0.5
    RefAltError            = 50.0
    RefClimb               = 1.5
    RefClimbFactor         = 1.5
    RefDive                = 10.0
    RefDiveFactor          = 1.5
    TurnOffError           = -10
    TurnOnError            = -2
    MinRPM                 = 550
    MinCruiseCAS           = 120.0
    MinWingmanCAS          = 108.0
    WingLeaderLagCorrectionK = 1.0		//   0.0  1.0(default),        
    PursueWingmanDist      = 600.0		//             
    WingLeaderThrottleLowLimit = 0.5	//        
    WingLeaderThrottleUpLimit  = 0.97	//         
    LandRoundCAS0          = 135		//     ,   2 ,  2  3 
    LandRoundCAS1          = 130		//     4 
    LandRoundCAS2          = 130		//        
    LandingApproachCAS     = 110.0
    LandingTouchDownCAS    = 95.0
    TouchDownDistance      = 200.0	//         
    TouchDownPitch         = 7.5
    LandingApproachCAS_NoFuel  = 100.0
    LandingTouchDownCAS_NoFuel = 90.0
    TouchDownDistance_NoFuel   = 100.0
    TouchDownPitch_NoFuel      = 7.5
    StartTurnBeforeGlissadeDistance = 450.0
    TouchDownPitchUpSpeed  = 50.0	//               
    TouchDownAlignHeight   = 5.0	//   
    SmoothTouchDownHeight  = 0.5	//   " ()"
    LandingThrottleLimit   = false
    BrakePitchMax          = 12.0	//      
    BrakePitchMin          = 10.0	//        BrakeLimMin
    BrakeLimMin            = 0.1	//       BrakePitchMin (  )
    ApproachLowering       = false
    ApproachIgnition       = false
    LandingRoundIgnition   = false
    TouchDownCYRFactor     = 0.0
    RestrictAttackAngle    = true
    MinAttackAngle         = 8.0
    MaxAttackAngle         = 11.0
    MinNegativeAttackAngle = -10.0
    MaxNegativeAttackAngle = 13.0
    MinSlipAngle           = 8.0
    MaxSlipAngle           = 10.0
    TaxiD1                 = 5.0
    TaxiD2                 = 10.0
    TaxiD3                 = 50.0
    TaxiD4                 = 300.0
    TaxiSpeedD1            = 8.0	//      D1,  D2  
    TaxiSpeedD2D3          = 20.0	//      D2  D3,  D2  
    TaxiSpeedD4            = 60.0	//      D4
    TaxiMaxAngle           = 90.0	//      ,       TaxiSpeedD1
    TaxiMaxAside           = 50.0	//      ,       TaxiSpeedD1
    TaxiBrakingThrottleUp  = 0.5	//           TaxiSpeedD1
    TaxiingPitch           = false	//          ,          .   -  .
    TaxiingPIDSpeed        = 15.0	//   PID  [pid_taxiing]  [pid_0]  ,       0,75*TaxiingPIDSpeed   = TakeOffCAS+10
    Switch_2_TaxiingPIDSpeed = 40.0	//   PID  [pid_0]  [pid_taxiing]  .   = LandingTouchDownCAS - 20.0
    TakeOffCAS             = 120.0	//  ,         .
    TakeoffPitch           = 5.0	//        
    TakeoffElevatorSafe    = true
    TakeoffSafePitch       = 4.0
    TakeoffSurfaceSlope    = false
    TakeoffCriticalSlope   = 0.0
    CriticalTakeoffRoll    = 3
    TakeoffYawFactor       = 0
    TakeOffBrakingMax      = 1.0	//          TakeOffBrakingAngle (  pid_taxiing)
    TakeOffBrakingAngle    = 10.0	//     ,      TakeOffBrakingMax
    StallRollRate          = 30.0
    StallYawRate           = 20.0
    StructureAlert         = true
    StructureAlertNy       = 4
    StructureAlertTAS      = 190.0
    AttackIgnitionControl  = false
    TakeoffRefAngle        = 45.0
    MaxFlapsCAS            = 160.0
    MinFlapsCAS            = 180.0
    TakeOFFFlapsAngle      = 0     // 0..1    
    LandingFlapsAngle      = 0     // 0..1     
    FlapsPosQuantity       = 0
    DifferentialBrakes     = false  // "true",    (), "false" -  ()
    OpenCocpitWhileTaxi    = true   //  true -      
    NeedFilter             = true	//     	
    MinStickMoveTime       = 0.0	//           
    MaxStickMoveTime       = 0.2	//            
    MinStickMoveCAS        = 400.0	//      m_MinStickMoveTime
    MaxStickMoveCAS        = 500.0	//      m_MaxStickMoveTime
    CruiseThrottleLimit    = 1.0	//   -    , 0..1 ,   - 1
    taxiWindLimit          = -1.0	//  (/)                ( - 15.0 /)
[end]

[dogfight]
    [novice]
        RefNoseAngle      = 30.0
        MinCAS1           = 90.0
        MaxCAS2           = 150.0	//TurnOptimal_CAS_Alt + 20
        MaxPitchRate      = 120.0
        AttackDistance    = 400.0
        EngageDistance    = 700.0
        MinFireDistance   = 35.0
        MaxFireDistance   = 200.0
        MinOpenFireAngle  = 20.0
        MaxOpenFireAngle  = 3.0
        MinStopFireAngle  = 50.0
        MaxStopFireAngle  = 11.0
        CollisionTimeTreshold  = 3.0
        HBTNegativeRoll        = -60.0
        HBTPositiveBTRoll      = 60.0
        InterceptAltitudeAdvance = 0.0
    [end]
    [normal]
        RefNoseAngle      = 30.0
        MinCAS1           = 70.0
        MaxCAS2           = 140.0	//TurnOptimal_CAS_Alt + 10
        AttackDistance    = 600.0
        EngageDistance    = 900.0
        MinFireDistance   = 30.0
        MaxFireDistance   = 250.0
        MinOpenFireAngle  = 20.0
        MaxOpenFireAngle  = 3.0
        MinStopFireAngle  = 40.0
        MaxStopFireAngle  = 9.0
        CollisionTimeTreshold  = 3.0
        HBTNegativeRoll        = -70.0
        HBTPositiveBTRoll      = 70.0
        InterceptAltitudeAdvance = 0.0
    [end]
    [high]
        RefNoseAngle      = 30.0
        MinCAS1           = 50.0
        MaxCAS2           = 130.0	//TurnOptimal_CAS_Alt
        MaxPitchRate      = 160.0
        AttackDistance    = 800.0
        EngageDistance    = 1200.0
        MinFireDistance   = 25.0
        MaxFireDistance   = 300.0
        MinOpenFireAngle  = 20.0
        MaxOpenFireAngle  = 3.0
        MinStopFireAngle  = 35.0
        MaxStopFireAngle  = 7.0
        CollisionTimeTreshold  = 3.0
        HBTNegativeRoll        = -75.0
        HBTPositiveBTRoll      = 75.0
        InterceptAltitudeAdvance = 150.0
    [end]
    [ace]
        RefNoseAngle      = 30.0
        MinCAS1           = 30.0
        MaxCAS2           = 120.0	//TurnOptimal_CAS_Alt - 10
        MaxPitchRate      = 180.0
        AttackDistance    = 1000.0
        EngageDistance    = 1500.0
        MinFireDistance   = 20.0
        MaxFireDistance   = 400.0
        MinOpenFireAngle  = 20.0
        MaxOpenFireAngle  = 3.0
        MinStopFireAngle  = 30.0
        MaxStopFireAngle  = 5.0
        CollisionTimeTreshold  = 3.0
        HBTNegativeRoll        = -80.0
        HBTPositiveBTRoll      = 80.0
        InterceptAltitudeAdvance = 300.0
    [end]

    MinSafeAltitude0  = 50.0
    MaxSafeAltitude0  = 100.0
    MinSafeAltitude45 = 80.0
    MaxSafeAltitude45 = 150.0
    MinSafeAltitudeVP = 300.0
    MaxSafeAltitudeVP = 600.0

    CASPitchLimit  = false
    MinPitchCAS    = 290.0
    MaxPitchCAS    = 330.0
    STVOffset      = -1.5 // -5.5
    YawAimingAngle = 7.0

    AirTargetToLeaderCriticalDistance = 4000,6000

    DiveCAS   = 300.0
    CruiseCAS = 180.0
    ClimbCAS  = 130.0

    RestrictPitchBySSA = true
    MinPitchSSA = 10.0
    MaxPitchSSA = 15.0

    GunAirAimSmooth = 0.4    //       (  ). [0..1], 0 - , 1 - , -1 - 
[end]

[approach]
    GroundTargetToLeaderCriticalDistance = 4000,6000
    VFAngle              = 0.0
    ApproachCAS          = 140.0
    ApproachRadius       = 800.0
    ApproachDistance     = 3000.0
    ApproachAltitude     = 600.0
    GroundAttackExitAltitude = 100.0   //           (   ,   +40)
    GroundAttackDistance = 800.0
    GroundEngageDistance = 3000.0
    GroundEngageRocketK  = 1.0				// -    m_GroundEngageDistance   
    SpiralAttackApproach = true
    DiveBombAltitude     = 2500.0	//     ,         -      
    DiveBombExitAltitude = 650.0	//      
    DeepDiveWeaponSet    = -1		//  payloads     , -1  ,  15   
    ShallowDiveWeaponSet = -1	//  payloads     , -1  ,  15   
    OwerWingDive         = false	//     , true -   , false -    
    DiveSoftness         = 7.5		// ""       -     ,   ,    -       (  7.5)
    PushDiveEntranceDistance = 1500.0	//  ()         "  ",   ,         ,  ,    - 
    PushDiveEntranceK    = 1.0		// .     "  ",  -   ,  , (. - PushDiveEntranceDistance)*PushDiveEntranceK =    (  1.0)
    ShallowDiveAngle     = 10.0		//    , < 41  -     (  ) >41 -  (  50.0)
    ShallowExitAltitude  = 80.0		//       (   ,   +40)
    ShallowDiveEnterKoef = 1.5		//          , >1 -    , < 1 - ,   .  
    Salvo2WeaponSet      = -1	//  payloads,     / /  2 , -1  ,  15   
    Salvo4WeaponSet      = -1	//  payloads,     / /  4 , -1  ,  15   
    SalvoAllWeaponSet    = 0,1,2,3		//  payloads,     / /  , -1  ,  15   
    GunAimSmooth         = 1.8  //       .  <1 ,  >1 .  =1.8
    AimDamperCompensationTime = 1.0 //   ,    .
[end]

[adapt_pid_0]	//PID        -     
    CAS     = 100.0
    Roll    = 10.0,   0.0,  8.0, 0.02
    Pitch   = 50.0,   0.0, 10.0, 0.02
    PitchVy = 40.0,   0.0, 20.0, 0.02
    Yaw     =150.0,   0.0, 60.0, 0.02
    Speed   =120.0, 120.0, 20.0, 0.4
[end]
[adapt_pid_1]
    CAS     = 160.0
    Roll    = 10.0,   0.0,  8.0, 0.02
    Pitch   = 40.0,   0.0,  5.0, 0.02
    PitchVy = 25.0,   0.0,  7.0, 0.02
    Yaw     =120.0,   0.0, 40.0, 0.02
    Speed   =120.0, 120.0, 20.0, 0.4
[end]
[pid_taxiing]
    Roll    = 20.0,   0.0,  8.0, 0.05
    Pitch   = 10.0,   0.0,  0.0, 0.05
    Yaw     = 50.0,   0.0, 10.0, 0.02
    Speed   =120.0, 120.0, 20.0, 0.4
    WheelBrakes = 1.5, 0.0, 0.0
[end]
