This commit is the equivalent of a atomic bomb

This commit is contained in:
2026-02-15 08:08:56 -03:00
commit e4ac56b038
6934 changed files with 916278 additions and 0 deletions

View File

@@ -0,0 +1,293 @@
class braf_msr_308_base: Rifle_Base_F
{
author="BRAF Team";
_generalMacro="braf_msr_308_base";
scope=1;
displayName="msr Base";
magazines[]=
{
"braf_msr_10Rnd_308",
"braf_msr_10Rnd_308_red"
};
magazineWell[]=
{
"CBA_300WM_AI"
};
reloadAction="HLC_GestureReloadAWM";
recoil="recoil_dmr_02";
maxZeroing=1600;
handAnim[]=
{
"OFP2_ManSkeleton",
"\braf\braf_weapons_anim\animations\308_MSR\MSR_hand_anim.rtm"
};
overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
discreteDistanceInitIndex=0;
discreteDistance[]={100,200,300,400,500,600};
discreteDistanceCameraPoint[]=
{
"mira"
};
cameraDir="look";
cursor="srifle";
class Library
{
libTextDesc="Special Porpuse Marksmanship Rifle";
};
class WeaponSlotsInfo: WeaponSlotsInfo
{
class MuzzleSlot: asdg_MuzzleSlot
{
linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[]=
{
"braf_msr_silencer"
};
iconPosition[]={0.12,0.43099999};
iconScale=0.15000001;
};
class CowsSlot: asdg_OpticRail1913_short
{
iconPosition[]={0.5,0.36000001};
iconScale=0.15000001;
};
class PointerSlot: asdg_FrontSideRail
{
iconPosition[]={0.33000001,0.40000001};
iconScale=0.2;
};
class UnderBarrelSlot: asdg_UnderSlot
{
iconPosition[]={0.30000001,0.80000001};
iconScale=0.30000001;
};
};
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_MSR\sound\AWC_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[]=
{
"DMR03_silencerShot_SoundSet",
"DMR03_silencerTail_SoundSet",
"DMR03_silencerInteriorTail_SoundSet"
};
};
reloadTime=2.3;
dispersion=0.00060999999;
};
};
class Braf_msr_308: braf_msr_308_base
{
author="BRAF Team";
_generalMacro="Braf_msr_308";
scope=2;
model="\braf\braf_weapons_sniper_rifles\308_MSR\MSR.p3d";
dexterity=1.6799999;
displayName="Remington MSR .308 (Tan)";
picture="\braf\braf_weapons_sniper_rifles\308_MSR\ui\msr_308_ui_tan.paa";
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
hiddenSelections[]=
{
"Camo"
};
hiddenSelectionsTextures[]=
{
"\braf\braf_weapons_sniper_rifles\308_MSR\data\MSR_CO.paa"
};
descriptionShort="$STR_A3_CfgWeapons_srifle_DMR_03_F1";
inertia=0.40000001;
class CBA_weaponEvents
{
handAction="HLC_GestureRechamberAWM";
sound="hlc_bolt_AWM";
soundLocation="RightHandMiddle1";
delay=0.02;
onEmpty=0;
};
magazineReloadSwitchPhase=0.5;
class EventHandlers
{
fired="_this call CBA_fnc_weaponEvents";
};
class WeaponSlotsInfo: WeaponSlotsInfo
{
mass=115;
};
class ItemInfo
{
priority=1;
};
};
class Braf_msr_308_scope : Braf_msr_308
{
author="BRAF Team";
_generalMacro="Braf_msr_308_scope";
class LinkedItems
{
class LinkedItemsOptic //Attach Mira
{
slot = "CowsSlot";
item = "optic_LRPS";
};
class LinkedItemsMuzzle //Attach para o Cano
{
slot = "MuzzleSlot";
item = "braf_msr_silencer";
};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,94 @@
ambient[] = {1.0,1.0,1.0,1};
diffuse[] = {1.0,1.0,1.0,1};
forcedDiffuse[] = {0,0,0,0};
emmisive[] = {0,0,0,1};
specular[] = {0.128,0.127,0.125,1};
specularPower = 30;
PixelShaderID = "Super";
VertexShaderID = "Super";
class Stage1
{
texture="braf\braf_weapons_sniper_rifles\308_MSR\data\MSR_NOHQ.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
pos[]={0,0,0};
};
Filter="Anizotropic";
};
class Stage2
{
texture = "#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
uvSource = "tex";
class uvTransform
{
aside[] = {10,0,0};
up[] = {0,10,0};
dir[] = {0,0,0};
pos[] = {0,0,0};
};
};
class Stage3
{
texture = "#(argb,8,8,3)color(0.5,0.5,0.5,0,MC)";
uvSource = "tex";
class uvTransform
{
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,0};
pos[] = {0,0,0};
};
};
class Stage4
{
texture="braf\braf_weapons_sniper_rifles\308_MSR\data\MSR_AS.paa";
uvSource="tex";
class uvTransform
{
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,0};
pos[] = {0,0,0};
};
};
class Stage5
{
texture="braf\braf_weapons_sniper_rifles\308_MSR\data\MSR_SMDI.paa";
uvSource="tex";
class uvTransform
{
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,0};
pos[] = {0,0,0};
};
};
class Stage6
{
texture = "#(ai,16,2,2)fresnel(0.45,0.25)";
uvSource = "tex";
class uvTransform
{
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,1};
pos[] = {0,0,0};
};
};
class Stage7
{
texture = "a3\data_f\env_land_co.paa";
useWorldEnvMap = "true";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0,0.0,0.0};
up[] = {0.0,1.0,0.0};
dir[] = {0.0,0.0,0.0};
pos[] = {0.0,0.0,0.0};
};
};

View File

@@ -0,0 +1,576 @@
class CfgSkeletons
{
class Default {
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
class MSRSkeleton: Default
{
skeletonBones[]=
{
"Bolt", "",
"bipod_pivot", "",
"bipodleg_r", "bipod_pivot",
"bipodleg_l", "bipod_pivot",
"bipodfoot_l", "bipodleg_l",
"bipodfoot_r", "bipodleg_r",
"Bolthandle", "Bolt",
"Magazine", "",
"casing", "Bolt",
"Bullet1", "Magazine",
"Bullet2", "Magazine",
"Bullet3", "Magazine",
"Bullet4", "Magazine",
"Bullet5", "Magazine",
"ironsights", "",
"Striker", "Bolthandle",
"Trigger", "",
"zasleh",""
};
};
};
class CfgModels
{
class Default {
selections[] = {};
selectionsInherit = "";
skeletonName = "";
};
class msr: Default
{
sections[]=
{
"zasleh","Magazine","Bolt","Trigger","camo","camo2","camo3"
};
skeletonName="MSRSkeleton";
sectionsInherit = "";
class Animations
{
class muzzleflash_hide
{
type="hide";
source="hasSuppressor";
selection="zasleh";
minValue = 0.0;
maxvalue = 1;
hideValue = 0.01;
};
class bullet1_hide
{
type="hide";
source="revolving";
selection="bullet1";
minValue = 0.0;
maxvalue = 1;
hideValue = 0.00;
unhideValue = 0.9;
};
class bullet2_hide
{
type="hide";
source="revolving";
selection="bullet2";
minValue = 0.0;
maxvalue = 1;
hideValue = 0.00;
unhideValue = 0.8;
};
class bullet3_hide
{
type="hide";
source="revolving";
selection="bullet3";
minValue = 0.0;
maxvalue = 1;
hideValue = 0.00;
unhideValue = 0.6;
};
class bullet4_hide
{
type="hide";
source="revolving";
selection="bullet4";
minValue = 0.0;
maxvalue = 1;
hideValue = 0.00;
unhideValue = 0.4;
};
class bullet5_hide
{
type="hide";
source="revolving";
selection="bullet5";
minValue = 0.0;
maxvalue = 1;
hideValue = 0.00;
unhideValue = 0.2;
};
class casing_hide
{
type="hide";
source="isEmpty";
selection="casing";
minValue = 0.0;
maxvalue = 1;
hideValue = 0.01;
};
class bullet1_reload
{
type = "translation";
source = "reload";
selection = "bullet5";
memory=1;
axis = "bulletlift_axis";
minValue = 0.48;
maxValue = 0.5;
offset0 = -1;
offset1 = 0;
};
class bullet1_reload2
{
type = "translation";
source = "reload";
selection = "bullet5";
memory=1;
axis = "bolt_axis";
minValue = 0.46;
maxValue = 0.54;
offset0 = -1;
offset1 = 0;
};
class bullet1_reload_reset
{
type = "translation";
source = "reload";
selection = "bullet5";
memory=1;
axis = "bulletlift_axis";
minValue = 0.01;
maxValue = 0.02;
offset0 = 1;
offset1 = 0;
};
class bullet1_reload2_reset
{
type = "translation";
source = "reload";
selection = "bullet5";
memory=1;
axis = "bolt_axis";
minValue = 0.01;
maxValue = 0.02;
offset0 = 1;
offset1 = 0;
};
class bullet1_reload3
{
type = "rotation";
source = "reload";
selection = "bullet5";
memory=1;
axis = "bulletrot_axis";
minValue = 0.49;
maxValue = 0.50;
angle0=0;
angle1="rad -10";
};
class bullet1_reload4
{
type = "rotation";
source = "reload";
selection = "bullet5";
memory=1;
axis = "bulletrot_axis";
minValue = 0.51;
maxValue = 0.53;
angle0=0;
angle1="rad 10";
};
class bolt1
{
type = "translation";
source = "reload";
selection = "Bolt";
memory=1;
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.4;
maxValue = 0.46; //0.09; //"1";
offset0 = "0";
offset1 = 0.05;
};
class bolt2
{
type = "translation";
source = "reload";
selection = "Bolt";
memory=1;
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.46;
maxValue = 0.54; //0.09; //"1";
offset0 = "0";
offset1 = 0.95;
};
class casing_hide_rechamber
{
type="hide";
source = "reload";
selection="casing";
minValue = 0.0;
maxvalue = 1;
hideValue =0.01;
unhideValue =0.66;
};
class bolt3
{
type = "translation";
source = "reload";
selection = "Bolt";
memory=1;
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.66;
maxValue = 0.72; //0.09; //"1";
offset0 = "0";
offset1 = -0.95;
};
class bolt4
{
type = "translation";
source = "reload";
selection = "Bolt";
memory=1;
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.76;
maxValue = 0.78; //0.09; //"1";
offset0 = "0";
offset1 = -0.05;
};
class striker1
{
type = "translation";
source = "reload";
selection = "striker";
memory=1;
axis = "striker_axis";
minValue=0.99;
maxValue=1;
offset0 = "0";
offset1 = 1;
};
class striker2
{
type = "translation";
source = "reload";
selection = "striker";
memory=1;
axis = "striker_axis";
minValue=0.76;
maxValue=0.8;
offset0 = "0";
offset1 = -1;
};
class Boltturn1
{
type="rotation";
source="reload";
selection="BoltHandle";
axis="bolt_axis";
memory=1;
minValue=0.4;
maxValue=0.46;
angle0=0;
angle1="rad -60";
};
class Boltturn2
{
type="rotation";
source="reload";
selection="BoltHandle";
axis="bolt_axis";
memory=1;
minValue=0.76;
maxValue=0.8;
angle0=0;
angle1="rad 60";
};
class Mag_bolt_rot1
{
type="rotation";
source="reloadmagazine";
selection="BoltHandle";
axis="bolt_axis";
memory=1;
minValue=0.70072992;
maxValue=0.71532846;
angle0=0;
angle1="rad -90";
};
class Mag_bolt_rot2
{
type="rotation";
source="reloadmagazine";
selection="BoltHandle";
axis="bolt_axis";
memory=1;
minValue=0.82481751;
maxValue=0.84671532;
angle0=0;
angle1="rad 90";
};
class Mag_striker_trans1
{
type = "translation";
source = "reloadmagazine";
selection = "Bolt";
memory=1;
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.70802919;
maxValue = 0.71532846;
offset0 = "0";
offset1 = "0.05";
};
class Mag_striker_trans1a
{
type = "translation";
source = "reloadmagazine";
selection = "Bolt";
memory=1;
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.7299270;
maxValue = 0.75182481;
offset0 = "0";
offset1 = "0.95";
};
class Mag_striker_trans2
{
type = "translation";
source = "reloadmagazine";
selection = "Bolt";
memory=1;
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.79562043;
maxValue = 0.82481751;
offset0 = "0";
offset1 = -0.95;
};
class Mag_striker_trans3
{
type = "translation";
source = "reloadmagazine";
selection = "Bolt";
memory=1;
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.82481751;
maxValue = 0.84671532;
offset0 = "0";
offset1 = -0.05;
};
class mag_bullet1_reload
{
type = "translation";
source ="reloadmagazine";
selection = "bullet5";
memory=1;
axis = "bulletlift_axis";
minValue = 0.8;
maxValue = 0.81;
offset0 = 0;
offset1 = -1;
};
class mag_bullet1_reload2
{
type = "translation";
source = "reloadmagazine";
selection = "bullet5";
memory=1;
axis = "bolt_axis";
minValue = 0.798;
maxValue = 0.82481751;
offset0 = 0;
offset1 = -1;
};
class mag_bullet1_reload3
{
type = "rotation";
source = "reloadmagazine";
selection = "bullet5";
memory=1;
axis = "bulletrot_axis";
minValue = 0.798;
maxValue = 0.8;
angle0=0;
angle1="rad -10";
};
class mag_bullet1_reload4
{
type = "rotation";
source = "reloadmagazine";
selection = "bullet5";
memory=1;
axis = "bulletrot_axis";
minValue = 0.805;
maxValue = 0.81;
angle0=0;
angle1="rad 10";
};
class casing_hide_reload
{
type="hide";
source = "reloadmagazine";
selection="casing";
minValue = 0.0;
maxvalue = 1;
hideValue =0.75182481;
unhideValue =0.999;
};
class Magmagazine_out
{
type = "translation";
source = "reloadmagazine";
selection = "magazine";
memory=1;
axis = "magazine_axis";
minValue = 0.1459854;
maxValue = 0.16788321;
offset0 = "0";
offset1 = "1";
};
class magazine_in1
{
type = "translation";
source = "reloadmagazine";
selection = "magazine";
memory=1;
axis = "magazine_axis";
minValue = 0.5109489;
maxValue = 0.53284671;
offset0 = "0";
offset1 = -0.5;
};
class magazine_in2
{
type = "translation";
source = "reloadmagazine";
selection = "magazine";
memory=1;
axis = "magazine_axis";
minValue = 0.55474452;
maxValue = 0.57664233;
offset0 = "0";
offset1 = -0.5;
};
class magazine_hide
{
type="hide";
source="reloadMagazine";
selection="Magazine";
minValue=0;
maxValue=1;
hideValue=0.16788321;
unhideValue=0.50364963;
};
class unloaded_magazine_hide {
type = "hide";
source = "hasMagazine";
selection = "Magazine";
hideValue = 0.1;
};
class toprail_hide
{
type="hide";
source="hasOptics";
selection="ironsights";
minValue = 0;
maxvalue = 1;
hideValue = 0.5;
};
class legspivot
{
type = rotation;
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
sourceAddress = clamp;
selection = "bipod_pivot";
axis = "bipod_axis1";
minValue = 0;
maxValue = 1;
angle0 = (rad -90);
angle1 = (rad 0);
};
class bipodranslate
{
type = translation;
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
sourceAddress = clamp;
selection = "bipod_pivot";
axis = "bipod_axis2";
minValue = 0;
maxValue = 0.2;
offset0 = "0";
offset1 = "-1";
};
class bipodranslate2
{
type = translation;
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
sourceAddress = clamp;
selection = "bipod_pivot";
axis = "bipod_axis2";
minValue = 0.2;
maxValue = 1;
offset0 = "0";
offset1 = "1";
};
class legsL
{
type = rotation;
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
sourceAddress = clamp;
selection = "Bipodleg_L";
axis = "bipod_axis2";
minValue = 0.2;
maxValue = 1;
angle0 = (rad 25);
angle1 = rad 0;
};
class legsR
{
type = rotation;
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
sourceAddress = clamp;
selection = "bipodleg_R";
axis = "bipod_axis2";
minValue = 0.2;
maxValue = 1;
angle0 = (rad -25);
angle1 = rad 0;
};
};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.