Moin ich habe mir ein Dialog angepasst mit dem Editor 2.0 von Shinji.
So im Editor sieht der perfekt aus wie er sein soll. Ingame soweit auch bis auf das das Hintergrund Bild einfach nicht angezeigt wird.
Der Pfad zum Bild ist gelegt. Es wurde bereits mit dem Bild aus .paa und .png ausprobiert. (Natürlich dann auch im Dialog auf .paa oder .png angepasst)
Weiß jemand wodran es liegen kann das das Hintergrund Bild nicht angezeigt wird?
Hier der Dialog:
Code
/////////////////////////////////////////////////////////////////
/////////// This File was Edited by GUI D3V by Shinji ///////////
/////////////////////////////////////////////////////////////////
class shops_menu {
idd = 2400;
name = "shops_menu";
movingenable = 0;
enablesimulation = 1;
class controlsBackground
{
class Background : Life_RscPicture
{
idc = 1000;
text = "textures/FreiLifeBackground.png";
x = 0.1 * safezoneW + safezoneX;
y = 0.200435729847495 * safezoneH + safezoneY;
w = 0.8 * safezoneW;
h = 0.599854756717502 * safezoneH;
};
class MainBackground : Life_RscText
{
colorbackground[] = {0, 0, 0, 0.7};
idc = -1;
x = 0.355859375 * safezoneW + safezoneX;
y = 0.311538126361656 * safezoneH + safezoneY;
w = 0.516796875 * safezoneW;
h = 0.458251270878722 * safezoneH;
};
class vasText : Life_RscText
{
idc = -1;
colorbackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
text = "$STR_VS_SI";
sizeex = 0.04;
x = 0.356171875 * safezoneW + safezoneX;
y = 0.312120551924473 * safezoneH + safezoneY;
w = 0.252265625 * safezoneW;
h = 0.04 * safezoneH;
};
class vasgText : Life_RscText
{
idc = -1;
colorbackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
text = "$STR_VS_PI";
sizeex = 0.04;
x = 0.62 * safezoneW + safezoneX;
y = 0.312120551924473 * safezoneH + safezoneY;
w = 0.252265625 * safezoneW;
h = 0.04 * safezoneH;
};
};
class controls
{
class itemList : Life_RscListBox
{
idc = 2401;
text = "";
sizeex = 0.030;
x = 0.356171875 * safezoneW + safezoneX;
y = 0.351488743645606 * safezoneH + safezoneY;
w = 0.252265625 * safezoneW;
h = 0.344226579520697 * safezoneH;
};
class pItemlist : Life_RscListBox
{
idc = 2402;
text = "";
sizeex = 0.030;
x = 0.62 * safezoneW + safezoneX;
y = 0.351488743645606 * safezoneH + safezoneY;
w = 0.252265625 * safezoneW;
h = 0.344226579520697 * safezoneH;
};
class buyEdit : Life_RscEdit
{
idc = 2404;
text = "1";
sizeex = 0.030;
x = 0.3565625 * safezoneW + safezoneX;
y = 0.694989106753813 * safezoneH + safezoneY;
w = 0.252265625 * safezoneW;
h = 0.0298692810457517 * safezoneH;
};
class sellEdit : Life_RscEdit
{
idc = 2405;
text = "1";
sizeex = 0.030;
x = 0.62 * safezoneW + safezoneX;
y = 0.694989106753813 * safezoneH + safezoneY;
w = 0.252265625 * safezoneW;
h = 0.0298692810457517 * safezoneH;
};
class ButtonAddG : Life_RscButtonMenu
{
idc = -1;
text = "$STR_VS_BuyItem";
colorbackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
onbuttonclick = "[] spawn life_fnc_virt_buy;";
x = 0.404765625 * safezoneW + safezoneX;
y = 0.729048656499637 * safezoneH + safezoneY;
w = 0.15625 * safezoneW;
h = 0.0399999999999999 * safezoneH;
};
class ButtonRemoveG : Life_RscButtonMenu
{
idc = -1;
text = "$STR_VS_SellItem";
colorbackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
onbuttonclick = "[] call life_fnc_virt_sell";
x = 0.67140625 * safezoneW + safezoneX;
y = 0.729048656499637 * safezoneH + safezoneY;
w = 0.15625 * safezoneW;
h = 0.0399999999999999 * safezoneH;
};
};
};
/////////////////////////////////////////////////////////////////
////////////////////////// FILE END /////////////////////////////
/////////////////////////////////////////////////////////////////
Alles anzeigen