Files
braf/braf_weapons_smg/9mm_BerettaMT12/9mm_BerettaMT12.hpp

327 lines
5.6 KiB
C++

class Braf_MT12_base_F: Rifle_Base_F {
author="BRAF Team";
_generalMacro="Braf_MT12_base_F";
scope=0;
displayName="MT12 Base";
magazines[]=
{
"30Rnd_9x21_Mag"
};
reloadAction="GestureReloadSMG_02";
recoil="recoil_smg_05";
maxZeroing=100;
handAnim[]=
{
"OFP2_ManSkeleton",
"\A3\Weapons_F\Rifles\MX\data\Anim\MX_dmr.rtm"
};
overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
discreteDistanceInitIndex=2;
cursor="smg";
class Library
{
libTextDesc="Beretta MP12S 9mm";
};
class WeaponSlotsInfo: WeaponSlotsInfo
{
class CowsSlot
{
};
class MuzzleSlot
{
};
class UnderBarrelSlot
{
};
class PointerSlot
{
};
mass=66.138702;
};
distanceZoomMin=300;
distanceZoomMax=300;
changeFiremodeSound[]=
{
"A3\Sounds_F\arsenal\weapons\SMG\Sting\firemode_Sting",
0.25118864,
1,
5
};
drySound[]=
{
"braf\braf_weapons_sound\weapons\MT12\mt12_hammer.ogg",
3,
1,
10
};
reloadMagazineSound[]=
{
"braf\braf_weapons_sound\weapons\MT12\reload.ogg",
1,
1,
10
};
modes[]=
{
"Single",
"FullAuto",
"single_close_optics1",
"single_medium_optics1",
"single_far_optics1",
"fullauto_medium"
};
bullet1[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_01",
0.50118703,
1,
15
};
bullet2[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_02",
0.50118703,
1,
15
};
bullet3[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_03",
0.50118703,
1,
15
};
bullet4[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_04",
0.50118703,
1,
15
};
bullet5[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_01",
0.50118703,
1,
15
};
bullet6[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_02",
0.50118703,
1,
15
};
bullet7[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_03",
0.50118703,
1,
15
};
bullet8[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_04",
0.50118703,
1,
15
};
bullet9[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_01",
0.39810699,
1,
15
};
bullet10[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_02",
0.39810699,
1,
15
};
bullet11[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_03",
0.39810699,
1,
15
};
bullet12[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_04",
0.39810699,
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[]=
{
"SMGVermin_Shot_SoundSet",
"SMGVermin_Tail_SoundSet",
"SMGVermin_InteriorTail_SoundSet"
};
};
class SilencedSound: BaseSoundModeType
{
SoundSetShot[]=
{
"SMGVermin_silencerShot_SoundSet",
"SMGVermin_silencerTail_SoundSet",
"SMGVermin_silencerInteriorTail_SoundSet"
};
};
reloadTime=0.054499999;
dispersion=0.00057999999;
initSpeed=850;
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[]=
{
"SMGVermin_Shot_SoundSet",
"SMGVermin_Tail_SoundSet",
"SMGVermin_InteriorTail_SoundSet"
};
};
class SilencedSound: BaseSoundModeType
{
SoundSetShot[]=
{
"SMGVermin_silencerShot_SoundSet",
"SMGVermin_silencerTail_SoundSet",
"SMGVermin_silencerInteriorTail_SoundSet"
};
};
reloadTime=0.054499999;
dispersion=0.00057999999;
minRange=0;
minRangeProbab=0.89999998;
midRange=15;
midRangeProbab=0.69999999;
maxRange=30;
maxRangeProbab=0.050000001;
aiRateOfFire=5;
};
class single_close_optics1: 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_optics1: single_close_optics1
{
minRange=300;
minRangeProbab=0.050000001;
midRange=500;
midRangeProbab=0.69999999;
maxRange=700;
maxRangeProbab=0.050000001;
aiRateOfFire=2;
aiRateOfFireDistance=500;
};
class single_far_optics1: single_medium_optics1
{
requiredOpticType=2;
minRange=300;
minRangeProbab=0.050000001;
midRange=700;
midRangeProbab=0.5;
maxRange=1000;
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;
};
class Braf_MT12: Braf_MT12_base_F {
author="BRAF Team";
_generalMacro="Braf_MT12";
scope=2;
model="braf\braf_weapons_smg\9mm_BerettaMT12\mt12.p3d";
dexterity=1.6;
displayName="Beretta MP12S 9mm";
picture="\braf\braf_weapons_smg\9mm_BerettaMT12\ui\bereta_ui.paa";
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
descriptionShort="SMG Beretta MP12S 9mm";
inertia=0.40000001;
aimTransitionSpeed=1.3;
initSpeed=370;
class WeaponSlotsInfo: WeaponSlotsInfo
{
mass=66.138702;
};
ace_overheating_mrbs=100;
ace_overheating_slowdownFactor=1;
ace_overheating_allowSwapBarrel=1;
ACE_barrelTwist=254;
ACE_Overheating_Dispersion=1;
ACE_barrelLength=200;
ACE_twistDirection=1;
ACE_clearJamAction="braf_GestureClear_barrel_mt12";
class ItemInfo
{
priority=1;
};
};