Skip to content

Commit

Permalink
Fix RPT Errors. (#167)
Browse files Browse the repository at this point in the history
Co-authored-by: Brett Mayson <[email protected]>
  • Loading branch information
Mike-MF and BrettMayson authored Jul 30, 2023
1 parent d3e6c12 commit 8d4927d
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 14 deletions.
14 changes: 0 additions & 14 deletions addons/ammunition/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,20 +121,6 @@ class CfgAmmo {
hit = 12;
};

// 4.6x30mm (Comparable to 5.7x28mm but slightly worse performing penetration.)
class CLASS(46x30_Ball): CLASS(57x28_Ball) {
caliber = 0.15;
hit = 8;
};
class CLASS(46x30_EPR): CLASS(46x30_Ball) {
caliber = 0.75;
hit = 9;
};
class CLASS(46x30_AP): CLASS(46x30_EPR) {
caliber = 1.25;
hit = 9.5;
};

// 5.8x42mm
class CLASS(58x42_Ball): B_580x42_Ball_F {
aiAmmoUsageFlags = "64 + 128";
Expand Down
14 changes: 14 additions & 0 deletions addons/ammunition/cup/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ class CfgAmmo {
ACE_barrelLengths[] = {264, 407};
};

// 4.6x30mm (Comparable to 5.7x28mm but slightly worse performing penetration.)
class CLASS(46x30_Ball): CLASS(57x28_Ball) {
caliber = 0.15;
hit = 8;
};
class CLASS(46x30_EPR): CLASS(46x30_Ball) {
caliber = 0.75;
hit = 9;
};
class CLASS(46x30_AP): CLASS(46x30_EPR) {
caliber = 1.25;
hit = 9.5;
};

// 9x39mm - Subsonic
class CLASS(9x39_Ball): CUP_B_9x39_SP5 {
aiAmmoUsageFlags = "64 + 128";
Expand Down
1 change: 1 addition & 0 deletions addons/ammunition/cup/CfgMagazines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class CfgMagazines {
class CUP_15Rnd_9x19_M9;
class CUP_7Rnd_45ACP_1911;
class CUP_12Rnd_45ACP_mk23;
class 30Rnd_556x45_Stanag;

#include "magazines\12g.hpp"
#include "magazines\45ACP.hpp"
Expand Down
1 change: 1 addition & 0 deletions addons/ammunition/pi/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class CfgWeapons {
magazineWell[] += {"CBA_762x39_AK"};
};

class Pistol_Base_F;
class bnae_r1_base: Pistol_Base_F {
magazineWell[] += {"ACPC2_45ACP", "CBA_45ACP_1911"};
};
Expand Down
6 changes: 6 additions & 0 deletions addons/recoils/cup/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ class CfgPatches {
};

class CfgWeapons {
// Multiple
class Rifle_Base_F;
class Tavor_base_F;
class arifle_TRG20_F;
class arifle_TRG21_F;

// ACRs
class CUP_arifle_ACR_Short_BASE_556;
class CUP_arifle_ACR_EGLM_SHORT_BASE_556;
Expand Down
4 changes: 4 additions & 0 deletions addons/recoils/ws/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ class CfgWeapons {

// SLR
class arifle_SLR_V_lxWS;
class DMR_06_base_F;

// XMS
class arifle_SPAR_01_base_F;

#include "556\velko.hpp"
#include "556\xms.hpp"
Expand Down

0 comments on commit 8d4927d

Please sign in to comment.