feat(caracal): Started phase 1 of MANSUP integration on AH-15B Super Cougar:
- new p3d for Braf_Caracal main model; - new p3d Braf_Caracal_ah15b with radar and missile hangers; - new camo6 paas, for navy; - Added BRAF_Caracal_10 class with MANSUP operator station turret with proxy index 3.
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -325,6 +325,18 @@ class BRAF_Caracal_Base: Helicopter_Base_H
|
|||||||
animPeriod=0;
|
animPeriod=0;
|
||||||
initPhase=0;
|
initPhase=0;
|
||||||
};
|
};
|
||||||
|
class AH15_Hide
|
||||||
|
{
|
||||||
|
source="user";
|
||||||
|
animPeriod=0;
|
||||||
|
initPhase=0;
|
||||||
|
};
|
||||||
|
class UH15_Hide
|
||||||
|
{
|
||||||
|
source="user";
|
||||||
|
animPeriod=0;
|
||||||
|
initPhase=0;
|
||||||
|
};
|
||||||
class Hoist_Hide
|
class Hoist_Hide
|
||||||
{
|
{
|
||||||
source="user";
|
source="user";
|
||||||
@@ -1038,7 +1050,9 @@ class BRAF_Caracal_FFV: BRAF_Caracal_Base
|
|||||||
"Hoist_Hide",0,
|
"Hoist_Hide",0,
|
||||||
"SEAT_Hide",1,
|
"SEAT_Hide",1,
|
||||||
"Flir_Hide",1,
|
"Flir_Hide",1,
|
||||||
"REVO_Hide",1
|
"REVO_Hide",1,
|
||||||
|
"UH15_Hide",0,
|
||||||
|
"AH15_Hide",1
|
||||||
};
|
};
|
||||||
class UserActions
|
class UserActions
|
||||||
{
|
{
|
||||||
@@ -1222,7 +1236,9 @@ class BRAF_Caracal_2: BRAF_Caracal_Base
|
|||||||
"Hoist_Hide",1,
|
"Hoist_Hide",1,
|
||||||
"SEAT_Hide",1,
|
"SEAT_Hide",1,
|
||||||
"Flir_Hide",0,
|
"Flir_Hide",0,
|
||||||
"REVO_Hide",1
|
"REVO_Hide",1,
|
||||||
|
"UH15_Hide",0,
|
||||||
|
"AH15_Hide",1
|
||||||
};
|
};
|
||||||
class UserActions
|
class UserActions
|
||||||
{
|
{
|
||||||
@@ -1620,7 +1636,9 @@ class BRAF_Caracal_3: BRAF_Caracal_Base
|
|||||||
"Hoist_Hide",0,
|
"Hoist_Hide",0,
|
||||||
"SEAT_Hide",0,
|
"SEAT_Hide",0,
|
||||||
"Flir_Hide",1,
|
"Flir_Hide",1,
|
||||||
"REVO_Hide",1
|
"REVO_Hide",1,
|
||||||
|
"UH15_Hide",0,
|
||||||
|
"AH15_Hide",1
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class BRAF_Caracal_4: BRAF_Caracal_1
|
class BRAF_Caracal_4: BRAF_Caracal_1
|
||||||
@@ -1696,7 +1714,9 @@ class BRAF_Caracal_4: BRAF_Caracal_1
|
|||||||
"Hoist_Hide",0,
|
"Hoist_Hide",0,
|
||||||
"SEAT_Hide",1,
|
"SEAT_Hide",1,
|
||||||
"Flir_Hide",1,
|
"Flir_Hide",1,
|
||||||
"REVO_Hide",1
|
"REVO_Hide",1,
|
||||||
|
"UH15_Hide",0,
|
||||||
|
"AH15_Hide",1
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class BRAF_Caracal_5: BRAF_Caracal_2
|
class BRAF_Caracal_5: BRAF_Caracal_2
|
||||||
@@ -1753,7 +1773,9 @@ class BRAF_Caracal_5: BRAF_Caracal_2
|
|||||||
"Hoist_Hide",1,
|
"Hoist_Hide",1,
|
||||||
"SEAT_Hide",1,
|
"SEAT_Hide",1,
|
||||||
"Flir_Hide",0,
|
"Flir_Hide",0,
|
||||||
"REVO_Hide",1
|
"REVO_Hide",1,
|
||||||
|
"UH15_Hide",0,
|
||||||
|
"AH15_Hide",1
|
||||||
};
|
};
|
||||||
hiddenSelectionsTextures[]=
|
hiddenSelectionsTextures[]=
|
||||||
{
|
{
|
||||||
@@ -1825,7 +1847,9 @@ class BRAF_Caracal_6: BRAF_Caracal_3
|
|||||||
"Hoist_Hide",0,
|
"Hoist_Hide",0,
|
||||||
"SEAT_Hide",0,
|
"SEAT_Hide",0,
|
||||||
"Flir_Hide",1,
|
"Flir_Hide",1,
|
||||||
"REVO_Hide",1
|
"REVO_Hide",1,
|
||||||
|
"UH15_Hide",0,
|
||||||
|
"AH15_Hide",1
|
||||||
};
|
};
|
||||||
hiddenSelectionsTextures[]=
|
hiddenSelectionsTextures[]=
|
||||||
{
|
{
|
||||||
@@ -1843,32 +1867,10 @@ class BRAF_Caracal_6: BRAF_Caracal_3
|
|||||||
"HU41",0.5
|
"HU41",0.5
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
//class BRAF_Caracal_6a: BRAF_Caracal_2
|
|
||||||
//{
|
|
||||||
// author="BRAF TEAM";
|
|
||||||
// _generalMacro="BRAF_Caracal_6";
|
|
||||||
// displayName="AH-15B Super Cougar (ASW)";
|
|
||||||
// editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_6a.jpg";
|
|
||||||
// faction="BRAF_NAVY";
|
|
||||||
// textureList[]=
|
|
||||||
// {
|
|
||||||
// "HU2",1
|
|
||||||
// };
|
|
||||||
// animationList[]=
|
|
||||||
// {
|
|
||||||
// "EFS_Hide",0,
|
|
||||||
// "SAR_Hide",1,
|
|
||||||
// "Pole_Hide",1,
|
|
||||||
// "Hoist_Hide",0,
|
|
||||||
// "SEAT_Hide",1,
|
|
||||||
// "Flir_Hide",0,
|
|
||||||
// "REVO_Hide",1
|
|
||||||
// };
|
|
||||||
//};
|
|
||||||
class BRAF_Caracal_7: BRAF_Caracal_1
|
class BRAF_Caracal_7: BRAF_Caracal_1
|
||||||
{
|
{
|
||||||
author="BRAF TEAM";
|
author="BRAF TEAM";
|
||||||
_generalMacro="BRAF_Caracal_4";
|
_generalMacro="BRAF_Caracal_7";
|
||||||
displayName="H-36 Caracal (Fast Rope)";
|
displayName="H-36 Caracal (Fast Rope)";
|
||||||
editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_7.jpg";
|
editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_7.jpg";
|
||||||
faction="BRAF_FAB";
|
faction="BRAF_FAB";
|
||||||
@@ -1923,7 +1925,9 @@ class BRAF_Caracal_7: BRAF_Caracal_1
|
|||||||
"Hoist_Hide",0,
|
"Hoist_Hide",0,
|
||||||
"SEAT_Hide",1,
|
"SEAT_Hide",1,
|
||||||
"Flir_Hide",1,
|
"Flir_Hide",1,
|
||||||
"REVO_Hide",0
|
"REVO_Hide",0,
|
||||||
|
"UH15_Hide",0,
|
||||||
|
"AH15_Hide",1
|
||||||
};
|
};
|
||||||
hiddenSelectionsTextures[]=
|
hiddenSelectionsTextures[]=
|
||||||
{
|
{
|
||||||
@@ -1945,7 +1949,7 @@ class BRAF_Caracal_7: BRAF_Caracal_1
|
|||||||
class BRAF_Caracal_8: BRAF_Caracal_2
|
class BRAF_Caracal_8: BRAF_Caracal_2
|
||||||
{
|
{
|
||||||
author="BRAF TEAM";
|
author="BRAF TEAM";
|
||||||
_generalMacro="BRAF_Caracal_5";
|
_generalMacro="BRAF_Caracal_8";
|
||||||
displayName="H-36 Caracal (SAR)";
|
displayName="H-36 Caracal (SAR)";
|
||||||
editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_8.jpg";
|
editorPreview="\braf\braf_insignia\editorpreview\air\BRAF_Caracal_8.jpg";
|
||||||
faction="BRAF_FAB";
|
faction="BRAF_FAB";
|
||||||
@@ -2012,13 +2016,15 @@ class BRAF_Caracal_8: BRAF_Caracal_2
|
|||||||
"Hoist_Hide",1,
|
"Hoist_Hide",1,
|
||||||
"SEAT_Hide",1,
|
"SEAT_Hide",1,
|
||||||
"Flir_Hide",0,
|
"Flir_Hide",0,
|
||||||
"REVO_Hide",1
|
"REVO_Hide",1,
|
||||||
|
"UH15_Hide",0,
|
||||||
|
"AH15_Hide",1
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class BRAF_Caracal_9: BRAF_Caracal_3
|
class BRAF_Caracal_9: BRAF_Caracal_3
|
||||||
{
|
{
|
||||||
author="BRAF TEAM";
|
author="BRAF TEAM";
|
||||||
_generalMacro="BRAF_Caracal_6";
|
_generalMacro="BRAF_Caracal_9";
|
||||||
displayName="H-36 Caracal (Transport)";
|
displayName="H-36 Caracal (Transport)";
|
||||||
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";
|
||||||
@@ -2085,6 +2091,116 @@ class BRAF_Caracal_9: BRAF_Caracal_3
|
|||||||
"Hoist_Hide",0,
|
"Hoist_Hide",0,
|
||||||
"SEAT_Hide",0,
|
"SEAT_Hide",0,
|
||||||
"Flir_Hide",1,
|
"Flir_Hide",1,
|
||||||
"REVO_Hide",0
|
"REVO_Hide",0,
|
||||||
|
"UH15_Hide",0,
|
||||||
|
"AH15_Hide",1
|
||||||
|
};
|
||||||
|
};
|
||||||
|
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";
|
||||||
|
faction="BRAF_NAVY";
|
||||||
|
canFloat=1;
|
||||||
|
waterDamageEngine=0.2;
|
||||||
|
waterEffect="HeliWater";
|
||||||
|
waterLeakiness=50;
|
||||||
|
waterPPInVehicle=1;
|
||||||
|
waterResistance=1;
|
||||||
|
waterResistanceCoef=0.5;
|
||||||
|
transportSoldier=0;
|
||||||
|
typicalCargo[]={};
|
||||||
|
cargoProxyIndexes[]={};
|
||||||
|
getInProxyOrder[]={};
|
||||||
|
class EventHandlers: EventHandlers
|
||||||
|
{
|
||||||
|
init="if (local (_this select 0)) then {[(_this select 0), """", [], false] call bis_fnc_initVehicle; [(_this select 0), ""Init""] call BRAF_fnc_efs;};";
|
||||||
|
};
|
||||||
|
class UserActions
|
||||||
|
{
|
||||||
|
class Arm_EFS
|
||||||
|
{
|
||||||
|
displayname="<t color='#ffaa00'> Arm EFS </t>";
|
||||||
|
position="window_pos";
|
||||||
|
showWindow=1;
|
||||||
|
radius=10;
|
||||||
|
priority=1;
|
||||||
|
onlyForPlayer=0;
|
||||||
|
condition="getNumber (configOf this >> 'canFloat') == 1 AND this animationphase 'EFS_Cover_Hide' > 0.9 AND (player in crew this) AND ((this getVariable ['braf_efs_state','SAFE']) == 'SAFE')";
|
||||||
|
statement="[this, ""arm""] call BRAF_fnc_efs";
|
||||||
|
};
|
||||||
|
class Disarm_EFS: Arm_EFS
|
||||||
|
{
|
||||||
|
displayname="<t color='#ffaa00'> Disarm EFS </t>";
|
||||||
|
condition="getNumber (configOf this >> 'canFloat') == 1 AND this animationphase 'EFS_Cover_Hide' > 0.9 AND (player in crew this) AND ((this getVariable ['braf_efs_state','ARMED']) == 'ARMED')";
|
||||||
|
statement="[this, ""disarm""] call BRAF_fnc_efs";
|
||||||
|
};
|
||||||
|
class Deploy_Floats: Arm_EFS
|
||||||
|
{
|
||||||
|
displayname="<t color='#b31d00'> Deploy Floats </t>";
|
||||||
|
condition="getNumber (configOf this >> 'canFloat') == 1 AND this animationphase 'EFS_Cover_Hide' > 0.9 AND (player in crew this) AND ((this getVariable ['braf_efs_state','ARMED']) == 'ARMED')";
|
||||||
|
statement="[this, ""deployfloats""] call BRAF_fnc_efs";
|
||||||
|
};
|
||||||
|
class NVG_ON
|
||||||
|
{
|
||||||
|
displayname="Turn NVG lights on";
|
||||||
|
position="window_pos";
|
||||||
|
showWindow=1;
|
||||||
|
radius=5;
|
||||||
|
priority=0;
|
||||||
|
onlyForPlayer=0;
|
||||||
|
condition="this animationphase 'NVG_Hide' > 0.9 AND (player in crew this)";
|
||||||
|
statement="this animate ['NVG_Hide',0]";
|
||||||
|
};
|
||||||
|
class NVG_OFF: NVG_ON
|
||||||
|
{
|
||||||
|
displayname="Turn NVG lights off";
|
||||||
|
condition="this animationphase 'NVG_Hide' < 0.1 AND (player in crew this)";
|
||||||
|
statement="this animate ['NVG_Hide',1]";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
class CargoTurret;
|
||||||
|
class Turrets: Turrets
|
||||||
|
{
|
||||||
|
class BRAF_CopilotTurret: BRAF_CopilotTurret{};
|
||||||
|
class BRAF_Mansup_Gunner_Turret: CargoTurret
|
||||||
|
{
|
||||||
|
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[]=
|
||||||
|
{
|
||||||
|
"HU2",1
|
||||||
|
};
|
||||||
|
animationList[]=
|
||||||
|
{
|
||||||
|
"EFS_Hide",0,
|
||||||
|
"EFS_Cover_Hide",1,
|
||||||
|
"SAR_Hide",1,
|
||||||
|
"Pole_Hide",1,
|
||||||
|
"Hoist_Hide",0,
|
||||||
|
"SEAT_Hide",1,
|
||||||
|
"Flir_Hide",0,
|
||||||
|
"REVO_Hide",1,
|
||||||
|
"UH15_Hide",1,
|
||||||
|
"AH15_Hide",0
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -81,6 +81,9 @@ class CfgSkeletons
|
|||||||
"EFS_cover","",
|
"EFS_cover","",
|
||||||
"EFS","EFS_cover",
|
"EFS","EFS_cover",
|
||||||
|
|
||||||
|
"UH15","",
|
||||||
|
"AH15","",
|
||||||
|
|
||||||
"SAR","damagehide",
|
"SAR","damagehide",
|
||||||
"hoist_hook","SAR",
|
"hoist_hook","SAR",
|
||||||
|
|
||||||
@@ -900,6 +903,32 @@ class CfgModels
|
|||||||
memory=0;
|
memory=0;
|
||||||
hideValue=1;
|
hideValue=1;
|
||||||
};
|
};
|
||||||
|
class UH15_Hide
|
||||||
|
{
|
||||||
|
source="UH15_Hide";
|
||||||
|
selection="uh15";
|
||||||
|
type="hide";
|
||||||
|
sourceAddress="clamp";
|
||||||
|
minPhase=0;
|
||||||
|
maxPhase=1;
|
||||||
|
minValue=0;
|
||||||
|
maxValue=1;
|
||||||
|
memory=0;
|
||||||
|
hideValue=1;
|
||||||
|
};
|
||||||
|
class AH15_Hide
|
||||||
|
{
|
||||||
|
source="AH15_Hide";
|
||||||
|
selection="ah15";
|
||||||
|
type="hide";
|
||||||
|
sourceAddress="clamp";
|
||||||
|
minPhase=0;
|
||||||
|
maxPhase=1;
|
||||||
|
minValue=0;
|
||||||
|
maxValue=1;
|
||||||
|
memory=0;
|
||||||
|
hideValue=1;
|
||||||
|
};
|
||||||
class mainTurret
|
class mainTurret
|
||||||
{
|
{
|
||||||
type="rotationy";
|
type="rotationy";
|
||||||
|
|||||||
Reference in New Issue
Block a user