Advertisement
iaretechnician

dzgm description.ext

Feb 8th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.51 KB | None | 0 0
  1. respawn = "BASE";
  2. respawndelay = 5;
  3. onLoadMission= "DayZ Chernarus";
  4. OnLoadIntro = "Welcome to Chernarus";
  5. OnLoadIntroTime = False;
  6. OnLoadMissionTime = False;
  7. disabledAI = true;
  8. disableChannels[] = {0,1,2,6};
  9. enableItemsDropping = 0;
  10. onPauseScript = "";
  11. briefing = 0;
  12. debriefing = 0;
  13.  
  14. loadScreen = "\z\addons\dayz_code\gui\loadingscreen.paa";
  15.  
  16. class Header
  17. {
  18.     gameType = COOP;            //DM, Team, Coop, ...
  19.     minPlayers = 1;             //Min # of players the mission supports
  20.     maxPlayers = 100;           //Max # of players the mission supports
  21. };
  22.  
  23. aiKills = 1;
  24. diagRadio = 1;
  25. diagHit = 1;
  26.  
  27. class RscText
  28. {
  29.     type = 0;
  30.     idc = -1;
  31.     x = 0;
  32.     y = 0;
  33.     h = 0.037;
  34.     w = 0.3;
  35.     style = 0x100;
  36.     font = Zeppelin32;
  37.     SizeEx = 0.03921;
  38.     colorText[] = {1,1,1,1};
  39.     colorBackground[] = {0, 0, 0, 0};
  40.     linespacing = 1;
  41. };
  42.  
  43. class RscPicture
  44. {
  45.     access=0;
  46.     type=0;
  47.     idc=-1;
  48.     style=48;
  49.     colorBackground[]={0,0,0,0};
  50.     colorText[]={1,1,1,1};
  51.     font="TahomaB";
  52.     sizeEx=0;
  53.     lineSpacing=0;
  54.     text="";
  55. };
  56.  
  57. class RscLoadingText : RscText
  58. {
  59.     style = 2;
  60.     x = 0.323532;
  61.     y = 0.666672;
  62.     w = 0.352944;
  63.     h = 0.039216;
  64.     sizeEx = 0.03921;
  65.     colorText[] = {0.543,0.5742,0.4102,1.0};
  66. };
  67.  
  68. class RscProgress
  69. {
  70.     x = 0.344;
  71.     y = 0.619;
  72.     w = 0.313726;
  73.     h = 0.0261438;
  74.     texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
  75.     colorFrame[] = {0,0,0,0};
  76.     colorBar[] = {1,1,1,1};
  77. };
  78.  
  79. class RscProgressNotFreeze
  80. {
  81.     idc = -1;
  82.     type = 45;
  83.     style = 0;
  84.     x = 0.022059;
  85.     y = 0.911772;
  86.     w = 0.029412;
  87.     h = 0.039216;
  88.     texture = "#(argb,8,8,3)color(0,0,0,0)";
  89. };
  90.  
  91. //
  92. // the loading screen itself
  93. //
  94. class DayZ_loadingScreen
  95. {
  96.     idd = -1;
  97.     duration = 10e10;
  98.     fadein = 0;
  99.     fadeout = 0;
  100.     name = "loading screen";
  101.     class controlsBackground
  102.     {
  103.         class blackBG : RscText
  104.         {
  105.             x = safezoneX;
  106.             y = safezoneY;
  107.             w = safezoneW;
  108.             h = safezoneH;
  109.             text = "";
  110.             colorText[] = {0,0,0,0};
  111.             colorBackground[] = {0,0,0,1};
  112.         };
  113.     };
  114.     class controls
  115.     {
  116.         class Title1 : RscLoadingText
  117.         {
  118.             text = "$STR_LOADING"; // "Loading" text in the middle of the screen
  119.         };
  120.         class CA_Progress : RscProgress // progress bar, has to have idc 104
  121.         {
  122.             idc = 104;
  123.             type = 8; // CT_PROGRESS
  124.             style = 0; // ST_SINGLE
  125.             texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
  126.         };
  127.         class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
  128.         {
  129.             idc = 103;
  130.         };
  131.         class Name2: RscText // the text on the top-left
  132.         {
  133.             idc = 101;
  134.             x = 0.05;
  135.             y = 0.029412;
  136.             w = 0.9;
  137.             h = 0.04902;
  138.             text = "";
  139.             sizeEx = 0.05;
  140.             colorText[] = {0.543,0.5742,0.4102,1.0};
  141.         };
  142.     };
  143. };
  144.  
  145. // logo watermark
  146.  
  147. #include "dzgm\defines.hpp"
  148. class RscTitles {
  149.     #include "dzgm\icons.hpp"
  150.     class wm_disp {
  151.         idd = -1;
  152.         onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";
  153.         fadein = 0;
  154.         fadeout = 0;
  155.         duration = 10e10;
  156.         controlsBackground[] = {};
  157.         objects[] = {};
  158.         class controls {
  159.             class wm_text2 {
  160.                 idc = 1;
  161.                 x = safeZoneX+0.027;//safeZoneW*0.01;
  162.                 y = safeZoneY+safeZoneH-0.16;
  163.                 w = 0.151*safeZoneH;
  164.                 h = 0.057*safeZoneH;
  165.                 shadow = 2;
  166.                 class Attributes
  167.                 {
  168.                     font = "EtelkaNarrowMediumPro";
  169.                     color = "#24FFFFFF";
  170.                     align = "left"; // put "center" here if you want some background
  171.                     valign = "middle";
  172.                     shadow = 2;
  173.                 };
  174.                 colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background
  175.                 font = "EtelkaNarrowMediumPro";
  176.                 size = 0.06*safeZoneH;
  177.                 type = 13;
  178.                 style = 0;
  179.                 text="";
  180.             };
  181.         };
  182.     };
  183. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement