fix(caracal): transport soldiers count fixed for SAR and Heavy Cargo versions

This commit is contained in:
2026-07-25 21:54:48 -03:00
parent e87648d063
commit 020aa20916
@@ -1227,6 +1227,12 @@ class BRAF_Caracal_2: BRAF_Caracal_Base
scopeArsenal=2; scopeArsenal=2;
displayName="HM-4 Jaguar (SAR)"; displayName="HM-4 Jaguar (SAR)";
editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Caracal_2.jpg"; editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Caracal_2.jpg";
transportSoldier=0;
typicalCargo[]={};
cargoAction[]={};
cargoProxyIndexes[]={};
getInProxyOrder[]={};
class CargoTurret;
animationList[]= animationList[]=
{ {
"EFS_Hide",0, "EFS_Hide",0,
@@ -1238,7 +1244,11 @@ class BRAF_Caracal_2: BRAF_Caracal_Base
"Flir_Hide",0, "Flir_Hide",0,
"REVO_Hide",1, "REVO_Hide",1,
"UH15_Hide",0, "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 class UserActions
{ {
@@ -1293,29 +1303,29 @@ class BRAF_Caracal_2: BRAF_Caracal_Base
{ {
displayname="Open Left Door"; displayname="Open Left Door";
position="window_pos"; position="window_pos";
showWindow=1; showWindow=0;
radius=5; radius=5;
priority=0; priority=0;
onlyForPlayer=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"""; statement="this animate ['Door_L_1',1], this animate ['Door_L_2',1], this say3d ""Doors""";
}; };
class Close_Door_Left: Open_Door_Left class Close_Door_Left: Open_Door_Left
{ {
displayname="Close Left Door"; 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"""; statement="this animate ['Door_L_1',0], this animate ['Door_L_2',0], this say3d ""Doors""";
}; };
class Open_Door_Right: Open_Door_Left class Open_Door_Right: Open_Door_Left
{ {
displayname="Open Right Door"; 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"""; statement="this animate ['Door_R_1',1], this animate ['Door_R_2',1], this say3d ""Doors""";
}; };
class Close_Door_Right: Open_Door_Left class Close_Door_Right: Open_Door_Left
{ {
displayname="Close Right Door"; 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"""; statement="this animate ['Door_R_1',0], this animate ['Door_R_2',0], this say3d ""Doors""";
}; };
class Open_Window_Left class Open_Window_Left
@@ -1366,7 +1376,7 @@ class BRAF_Caracal_2: BRAF_Caracal_Base
}; };
}; };
class Turrets: Turrets class Turrets: Turrets
{ {
class BRAF_CopilotTurret: BRAF_CopilotTurret class BRAF_CopilotTurret: BRAF_CopilotTurret
{ {
class Reflectors: Reflectors 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 class BRAF_Caracal_3: BRAF_Caracal_Base
@@ -1592,41 +1639,13 @@ class BRAF_Caracal_3: BRAF_Caracal_Base
side=2; side=2;
scopeCurator=2; scopeCurator=2;
scopeArsenal=2; scopeArsenal=2;
displayName="HM-4 Jaguar (Transport)"; displayName="HM-4 Jaguar (Heavy Cargo)";
editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Caracal_3.jpg"; editorPreview="\braf\braf_insignia\editorpreview\Air\BRAF_Caracal_3.jpg";
transportSoldier=23; transportSoldier=0;
cargoProxyIndexes[]={1,2,3,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51}; typicalCargo[]={};
getInProxyOrder[]={1,2,3,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51}; cargoProxyIndexes[]={};
cargoAction[]= getInProxyOrder[]={};
{ 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"
};
animationList[]= animationList[]=
{ {
"EFS_Hide",0, "EFS_Hide",0,
@@ -1775,7 +1794,11 @@ class BRAF_Caracal_5: BRAF_Caracal_2
"Flir_Hide",0, "Flir_Hide",0,
"REVO_Hide",1, "REVO_Hide",1,
"UH15_Hide",0, "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[]= hiddenSelectionsTextures[]=
{ {
@@ -1797,7 +1820,7 @@ class BRAF_Caracal_6: BRAF_Caracal_3
{ {
author="BRAF TEAM"; author="BRAF TEAM";
_generalMacro="BRAF_Caracal_6"; _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"; editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_6.jpg";
faction="BRAF_NAVY"; faction="BRAF_NAVY";
crew="braf_characters_aviation_navy_pilot"; crew="braf_characters_aviation_navy_pilot";
@@ -2018,14 +2041,18 @@ class BRAF_Caracal_8: BRAF_Caracal_2
"Flir_Hide",0, "Flir_Hide",0,
"REVO_Hide",1, "REVO_Hide",1,
"UH15_Hide",0, "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 class BRAF_Caracal_9: BRAF_Caracal_3
{ {
author="BRAF TEAM"; author="BRAF TEAM";
_generalMacro="BRAF_Caracal_9"; _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"; editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_9.jpg";
faction="BRAF_FAB"; faction="BRAF_FAB";
crew="braf_characters_aviation_air_force_pilot"; crew="braf_characters_aviation_air_force_pilot";
@@ -2101,7 +2128,7 @@ class BRAF_Caracal_10: BRAF_Caracal_2
author="BRAF TEAM"; author="BRAF TEAM";
_generalMacro="BRAF_Caracal_10"; _generalMacro="BRAF_Caracal_10";
displayName="AH-15B Super Cougar (ASW)"; 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"; faction="BRAF_NAVY";
canFloat=1; canFloat=1;
waterDamageEngine=0.2; waterDamageEngine=0.2;
@@ -2165,25 +2192,12 @@ class BRAF_Caracal_10: BRAF_Caracal_2
class Turrets: Turrets class Turrets: Turrets
{ {
class BRAF_CopilotTurret: BRAF_CopilotTurret{}; 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"; gunnerName="MANSUP Operator";
gunnerGetInAction="GetInLow";
gunnerGetOutAction="GetOutLow";
memoryPointsGetInGunner="pos_cargo_r";
memoryPointsGetInGunnerDir="dir_cargo_r";
gunnerCompartments="Compartment2"; gunnerCompartments="Compartment2";
proxyIndex=3; proxyIndex=3;
isPersonTurret=1;
minTurn=-180;
maxTurn=180;
initTurn=0;
minElev=-50;
maxElev=30;
initElev=0;
weapons[]={};
magazines[]={};
}; };
}; };
textureList[]= textureList[]=