mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
caca92f71d
* merge fire * Change required addons. Change getPos to getPosASL. Remove include * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Kyle Mckay <kymckay.dev@gmail.com> * Update addons/fire/stringtable.xml Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: Kyle Mckay <kymckay.dev@gmail.com>
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
class RscTitles {
|
|
class RscPicture;
|
|
class GVAR(onFire1) {
|
|
idd = -1;
|
|
movingEnable = "true";
|
|
duration = 0.1;
|
|
fadein = 0.15;
|
|
fadeout = 0.75;
|
|
name = QGVAR(onFire1);
|
|
onload = QUOTE(with uiNamespace do {GVAR(onFireIndicator1) = _this select 0});
|
|
|
|
class controls {
|
|
class GVAR(indicator): RscPicture {
|
|
idc = -1;
|
|
type = 0;
|
|
style = 48;
|
|
colorBackground[] = {0, 0, 0, 0};
|
|
colorText[] = {0.9, 0.9, 0.9, 0.6};
|
|
font = "LucidaConsoleB";
|
|
sizeEx = 0.023;
|
|
x = "SafeZoneX";
|
|
y = "SafeZoneY";
|
|
w = "SafeZoneW + 0.05";
|
|
h = "SafeZoneH + 0.05";
|
|
text = PATHTOF(data\overlay_burn_1.paa);
|
|
};
|
|
};
|
|
};
|
|
|
|
class GVAR(onFire2): GVAR(onFire1) {
|
|
idd = -1;
|
|
name = QGVAR(onFire2);
|
|
onload = QUOTE(with uiNamespace do {GVAR(onFireIndicator2) = _this select 0});
|
|
|
|
class controls: controls {
|
|
class GVAR(indicator): GVAR(indicator) {
|
|
text = PATHTOF(data\overlay_burn_2.paa);
|
|
};
|
|
};
|
|
};
|
|
};
|