Guest User

staticAtmConfig

a guest
Aug 28th, 2020
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class staticAtmConfig {
  2.     /*
  3.         Fonts
  4.             https://community.bistudio.com/wiki/FXY_File_Format#Available_Fonts
  5.             section |Available Fonts| Arma 3
  6.  
  7.         Color
  8.             colors [R,G,B,Alpha];
  9.             example we need RED
  10.             [255,0,0,1] -> [255/255,0/255,0/255,1] -> [1,0,0,1]
  11.  
  12.         Action keys
  13.             {DIK_Code_Integer,SHIFT,CTRL}
  14.             if we need combination
  15.  
  16.             P                   --> {25,0,0,0}
  17.             P+CTRL              --> {25,0,1,0}
  18.             P+SHIFT+CTRL        --> {25,1,1,0}
  19.             P+SHIFT+CTRL        --> {25,1,1,0}
  20.             P+SHIFT+CTRL+ALT    --> {25,1,1,1}
  21.  
  22.             more about dik keys
  23.             https://community.bistudio.com/wiki/DIK_KeyCodes
  24.             section |DIK Codes for QWERTY|
  25.  
  26.         Buttons sounds
  27.             https://community.bistudio.com/wiki/Arma_3:_SoundFiles
  28.  
  29.             click
  30.             readoutClick
  31.             ReadoutHideClick1
  32.             ReadoutHideClick2
  33.     */
  34.  
  35.     //UI params
  36.     bgColorFirst[] =            {0,0,0,1};
  37.     bgColorSecond[] =           {0.141176,0.141176,0.141176,1};
  38.     bgColorElements[] =         {0.184314,0.184314,0.184314,1};
  39.     bgColorElementsSelected[] = {0.202745,0.202745,0.202745,1};
  40.     bgColorButton[] =           {0.784314,0.784314,0.784314,1};
  41.     bgColorButtonSelected[] =   {0.917647,1,1,1};
  42.     bgColorAccept[] =           {0.298039,0.576471,0.780392,1};
  43.     bgColorAcceptSelected[] =   {0.327843,0.634118,0.858431,1};
  44.     bgColorBack[] =             {0.141176,0.141176,0.141176,1};
  45.     bgColorBackSelected[] =     {0.155294,0.155294,0.155294,1};
  46.  
  47.     moneyBankTextColor[] =      {0.215686,0.588235,0.0980392,1};
  48.     moneyCashTextColor[] =      {0.784314,0.784314,0.784314,1};
  49.  
  50.     textFont =                  "RobotoCondensed";
  51.     textFontColor[] =           {0.784314,0.784314,0.784314,1};
  52.     textFontColorSelected[] =   {0.862745,0.862745,0.862745,1};
  53.     titleFontColor[] =          {0.784314,0.784314,0.784314,1};
  54.  
  55.     // Supports localization
  56.     // Example "STR_SOME_TITLE_NAME"
  57.     titleText =                 "Some bank name";
  58.     moneyPostFix =              "$";
  59.  
  60.     // An array of number for fast addition to the sum
  61.     shortButtonCheckArr[] =     {10000,50000,100000}; //10k 50k 100k
  62.  
  63.     // The path to the "close" button
  64.     closeButtonPic =            "atmModule\close.paa";
  65.  
  66.     // The sound that is played whenever an action is carried out - a click or key
  67.     buttonsSound =              "readoutClick";
  68.  
  69.     // Key to open the atm module
  70.     openAtmKey[] =              {48,0,0,0}; // key [B]
  71.  
  72.     // The block of any other actions on the key, if the ATM menu is opening
  73.     lockAtmKey =                1; // 0 - false, 1 - true
  74.  
  75.     //Extra information
  76.     // Keys that are hard bound
  77.     // [0-9] and [0-9 NUM]      - Are for the numbers input
  78.     // [ENTER] keys             - Accept
  79.     // [BACKSPACE] and [DEL]    - Delete the last number
  80.     // [+] and [+ num]          - Quick add chosen sums (Example add 10k)
  81.     // [ESC]                    - Close menu
  82. };
RAW Paste Data