Files

357 lines
6.1 KiB
C++

class Braf_lapa_base_F: Rifle_Base_F
{
author="BRAF Team";
_generalMacro="Braf_lapa_base_F";
scope=1;
displayName="Lapa Base";
magazines[]=
{
"braf_Lapa30Rnd_556x45",
"braf_Lapa30Rnd_556x45_red"
};
magazineWell[]=
{
"BRAF_LapaMag_556"
};
reloadAction="GestureReloadTRG";
maxZeroing=1600;
magazineReloadSwitchPhase=0.47999999;
htMin=8;
htMax=920;
inertia=0.5;
aimTransitionSpeed=1.1;
dexterity=1.5;
initSpeed=800;
recoil="recoil_spar";
cursor="smg";
handAnim[]=
{
"OFP2_ManSkeleton",
"\A3\Weapons_F\Rifles\TRG20\Data\Anim\TRG_21.rtm"
};
overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
discreteDistanceInitIndex=2;
discreteDistance[]={ 200, 300, 400, 500, 600};
discreteDistanceCameraPoint[]=
{
"eye"
};
cameraDir = "eye_look";
class Library
{
libTextDesc="$STR_A3_CfgWeapons_srifle_DMR_03_F_Library0";
};
class WeaponSlotsInfo: WeaponSlotsInfo
{
mass=76.059479;
class MuzzleSlot
{
};
class CowsSlot
{
};
class PointerSlot: PointerSlot
{
compatibleItems[]=
{
"braf_baionet_lapa"
};
iconPosition[]={0.33000001,0.40000001};
iconScale=0.2;
};
class UnderBarrelSlot
{
};
};
distanceZoomMin=300;
distanceZoomMax=300;
changeFiremodeSound[]=
{
"braf\braf_weapons_sound\weapons\weap_fireselctor.ogg",
5,
1,
5
};
drySound[]=
{
"A3\Sounds_F\arsenal\weapons\Rifles\MX\dry_Mx",
0.56234133,
1,
10
};
reloadMagazineSound[]=
{
"A3\Sounds_F\arsenal\weapons\Rifles\SDAR\reload_sdar",
1,
1,
10
};
modes[]=
{
"Single",
"FullAuto",
"single_close",
"single_medium",
"single_far",
"fullauto_medium"
};
bullet1[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_01",
0.63095737,
1,
15
};
bullet2[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_02",
0.63095737,
1,
15
};
bullet3[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_03",
0.63095737,
1,
15
};
bullet4[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_04",
0.63095737,
1,
15
};
bullet5[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_01",
0.63095737,
1,
15
};
bullet6[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_02",
0.63095737,
1,
15
};
bullet7[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_03",
0.63095737,
1,
15
};
bullet8[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_04",
0.63095737,
1,
15
};
bullet9[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_01",
0.63095737,
1,
15
};
bullet10[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_02",
0.63095737,
1,
15
};
bullet11[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_03",
0.63095737,
1,
15
};
bullet12[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_04",
0.63095737,
1,
15
};
soundBullet[]=
{
"bullet1",
0.082999997,
"bullet2",
0.082999997,
"bullet3",
0.082999997,
"bullet4",
0.082999997,
"bullet5",
0.082999997,
"bullet6",
0.082999997,
"bullet7",
0.082999997,
"bullet8",
0.082999997,
"bullet9",
0.082999997,
"bullet10",
0.082999997,
"bullet11",
0.082999997,
"bullet12",
0.082999997
};
class Single: Mode_SemiAuto
{
class BaseSoundModeType;
class StandardSound: BaseSoundModeType
{
soundSetShot[]=
{
"Mk20_Shot_SoundSet",
"Mk20_Tail_SoundSet"
};
};
class SilencedSound: BaseSoundModeType
{
soundsetshot[]=
{
"Mk20_silencerShot_SoundSet",
"Mk20_silencerTail_SoundSet"
};
};
reloadTime=0.1;
dispersion=0.00057999999;
initSpeed=940;
recoil="recoil_single_ebr";
recoilProne="recoil_single_prone_ebr";
minRange=2;
minRangeProbab=0.30000001;
midRange=350;
midRangeProbab=0.69999999;
maxRange=500;
maxRangeProbab=0.050000001;
};
class FullAuto: Mode_FullAuto
{
class BaseSoundModeType;
class StandardSound: BaseSoundModeType
{
soundSetShot[]=
{
"Mk20_Shot_SoundSet",
"Mk20_Tail_SoundSet"
};
};
class SilencedSound: BaseSoundModeType
{
soundsetshot[]=
{
"Mk20_silencerShot_SoundSet",
"Mk20_silencerTail_SoundSet"
};
};
reloadTime=0.1;
dispersion=0.00057999999;
recoil="recoil_auto_ebr";
recoilProne="recoil_auto_prone_ebr";
minRange=0;
minRangeProbab=0.89999998;
midRange=15;
midRangeProbab=0.69999999;
maxRange=30;
maxRangeProbab=0.050000001;
aiRateOfFire=1e-006;
};
class single_close: Single
{
//requiredOpticType=1;
showToPlayer=0;
minRange=2;
minRangeProbab=0.050000001;
midRange=300;
midRangeProbab=0.80000001;
maxRange=500;
maxRangeProbab=0.0099999998;
aiRateOfFire=2;
aiRateOfFireDistance=300;
};
class single_medium: single_close
{
minRange=300;
minRangeProbab=0.050000001;
midRange=500;
midRangeProbab=0.69999999;
maxRange=700;
maxRangeProbab=0.050000001;
aiRateOfFire=2;
aiRateOfFireDistance=500;
};
class single_far: single_medium
{
//requiredOpticType=2;
minRange=300;
minRangeProbab=0.050000001;
midRange=700;
midRangeProbab=0.5;
maxRange=2000;
maxRangeProbab=0.050000001;
aiRateOfFire=4;
aiRateOfFireDistance=600;
};
class fullauto_medium: FullAuto
{
showToPlayer=0;
burst=3;
minRange=2;
minRangeProbab=0.5;
midRange=50;
midRangeProbab=0.69999999;
maxRange=100;
maxRangeProbab=0.050000001;
aiRateOfFire=2;
};
aiDispersionCoefY=3;
aiDispersionCoefX=2;
ace_overheating_mrbs=2000;
ace_overheating_slowdownFactor=1;
ace_overheating_allowSwapBarrel=1;
ace_overheating_dispersion=0.75;
ACE_barrelTwist=254;
ACE_barrelLength=365;
ACE_twistDirection=1;
ACE_clearJamAction="braf_GestureClear_barrel_FAL";
class ItemInfo
{
priority=1;
};
};
class Braf_Lapa: Braf_lapa_base_F
{
author="BRAF Team";
_generalMacro="Braf_Lapa";
scope=2;
scopeCurator=2;
scopeArsenal=2;
model="\braf\braf_weapons_assault_rifles\556mm_LAPA\lapa.p3d";
displayName="LAPA LA-03 5.56mm";
picture="\braf\braf_weapons_assault_rifles\556mm_LAPA\ui\lapa_fa03_ui_black.paa";
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
hiddenSelections[]=
{
"camo"
};
hiddenSelectionsTextures[]=
{
"braf\braf_weapons_assault_rifles\556mm_LAPA\data\lapa_fa03_base_CO.paa"
};
descriptionShort="$STR_A3_CfgWeapons_srifle_DMR_03_F1";
inertia=0.60000002;
aimTransitionSpeed=0.89999998;
initSpeed=940;
};