Advertisement
Morbo513

GM armour patch

Jun 2nd, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.76 KB | None | 0 0
  1. span class="re5"> class CfgPatches
  2. {
  3.     class morbo_armor_patch_for_gm
  4.     {
  5.         name = "GM Vest Armour patch";
  6.         author = "Mondkalb";
  7.         units[]         = {};
  8.         weapons[]       = {};
  9.         requiredAddons[]=
  10.         {
  11.             "gm_core_characters"
  12.         };
  13.     };
  14. };
  15.  
  16. class CfgWeapons
  17. {
  18.     class Vest_Camo_Base;
  19.     class gm_vest_base : Vest_Camo_Base
  20.     {
  21.         class ItemInfo;
  22.     };
  23.     class gm_vest_unarmored_base : gm_vest_base
  24.     {
  25.         class ItemInfo : ItemInfo
  26.         {
  27.             class HitpointsProtectionInfo
  28.             {
  29.                 class Neck
  30.                 {
  31.                     hitpointName = "HitNeck";
  32.                     armor        = 50;
  33.                     passThrough  = 0.5;
  34.                 };
  35.                 class Arms
  36.                 {
  37.                     hitpointName = "HitArms";
  38.                     armor        = 50;
  39.                     passThrough  = 0.5;
  40.                 };
  41.                 class Chest
  42.                 {
  43.                     hitpointName = "HitChest";
  44.                     armor        = 50;
  45.                     passThrough  = 0.1;
  46.                 };
  47.                 class Diaphragm
  48.                 {
  49.                     hitpointName = "HitDiaphragm";
  50.                     armor        = 50;
  51.                     passThrough  = 0.1;
  52.                 };
  53.                 class Abdomen
  54.                 {
  55.                     hitpointName = "HitAbdomen";
  56.                     armor        = 50;
  57.                     passThrough  = 0.1;
  58.                 };
  59.                 class Body
  60.                 {
  61.                     hitpointName = "HitBody";
  62.                     armor        = 50;
  63.                     passThrough  = 0.1;
  64.                 };
  65.             };
  66.         };
  67.     };
  68. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement