Uro1

description.ext fixed for BTC HUD + wm_disp

Apr 26th, 2014 (edited)
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.42 KB | None | 0 0
  1. class RscTitles {
  2.     titles[] = {"BTC_Hud","ExampleTitle","wm_disp"};
  3.     class BTC_Hud
  4.     {
  5.         idd = 1000;
  6.         movingEnable=0;
  7.         duration=1e+011;
  8.         name = "BTC_Hud_Name";
  9.         onLoad = "uiNamespace setVariable ['HUD', _this select 0];";
  10.         controlsBackground[] = {};
  11.         objects[] = {};
  12.         class controls
  13.         {
  14.             class Radar
  15.             {
  16.                 type = 0;
  17.                 idc = 1001;
  18.                 style = 48;
  19.                 x = (SafeZoneW+2*SafeZoneX) - 0.1;//safezonex + 0.1;//0.9
  20.                 y = (SafeZoneH+2*SafeZoneY) - 0.15;//safezoney + 0.1;//0.85
  21.                 w = 0.3;
  22.                 h = 0.4;
  23.                 font = "Zeppelin32";
  24.                 sizeEx = 0.03;
  25.                 colorBackground[] = {0, 0, 0, 0};
  26.                 colorText[] = {1, 1, 1, 1};
  27.                 text = "\ca\ui\data\igui_radar_air_ca.paa";
  28.             };
  29.             class Img_Obj
  30.             {
  31.                 type = 0;
  32.                 idc = 1002;
  33.                 style = 48;
  34.                 x = (SafeZoneW+2*SafeZoneX) + 0.045;
  35.                 y = (SafeZoneH+2*SafeZoneY) + 0.045;
  36.                 w = 0.01;
  37.                 h = 0.01;
  38.                 font = "Zeppelin32";
  39.                 sizeEx = 0.04;
  40.                 colorBackground[] = {0, 0, 0, 0};
  41.                 colorText[] = {1, 1, 1, 1};
  42.                 text = "=BTC=_Logistic\data\=BTC=_Obj.paa";
  43.             };
  44.             class Pic_Obj
  45.             {
  46.                 type = 0;
  47.                 idc = 1003;
  48.                 style = 48;
  49.                 x = (SafeZoneW+2*SafeZoneX) - 0.125;
  50.                 y = (SafeZoneH+2*SafeZoneY) - 0.23;
  51.                 w = 0.1;
  52.                 h = 0.1;
  53.                 font = "Zeppelin32";
  54.                 sizeEx = 0.03;
  55.                 colorBackground[] = {0, 0, 0, 0};
  56.                 colorText[] = {1, 1, 1, 1};
  57.                 text = "";
  58.             };
  59.             class Arrow
  60.             {
  61.                 type = 0;
  62.                 idc = 1004;
  63.                 style = 48;
  64.                 x = (SafeZoneW+2*SafeZoneX) + 0.15;
  65.                 y = (SafeZoneH+2*SafeZoneY) - 0.15;
  66.                 w = 0.05;
  67.                 h = 0.05;
  68.                 font = "Zeppelin32";
  69.                 sizeEx = 0.03;
  70.                 colorBackground[] = {0, 0, 0, 0};
  71.                 colorText[] = {1, 1, 1, 1};
  72.                 text = "";
  73.             };
  74.             class Type_Obj
  75.             {
  76.                 type = 0;
  77.                 idc = 1005;
  78.                 style = 0x00;
  79.                 x = (SafeZoneW+2*SafeZoneX) - 0.03;
  80.                 y = (SafeZoneH+2*SafeZoneY) - 0.335;
  81.                 w = 0.3;
  82.                 h = 0.3;
  83.                 font = "Zeppelin32";
  84.                 sizeEx = 0.03;
  85.                 colorBackground[] = {0, 0, 0, 0};
  86.                 colorText[] = {1, 1, 1, 1};
  87.                 text = "";
  88.             };
  89.         };  
  90.     };
  91.     class ExampleTitle {    
  92.         idd = -1;
  93.         duration = 10; //show for 10 seconds
  94.         class controls
  95.         {
  96.             class ExampleControl
  97.             {
  98.                 idc = -1;
  99.                 type = 0;
  100.                 style = 2; //centre text
  101.                 x = safeZoneX + safeZoneW - 0.6 * 3 / 4;  
  102.                 y = safeZoneY + safeZoneH - 0.6;
  103.                 h = 0.6;
  104.                 w = 0.6 * 3 / 4; //w == h
  105.                 font = "EtelkaNarrowMediumPro";
  106.                 sizeEx = 0.03;
  107.                 colorBackground[] = {1,1,0,1}; //yellow background
  108.                 colorText[] = {0,0,1,1}; //blue text
  109.                 text = "Bottom Right Corner Square Box";
  110.             };
  111.         };
  112.     };
  113.     // DayZ Watermark
  114.     class wm_disp {
  115.                 idd = -1;
  116.                 onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";
  117.                 fadein = 0;
  118.                 fadeout = 0;
  119.                 duration = 10e10;
  120.                 controlsBackground[] = {};
  121.                 objects[] = {};
  122.                 class controls {
  123.                 class wm_text2 {
  124.                 idc = 1;
  125.                 x = safeZoneX+0.027;//safeZoneW*0.01;
  126.                 y = safeZoneY+safeZoneH-0.16;
  127.                 w = 1.151*safeZoneH;
  128.                 h = 0.057*safeZoneH;
  129.                 shadow = 2;
  130.                 class Attributes
  131.                 {
  132.                 font = "EtelkaNarrowMediumPro";
  133.                 color = "#24FFFFFF";
  134.                 align = "left"; // put "center" here if you want some background
  135.                 valign = "middle";
  136.                 shadow = 2;
  137.                 };
  138.                 colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background
  139.                 font = "EtelkaNarrowMediumPro";
  140.                 size = 0.06*safeZoneH;
  141.                 type = 13;
  142.                 style = 0;
  143.                 text="";
  144.             };
  145.         };
  146.     };
  147. };
Add Comment
Please, Sign In to add comment