Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IR Flashlights #6563

Merged
merged 12 commits into from
Sep 17, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions addons/irlight/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
z\ace\addons\irlight
17 changes: 17 additions & 0 deletions addons/irlight/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
class Extended_PreStart_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preStart));
};
};

class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
};
};

class Extended_PostInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_postInit));
};
};
82 changes: 82 additions & 0 deletions addons/irlight/CfgJointRails.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
class SlotInfo;
class PointerSlot: SlotInfo {
compatibleItems[] += {
"ACE_DBAL_A3_Red",
"ACE_DBAL_A3_Red_IP",
"ACE_DBAL_A3_Red_II",
"ACE_DBAL_A3_Red_VP",
"ACE_DBAL_A3_Red_LR",
"ACE_DBAL_A3_Red_LR_IP",
"ACE_DBAL_A3_Red_LR_II",
"ACE_DBAL_A3_Red_LR_VP",
"ACE_DBAL_A3_Green",
"ACE_DBAL_A3_Green_IP",
"ACE_DBAL_A3_Green_II",
"ACE_DBAL_A3_Green_VP",
"ACE_DBAL_A3_Green_LR",
"ACE_DBAL_A3_Green_LR_IP",
"ACE_DBAL_A3_Green_LR_II",
"ACE_DBAL_A3_Green_LR_VP",
"ACE_SPIR",
"ACE_SPIR_Medium",
"ACE_SPIR_Narrow",
"ACE_SPIR_LR",
"ACE_SPIR_LR_Medium",
"ACE_SPIR_LR_Narrow"
};
};

class PointerSlot_Rail: PointerSlot {
class compatibleItems {
ACE_DBAL_A3_Red = 1;
ACE_DBAL_A3_Red_IP = 1;
ACE_DBAL_A3_Red_II = 1;
ACE_DBAL_A3_Red_VP = 1;
ACE_DBAL_A3_Red_LR = 1;
ACE_DBAL_A3_Red_LR_IP = 1;
ACE_DBAL_A3_Red_LR_II = 1;
ACE_DBAL_A3_Red_LR_VP = 1;
ACE_DBAL_A3_Green = 1;
ACE_DBAL_A3_Green_IP = 1;
ACE_DBAL_A3_Green_II = 1;
ACE_DBAL_A3_Green_VP = 1;
ACE_DBAL_A3_Green_LR = 1;
ACE_DBAL_A3_Green_LR_IP = 1;
ACE_DBAL_A3_Green_LR_II = 1;
ACE_DBAL_A3_Green_LR_VP = 1;
ACE_SPIR = 1;
ACE_SPIR_Medium = 1;
ACE_SPIR_Narrow = 1;
ACE_SPIR_LR = 1;
ACE_SPIR_LR_Medium = 1;
ACE_SPIR_LR_Narrow = 1;
};
};

class asdg_SlotInfo;
class asdg_FrontSideRail: asdg_SlotInfo {
class compatibleItems {
ACE_DBAL_A3_Red = 1;
ACE_DBAL_A3_Red_IP = 1;
ACE_DBAL_A3_Red_II = 1;
ACE_DBAL_A3_Red_VP = 1;
ACE_DBAL_A3_Red_LR = 1;
ACE_DBAL_A3_Red_LR_IP = 1;
ACE_DBAL_A3_Red_LR_II = 1;
ACE_DBAL_A3_Red_LR_VP = 1;
ACE_DBAL_A3_Green = 1;
ACE_DBAL_A3_Green_IP = 1;
ACE_DBAL_A3_Green_II = 1;
ACE_DBAL_A3_Green_VP = 1;
ACE_DBAL_A3_Green_LR = 1;
ACE_DBAL_A3_Green_LR_IP = 1;
ACE_DBAL_A3_Green_LR_II = 1;
ACE_DBAL_A3_Green_LR_VP = 1;
ACE_SPIR = 1;
ACE_SPIR_Medium = 1;
ACE_SPIR_Narrow = 1;
ACE_SPIR_LR = 1;
ACE_SPIR_LR_Medium = 1;
ACE_SPIR_LR_Narrow = 1;
};
};
Loading