Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ballistics - Update the B_556x45_dual #7982

Merged
merged 2 commits into from
Nov 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions addons/ballistics/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@ class CfgAmmo {
ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900};
ACE_barrelLengths[]={210.82, 238.76, 269.24, 299.72, 330.2, 360.68, 391.16, 419.1, 449.58, 480.06, 508.0, 609.6};
};

class B_556x45_dual: B_556x45_Ball {
airFriction = -0.00055;
ACE_ammoTempMuzzleVelocityShifts[] = {-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_muzzleVelocities[] = {268}; // at 21°C, at 15°C 267 m/s according with the 20Rnd_556x45_UW_mag initSpeed
ACE_barrelLengths[] = {457.2}; // according with the SDAR barrel length: https://en.wikipedia.org/wiki/Kel-Tec_RFB
};

class ACE_556x45_Ball_Mk262 : B_556x45_Ball {
airFriction=-0.00111805;
ACE_caliber=5.69;
Expand Down
2 changes: 1 addition & 1 deletion addons/scopes/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ class CfgWeapons {

class arifle_SDAR_F: SDAR_base_F {
ACE_RailHeightAboveBore = 0;
ACE_IronSightBaseAngle = -0.037242;
ACE_IronSightBaseAngle = -0.042972;
};

class SMG_01_Base: Rifle_Short_Base_F {
Expand Down