JediChris816

DayZ 1.8.0.3 | Watermark Logo

Apr 9th, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.92 KB | None | 0 0
  1. //In your description.ext (located in mission.pbo) add this to the very bottom.  Then open your init.sqf and look for this line,
  2. //                      dayZ_serverName = "XXXXX";
  3. //This is where you put in your server name or clan initials, etc.
  4.  
  5. aiKills = 1;
  6. diagRadio = 1;
  7. diagHit = 1;
  8.  
  9. class RscText
  10. {
  11.         type = 0;
  12.         idc = -1;
  13.         x = 0;
  14.         y = 0;
  15.         h = 0.037;
  16.         w = 0.3;
  17.         style = 0x100;
  18.         font = Zeppelin32;
  19.         SizeEx = 0.03921;
  20.         colorText[] = {1,1,1,1};
  21.         colorBackground[] = {0, 0, 0, 0};
  22.         linespacing = 1;
  23. };
  24.  
  25. class RscPicture
  26. {
  27.         access=0;
  28.         type=0;
  29.         idc=-1;
  30.         style=48;
  31.         colorBackground[]={0,0,0,0};
  32.         colorText[]={1,1,1,1};
  33.         font="TahomaB";
  34.         sizeEx=0;
  35.         lineSpacing=0;
  36.         text="";
  37. };
  38.  
  39. class RscLoadingText : RscText
  40. {
  41.         style = 2;
  42.         x = 0.323532;
  43.         y = 0.666672;
  44.         w = 0.352944;
  45.         h = 0.039216;
  46.         sizeEx = 0.03921;
  47.         colorText[] = {0.543,0.5742,0.4102,1.0};
  48. };
  49.  
  50. class RscProgress
  51. {
  52.         x = 0.344;
  53.         y = 0.619;
  54.         w = 0.313726;
  55.         h = 0.0261438;
  56.         texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
  57.         colorFrame[] = {0,0,0,0};
  58.         colorBar[] = {1,1,1,1};
  59. };
  60.  
  61. class RscProgressNotFreeze
  62. {
  63.         idc = -1;
  64.         type = 45;
  65.         style = 0;
  66.         x = 0.022059;
  67.         y = 0.911772;
  68.         w = 0.029412;
  69.         h = 0.039216;
  70.         texture = "#(argb,8,8,3)color(0,0,0,0)";
  71. };
  72.  
  73. //
  74. // the loading screen itself
  75. //
  76. class DayZ_loadingScreen
  77. {
  78.         idd = -1;
  79.         duration = 10e10;
  80.         fadein = 0;
  81.         fadeout = 0;
  82.         name = "loading screen";
  83.         class controlsBackground
  84.         {
  85.                 class blackBG : RscText
  86.                 {
  87.                         x = safezoneX;
  88.                         y = safezoneY;
  89.                         w = safezoneW;
  90.                         h = safezoneH;
  91.                         text = "";
  92.                         colorText[] = {0,0,0,0};
  93.                         colorBackground[] = {0,0,0,1};
  94.                 };
  95.         };
  96.         class controls
  97.         {
  98.                 class Title1 : RscLoadingText
  99.                 {
  100.                         text = "$STR_LOADING"; // "Loading" text in the middle of the screen
  101.                 };
  102.                 class CA_Progress : RscProgress // progress bar, has to have idc 104
  103.                 {
  104.                         idc = 104;
  105.                         type = 8; // CT_PROGRESS
  106.                         style = 0; // ST_SINGLE
  107.                         texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
  108.                 };
  109.                 class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
  110.                 {
  111.                         idc = 103;
  112.                 };
  113.                 class Name2: RscText // the text on the top-left
  114.                 {
  115.                         idc = 101;
  116.                         x = 0.05;
  117.                         y = 0.029412;
  118.                         w = 0.9;
  119.                         h = 0.04902;
  120.                         text = "";
  121.                         sizeEx = 0.05;
  122.                         colorText[] = {0.543,0.5742,0.4102,1.0};
  123.                 };
  124.         };
  125. };
  126.  
  127. // logo watermark
  128. class RscTitles {
  129.         class wm_disp {
  130.                 idd = -1;
  131.                 onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";
  132.                 fadein = 0;
  133.                 fadeout = 0;
  134.                 duration = 10e10;
  135.                 controlsBackground[] = {};
  136.                 objects[] = {};
  137.                 class controls {
  138.                         class wm_text2 {
  139.                                 idc = 1;
  140.                                 x = safeZoneX+0.027;//safeZoneW*0.01;
  141.                                 y = safeZoneY+safeZoneH-0.16;
  142.                                 w = 0.151*safeZoneH;
  143.                                 h = 0.057*safeZoneH;
  144.                                 shadow = 2;
  145.                                 class Attributes
  146.                                 {
  147.                                         font = "EtelkaNarrowMediumPro";
  148.                                         color = "#24FFFFFF";
  149.                                         align = "left"; // put "center" here if you want some background
  150.                                         valign = "middle";
  151.                                         shadow = 2;
  152.                                 };
  153.                                 colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background
  154.                                 font = "EtelkaNarrowMediumPro";
  155.                                 size = 0.06*safeZoneH;
  156.                                 type = 13;
  157.                                 style = 0;
  158.                                 text="";
  159.                         };
  160.                 };
  161.         };
  162. }
Advertisement
Add Comment
Please, Sign In to add comment