123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #include "script_component.hpp"
- class CfgPatches
- {
- class RD501_patch_emp
- {
- author=DANKAUTHORS;
- requiredAddons[]=
- {
- macro_root_req
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={};
- };
- };
- class CfgFunctions
- {
- class RD501
- {
- class Weapons
- {
- file=QPATHTOF(functions);
- class onHit
- {
- };
- class onHitEMP
- {
- };
- class showHintEMP
- {
- };
- };
- };
- };
- class Extended_HitPart_EventHandlers
- {
- class CAManBase
- {
- JLTS_weapons_core="if (JLTS_settings_EMP_mainSwitch == 1 || JLTS_settings_Stun_mainSwitch == 1) then {(_this select 0) call RD501_fnc_onHit}";
- };
- };
- class CfgHints
- {
- class RD501_ordnance
- {
- displayName="$STR_JLTS_names_HintCatOrdnance";
- category="JLTS";
- logicalOrder=2;
- class EMP
- {
- displayName="$STR_JLTS_names_HintEMPEffect";
- description="$STR_JLTS_descs_HintEMPEffect";
- tip="$STR_JLTS_tips_HintEMPEffect";
- arguments[]={};
- image="\MRC\JLTS\weapons\Core\data\ui\hint_emp_ca.paa";
- logicalOrder=1;
- class EMP_sub_fry
- {
- displayName="Weapon Jammed";
- description="You have been struck by EMP which may have damaged the circuits of some of your weapons and inventory items. Use the 'Clear Jam' keybind to fix your weapon.";
- tip="$STR_JLTS_tips_HintEMPEffect";
- arguments[]={};
- image="\MRC\JLTS\weapons\Core\data\ui\hint_emp_fry_ca.paa";
- };
- };
- };
- };
|