Advertisement
Guest User

Untitled

a guest
Jan 25th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.34 KB | None | 0 0
  1. class RscTitles
  2. {
  3.  
  4. #define screenwidth (1 - safeZonex*2)
  5. #define screenheight (1 - safeZoney*2)
  6. #include "easyNameTags\ENT_tag.hpp"
  7.  
  8. class RPP_Dlg_UI
  9. {
  10. idd = 100;
  11. movingEnable = true;
  12. controlsBackground[] = { Background, moneyText };
  13. duration = 100000000;
  14. fadein = 0;
  15. name = "RPP_Dlg_UI";
  16. objects[] = { };
  17. controls[] = { };
  18. onLoad = "RPP_display_ui = _this;";
  19. class Background : RscBackground
  20. {
  21. x = safeZoneX;
  22. y = safeZoneY;
  23. w = safeZoneW;
  24. h = 0.025;
  25. text = "";
  26. colorBackground[] = {0, 0, 0, 0};
  27. colorText[] = {1, 1, 1, 1};
  28. };
  29. class moneyText : RPP_StructuredText
  30. {
  31. idc = 1;
  32. x = safeZoneX;
  33. y = safeZoneY;
  34. w = safeZoneW;
  35. h = 0.3;
  36. size = 0.028;
  37. text = "";
  38. };
  39. };
  40.  
  41. class RPP_Dlg_HUD
  42. {
  43. idd = 101;
  44. movingEnable = true;
  45. controlsBackground[] = { Background, moneyText };
  46. duration = 100000000;
  47. fadein = 0;
  48. name = "RPP_Dlg_HUD";
  49. objects[] = { };
  50. controls[] = { };
  51. onLoad = "RPP_display_hud = _this;";
  52. class Background : RscBackground
  53. {
  54. x = safeZoneX + (safeZoneW * (1 - (0.16 / SafeZoneW)));
  55. y = safeZoneY + (safeZoneH * (1 - (0.23 / SafeZoneH)));
  56. w = 0.14;
  57. h = 0.23;
  58. lineSpacing = 2;
  59. text = "";
  60. colorBackground[] = {0, 0, 0, 0};
  61. colorText[] = {1, 1, 1, 1};
  62. };
  63. class moneyText : RPP_StructuredText
  64. {
  65. idc = 1;
  66. x = safeZoneX + (safeZoneW * (1 - (0.16 / SafeZoneW)));
  67. y = safeZoneY + (safeZoneH * (1 - (0.26 / SafeZoneH)));
  68. w = 0.14;
  69. h = 0.23;
  70.  
  71. size = 0.040;
  72. text = "";
  73. };
  74. };
  75. class RPP_Dlg_Progress
  76. {
  77. idd = 400;
  78. movingEnable = true;
  79. controlsBackground[] = { progressText };
  80. duration = 100000000;
  81. fadein = 0;
  82. name = "RPP_Dlg_Progress";
  83. objects[] = { };
  84. controls[] = { };
  85. onLoad = "RPP_display_progress = _this;";
  86. class progressText : RPP_StructuredText
  87. {
  88. idc = 1;
  89. x = 0.40;
  90. y = 0.5;
  91. w = 1.75;
  92. h = 0.3;
  93. size = 0.028;
  94. text = "Progress: 0%";
  95. };
  96. };
  97.  
  98. class Rtags
  99. {
  100. idd=64431;
  101. movingEnable = true;
  102. fadein = 0;
  103. fadeout = 0;
  104. duration = 0.1;
  105. name="TAGS_HUD";
  106. controls[]={"vehicle_hud_name","vehicle_hud_speed","vehicle_hud_fuel","vehicle_hud_damage","vehicle_hud_direction", "nametag", "interact"};
  107. onLoad="uiNamespace setVariable ['TAGS_HUD', _this select 0]";
  108.  
  109. class vehicle_hud_name
  110. {
  111. type = 0;
  112. idc = 64432;
  113. style = 0;
  114. x = 0.87;
  115. y = 0.725;
  116. w = 0.2;
  117. h = 0.2;
  118. font = "Zeppelin33Italic";
  119. sizeEx = 0.019;
  120. colorText[] = {1.0, 1.0, 1.0, 0.9};
  121. colorBackground[]={0,0,0,0.0};
  122. text = "";
  123. };
  124.  
  125. class vehicle_hud_speed
  126. {
  127. type = 0;
  128. idc = 64433;
  129. style = 0;
  130. x = 0.87;
  131. y = 0.755;
  132. w = 0.2;
  133. h = 0.2;
  134. font = "Zeppelin33Italic";
  135. sizeEx = 0.019;
  136. colorText[] = {1.0, 1.0, 1.0, 0.9};
  137. colorBackground[]={0,0,0,0.0};
  138. text = "";
  139. };
  140.  
  141. class vehicle_hud_fuel
  142. {
  143. type = 0;
  144. idc = 64434;
  145. style = 0;
  146. x = 0.87;
  147. y = 0.785;
  148. w = 0.2;
  149. h = 0.2;
  150. font = "Zeppelin33Italic";
  151. sizeEx = 0.019;
  152. colorText[] = {1.0, 1.0, 1.0, 0.9};
  153. colorBackground[]={0,0,0,0.0};
  154. text = "";
  155. };
  156.  
  157. class vehicle_hud_damage
  158. {
  159. type = 0;
  160. idc = 64435;
  161. style = 0;
  162. x = 0.87;
  163. y = 0.815;
  164. w = 0.2;
  165. h = 0.2;
  166. font = "Zeppelin33Italic";
  167. sizeEx = 0.019;
  168. colorText[] = {1.0, 1.0, 1.0, 0.9};
  169. colorBackground[]={0,0,0,0.0};
  170. text = "";
  171. };
  172.  
  173. class vehicle_hud_direction
  174. {
  175. type = 0;
  176. idc = 64436;
  177. style = 0;
  178. x = 0.87;
  179. y = 0.845;
  180. w = 0.2;
  181. h = 0.2;
  182. font = "Zeppelin33Italic";
  183. sizeEx = 0.019;
  184. colorText[] = {1.0, 1.0, 1.0, 0.9};
  185. colorBackground[]={0,0,0,0.0};
  186. text = "";
  187. };
  188.  
  189. class nametag
  190. {
  191. type = 0;
  192. idc = 64437;
  193. style = 0;
  194. x = 0.44;
  195. y = 0.40;
  196. w = 0.3;
  197. h = 0.2;
  198. font = "Bitstream";
  199. shadow = 2;
  200. sizeEx = 0.03;
  201. colorText[] = {1,1,1,1};
  202. colorBackground[] = {0, 0, 0, 0};
  203. text = "";
  204. };
  205.  
  206. class interact
  207. {
  208. type = 0;
  209. idc = 64438;
  210. style = 0;
  211. x = 0.50;
  212. y = 0.47;
  213. w = 0.3;
  214. h = 0.2;
  215. font = "Bitstream";
  216. shadow = 2;
  217. sizeEx = 0.03;
  218. colorText[] = {1,1,1,1};
  219. colorBackground[] = {0, 0, 0, 0};
  220. text = "";
  221. };
  222.  
  223. };
  224.  
  225. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement