Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Chemical Warfare PLUS, Compat Config.cpp example.
- //JCA M50 example file
- class cfgPatches
- {
- class CBRN_Compat_Facewear_F_JCA_M50
- {
- requiredAddons[]=
- {
- "Facewear_F_JCA_M50"
- };
- // Optional. If this is 1, if any of requiredAddons[] entry is missing in your game the entire config will be ignored and return no error (but in rpt) so useful to make a compat Mod (Since Arma 3 2.14)
- skipWhenMissingDependencies = 1;
- units[] = {};
- weapons[]={};
- };
- };
- // Gas Masks, helmets
- // CBRN_protectionLevel = "1 + 2";
- // CBRN suits, uniforms
- // CBRN_protectionLevel = "4 + 8";
- // class CfgWeapons
- // {
- // class baseclass;
- // class SomeUniform: baseclass
- // {
- // CBRN_protectionLevel = "4 + 8";
- // };
- // };
- class cfgGlasses
- {
- // Inherit the classes
- class None;
- // Only add our protection level, leaving the class to function as normal
- class JCA_G_AirPurifyingRespirator_03_base_F: None
- {
- CBRN_protectionLevel = "1 + 2";
- CBRN_overlayType = "PHAN_CW\CBRN_gear\data\hud\overlay_style_m50.paa";
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment