Phenosi

Chemical Warfare PLUS, Compat Config.cpp example.

Jul 27th, 2024 (edited)
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.14 KB | Gaming | 0 0
  1. //Chemical Warfare PLUS, Compat Config.cpp example.
  2.  
  3. //JCA M50 example file
  4. class cfgPatches
  5. {
  6.     class CBRN_Compat_Facewear_F_JCA_M50
  7.     {
  8.         requiredAddons[]=
  9.         {
  10.             "Facewear_F_JCA_M50"
  11.         };
  12.         // 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)
  13.         skipWhenMissingDependencies = 1;
  14.         units[] = {};
  15.         weapons[]={};
  16.     };
  17. };
  18.  
  19. // Gas Masks, helmets
  20. // CBRN_protectionLevel = "1 + 2";
  21.  
  22. // CBRN suits, uniforms
  23. // CBRN_protectionLevel = "4 + 8";
  24.  
  25. // class CfgWeapons
  26. // {
  27. //  class baseclass;
  28. //  class SomeUniform: baseclass
  29. //  {
  30. //         CBRN_protectionLevel = "4 + 8";
  31. //     };
  32. // };
  33.  
  34. class cfgGlasses
  35. {
  36.     // Inherit the classes
  37.     class None;
  38.  
  39.     // Only add our protection level, leaving the class to function as normal
  40.     class JCA_G_AirPurifyingRespirator_03_base_F: None
  41.     {
  42.         CBRN_protectionLevel = "1 + 2";
  43.         CBRN_overlayType = "PHAN_CW\CBRN_gear\data\hud\overlay_style_m50.paa";
  44.     };
  45. };
Tags: Arma3
Advertisement
Add Comment
Please, Sign In to add comment