Skip to content

Commit

Permalink
Flashlight - Add Surefire XC1 (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF authored Apr 6, 2024
1 parent c8d0019 commit 589f40a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/flashlight/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class CfgWeapons {
class CUP_acc_LLM01_L;
class cup_acc_llm_black;
class CUP_acc_MLPLS_Laser;
class CUP_acc_SF_XC1;
class InventoryFlashLightItem_Base_F;

#include "AN_PEQ.hpp"
Expand Down
12 changes: 12 additions & 0 deletions addons/flashlight/Surefire.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,15 @@ class CLASS(Surefire_Low_Flashlight_Tan): CLASS(Surefire_Flashlight_Tan) {
MRT_SwitchItemPrevClass = QCLASS(Surefire_Flashlight_Tan);
MRT_SwitchItemHintText = "Flashlight Red";
};

// XC-1-C Pistol Flashlight
class CLASS(Surefire_XC1_Flashlight): CUP_acc_SF_XC1 {
displayName = "Surefire XC1-C (GT Edition)";
descriptionShort = "Light GT Edition";
class ItemInfo: InventoryFlashLightItem_Base_F {
mass = 4;
class Flashlight {
MACRO_FLASHLIGHT;
};
};
};
1 change: 1 addition & 0 deletions addons/flashlight/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class CfgPatches {
QCLASS(Surefire_Low_Flashlight_Black),
QCLASS(Surefire_Low_Flashlight_OD),
QCLASS(Surefire_Low_Flashlight_Tan),
QCLASS(Surefire_XC1_Flashlight),
QCLASS(UTG_Flashlight),
QCLASS(UTG_Low_Flashlight)
};
Expand Down
1 change: 1 addition & 0 deletions addons/flashlight/joint_rails.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ class asdg_PistolUnderRail: asdg_SlotInfo {
tacgt_CZ_M3X_Vis_Laser = 1;
tacgt_MLPLS_Laser = 1;
tacgt_MLPLS_Vis_Laser = 1;
tacgt_Surefire_XC1_Flashlight = 1;
};
};

0 comments on commit 589f40a

Please sign in to comment.