diff --git a/braf_air/Braf_Helicopters/Braf_Caracal/Caracal_Base.hpp b/braf_air/Braf_Helicopters/Braf_Caracal/Caracal_Base.hpp index 56a4211..9ac03dc 100644 --- a/braf_air/Braf_Helicopters/Braf_Caracal/Caracal_Base.hpp +++ b/braf_air/Braf_Helicopters/Braf_Caracal/Caracal_Base.hpp @@ -1227,6 +1227,12 @@ class BRAF_Caracal_2: BRAF_Caracal_Base scopeArsenal=2; displayName="HM-4 Jaguar (SAR)"; editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Caracal_2.jpg"; + transportSoldier=0; + typicalCargo[]={}; + cargoAction[]={}; + cargoProxyIndexes[]={}; + getInProxyOrder[]={}; + class CargoTurret; animationList[]= { "EFS_Hide",0, @@ -1238,7 +1244,11 @@ class BRAF_Caracal_2: BRAF_Caracal_Base "Flir_Hide",0, "REVO_Hide",1, "UH15_Hide",0, - "AH15_Hide",1 + "AH15_Hide",1, + "Door_L_1",1, + "Door_L_2",1, + "Door_R_1",1, + "Door_R_2",1 }; class UserActions { @@ -1293,29 +1303,29 @@ class BRAF_Caracal_2: BRAF_Caracal_Base { displayname="Open Left Door"; position="window_pos"; - showWindow=1; + showWindow=0; radius=5; priority=0; onlyForPlayer=0; - condition="this animationphase 'Door_L_1' < 0.1 AND this animationphase 'Door_L_2' < 0.1 AND (player in crew this)"; + condition="false"; statement="this animate ['Door_L_1',1], this animate ['Door_L_2',1], this say3d ""Doors"""; }; class Close_Door_Left: Open_Door_Left { displayname="Close Left Door"; - condition="this animationphase 'Door_L_1' > 0.9 AND this animationphase 'Door_L_2' > 0.9 AND (player in crew this)"; + condition="false"; statement="this animate ['Door_L_1',0], this animate ['Door_L_2',0], this say3d ""Doors"""; }; class Open_Door_Right: Open_Door_Left { displayname="Open Right Door"; - condition="this animationphase 'Door_R_1' < 0.1 AND this animationphase 'Door_R_2' < 0.1 AND (player in crew this)"; + condition="false"; statement="this animate ['Door_R_1',1], this animate ['Door_R_2',1], this say3d ""Doors"""; }; class Close_Door_Right: Open_Door_Left { displayname="Close Right Door"; - condition="this animationphase 'Door_R_1' > 0.9 AND this animationphase 'Door_R_2' > 0.9 AND (player in crew this)"; + condition="false"; statement="this animate ['Door_R_1',0], this animate ['Door_R_2',0], this say3d ""Doors"""; }; class Open_Window_Left @@ -1366,7 +1376,7 @@ class BRAF_Caracal_2: BRAF_Caracal_Base }; }; class Turrets: Turrets - { + { class BRAF_CopilotTurret: BRAF_CopilotTurret { class Reflectors: Reflectors @@ -1581,7 +1591,44 @@ class BRAF_Caracal_2: BRAF_Caracal_Base { }; }; - }; + + }; + class BRAF_SAR_Medic_R_1: CargoTurret + { + gunnerAction="passenger_inside_2"; + gunnerName="Medical Rescuer 1"; + gunnerGetInAction="GetInLow"; + gunnerGetOutAction="GetOutLow"; + memoryPointsGetInGunner="pos_gunner_r"; + memoryPointsGetInGunnerDir="dir_gunner_r"; + gunnerCompartments="Compartment1"; + proxyIndex=4; + commanding=3; + isPersonTurret=1; + minTurn=-60; + maxTurn=60; + initTurn=0; + minElev=-50; + maxElev=28; + initElev=0; + }; + class BRAF_SAR_Medic_R_2: BRAF_SAR_Medic_R_1 + { + gunnerName="Medical Rescuer 2"; + proxyIndex=5; + }; + class BRAF_SAR_Medic_L_1: BRAF_SAR_Medic_R_1 + { + gunnerName="Medical Rescuer 3"; + memoryPointsGetInGunner="pos_gunner_l"; + memoryPointsGetInGunnerDir="dir_gunner_l"; + proxyIndex=6; + }; + class BRAF_SAR_Medic_L_2: BRAF_SAR_Medic_L_1 + { + gunnerName="Medical Rescuer 4"; + proxyIndex=7; + }; }; }; class BRAF_Caracal_3: BRAF_Caracal_Base @@ -1592,41 +1639,13 @@ class BRAF_Caracal_3: BRAF_Caracal_Base side=2; scopeCurator=2; scopeArsenal=2; - displayName="HM-4 Jaguar (Transport)"; + displayName="HM-4 Jaguar (Heavy Cargo)"; editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Caracal_3.jpg"; - transportSoldier=23; - cargoProxyIndexes[]={1,2,3,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51}; - getInProxyOrder[]={1,2,3,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51}; - cargoAction[]= - { - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo", - "braf_fennec_cargo" - }; + transportSoldier=0; + typicalCargo[]={}; + cargoProxyIndexes[]={}; + getInProxyOrder[]={}; + cargoAction[]={}; animationList[]= { "EFS_Hide",0, @@ -1775,7 +1794,11 @@ class BRAF_Caracal_5: BRAF_Caracal_2 "Flir_Hide",0, "REVO_Hide",1, "UH15_Hide",0, - "AH15_Hide",1 + "AH15_Hide",1, + "Door_L_1",1, + "Door_L_2",1, + "Door_R_1",1, + "Door_R_2",1 }; hiddenSelectionsTextures[]= { @@ -1797,7 +1820,7 @@ class BRAF_Caracal_6: BRAF_Caracal_3 { author="BRAF TEAM"; _generalMacro="BRAF_Caracal_6"; - displayName="UH-15 Super Cougar (Transport)"; + displayName="UH-15 Super Cougar (Heavy Cargo)"; editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_6.jpg"; faction="BRAF_NAVY"; crew="braf_characters_aviation_navy_pilot"; @@ -2018,14 +2041,18 @@ class BRAF_Caracal_8: BRAF_Caracal_2 "Flir_Hide",0, "REVO_Hide",1, "UH15_Hide",0, - "AH15_Hide",1 + "AH15_Hide",1, + "Door_L_1",1, + "Door_L_2",1, + "Door_R_1",1, + "Door_R_2",1 }; }; class BRAF_Caracal_9: BRAF_Caracal_3 { author="BRAF TEAM"; _generalMacro="BRAF_Caracal_9"; - displayName="H-36 Caracal (Transport)"; + displayName="H-36 Caracal (Heavy Cargo)"; editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_9.jpg"; faction="BRAF_FAB"; crew="braf_characters_aviation_air_force_pilot"; @@ -2101,7 +2128,7 @@ class BRAF_Caracal_10: BRAF_Caracal_2 author="BRAF TEAM"; _generalMacro="BRAF_Caracal_10"; displayName="AH-15B Super Cougar (ASW)"; - editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_6a.jpg"; + //editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_10.jpg"; faction="BRAF_NAVY"; canFloat=1; waterDamageEngine=0.2; @@ -2165,25 +2192,12 @@ class BRAF_Caracal_10: BRAF_Caracal_2 class Turrets: Turrets { class BRAF_CopilotTurret: BRAF_CopilotTurret{}; - class BRAF_Mansup_Gunner_Turret: CargoTurret + class BRAF_Crew_Chief_Turret: BRAF_Crew_Chief_Turret{}; + class BRAF_Mansup_Gunner_Turret: BRAF_Crew_Chief_Turret { - gunnerAction="passenger_inside_2"; gunnerName="MANSUP Operator"; - gunnerGetInAction="GetInLow"; - gunnerGetOutAction="GetOutLow"; - memoryPointsGetInGunner="pos_cargo_r"; - memoryPointsGetInGunnerDir="dir_cargo_r"; gunnerCompartments="Compartment2"; proxyIndex=3; - isPersonTurret=1; - minTurn=-180; - maxTurn=180; - initTurn=0; - minElev=-50; - maxElev=30; - initElev=0; - weapons[]={}; - magazines[]={}; }; }; textureList[]=