Fix 'no unload' config error and visual glitch on loading screen

Thx @iben
This commit is contained in:
A Man
2021-12-23 13:17:42 +01:00
parent d596b2b4cf
commit 608af07439

View File

@@ -23,6 +23,7 @@ class RscXListBox;
class RscShortcutButton; class RscShortcutButton;
class RscHTML; class RscHTML;
class RscDisplayEmpty; class RscDisplayEmpty;
class RscDisplayLoadMission;
#include "CfgPlayerStats\defines.hpp" #include "CfgPlayerStats\defines.hpp"
#include "CfgPlayerStats\p_cover.hpp" #include "CfgPlayerStats\p_cover.hpp"
@@ -160,6 +161,10 @@ class RscDisplayLoading
{ {
text = "z\addons\dayz_code\gui\loadingscreen.paa"; text = "z\addons\dayz_code\gui\loadingscreen.paa";
}; };
class HintBackground: RscText
{
text = "";
};
}; };
}; };
}; };
@@ -169,7 +174,7 @@ class RscCompass : RscObject {
scale = 0.64; scale = 0.64;
}; };
class RscDisplayStart class RscDisplayStart: RscStandardDisplay
{ {
class controls class controls
{ {
@@ -177,6 +182,10 @@ class RscDisplayStart
{ {
text = "z\addons\dayz_code\gui\loadingscreen.paa"; text = "z\addons\dayz_code\gui\loadingscreen.paa";
}; };
class HintBackground: RscText
{
text = "";
};
}; };
}; };
class RscDisplayGetReady; class RscDisplayGetReady;
@@ -786,7 +795,7 @@ class bloodTest
#include "RscDisplay\includes.hpp" #include "RscDisplay\includes.hpp"
//Override BIS Loadscreen //Override BIS Loadscreen
class RscDisplayLoadCustom class RscDisplayLoadCustom: RscDisplayLoadMission
{ {
idd = -1; idd = -1;
onLoad = "uiNamespace setVariable ['BIS_loadingScreen',_this select 0];"; onLoad = "uiNamespace setVariable ['BIS_loadingScreen',_this select 0];";