Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class RscOptics_Offroad_01: RscUnitInfo //Добавляем новый худ для командира М1А1
- {
- idd = 300;
- controls[] = {"CA_IGUI_elements_group"};
- class CA_IGUI_elements_group: RscControlsGroup
- {
- idc = 170;
- class VScrollbar: VScrollbar
- {
- width = 0;
- };
- class HScrollbar: HScrollbar
- {
- height = 0;
- };
- x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
- y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
- w = "53.5 * (0.01875 * SafezoneH)";
- h = "40 * (0.025 * SafezoneH)";
- class controls
- {
- class CA_TurretIndicator: RscPicture
- {
- IDC = 206;
- type = 105;
- textSize = "0.02*SafezoneH";
- style = 0;
- color[] = {0.709,0.972,0.384,1};
- x = "5.25 * (0.01875 * SafezoneH)";
- y = "3.5 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "6 * (0.025 * SafezoneH)";
- imageHull = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\turretIndicatorHull.paa";
- imageTurret = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\turretIndicatorTurret.paa";
- imageObsTurret = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\turretIndicatorObsTurret.paa";
- imageGun = "#(rgb,8,8,3)color(0,0,0,0)";
- };
- class CA_HorizontalCompass: RscPicture
- {
- IDC = 207;
- type = 105;
- font = "EtelkaMonospacePro";
- textSize = "0.02*SafezoneH";
- style = 1;
- color[] = {0.709,0.972,0.384,1};
- x = "13.04 * (0.01875 * SafezoneH)";
- y = "3.5 * (0.025 * SafezoneH)";
- w = "27.18 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- imageHull = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\horizontalCompassHull.paa";
- imageTurret = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\horizontalCompassTurret.paa";
- imageObsTurret = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\horizontalCompassObsTurret.paa";
- imageGun = "#(rgb,8,8,3)color(0,0,0,0)";
- };
- class AzimuthMark: RscPicture
- {
- IDC = 1012;
- text = "A3\Ui_f\data\IGUI\RscIngameUI\RscOptics\AzimuthMark.paa";
- x = "26.35 * (0.01875 * SafezoneH)";
- y = "3.0 * (0.025 * SafezoneH)";
- w = "0.5 * (0.01875 * SafezoneH)";
- h = "0.5 * (0.025 * SafezoneH)";
- colorText[] = {0.709,0.972,0.384,1};
- };
- class CA_Heading: RscText
- {
- idc = 156;
- style = 2;
- sizeEx = "0.032*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- colorText[] = {0.709,0.972,0.384,1};
- text = "015";
- x = "25.15 * (0.01875 * SafezoneH)";
- y = "1.75 * (0.025 * SafezoneH)";
- w = "3 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement