mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
eccaa71907
There was an issue in most cases where the logo would cover up a couple names in the group menu in the top left preventing players from seeing their names. I have moved this to the top right as there is never anything in the HUD that the logo can cover while it's up there.
44 lines
789 B
C++
44 lines
789 B
C++
//Modified
|
|
|
|
#include "base.cpp"
|
|
|
|
class ExAd_STATSBAR
|
|
{
|
|
idd = 2186;
|
|
movingEnable = 0;
|
|
enableSimulation = 1;
|
|
enableDisplay = 1;
|
|
duration = 10e10;
|
|
fadein = 0;
|
|
fadeout = 0;
|
|
name = "ExAd_STATSBAR";
|
|
onLoad = "with uiNameSpace do { ExAd_STATSBAR = _this select 0 };";
|
|
class controls
|
|
{
|
|
class StatsBar: RscStructuredText
|
|
{
|
|
idc = 1100;
|
|
text = "";
|
|
x = "safeZoneX";
|
|
y = "safeZoneY + safeZoneH - 32 * pixelH";
|
|
w = "safeZoneW";
|
|
h = "30 * pixelH";
|
|
};
|
|
class Logo
|
|
{
|
|
type= 0;
|
|
idc = 1000;
|
|
x = "safeZoneX + safeZoneW - 128 * pixelW";
|
|
y = "safeZoneY + 60 * pixelH - 32 * pixelH";
|
|
w = "64 * pixelW";
|
|
h = "64 * pixelH";
|
|
style=48;
|
|
colorBackground[]={0,0,0,0};
|
|
colorText[]={0,0,0,1};
|
|
font="TahomaB";
|
|
sizeEx=0;
|
|
text = "";
|
|
};
|
|
};
|
|
};
|