Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. class RscOptics_Offroad_01: RscUnitInfo //Добавляем новый худ для командира М1А1
  2. {
  3. idd = 300;
  4. controls[] = {"CA_IGUI_elements_group"};
  5. class CA_IGUI_elements_group: RscControlsGroup
  6. {
  7. idc = 170;
  8. class VScrollbar: VScrollbar
  9. {
  10. width = 0;
  11. };
  12. class HScrollbar: HScrollbar
  13. {
  14. height = 0;
  15. };
  16. x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
  17. y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
  18. w = "53.5 * (0.01875 * SafezoneH)";
  19. h = "40 * (0.025 * SafezoneH)";
  20. class controls
  21. {
  22. class CA_TurretIndicator: RscPicture
  23. {
  24. IDC = 206;
  25. type = 105;
  26. textSize = "0.02*SafezoneH";
  27. style = 0;
  28. color[] = {0.709,0.972,0.384,1};
  29. x = "5.25 * (0.01875 * SafezoneH)";
  30. y = "3.5 * (0.025 * SafezoneH)";
  31. w = "6 * (0.01875 * SafezoneH)";
  32. h = "6 * (0.025 * SafezoneH)";
  33. imageHull = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\turretIndicatorHull.paa";
  34. imageTurret = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\turretIndicatorTurret.paa";
  35. imageObsTurret = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\turretIndicatorObsTurret.paa";
  36. imageGun = "#(rgb,8,8,3)color(0,0,0,0)";
  37. };
  38. class CA_HorizontalCompass: RscPicture
  39. {
  40. IDC = 207;
  41. type = 105;
  42. font = "EtelkaMonospacePro";
  43. textSize = "0.02*SafezoneH";
  44. style = 1;
  45. color[] = {0.709,0.972,0.384,1};
  46. x = "13.04 * (0.01875 * SafezoneH)";
  47. y = "3.5 * (0.025 * SafezoneH)";
  48. w = "27.18 * (0.01875 * SafezoneH)";
  49. h = "1 * (0.025 * SafezoneH)";
  50. imageHull = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\horizontalCompassHull.paa";
  51. imageTurret = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\horizontalCompassTurret.paa";
  52. imageObsTurret = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\horizontalCompassObsTurret.paa";
  53. imageGun = "#(rgb,8,8,3)color(0,0,0,0)";
  54. };
  55. class AzimuthMark: RscPicture
  56. {
  57. IDC = 1012;
  58. text = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\AzimuthMark.paa";
  59. x = "26.35 * (0.01875 * SafezoneH)";
  60. y = "3.0 * (0.025 * SafezoneH)";
  61. w = "0.5 * (0.01875 * SafezoneH)";
  62. h = "0.5 * (0.025 * SafezoneH)";
  63. colorText[] = {0.709,0.972,0.384,1};
  64. };
  65. class CA_Heading: RscText
  66. {
  67. idc = 156;
  68. style = 2;
  69. sizeEx = "0.032*SafezoneH";
  70. shadow = 0;
  71. font = "EtelkaMonospacePro";
  72. colorText[] = {0.709,0.972,0.384,1};
  73. text = "015";
  74. x = "25.15 * (0.01875 * SafezoneH)";
  75. y = "1.75 * (0.025 * SafezoneH)";
  76. w = "3 * (0.01875 * SafezoneH)";
  77. h = "1.2 * (0.025 * SafezoneH)";
  78. };
  79. };
  80. };
  81. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement