mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
1a1fdb7c2c
* Move the hellfire hud to the laser module * Fix example
54 lines
2.8 KiB
C++
54 lines
2.8 KiB
C++
class RscTitles {
|
|
class GVAR(modeDisplay) {
|
|
idd = -1;
|
|
onLoad = QUOTE(with uiNameSpace do { GVAR(display) = _this select 0 };);
|
|
movingEnable = 0;
|
|
duration = 60;
|
|
fadeIn = "false";
|
|
fadeOut = "false";
|
|
class controls {
|
|
class ModeControlGroup: RscControlsGroupNoScrollbars {
|
|
idc = IDC_MODECONTROLGROUP;
|
|
x = "3.8 * (((safezoneW / safezoneH) min 1.2) / 40) + (profilenamespace getvariable ['IGUI_GRID_WEAPON_X',((safezoneX + safezoneW) - (10 * (((safezoneW / safezoneH) min 1.2) / 40)) - 4.3 * (((safezoneW / safezoneH) min 1.2) / 40))])";
|
|
y = "2.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (profilenamespace getVariable ['IGUI_GRID_WEAPON_Y', (safezoneY + 0.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25))])";
|
|
w = "10 * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
|
|
class controls {
|
|
class AttackMode: RscText {
|
|
idc = IDC_ATTACKMODE;
|
|
colorText[] = {1, 1, 1, 1};
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
x = "0";
|
|
y = "0";
|
|
w = "(2.6) * (((safezoneW / safezoneH) min 1.2) / 40)";
|
|
h = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
sizeEx = "0.8 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
};
|
|
class LaserCode: RscText {
|
|
idc = IDC_LASERCODE;
|
|
colorText[] = {1, 1, 1, 1};
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
x = "(3.6) * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
y = "0";
|
|
w = "(2.5) * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
h = "(1) * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
sizeEx = "0.8 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
};
|
|
class LaserIcon: RscPictureKeepAspect {
|
|
idc = IDC_LASERICON;
|
|
colorText[] = {1, 0, 0, 1};
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
text = "\a3\Ui_F_Curator\Data\CfgCurator\laser_ca.paa";
|
|
x = "(6.1) * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
y = "0";
|
|
w = "(1) * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
h = "(1) * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
};
|
|
};
|