This commit is the equivalent of a atomic bomb
This commit is contained in:
80
braf_weapons_assault_rifles/CfgRecoils.hpp
Normal file
80
braf_weapons_assault_rifles/CfgRecoils.hpp
Normal file
@@ -0,0 +1,80 @@
|
||||
class CfgRecoils
|
||||
{
|
||||
recoil_single_AMF_614_long_01_F[]=
|
||||
{
|
||||
0,0,0,
|
||||
0.03, 36.943*(Xcoef)*(0.3), 3.587*(Ycoef)*(3),
|
||||
0.03, 31.817*(Xcoef)*(0.5), 1.251*(Ycoef)*(3.4),
|
||||
0.03, 19.755*(Xcoef)*(0.7), 0.764*(Ycoef)*(3.8),
|
||||
0.06, 7.388*(Xcoef)*(0.9), 0.285*(Ycoef)*(4.2),
|
||||
0.06, -2.402*(Xcoef)*(0.3), -0.096*(Ycoef)*(7),
|
||||
0.06, -3.53*(Xcoef)*(0.5), -0.141*(Ycoef)*(5),
|
||||
0.06, -3.677*(Xcoef)*(0.5), -0.147*(Ycoef)*(3),
|
||||
0.06, -3.138*(Xcoef)*(0.3), -0.125*(Ycoef)*(1),
|
||||
0.06, 0, 0
|
||||
};
|
||||
recoil_single_prone_AMF_614_long_01_F[]=
|
||||
{
|
||||
0,0,0,
|
||||
0.03, 36.943*(Xcoef)*(0.3), 3.587*(Ycoef)*(0.7),
|
||||
0.03, 31.817*(Xcoef)*(0.5), 1.251*(Ycoef)*(1.1),
|
||||
0.03, 19.755*(Xcoef)*(0.7), 0.764*(Ycoef)*(1.5),
|
||||
0.06, 7.388*(Xcoef)*(0.9), 0.285*(Ycoef)*(1.9),
|
||||
0.06, -2.402*(Xcoef)*(0.3), -0.096*(Ycoef)*(2),
|
||||
0.06, -3.53*(Xcoef)*(0.5), -0.141*(Ycoef)*(1),
|
||||
0.06, -3.677*(Xcoef)*(0.5), -0.147*(Ycoef)*(0.5),
|
||||
0.06, -3.138*(Xcoef)*(0.3), -0.125*(Ycoef)*(0.3),
|
||||
0.06, 0, 0
|
||||
};
|
||||
recoil_auto_AMF_614_long_01_F[]=
|
||||
{
|
||||
0,0,0,
|
||||
0.06, 36.943*(Xcoef)*(1.2), 3.587*(Ycoef)*(1.7),
|
||||
0.06, 31.817*(Xcoef)*(1.5), 1.251*(Ycoef)*(2.1),
|
||||
0.06, 19.755*(Xcoef)*(1.7), 0.764*(Ycoef)*(2.4),
|
||||
0.06, 7.388*(Xcoef)*(1.9), 0.285*(Ycoef)*(2.8),
|
||||
0.03, -2.402*(Xcoef)*(0.3), -0.096*(Ycoef)*(7),
|
||||
0.03, -3.53*(Xcoef)*(0.5), -0.141*(Ycoef)*(5),
|
||||
0.03, -3.677*(Xcoef)*(0.5), -0.147*(Ycoef)*(3),
|
||||
0.06, 0, 0
|
||||
};
|
||||
recoil_auto_prone_AMF_614_long_01_F[]=
|
||||
{
|
||||
0,0,0,
|
||||
0.06, 36.943*(Xcoef)*(1.2), 3.587*(Ycoef)*(0.3),
|
||||
0.06, 31.817*(Xcoef)*(1.5), 1.251*(Ycoef)*(0.7),
|
||||
0.06, 19.755*(Xcoef)*(1.7), 0.764*(Ycoef)*(1.1),
|
||||
0.06, 7.388*(Xcoef)*(1.9), 0.285*(Ycoef)*(1.5),
|
||||
0.03, -2.402*(Xcoef)*(0.3), -0.096*(Ycoef)*(4),
|
||||
0.03, -3.53*(Xcoef)*(0.5), -0.141*(Ycoef)*(2),
|
||||
0.03, -3.677*(Xcoef)*(0.5), -0.147*(Ycoef)*(1),
|
||||
0.06, 0, 0
|
||||
};
|
||||
class recoil_gm6;
|
||||
class sp_fwa_recoil_riflegrenade
|
||||
{
|
||||
kickBack[] = {0.2,0.24};
|
||||
permanent = 0.5;
|
||||
muzzleOuter[] = {7,6,0.2,0.2};
|
||||
temporary = 0.025;
|
||||
};
|
||||
class Default;
|
||||
class recoil_default: Default
|
||||
{ // x_ y| a> b^
|
||||
muzzleOuter[] = { 0.3, 1.0, 0.3, 0.2 };
|
||||
muzzleInner[] = { 0, 0, 0.1, 0.1 };
|
||||
kickBack[] = { 0.03, 0.06 };
|
||||
permanent = 0.1;
|
||||
temporary = 0.01;
|
||||
};
|
||||
|
||||
/*---------------------------------------------------------------------------
|
||||
Adjustments from the default recoil configuration
|
||||
---------------------------------------------------------------------------*/
|
||||
class recoil_AMF_614_long_01_F: recoil_default
|
||||
{
|
||||
muzzleOuter[] = { 0.3, 1.0, 0.4, 0.3 };
|
||||
kickBack[] = { 0.02, 0.04 };
|
||||
temporary = 0.01;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user