config.cpp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #include "..\RD501_Main\config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class RD501_patch_Airborne_Helmet_Model
  5. {
  6. author = "";
  7. units[] = {};
  8. weapons[] = {};
  9. requiredAddons[]=
  10. {
  11. "RD501_patch_main"
  12. };
  13. };
  14. };
  15. class CfgWeapons
  16. {
  17. class H_HelmetB;
  18. class HeadgearItem;
  19. class macro_new_helmet(pilot,base): H_HelmetB
  20. {
  21. scope = 2;
  22. scopeArsenal = 2;
  23. author = "RD501";
  24. weaponPoolAvailable = 1;
  25. ace_hearing_protection = 0.85;
  26. ace_hearing_lowerVolume = 0;
  27. displayName = "[501st] PLT HELM (Base)";
  28. model = "\501st_helmets\AB\AB_helmet_p1.p3d";
  29. hiddenSelections[] = {
  30. "camo1",
  31. "mat"
  32. };
  33. hiddenSelectionsTextures[]=
  34. {
  35. "RD501_Helmets\_textures\aviation\clonePilotHelmet_co.paa"
  36. };
  37. hiddenSelectionsMaterials[]=
  38. {
  39. "",
  40. "501st_Helmets\AB\data\pilot_jlts.rvmat"
  41. };
  42. class ItemInfo: HeadgearItem
  43. {
  44. mass = 30;
  45. uniformmodel = "\501st_helmets\AB\AB_helmet_p1.p3d";//"SWOP_clones\helmet\CloneHelmetPilot.p3d";
  46. modelSides[] = {6};
  47. hiddenSelections[] = {
  48. "camo1",
  49. "mat"
  50. };
  51. material = -1;
  52. explosionShielding = 2.2;
  53. minimalHit = 0.01;
  54. passThrough = 0.01;
  55. class HitpointsProtectionInfo
  56. {
  57. class Head
  58. {
  59. hitpointName = "HitHead";
  60. armor = 50;
  61. passThrough = 0.6;
  62. };
  63. };
  64. };
  65. subItems[] = {"G_B_Diving","ItemcTabHCam"};
  66. };
  67. };