Files
braf/braf_weapons_sniper_rifles/762mm_Mosquefal/762mm_MosqueFAL.hpp

347 lines
6.0 KiB
C++

class braf_mosquefal_base: Rifle_Base_F
{
author="BRAF Team";
_generalMacro="braf_mosquefal_base";
scope=0;
displayName="mosquefal Base";
magazines[]=
{
"braf_Clip_5Rnd_762x51"
};
magazineWell[]=
{
"BRAF_Mosquefal_762"
};
reloadAction="HLC_GestureReloadM1903A1";
recoil="recoil_dmr_02";
maxZeroing=1600;
handAnim[]=
{
"OFP2_ManSkeleton",
"\A3\Weapons_F_Mark\LongRangeRifles\DMR_06\data\Anim\DMR_06.rtm"
};
overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
discreteDistanceInitIndex=0;
discreteDistance[]={100,200,300,400,500,600};
discreteDistanceCameraPoint[]=
{
"eye"
};
cameraDir="look";
cursor="srifle";
class Library
{
libTextDesc="Mq Mosquefal Bolt Action Rifle";
};
class WeaponSlotsInfo: WeaponSlotsInfo
{
class MuzzleSlot
{
};
class CowsSlot
{
};
class PointerSlot: PointerSlot
{
compatibleItems[]=
{
"braf_mosquefal_baionet"
};
iconPosition[]={0.33000001,0.40000001};
iconScale=0.2;
};
class UnderBarrelSlot
{
};
};
muzzles[]=
{
"this",
"RifleGrenade"
};
class RifleGrenade: UGL_F
{
displayName="Rifle Grenade";
muzzleEnd="konec hlavne";
muzzlePos="usti hlavne";
recoil="sp_fwa_recoil_riflegrenade";
magazines[]={};
magazineWell[]=
{
"BRAF_RifleGrenade"
};
discreteDistanceCameraPoint[]=
{
"grenade_eye_25",
"grenade_eye_50",
"grenade_eye_75",
"grenade_eye_100",
"grenade_eye_125",
"grenade_eye_150",
"grenade_eye_200",
"grenade_eye_250",
"grenade_eye_300",
"grenade_eye_300",
"grenade_eye_300",
"grenade_eye_300",
"grenade_eye_300"
};
discreteDistance[]={25,50,75,100,125,150,200,250,300};
discreteDistanceInitIndex=3;
maxZeroing=300;
zeroingSound[]=
{
"",
1,
1
};
memoryPointCamera="grenade_eye_50";
cameraDir="grenade_aim_point";
dispersion=0.0174533;
class Single: Single
{
aiDispersionCoefX=1;
aiDispersionCoefY=1;
aiRateOfFireDistance=500;
aiRateOfFireDispersion=0;
aiRateOfFire=10;
dispersion=0.0020000001;
maxRange=250;
maxRangeProbab=0.039999999;
midRange=150;
midRangeProbab=0.57999998;
minRange=10;
minRangeProbab=0.30000001;
recoil="recoil_single_gm6";
recoilProne="recoil_single_prone_gm6";
class StandardSound
{
soundSetShot[]=
{
"Launcher_MRAWS_Shot_SoundSet",
"Launcher_MRAWS_Tail_SoundSet"
};
};
};
};
distanceZoomMin=300;
distanceZoomMax=300;
changeFiremodeSound[]=
{
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Safety_02",
0.11220184,
1,
5
};
drySound[]=
{
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Dry",
0.25118864,
1,
20
};
reloadMagazineSound[]=
{
"braf\braf_weapons_sniper_rifles\762mm_Mosquefal\sound\1903A1_reload_noscope",
1,
1,
10
};
modes[]=
{
"Single"
};
bullet1[]=
{
"A3\sounds_f\weapons\shells\7_62\metal_762_01",
0.63095737,
1,
15
};
bullet2[]=
{
"A3\sounds_f\weapons\shells\7_62\metal_762_02",
0.63095737,
1,
15
};
bullet3[]=
{
"A3\sounds_f\weapons\shells\7_62\metal_762_03",
0.63095737,
1,
15
};
bullet4[]=
{
"A3\sounds_f\weapons\shells\7_62\metal_762_04",
0.63095737,
1,
15
};
bullet5[]=
{
"A3\sounds_f\weapons\shells\7_62\dirt_762_01",
0.63095737,
1,
15
};
bullet6[]=
{
"A3\sounds_f\weapons\shells\7_62\dirt_762_02",
0.63095737,
1,
15
};
bullet7[]=
{
"A3\sounds_f\weapons\shells\7_62\dirt_762_03",
0.63095737,
1,
15
};
bullet8[]=
{
"A3\sounds_f\weapons\shells\7_62\dirt_762_04",
0.63095737,
1,
15
};
bullet9[]=
{
"A3\sounds_f\weapons\shells\7_62\grass_762_01",
0.63095737,
1,
15
};
bullet10[]=
{
"A3\sounds_f\weapons\shells\7_62\grass_762_02",
0.63095737,
1,
15
};
bullet11[]=
{
"A3\sounds_f\weapons\shells\7_62\grass_762_03",
0.63095737,
1,
15
};
bullet12[]=
{
"A3\sounds_f\weapons\shells\7_62\grass_762_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
{
sounds[]=
{
"StandardSound",
"SilencedSound"
};
class BaseSoundModeType;
class StandardSound: BaseSoundModeType
{
soundSetShot[]=
{
"DMR03_Shot_SoundSet",
"DMR03_tail_SoundSet",
"DMR03_InteriorTail_SoundSet"
};
};
class SilencedSound: BaseSoundModeType
{
SoundSetShot[]=
{
"DMR03_silencerShot_SoundSet",
"DMR03_silencerTail_SoundSet",
"DMR03_silencerInteriorTail_SoundSet"
};
};
reloadTime=2.3;
dispersion=0.00060999999;
};
};
class Braf_Mosquefal: braf_mosquefal_base
{
author="BRAF Team";
_generalMacro="Braf_Mosquefal";
scope=2;
model="\braf\braf_weapons_sniper_rifles\762mm_Mosquefal\Mosquefal.p3d";
dexterity=1.6799999;
displayName="IMBEL M968 Mosquefal 7.62mm";
picture="\braf\braf_weapons_sniper_rifles\762mm_Mosquefal\ui\m968_ui.paa";
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
hiddenSelections[]=
{
"Camo1",
"Camo2"
};
hiddenSelectionsTextures[]=
{
"\braf\braf_weapons_sniper_rifles\762mm_Mosquefal\data\parafal_muzle.paa",
"\braf\braf_weapons_sniper_rifles\762mm_Mosquefal\data\Parafal_guardamao.paa"
};
descriptionShort="Mq MOSQUEFAL Bolt Action Rifle";
inertia=0.40000001;
class CBA_weaponEvents
{
handAction="HLC_GestureRechamberM1903A1_UN";
sound="hlc_bolt_1903";
soundLocation="RightHandMiddle1";
delay = 0.02;
onEmpty=0;
hasOptic=1;
cartridgeType = "FxCartridge_762";
cartridgeEjectPosition[] = {0.005,0.01,0.1};
cartridgeEjectVelocity[] = {0,1.2,0.5};
cartridgeEjectDelay = 0.543;
soundEmpty="";
soundLocationEmpty="";
};
magazineReloadSwitchPhase=0.5625;
class EventHandlers
{
fired="_this call CBA_fnc_weaponEvents";
};
class WeaponSlotsInfo: WeaponSlotsInfo
{
mass=60;
};
class ItemInfo
{
priority=1;
};
};