Skip to content

Commit

Permalink
Recoils - RF
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF committed Jun 7, 2024
1 parent af1e670 commit d53397d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
34 changes: 34 additions & 0 deletions addons/recoils/rf/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {
"tacgt_main",
"tacgt_recoils",
"RF_Data_Loadorder"
};
skipWhenMissingDependencies = 1;
author = ECSTRING(main,Author);
authors[] = {"Mike"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};

class CfgWeapons {
// ASh12 using 7.62x39 Recoils, no bullpup variant should account for larger caliber.
class Rifle_Base_F;
class arifle_ash12_base_RF: Rifle_Base_F {
recoil = QCLASS(762R_Medium);
};
class arifle_ash12_GL_base_RF: arifle_ash12_base_RF {
recoil = QCLASS(762R_Medium_FG);
};
class arifle_ash12_LR_base_RF: arifle_ash12_base_RF {
recoil = QCLASS(762R_Long);
};
};
4 changes: 4 additions & 0 deletions addons/recoils/rf/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#define COMPONENT recoils_rf
#define COMPONENT_BEAUTIFIED Recoils RF
#include "\x\tacgt\addons\main\script_mod.hpp"
#include "\x\tacgt\addons\main\script_macros.hpp"

0 comments on commit d53397d

Please sign in to comment.