class CfgSkeletons { class BRAF_A29Skeleton { isDiscrete=1; skeletonInherit=""; skeletonBones[]= { // Damage "damageHide","", // Versions // A29A "a29a","damageHide", "radio_board","a29a", // A29B "a29b","damageHide", "flir","a29b", "mainTurret","flir", "mainGun","mainTurret", // A29EDA "a29eda","damageHide", //Engine "rotor","damageHide", // Front Gear // Hatch "gear_f_hatch_1","damageHide", "gear_f_hatch_2","damageHide", // Main "gear_f","damageHide", // Lights "light_l","gear_f", "light_r","gear_f", "gear_f_piston_2","damageHide", "gear_f_piston_1","gear_f", "gear_f_steering","gear_f", "gear_f_damper","gear_f_steering", "gear_f_stabil_2","gear_f_steering", "gear_f_stabil_1","gear_f_damper", // Wheel "wheel_f","gear_f_damper", "wheel_f_damper_land","gear_f_damper", // Left Wing //FCS "aileron_l","damageHide", "flap_l","damageHide", // Weapons "muzzle_flash_l","", // Lights "light_wing_l","damageHide", // Left Gear "gear_l_hatch","damageHide", "gear_l","damageHide", "gear_l_piston_2","damageHide", "gear_l_piston_1","gear_l", "gear_l_damper","gear_l", "gear_l_stabil_2","gear_l", "gear_l_stabil_1","gear_l_damper", "wheel_l", "gear_l_damper", "wheel_l_damper_land","gear_l_damper", // Right Wing //FCS "aileron_r","damageHide", "flap_r","damageHide", // Weapons "muzzle_flash_r","", // Lights "light_wing_r","damageHide", // Right Gear "gear_r_hatch","damageHide", "gear_r","damageHide", "gear_r_piston_2","damageHide", "gear_r_piston_1","gear_r", "gear_r_damper","gear_r", "gear_r_stabil_2","gear_r", "gear_r_stabil_1","gear_r_damper", "wheel_r","gear_r_damper", "wheel_r_damper_land","gear_r_damper", // Body FCS "rudder","damageHide", "elevator","damageHide", "speed_brake","damageHide", // Cabin // Canopy "canopy","damageHide", "canopy_lever_f","canopy", "canopy_lever_b","canopy", "compass_canopy","canopy", // Efection Seats "ejection_seat_f","", "ejection_seat_b","a29b", "ladder","damageHide", "rbf","damageHide", // Controls // Pilot "stick_pilot","damageHide", "throttle_lever_pilot","damageHide", "lg_lever_pilot","damageHide", "lg_light","damageHide", "pedal_f_l","damageHide", "pedal_f_r","damageHide", "ground_brake_lever","damageHide", "map_case_f","damageHide", // Copilot "stick_copilot","a29b", "throttle_lever_copilot","a29b", "lg_lever_copilot","a29b", "pedal_b_l","a29b", "pedal_b_r","a29b", "map_case_b","a29b", // MFD_HUD "ADHSI","damageHide", "ADHSI_Front","ADHSI", "ADHSI_Back","ADHSI", "SMS","damageHide", "SMS_Front","SMS", "SMS_Back","SMS", "FlirPiP","damageHide", "FlirPiP_Back","FlirPiP", // MFD_EICAS "eicas","damageHide", "flap_up","eicas", "flap_down","eicas", "fuel_25","eicas", "fuel_50","eicas", "fuel_75","eicas", "fuel_100","eicas", "speedbrake_closed","eicas", "speedbrake_open","eicas", "pilot_oil_press_arrow","eicas", "pilot_oil_temp_arrow","eicas", "pilot_pitch_arrow","eicas", "pilot_roll_arrow","eicas", "pilot_temp_arrow","eicas", "pilot_torque_arrow","eicas", "pilot_yaw_arrow","eicas", "copilot_oil_press_arrow","eicas", "copilot_oil_temp_arrow","eicas", "copilot_pitch_arrow","eicas", "copilot_roll_arrow","eicas", "copilot_temp_arrow","eicas", "copilot_torque_arrow","eicas", "copilot_yaw_arrow","eicas", // Instruments // Pilot "pitch_f","damageHide", "vert_speed_f","damageHide", // Copilot "pitch_b","a29b", "vert_speed_b","a29b", // Navigation Lights // Position Lights "white_position","damageHide", "green_position","damageHide", "red_position","damageHide", // Formation Markers "formation_markers","damageHide", // Collision Lights "red_collision","damageHide", "white_collision","damageHide" }; }; class BRAF_EjectionSeatSkeleton { isDiscrete=1; skeletonInherit=""; skeletonBones[]= { "ejection_seat","", "rocket_flash","" }; }; class BRAF_A29CockpitSkeleton { isDiscrete=1; skeletonInherit=""; skeletonBones[]= { "canopy","" }; }; }; class CfgModels { class braf_A29 { htMin=60; htMax=1800; afMax=200; mfMax=100; mFact=0; tBody=0; skeletonName="BRAF_A29Skeleton"; sectionsInherit=""; sections[]= { "camo1", "camo2", "armor", "glass1", "glass2", "glass3", "glass1_int", "glass2_int", "glass3_int", "zasleh", "rotor_static", "rotor_blur", "aileron_l", "aileron_r", "flaps", "rudder", "elevator", "speed_brake", "Interception_Light", "light_wing_l", "light_wing_r", "light_l", "light_r", "light_l_hitpoint", "light_r_hitpoint" }; class Animations { // Damage class damageHide { type="hide"; source="damage"; selection="damageHide"; minValue=0; maxValue=1; hidevalue=1; sourceAddress="clamp"; }; // FCS class AileronL { type="rotation"; source="aileron"; selection="aileron_l"; axis="aileron_l_axis"; minValue=-1.000000; maxValue=1.000000; angle0=-0.436332; angle1=0.523599; }; class AileronR : AileronL { selection="aileron_r"; axis="aileron_r_axis"; angle0=-0.523599; angle1=0.436332; }; class FlapRight { type="rotation"; source="flap"; selection="flap_r"; axis="flap_r_axis"; memory=true; sourceAddress="clamp"; minValue=0; maxValue=1; angle0="0"; angle1="rad 30"; }; class FlapLeft: FlapRight { selection="flap_l"; axis="flap_l_axis"; angle0="0"; angle1="rad -30"; }; class Rudder { type="rotation"; source="rudder"; selection="rudder"; axis="rudder_axis"; minValue=-1.000000; maxValue=1.000000; angle0=-0.375246; angle1=0.375246; }; class Elevator { type="rotation"; source="elevator"; selection="elevator"; axis="elevator_axis"; minValue=-1.000000; maxValue=1.000000; angle0=-0.499164; angle1=0.499164; }; class SpeedBrake { type="rotation"; source="speedBrake"; selection="speed_brake"; axis="speed_brake_axis"; minValue=0; maxValue=1; angle0=0; angle1="rad -22"; }; // Landing Gears // Front Gear class GearF { type="rotation"; source="Gear"; selection="gear_f"; axis="gear_f_axis"; memory=1; sourceAddress="clamp"; minValue=0.000000; maxValue=0.600000; angle0=0.000000; angle1=1.790796; }; class GearFSteering { type="rotation"; source="noseWheelTurn"; selection="gear_f_steering"; axis="gear_f_steer_axis"; memory=1; sourceAddress="clamp"; minValue=-1; maxValue=1; angle0=0.349066; angle1=-0.349066; }; class GearFHatch1 : GearF { selection="gear_f_hatch_1"; axis="gear_f_hatch_1_axis"; angle1=1.600000; }; class GearFHatch2 : GearF { selection="gear_f_hatch_2"; axis="gear_f_hatch_2_axis"; minValue=0.600000; maxValue=1.000000; angle1=1.599000; }; class GearFPiston2 : GearF { selection="gear_f_piston_2"; axis="gear_f_piston_2_axis"; minValue=0.000000; maxValue=0.570000; angle1=-1.055924; }; class GearFPiston1 : GearF { selection="gear_f_piston_1"; axis="gear_f_piston_1_axis"; minValue=0.100000; angle1=0.418879; }; class GearFDamper { type="translation"; source="Damper_f_source"; selection="gear_f_damper"; axis="gear_f_damper_axis"; memory=1; sourceAddress="clamp"; minValue=0; maxValue=1; offset0=0; offset1=0.12; }; class GearFStabil1 : GearFDamper { type="rotation"; selection="gear_f_stabil_1"; axis="gear_f_stabil_1_axis"; angle0="rad 0"; angle1="rad -6"; }; class GearFStabil2 : GearFStabil1 { selection="gear_f_stabil_2"; axis="gear_f_stabil_2_axis"; angle0="rad 0"; angle1="rad 6"; }; // Wheel class WheelF { type="rotation"; source="wheel"; selection="wheel_f"; axis="wheel_f_axis"; memory=1; sourceAddress="loop"; minValue=0.00; maxValue=1.00; angle0="rad 0"; angle1="rad +360"; }; // Left Gear class GearL { type="rotation"; source="Gear"; selection="gear_l"; axis="gear_l_axis"; memory=1; sourceAddress="clamp"; minValue=0; maxValue=1; angle0="rad 0"; angle1="rad 80"; }; class GearLHatch : GearL { selection="gear_l_hatch"; axis="gear_l_hatch_axis"; angle1="rad 82"; }; class GearLPiston2 : GearL { selection="gear_l_piston_2"; axis="gear_l_piston_2_axis"; angle1=0.900000; }; class GearLPiston1 : GearL { selection="gear_l_piston_1"; axis="gear_l_piston_1_axis"; angle1=1.000999; }; class GearLDamper { type="translation"; source="Damper_l_source"; selection="gear_l_damper"; axis="gear_l_damper_axis"; memory=1; sourceAddress="clamp"; minValue=0; maxValue=1; offset0=0; offset1=0.24; }; class GearLStabil1 : GearLDamper { type="rotation"; selection="gear_l_stabil_1"; axis="gear_l_stabil_1_axis"; angle0="rad 0"; angle1="rad -18"; }; class GearLStabil2 : GearLStabil1 { selection="gear_l_stabil_2"; axis="gear_l_stabil_2_axis"; }; // Wheel class WheelL : WheelF { source="wheel"; selection="wheel_l"; axis="wheel_l_axis"; }; // Right Gear class GearR { type="rotation"; source="Gear"; selection="gear_r"; axis="gear_r_axis"; memory=1; sourceAddress="clamp"; minValue=0; maxValue=1; angle0="rad 0"; angle1="rad 80"; }; class GearRHatch : GearR { selection="gear_r_hatch"; axis="gear_r_hatch_axis"; angle1="rad 82"; }; class GearRPiston2 : GearR { selection="gear_r_piston_2"; axis="gear_r_piston_2_axis"; angle1=0.940000; }; class GearRPiston1 : GearR { selection="gear_r_piston_1"; axis="gear_r_piston_1_axis"; angle1=1.000999; }; class GearRDamper { type="translation"; source="Damper_r_source"; selection="gear_r_damper"; axis="gear_r_damper_axis"; memory=1; sourceAddress="clamp"; minValue=0; maxValue=1; offset0=0; offset1=-0.24; }; class GearRStabil1 : GearRDamper { type="rotation"; selection="gear_r_stabil_1"; axis="gear_r_stabil_1_axis"; angle0="rad 0"; angle1="rad -18"; }; class GearRStabil2 : GearRStabil1 { selection="gear_r_stabil_2"; axis="gear_r_stabil_2_axis"; }; // Wheel class Wheelr : Wheelf { source="wheel"; selection="wheel_r"; axis="wheel_r_axis"; }; // Rotor class Rotor { type="rotation"; source="rotor"; selection="rotor"; axis="rotor_axis"; angle0=0; angle1=2 * 3.1415; }; // Cabin class CanopyOpen { type="rotation"; source="cabin"; selection="canopy"; axis="canopy_axis"; memory=1; sourceAddress="clamp"; minValue=0; maxValue=8; angle0=-1.326450; angle1=0.0; }; class RadioBoard: CanopyOpen { selection="radio_board"; }; class CanopyLeverFront: CanopyOpen { selection="canopy_lever_f"; axis="canopy_lever_f_axis"; minValue=8; maxValue=10; angle0="rad -60"; angle1="rad 0"; }; class CanopyLeverBack: CanopyLeverFront { selection="canopy_lever_b"; axis="canopy_lever_b_axis"; angle0="rad 60"; }; class Ladder: CanopyOpen { type="rotation"; selection="ladder"; axis="ladder_axis"; angle0=0; angle1=-1.55; }; class RBFHide: CanopyOpen { type=hide; selection="rbf"; hideValue=0.01; }; class LGIndicator { type=hide; memory=1; sourceAddress="clamp"; minValue=0; maxValue=1; source="Gear"; selection="lg_light"; hideValue=1; }; class LGLeverPilot { type="rotation"; axis="lg_lever_pilot_axis"; source="Gear"; selection="lg_lever_pilot"; minValue="0"; maxValue="1"; angle0="rad 30"; angle1="rad -30"; }; class LGLeverCoPilot: LGLeverPilot { axis="lg_lever_copilot_axis"; selection="lg_lever_copilot"; }; // Remove Before Flight //class RBFHide //{ // type="hide"; // source="RBFHide"; // selection="rbf"; // sourceAddress="clamp"; // minPhase=0; // maxPhase=1; // minValue=0; // maxValue=1; // memory=1; // hideValue=0.5; //}; // Pilot and copilot controls class StickPilotBank { type="rotationZ"; axis="stick_pilot_joint"; source="aileron"; selection="stick_pilot"; minValue="-1"; maxValue="1"; angle0="rad 5"; angle1="rad -5"; }; class StickPilotDive: StickPilotBank { type="rotationX"; source="elevator"; }; class StickCoPilotBank: StickPilotBank { axis="stick_copilot_joint"; selection="stick_copilot"; }; class StickCoPilotDive: StickCoPilotBank { type="rotationX"; source="elevator"; }; class ThrottleLeverPilot { type="rotation"; axis="throttle_lever_pilot_axis"; source="Throttle"; selection="throttle_lever_pilot"; minValue="0"; maxValue="1"; angle0="rad 30"; angle1="rad -60"; }; class ThrottleLevercOPilot:ThrottleLeverPilot { axis="throttle_lever_copilot_axis"; selection="throttle_lever_copilot"; }; class PedalFront_L { type="rotation"; angle0="rad 20"; angle1="rad -20"; axis="pedals_f_axis"; memory=1; minValue=-1; maxValue=1; minPhase=-1; maxPhase=1; source="rudder"; sourceAddress=0; selection="pedal_f_l"; }; class PedalFront_R: PedalFront_L { angle0="rad -20"; angle1="rad 20"; selection="pedal_f_r"; }; class PedalBack_L: PedalFront_L { angle0="rad 20"; angle1="rad -20"; axis="pedals_b_axis"; selection="pedal_b_l"; }; class PedalBack_R: PedalBack_L { angle0="rad -20"; angle1="rad 20"; selection="pedal_b_r"; }; // Cockpit Instruments class HorizonDiveFront { type="rotationX"; source="horizondive"; selection="pitch_f"; axis="pitch_f_axis"; memory=0; minValue="rad -90"; maxValue="rad 90"; angle0="rad -90"; angle1="rad 90"; }; class HorizonDiveBack { type="rotationX"; source="horizondive"; selection="pitch_b"; axis="pitch_b_axis"; memory=0; minValue="rad -90"; maxValue="rad 90"; angle0="rad -90"; angle1="rad 90"; }; class VertSpeedFront { type="rotation"; source="vertSpeed"; selection="vert_speed_f"; axis="vert_speed_f_axis"; memory=0; minValue=-30; maxValue=30; angle0="rad -165"; angle1="rad +165"; }; class VertSpeedBack: VertSpeedFront { selection="vert_speed_b"; axis="vert_speed_b_axis"; }; class compass_canopy { type="rotation"; source="direction"; selection="compass_canopy"; sourceAddress="clamp"; axis="compass_canopy_axis"; minPhase=-6.28319; maxPhase=6.28319; minValue=-6.28319; maxValue=6.28319; memory=0; angle0=-6.283185; angle1=6.283185; }; // Weapons effects class MuzzleFlashRotation_L { type="rotation"; axis="muzzle_l_axis"; source="muzzle_flash"; selection="muzzle_flash_l"; sourceAddress="loop"; minPhase=0; maxPhase=4; minValue=0; maxValue=4; memory=0; angle0=0; angle1=6.283185; }; class MuzzleFlashRotation_R: MuzzleFlashRotation_L { axis="muzzle_r_axis"; selection="muzzle_flash_r"; }; // Position Lights class PositionWhite { type=hide; source="PositionWhite_source"; selection="white_position"; sourceAddress=0; minValue=0; maxValue=1; minPhase=0; maxPhase=1; hideValue=0; unHideValue=1; }; class PositionGreen: PositionWhite { source="PositionGreen_source"; selection="green_position"; }; class PositionRed: PositionWhite { source="PositionRed_source"; selection="red_position"; }; class CollisionLightBlinkingRed: PositionWhite { source="CollisionLightRed_source"; selection="red_collision"; }; class CollisionLightWhiteBlinking: PositionWhite { source="CollisionLightWhite_source"; selection="white_collision"; }; class FormationMarkers: PositionWhite { source="Formation_Markers"; selection="formation_markers"; }; // Ejection System class CanopyHide { type="hide"; source="canopy_hide"; selection="canopy"; sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=1; memory=0; hideValue=0.001; unHideValue=-1; }; class FrontEjectionSeatHide { type="hide"; source="front_ejection_seat_hide"; selection="ejection_seat_f"; sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=1; memory=0; hideValue=0.001; unHideValue=-1; }; class FrontEjectionSeatMotion { type="translationY"; source="front_ejection_seat_motion"; selection="ejection_seat_f"; sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=1; memory=0; offset0=0; offset1=3; }; class BackEjectionSeatHide: FrontEjectionSeatHide { source="back_ejection_seat_hide"; selection="ejection_seat_b"; }; class BackEjectionSeatMotion: FrontEjectionSeatMotion { source="back_ejection_seat_motion"; selection="ejection_seat_b"; }; // MFDs // ADHSI class ADHSIOn { type="hide"; memory=0; sourceAddress="clamp"; source="rpm"; selection="ADHSI"; minValue=0; maxValue=0.01; hidevalue=0; unHideValue=1; }; class FrontADHSIMotion { source="FrontADHSI_On"; selection="ADHSI_Front"; type="translationZ"; sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=0.1; memory=0; offset0=0; offset1=-0.01; }; class BackADHSIMotion: FrontADHSIMotion { source="BackADHSI_On"; selection="ADHSI_Back"; }; // SMS class SMSOn: ADHSIOn { selection="SMS"; }; class FrontSMSMotion: FrontADHSIMotion { source="FrontSMS_On"; selection="SMS_Front"; }; class BackSMSMotion: BackADHSIMotion { source="BackSMS_On"; selection="SMS_Back"; }; // EICAS class EICASOn: ADHSIOn { selection="eicas"; }; //class EICASMotion: ADHSIMotion //{ // selection="eicas"; //}; class FlapsUp { source="flap"; selection="flap_up"; type="hide"; memory=0; sourceAddress="clamp"; minValue=0; maxValue=1; hidevalue=0.25; }; class FlapsDown: FlapsUp { selection="flap_down"; hidevalue=0; unHideValue=0.25; }; class SpeedbrakeClosed { source="speedBrake"; selection="speedbrake_closed"; type="hide"; memory=0; sourceAddress="clamp"; minValue=0; maxValue=1; hidevalue=0.25; }; class SpeedbrakeOpen: SpeedbrakeClosed { selection="speedbrake_open"; hidevalue=0; unHideValue=0.25; }; class Fuel25 { source="fuel"; selection="fuel_25"; type="hide"; memory=0; sourceAddress="clamp"; minPhase=0; maxPhase=0.25; minValue=0; maxValue=0.25; hidevalue=0; unHideValue=0.25; }; class Fuel50 { source="fuel"; selection="fuel_50"; type="hide"; memory=0; sourceAddress="clamp"; minPhase=0; maxPhase=0.5; minValue=0; maxValue=0.5; hidevalue=0; unHideValue=0.5; }; class Fuel75 { source="fuel"; selection="fuel_75"; type="hide"; memory=0; sourceAddress="clamp"; minPhase=0; maxPhase=0.75; minValue=0; maxValue=0.75; hidevalue=0; unHideValue=0.75; }; class Fuel100 { source="fuel"; selection="fuel_100"; type="hide"; memory=0; sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=1; hidevalue=0; unHideValue=1; }; class PilotPitch { type="translation"; source="horizondive"; selection="pilot_pitch_arrow"; axis="pilot_pitch_axis"; memory=1; minValue="rad -90"; maxValue="rad 90"; offset0=0.5; offset1=-0.5; sourceAddress="clamp"; }; class CopilotPitch: PilotPitch { selection="copilot_pitch_arrow"; axis="copilot_pitch_axis"; }; class PilotYaw { type="translation"; source="rudder"; selection="pilot_yaw_arrow"; axis="pilot_yaw_axis"; memory=1; minValue=-1; maxValue=1; offset0=-0.5; offset1=0.5; sourceAddress="clamp"; }; class CopilotYaw: PilotYaw { selection="copilot_yaw_arrow"; axis="copilot_yaw_axis"; }; class PilotRoll { type="rotation"; source="horizonBank"; selection="pilot_roll_arrow"; axis="pilot_roll_axis"; memory=1; minValue="rad -90"; maxValue="rad 90"; angle0="rad -30"; angle1="rad 30"; sourceAddress="clamp"; }; class CopilotRoll: PilotRoll { selection="copilot_roll_arrow"; axis="copilot_roll_axis"; }; class PilotTorque { type="rotation"; source="Throttle"; selection="pilot_torque_arrow"; axis="pilot_torque_axis"; memory=1; minPhase=0; maxPhase=1; minValue=0; maxValue=1; angle0="rad 0"; angle1="rad -270"; sourceAddress="clamp"; }; class CopilotTorque: PilotTorque { selection="copilot_torque_arrow"; axis="copilot_torque_axis"; }; class PilotTemp { type="rotation"; source="engineTemp"; selection="pilot_temp_arrow"; axis="pilot_temp_axis"; memory=1; minPhase=0; maxPhase=1; minValue=0; maxValue=1; angle0="rad 0"; angle1="rad -180"; sourceAddress="clamp"; }; class CopilotTemp: PilotTemp { selection="copilot_temp_arrow"; axis="copilot_temp_axis"; }; // FLIR Turret class mainTurret { type="rotation"; source="mainTurret"; selection="mainTurret"; axis="mainTurret_axis"; sourceAddress="clamp"; minPhase=-6.283185; maxPhase=6.283185; minValue=-6.283185; maxValue=6.283185; memory=0; angle0=-6.283185; angle1=6.283185; }; // FLIR Gun class mainGun { type="rotation"; source="mainGun"; selection="mainGun"; axis="mainGun_axis"; sourceAddress="clamp"; minPhase=-6.283185; maxPhase=6.283185; minValue=-6.283185; maxValue=6.283185; memory=0; angle0=6.283185; angle1=-6.283185; }; // Versions class A29A { type="hide"; source="a29a_hide"; selection="a29a"; minValue=0; maxValue=1; hidevalue=1; sourceAddress="clamp"; }; class A29B: A29A { source="a29b_hide"; selection="a29b"; hideValue=1; }; class A29EDA: A29A { source="a29eda_hide"; selection="a29eda"; hideValue=1; }; }; }; class braf_A29_Canopy { htMin=60; htMax=1800; afMax=200; mfMax=100; mFact=0; tBody=0; skeletonName="BRAF_A29CockpitSkeleton"; sectionsInherit=""; sections[]= { "camo1", "camo2", }; class Animations{}; }; class braf_a29_ejection_seat { htMin=60; htMax=1800; afMax=200; mfMax=100; mFact=0; tBody=0; skeletonName="BRAF_EjectionSeatSkeleton"; sectionsInherit=""; sections[]={}; class Animations { class rocket_flash_hide { type="hide"; source="user"; selection="rocket_flash"; sourceAddress="mirror"; minPhase=-1.5; maxPhase=0; minValue=-1.5; maxValue=0; memory=0; hideValue=0.99; unHideValue=-1; }; }; }; class braf_ejection_seat_01: braf_a29_ejection_seat{}; class braf_A29_wreck: braf_A29{}; };