Skip to content

Commit

Permalink
File structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF committed Sep 3, 2023
1 parent 4ac1c69 commit 5afd4c8
Show file tree
Hide file tree
Showing 8 changed files with 280 additions and 1 deletion.
10 changes: 9 additions & 1 deletion addons/recoils/CfgWeapons.hpp
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
class CfgWeapons {};
class CfgWeapons {
#include "bohemia\baseclasses.hpp"
#include "bohemia\65.hpp"
#include "bohemia\338.hpp"
//#include "bohemia\545.hpp"
//#include "bohemia\556.hpp"
//#include "bohemia\762N.hpp"
//#include "bohemia\762R.hpp"
};
3 changes: 3 additions & 0 deletions addons/recoils/bohemia/338.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class srifle_DMR_02_F: DMR_02_base_F {
recoil = QCLASS(338_Long);
};
3 changes: 3 additions & 0 deletions addons/recoils/bohemia/545.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class arifle_AKS_F: arifle_AKS_base_F {
recoil = QCLASS(545_Short);
};
50 changes: 50 additions & 0 deletions addons/recoils/bohemia/556.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
// F2000
class arifle_Mk20_F: mk20_base_F {
recoil = QCLASS(556_Long_BP);
};
class arifle_Mk20C_F: mk20_base_F {
recoil = QCLASS(556_Long_BP);
};
class arifle_Mk20_GL_F: mk20_base_F {
recoil = QCLASS(556_Long_BP);
};

// HK416
class arifle_SPAR_01_blk_F: arifle_SPAR_01_base_F {
recoil = QCLASS(556_Short);
};
class arifle_SPAR_01_khk_F: arifle_SPAR_01_base_F {
recoil = QCLASS(556_Short);
};
class arifle_SPAR_01_snd_F: arifle_SPAR_01_base_F {
recoil = QCLASS(556_Short);
};
class arifle_SPAR_01_GL_blk_F: arifle_SPAR_01_GL_base_F {
recoil = QCLASS(556_Short_FG);
};
class arifle_SPAR_01_GL_khk_F: arifle_SPAR_01_GL_base_F {
recoil = QCLASS(556_Short_FG);
};
class arifle_SPAR_01_GL_snd_F: arifle_SPAR_01_GL_base_F {
recoil = QCLASS(556_Short_FG);
};
class arifle_SPAR_02_blk_F: arifle_SPAR_02_base_F {
recoil = QCLASS(556_Medium_FG);
};
class arifle_SPAR_02_khk_F: arifle_SPAR_02_base_F {
recoil = QCLASS(556_Medium_FG);
};
class arifle_SPAR_02_snd_F: arifle_SPAR_02_base_F {
recoil = QCLASS(556_Medium_FG);
};

// TAR-21
class arifle_TRG21_F: Tavor_base_F {
recoil = QCLASS(556_Long_BP);
};
class arifle_TRG21_GL_F: arifle_TRG21_F {
recoil = QCLASS(556_Long_BP);
};
class arifle_TRG20_F: Tavor_base_F {
recoil = QCLASS(556_Medium_BP);
};
99 changes: 99 additions & 0 deletions addons/recoils/bohemia/65.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
// Katiba
class arifle_Katiba_F: arifle_Katiba_Base_F {
recoil = QCLASS(65_Long_BP);
};
class arifle_Katiba_GL_F: arifle_Katiba_Base_F {
recoil = QCLASS(65_Long_BP);
};
class arifle_Katiba_C_F: arifle_Katiba_Base_F {
recoil = QCLASS(65_Medium_BP);
};

// MSBS
class arifle_MSBS65_F: arifle_MSBS65_base_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_black_F: arifle_MSBS65_base_black_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_camo_F: arifle_MSBS65_base_camo_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_sand_F: arifle_MSBS65_base_sand_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_GL_F: arifle_MSBS65_GL_base_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_GL_black_F: arifle_MSBS65_GL_base_black_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_GL_camo_F: arifle_MSBS65_GL_base_camo_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_GL_sand_F: arifle_MSBS65_GL_base_sand_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_UBS_F: arifle_MSBS65_UBS_base_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_UBS_black_F: arifle_MSBS65_UBS_base_black_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_UBS_camo_F: arifle_MSBS65_UBS_base_camo_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_UBS_sand_F: arifle_MSBS65_UBS_base_sand_F {
recoil = QCLASS(65_Medium_BP);
};
class arifle_MSBS65_Mark_F: arifle_MSBS65_Mark_base_F {
recoil = QCLASS(65_Long_BP);
};
class arifle_MSBS65_Mark_black_F: arifle_MSBS65_Mark_base_black_F {
recoil = QCLASS(65_Long_BP);
};
class arifle_MSBS65_Mark_camo_F: arifle_MSBS65_Mark_base_camo_F {
recoil = QCLASS(65_Long_BP);
};
class arifle_MSBS65_Mark_sand_F: arifle_MSBS65_Mark_base_sand_F {
recoil = QCLASS(65_Long_BP);
};

// MX
class arifle_MX_F: arifle_MX_Base_F {
recoil = QCLASS(65_Medium_FG);
};
class arifle_MX_GL_F: arifle_MX_Base_F {
recoil = QCLASS(65_Medium_FG);
};
class arifle_MX_SW_F: arifle_MX_Base_F {
recoil = QCLASS(65_Long_FG);
};
class arifle_MXC_F: arifle_MX_Base_F {
recoil = QCLASS(65_Short_FG);
};
class arifle_MXM_F: arifle_MX_Base_F {
recoil = QCLASS(65_Long_FG);
};

// QBU-88
class srifle_DMR_07_blk_F: DMR_07_base_F {
recoil = QCLASS(65_Long_BP);
};
class srifle_DMR_07_ghex_F: DMR_07_base_F {
recoil = QCLASS(65_Long_BP);
};
class srifle_DMR_07_hex_F: DMR_07_base_F {
recoil = QCLASS(65_Long_BP);
};

// Type 115
class arifle_ARX_blk_F: arifle_ARX_base_F {
recoil = QCLASS(65_Long_BP);
};
class arifle_ARX_ghex_F: arifle_ARX_base_F {
recoil = QCLASS(65_Long_BP);
};
class arifle_ARX_hex_F: arifle_ARX_base_F {
recoil = QCLASS(65_Long_BP);
};
30 changes: 30 additions & 0 deletions addons/recoils/bohemia/762N.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// EBR
class srifle_EBR_F: EBR_base_F {
recoil = QCLASS(762N_Long_FG);
};

// HK417
class arifle_SPAR_03_blk_F: arifle_SPAR_03_base_F {
recoil = QCLASS(762N_Long);
};
class arifle_SPAR_03_khk_F: arifle_SPAR_03_base_F {
recoil = QCLASS(762N_Long);
};
class arifle_SPAR_03_snd_F: arifle_SPAR_03_base_F {
recoil = QCLASS(762N_Long);
};

// M14
class srifle_DMR_06_camo_F: DMR_06_base_F {
recoil = QCLASS(762N_Long);
};

// M14 (classic)
class srifle_DMR_06_hunter_F: DMR_06_hunter_base_F {
recoil = QCLASS(762N_Long);
};

// SIG 556
class srifle_DMR_03_F: DMR_03_base_F {
recoil = QCLASS(762N_Long);
};
46 changes: 46 additions & 0 deletions addons/recoils/bohemia/762R.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// AKM
class arifle_AKM_F: arifle_AKM_base_F {
recoil = QCLASS(762R_Medium);
};

// AK-15
class arifle_AK12_F: arifle_AK12_base_F {
recoil = QCLASS(762R_Medium);
};
class arifle_AK12_arid_F: arifle_AK12_base_F {
recoil = QCLASS(762R_Medium);
};
class arifle_AK12_lush_F: arifle_AK12_base_F {
recoil = QCLASS(762R_Medium);
};
class arifle_AK12_GL_F: arifle_AK12_GL_base_F {
recoil = QCLASS(762N_Medium_FG);
};
class arifle_AK12_GL_arid_F: arifle_AK12_GL_base_F {
recoil = QCLASS(762N_Medium_FG);
};
class arifle_AK12_GL_lush_F: arifle_AK12_GL_base_F {
recoil = QCLASS(762N_Medium_FG);
};

// AK-15K
class arifle_AK12U_F: arifle_AK12U_base_F {
recoil = QCLASS(762R_Short);
};
class arifle_AK12U_arid_F: arifle_AK12U_base_F {
recoil = QCLASS(762R_Short);
};
class arifle_AK12U_lush_F: arifle_AK12U_base_F {
recoil = QCLASS(762R_Short);
};

// RPK
class arifle_RPK12_F: arifle_RPK12_base_F {
recoil = QCLASS(762R_Long);
};
class arifle_RPK12_arid_F: arifle_RPK12_base_F {
recoil = QCLASS(762R_Long);
};
class arifle_RPK12_lush_F: arifle_RPK12_base_F {
recoil = QCLASS(762R_Long);
};
40 changes: 40 additions & 0 deletions addons/recoils/bohemia/baseclasses.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
class arifle_AK12_base_F;
class arifle_AK12_GL_base_F;
class arifle_AK12U_base_F;
class arifle_AKM_base_F;
class arifle_AKS_base_F;
class arifle_ARX_base_F;
class arifle_Katiba_Base_F;
class arifle_MSBS65_base_black_F;
class arifle_MSBS65_base_camo_F;
class arifle_MSBS65_base_F;
class arifle_MSBS65_base_sand_F;
class arifle_MSBS65_GL_base_black_F;
class arifle_MSBS65_GL_base_camo_F;
class arifle_MSBS65_GL_base_F;
class arifle_MSBS65_GL_base_sand_F;
class arifle_MSBS65_Mark_base_black_F;
class arifle_MSBS65_Mark_base_camo_F;
class arifle_MSBS65_Mark_base_F;
class arifle_MSBS65_Mark_base_sand_F;
class arifle_MSBS65_UBS_base_black_F;
class arifle_MSBS65_UBS_base_camo_F;
class arifle_MSBS65_UBS_base_F;
class arifle_MSBS65_UBS_base_sand_F;
class arifle_MX_Base_F;
class arifle_RPK12_base_F;
class arifle_SPAR_01_base_F;
class arifle_SPAR_01_GL_base_F;
class arifle_SPAR_02_base_F;
class arifle_SPAR_03_base_F;
class arifle_TRG20_F;
class arifle_TRG21_F;
class DMR_02_base_F;
class DMR_03_base_F;
class DMR_06_base_F;
class DMR_06_hunter_base_F;
class DMR_07_base_F;
class EBR_base_F;
class mk20_base_F;
class Rifle_Base_F;
class Tavor_base_F;

0 comments on commit 5afd4c8

Please sign in to comment.