339 lines
6.3 KiB
C++
339 lines
6.3 KiB
C++
class braf_aglc_base: Rifle_Base_F
|
|
{
|
|
author="BRAF Team";
|
|
_generalMacro="braf_aglc_base";
|
|
scope=0;
|
|
displayName="aglc Base";
|
|
magazines[]=
|
|
{
|
|
"braf_5Rnd_308",
|
|
"braf_5Rnd_308_Red"
|
|
};
|
|
magazineWell[]=
|
|
{
|
|
"CBA_3006_Spring"
|
|
};
|
|
reloadAction="HLC_GestureReloadM1903A1_UN";
|
|
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="Marksmanship Rifle";
|
|
};
|
|
class WeaponSlotsInfo: WeaponSlotsInfo
|
|
{
|
|
class CowsSlot: asdg_OpticRail1913_short
|
|
{
|
|
iconPosition[]={0.5,0.36000001};
|
|
iconScale=0.15000001;
|
|
};
|
|
class MuzzleSlot
|
|
{
|
|
};
|
|
class UnderBarrelSlot: asdg_UnderSlot
|
|
{
|
|
iconPosition[]={0.30000001,0.80000001};
|
|
iconScale=0.30000001;
|
|
};
|
|
class PointerSlot: PointerSlot
|
|
{
|
|
compatibleItems[]=
|
|
{
|
|
"braf_aglc_pouch"
|
|
};
|
|
iconPosition[]={0.33000001,0.40000001};
|
|
iconScale=0.2;
|
|
};
|
|
};
|
|
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\308_AGLC\sound\1903A1Unertl_reload",
|
|
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[]=
|
|
{
|
|
"50cal_Type115_Shot_SoundSet",
|
|
"50cal_Type115_Tail_SoundSet",
|
|
"50cal_Type115_interiorTail_SoundSet"
|
|
};
|
|
};
|
|
class SilencedSound: BaseSoundModeType
|
|
{
|
|
soundsetshot[]=
|
|
{
|
|
"50cal_Type115_Shot_SoundSet",
|
|
"50cal_Type115_Tail_SoundSet",
|
|
"50cal_Type115_interiorTail_SoundSet"
|
|
};
|
|
};
|
|
reloadTime=2.3;
|
|
dispersion=0.00060999999;
|
|
};
|
|
model="\braf\braf_weapons_sniper_rifles\308_AGLC\aglc.p3d";
|
|
descriptionShort="IMBEL AGLC .308 Lapua Marksman 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 ItemInfo
|
|
{
|
|
priority=1;
|
|
};
|
|
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
|
|
dexterity=1.6799999;
|
|
hiddenSelections[]=
|
|
{
|
|
"Camo"
|
|
};
|
|
};
|
|
class Braf_aglc_camo: braf_aglc_base
|
|
{
|
|
author = "BRAF Team";
|
|
_generalMacro="Braf_aglc_camo";
|
|
scope=2;
|
|
displayName="IMBEL AGLC .308 (Camo)";
|
|
picture="\braf\braf_weapons_sniper_rifles\308_AGLC\ui\aglc_camo.paa";
|
|
hiddenSelectionsTextures[]=
|
|
{
|
|
"braf\braf_weapons_sniper_rifles\308_AGLC\data\AGLC_CO_CAMO.paa"
|
|
};
|
|
};
|
|
class Braf_aglc_marro: braf_aglc_base
|
|
{
|
|
author = "BRAF Team";
|
|
_generalMacro="Braf_aglc_marro";
|
|
scope=2;
|
|
displayName="IMBEL AGLC .308 (Brown)";
|
|
picture="\braf\braf_weapons_sniper_rifles\308_AGLC\ui\aglc_marrom.paa";
|
|
hiddenSelectionsTextures[]=
|
|
{
|
|
"braf\braf_weapons_sniper_rifles\308_AGLC\data\AGLC_CO_MARRO.paa"
|
|
};
|
|
|
|
};
|
|
class Braf_aglc_preto: braf_aglc_base
|
|
{
|
|
author = "BRAF Team";
|
|
_generalMacro="Braf_aglc_preto";
|
|
scope=2;
|
|
displayName="IMBEL AGLC .308 (Black)";
|
|
picture="\braf\braf_weapons_sniper_rifles\308_AGLC\ui\aglc_preto.paa";
|
|
hiddenSelectionsTextures[]=
|
|
{
|
|
"braf\braf_weapons_sniper_rifles\308_AGLC\data\AGLC_CO_PRETO.paa"
|
|
};
|
|
};
|
|
class Braf_aglc_scope : Braf_aglc_marro
|
|
{
|
|
author = "BRAF Team";
|
|
scope=1;
|
|
_generalMacro="Braf_aglc_scope";
|
|
class LinkedItems
|
|
{
|
|
class LinkedItemsOptic //Attach Mira
|
|
{
|
|
slot = "CowsSlot";
|
|
item = "optic_LRPS";
|
|
};
|
|
};
|
|
};
|
|
class Braf_aglc_scope_preto : Braf_aglc_preto {
|
|
scope=1;
|
|
author = "BRAF Team";
|
|
_generalMacro="Braf_aglc_scope";
|
|
class LinkedItems
|
|
{
|
|
class LinkedItemsOptic //Attach Mira
|
|
{
|
|
slot = "CowsSlot";
|
|
item = "optic_LRPS";
|
|
};
|
|
};
|
|
};
|
|
class Braf_aglc_scope_camo : Braf_aglc_camo {
|
|
scope=1;
|
|
author = "BRAF Team";
|
|
_generalMacro="Braf_aglc_scope";
|
|
class LinkedItems
|
|
{
|
|
class LinkedItemsOptic //Attach Mira
|
|
{
|
|
slot = "CowsSlot";
|
|
item = "optic_LRPS";
|
|
};
|
|
};
|
|
}; |