Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.17 KB | None | 0 0
  1.         class WeaponSlotsInfo: WeaponSlotsInfo
  2.         {
  3.             class MuzzleSlot: MuzzleSlot
  4.             {
  5.                 linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";   /// this can be set, but having some common helps a bit
  6.                 compatibleItems[] = {"test_suppressor"};                /// A custom made suppressor for this weapon
  7.                 iconPosition[] = {0.0, 0.45};                           /// position of the slot icon inside of the weapon icon, relative to top-left corner in {right, down} format
  8.                 iconScale = 0.2;                                        /// scale of icon described in iconPicture
  9.                 iconPicture = "\A3\Weapons_F\Data\UI\attachment_muzzle.paa";    /// icon for selected slot
  10.                 iconPinpoint = "Center";                                        /// top, bottom, left, right, center alignment of the icon on snap point
  11.             };
  12.             class CowsSlot: CowsSlot /// default accessories for this slot
  13.             {
  14.                 iconPosition[] = {0.5, 0.35};
  15.                 iconScale = 0.2;
  16.             };
  17.             class PointerSlot: PointerSlot /// default accessories for this slot
  18.             {
  19.                 iconPosition[] = {0.20, 0.45};
  20.                 iconScale = 0.25;
  21.             };
  22.             class UnderBarrelSlot: UnderBarrelSlot /// using test bipod
  23.             {
  24.                 iconPosition[] = {0.2, 0.7};
  25.                 iconScale = 0.2;
  26.                 compatibleItems[] = {"test_bipod_01_F"};
  27.             };
  28.         };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement