Info: Das Bild muss eine png oder eine paa sein sonst wird es nicht gehen !
Öffnet Textview die png in Textview und unter RBGBA wählt ihr DXT5:
1. Geht in die HUD_Stats.hpp und sucht nach Life_RscText_HUDWater direkt darunter schreibt das rein:
So müsste es aussehen:
Code
onLoad = "uiNamespace setVariable ['playerHUD',_this select 0]";
objects[] = {};
controls[] = {
Life_RscBackground_HUD,
Life_RscProgress_HUDFood,
Life_RscProgress_HUDHealth,
Life_RscProgress_HUDWater,
Life_RscText_HUDFood,
Life_RscText_HUDHealth,
Life_RscText_HUDWater,
Life_Picture_HUDWatermark
};
Alles anzeigen
2. Sucht jetzt nach:
und schreibt direkt darunter das rein:
Code
/* WaterMark */
class Life_Picture_HUDWatermark: Life_RscPicture
{
idc = 9999;
text = "textures\logo.png";
x = 0.85 * safezoneW + safezoneX;
y = 0.85 * safezoneH + safezoneY;
w = 0.12 * safezoneW;
h = 0.128 * safezoneH;
};
So dürfte es, dann aussehen:
Code
class playerHUD {
idd = -1;
duration = 10e10;
movingEnable = 0;
fadein = 0;
fadeout = 0;
name = "playerHUD";
onLoad = "uiNamespace setVariable ['playerHUD',_this select 0]";
objects[] = {};
controls[] = {
Life_RscBackground_HUD,
Life_RscProgress_HUDFood,
Life_RscProgress_HUDHealth,
Life_RscProgress_HUDWater,
Life_RscProgress_HUDToilet,
Life_RscProgress_HUDInfo,
Life_RscText_HUDFood,
Life_RscText_HUDHealth,
Life_RscText_HUDWater,
Life_RscText_HUDToilet,
Life_Picture_HUDWatermark,
Life_RscText_HUDInfo
};
/* Background */
class Life_RscBackground_HUD : Life_RscBackground {
colorBackground[] = {0,0,0,0.35};
x = 0.385880 * safezoneW + safezoneX;
y = 0.933333 * safezoneH + safezoneY;
w = 0.227161 * safezoneW;
h = 0.0666666 * safezoneH;
};
/* Progress Bars */
class LIFE_RscProgress_HUDCommon : Life_RscProgress {
colorFrame[] = {0, 0, 0, 0.8};
y = 0.938889 * safezoneH + safezoneY;
w = 0.0462964 * safezoneW;
h = 0.0222222 * safezoneH;
};
/* WaterMark */
class Life_Picture_HUDWatermark: Life_RscPicture
{
idc = 9999;
text = "textures\logo1.paa";
x = 0.85 * safezoneW + safezoneX;
y = 0.85 * safezoneH + safezoneY;
w = 0.12 * safezoneW;
h = 0.128 * safezoneH;
};
Alles anzeigen
Fertig !