Skip to content

Commit

Permalink
Adds a faux KAC LAMG
Browse files Browse the repository at this point in the history
Adds a separate version of the vanilla Mk200 (Stoner 99 LMG) that's in 5.56 with lower recoil.
  • Loading branch information
AChesheireCat committed Oct 24, 2024
1 parent c691e9c commit 3d0f9f8
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
32 changes: 32 additions & 0 deletions addons/miscFixes/fauxLAMG/CfgWeapons.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
class CfgWeapons {
class LMG_Mk200_F;
class GVAR(LAMG): LMG_Mk200_F {
author = "Potato";
displayName = "KAC Light Assault Machine Gun";
descriptionShort = "Light Machine Gun<br />Caliber: 5.56x45 mm";
baseWeapon = QGVAR(LAMG);
recoil = "CUP_SAW_recoil";
magazineWell[] = {"CBA_556x45_MINIMI"};
magazines[] = {
"200Rnd_556x45_Box_F",
"200Rnd_556x45_Box_Red_F",
"200Rnd_556x45_Box_Tracer_F",
"200Rnd_556x45_Box_Tracer_Red_F",

"CUP_200Rnd_TE4_Red_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Yellow_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Green_Tracer_556x45_M249",
"CUP_200Rnd_TE1_Red_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Green_Tracer_556x45_M249_Pouch",
"CUP_200Rnd_TE4_Red_Tracer_556x45_M249_Pouch",
"CUP_200Rnd_TE4_Yellow_Tracer_556x45_M249_Pouch",
"CUP_200Rnd_TE1_Red_Tracer_556x45_M249_Pouch",
"CUP_100Rnd_TE4_Green_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Red_Tracer_556x45_M249",
"CUP_100Rnd_TE4_Yellow_Tracer_556x45_M249",
"CUP_200Rnd_TE4_Green_Tracer_556x45_L110A1",
"CUP_200Rnd_TE4_Red_Tracer_556x45_L110A1",
"CUP_200Rnd_TE4_Yellow_Tracer_556x45_L110A1"
};
};
};
19 changes: 19 additions & 0 deletions addons/miscFixes/fauxLAMG/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
weapons[] = {
QGVAR(LAMG)
};
units[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"potato_core", "CUP_Weapons_LoadOrder"};
skipWhenMissingDependencies = 1;
author = "Potato";
authors[] = {"AChesheireCat"};
authorUrl = "https://github.com/BourbonWarfare/POTATO";
VERSION_CONFIG;
};
};

#include "CfgWeapons.hpp"
12 changes: 12 additions & 0 deletions addons/miscFixes/fauxLAMG/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#define COMPONENT fauxLAMG
#include "\z\potato\addons\core\script_mod.hpp"

// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define ENABLE_PERFORMANCE_COUNTERS

#ifdef DEBUG_ENABLED_FAUXLAMG
#define DEBUG_MODE_FULL
#endif

#include "\z\potato\addons\core\script_macros.hpp"

0 comments on commit 3d0f9f8

Please sign in to comment.