Advertisement
Guest User

Untitled

a guest
Feb 7th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. customhud() {
  2.  
  3. level thread box();
  4.  
  5. cloudylogo = newHudElem();
  6.  
  7. cloudylogo.x = 5;
  8. cloudylogo.y = 0;
  9. cloudylogo.alignx = "left";
  10. cloudylogo.aligny = "top";
  11. cloudylogo.horzalign = "left";
  12. cloudylogo.vertalign = "top";
  13.  
  14. cloudylogo.hidewheninmenu = false;
  15. cloudylogo setshader("hud_cloudy", 128, 128);
  16.  
  17. level thread line1();
  18. level thread line2();
  19. level thread line3();
  20. level thread line4();
  21. level thread text();
  22. }
  23.  
  24. line1() {
  25. line1 = newHudElem();
  26.  
  27. line1.x = 1;
  28. line1.y = 25;
  29. line1.alignx = "left";
  30. line1.aligny = "top";
  31. line1.horzalign = "left";
  32. line1.vertalign = "top";
  33.  
  34. line1.hidewheninmenu = false;
  35. line1 setshader("black", 132, 2);
  36. }
  37.  
  38. line2() {
  39. line2 = newHudElem();
  40.  
  41. line2.x = 133;
  42. line2.y = 25;
  43. line2.alignx = "left";
  44. line2.aligny = "top";
  45. line2.horzalign = "left";
  46. line2.vertalign = "top";
  47.  
  48. line2.hidewheninmenu = false;
  49. line2 setshader("black", 2, 64);
  50. }
  51.  
  52. line3() {
  53. line3 = newHudElem();
  54.  
  55. line3.x = 1;
  56. line3.y = 23 + 64;
  57. line3.alignx = "left";
  58. line3.aligny = "top";
  59. line3.horzalign = "left";
  60. line3.vertalign = "top";
  61.  
  62. line3.hidewheninmenu = false;
  63. line3 setshader("black", 132, 2);
  64. }
  65.  
  66. line4() {
  67. line4 = newHudElem();
  68.  
  69. line4.x = 1;
  70. line4.y = 25;
  71. line4.alignx = "left";
  72. line4.aligny = "top";
  73. line4.horzalign = "left";
  74. line4.vertalign = "top";
  75.  
  76. line4.hidewheninmenu = false;
  77. line4 setshader("black", 2, 64);
  78. }
  79.  
  80. box() {
  81. box = newHudElem();
  82.  
  83. box.x = 1;
  84. box.y = 25;
  85. box.alignx = "left";
  86. box.aligny = "top";
  87. box.horzalign = "left";
  88. box.vertalign = "top";
  89.  
  90. box.hidewheninmenu = false;
  91. box setshader("black", 132, 64);
  92. box.alpha = 0.5;
  93. }
  94.  
  95. text() {
  96. text = newHudElem();
  97.  
  98. text.x = 8;
  99. text.y = 90;
  100. text.alignx = "left";
  101. text.aligny = "top";
  102. text.horzalign = "left";
  103. text.vertalign = "top";
  104.  
  105. text.font = "objective";
  106. text.fontscale = 2;
  107.  
  108. text settext("By Cloudy");
  109. text.color = (1,0,0);
  110. text.alpha = 1;
  111. text.glowcolor = (1,0,1);
  112. text.glowalpha = 1;
  113.  
  114. text.hidewheninmenu = false;
  115. text.alpha = 0.5;
  116. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement