Hier sieht man der Hintergrund ist richtig Transparent
Kann mir jemand helfen benutze den GUI DEV
Z Menü Hintergrund Transparent
-
HelperLee -
19. April 2017 um 00:28 -
Geschlossen -
Erledigt
-
-
zeig mal deine hpp, da ist irgendwo Transparenz drin (wow Cpt. Obvious xD)
-
Habe sie grade bischen bearbeitet.
Spoiler anzeigen
/////////////////////////////////////////////////////////////////
/////////// This File was Edited by GUI D3V by Shinji ///////////
/////////////////////////////////////////////////////////////////
class playerSettings {
idd = playersys_DIALOG;
name = "playerSettings";
movingenable = 1;
enablesimulation = 1;
class controlsBackground
{
class life_RscPicture0 : life_RscPicture
{
text = "textures\zmenu.png";
x = 0.124479166666667 * safezoneW + safezoneX;
y = 0.0206489675516224 * safezoneH + safezoneY;
w = 0.728645833333333 * safezoneW;
h = 1.2133726647001 * safezoneH;
idc = 1001;
};
class Title : Life_RscTitle
{
colorbackground[] = {0, 0, 0, 0};
idc = -1;
text = "$STR_PM_Title";
x = 0.124479166666667 * safezoneW + safezoneX;
y = 0.127236971484759 * safezoneH + safezoneY;
w = 0.729166666666667 * safezoneW;
h = (1 / 25);
};
class moneyStatusInfo : Life_RscStructuredText
{
idc = 2015;
sizeex = 0.020;
x = 0.682604166666667 * safezoneW + safezoneX;
y = 0.629203539823009 * safezoneH + safezoneY;
w = 0.147083333333333 * safezoneW;
h = 0.125958702064897 * safezoneH;
};
class PlayersName : Title
{
idc = 5386;
style = 1;
text = "";
};
};
class controls
{
class itemList : Life_RscListBox
{
idc = 6158;
sizeex = 0.030;
x = 0.510416666666667 * safezoneW + safezoneX;
y = 0.307767944936087 * safezoneH + safezoneY;
h = 0.27826941986234 * safezoneH;
w = 0.146875 * safezoneW;
};
class moneyEdit : Life_RscEdit
{
idc = 2018;
text = "1";
sizeex = 0.030;
x = 0.6828125 * safezoneW + safezoneX;
y = 0.759095378564405 * safezoneH + safezoneY;
w = 0.146875 * safezoneW;
h = 0.0363815142576204 * safezoneH;
};
class NearPlayers : Life_RscCombo
{
idc = 2022;
x = 0.683541666666667 * safezoneW + safezoneX;
y = 0.804149459193707 * safezoneH + safezoneY;
w = 0.146145833333333 * safezoneW;
h = 0.0336086529006884 * safezoneH;
};
class moneyDrop : Life_RscButtonMenu
{
idc = 2001;
text = "$STR_Global_Give";
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_giveMoney";
sizeex = 0.025;
x = 0.720833333333333 * safezoneW + safezoneX;
y = 0.843657817109145 * safezoneH + safezoneY;
w = 0.0734375 * safezoneW;
h = 0.0276420845624385 * safezoneH;
};
class itemEdit : Life_RscEdit
{
idc = 5100;
text = "1";
sizeex = 0.030;
x = 0.510625 * safezoneW + safezoneX;
y = 0.592920353982301 * safezoneH + safezoneY;
w = 0.146145833333333 * safezoneW;
h = 0.0342969518190762 * safezoneH;
};
class iNearPlayers : Life_RscCombo
{
idc = 2023;
x = 0.509895833333333 * safezoneW + safezoneX;
y = 0.634218289085546 * safezoneH + safezoneY;
w = 0.147916666666667 * safezoneW;
h = 0.0334316617502458 * safezoneH;
};
class DropButton : Life_RscButtonMenu
{
idc = 2002;
text = "";
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_giveItem;";
x = 0.561875 * safezoneW + safezoneX;
y = 0.673451327433628 * safezoneH + safezoneY;
w = 0.0433333333333334 * safezoneW;
h = 0.0295968534906589 * safezoneH;
colorbackgroundfocused[] = {1,1,1,0};
colorbackground2[] = {1,1,1,0};
color[] = {1,1,1,0};
};
class UseButton : Life_RscButtonMenu
{
text = "";
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_useItem;";
x = 0.614791666666667 * safezoneW + safezoneX;
y = 0.673451327433628 * safezoneH + safezoneY;
w = 0.0414583333333333 * safezoneW;
h = 0.0295968534906589 * safezoneH;
idc = 1000;
colorbackgroundfocused[] = {1,1,1,0};
colorbackground2[] = {1,1,1,0};
color[] = {1,1,1,0};
colorfocused[] = {1,1,1,0};
color2[] = {1,1,1,0};
colortext[] = {1,1,1,0};
};
class RemoveButton : Life_RscButtonMenu
{
text = "";
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_removeItem;";
x = 0.509895833333333 * safezoneW + safezoneX;
y = 0.674223205506391 * safezoneH + safezoneY;
w = 0.0427083333333333 * safezoneW;
h = 0.0295968534906589 * safezoneH;
idc = 1000;
colorbackgroundfocused[] = {1,1,1,0};
colorbackground2[] = {1,1,1,0};
colorfocused[] = {1,1,1,0};
color[] = {1,1,1,0};
color2[] = {1,1,1,0};
colortext[] = {1,1,1,0};
};
class ButtonClose : Life_RscButtonMenu
{
text = "$STR_Global_Close";
onbuttonclick = "closeDialog 0;";
x = 0.827083333333333 * safezoneW + safezoneX;
y = 0.174945919370698 * safezoneH + safezoneY;
w = 0.0229166666666667 * safezoneW;
h = (1 / 25);
idc = 1000;
};
class ButtonSettings : Life_RscButtonMenu
{
text = "$STR_Global_Settings";
onbuttonclick = "[] call life_fnc_settingsMenu;";
x = 0.309864898989899 * safezoneW + safezoneX;
y = 0.341120943952803 * safezoneH + safezoneY;
w = (6.25 / 40);
h = (1 / 25);
idc = 1000;
colorbackground[] = {0.498039215686275,1,0,1};
};
class ButtonMyGang : Life_RscButtonMenu
{
idc = 2011;
text = "$STR_PM_MyGang";
onbuttonclick = "if (isNil ""life_action_gangInUse"") then {if (isNil {(group player) getVariable ""gang_owner""}) then {createDialog ""Life_Create_Gang_Diag"";} else {[] spawn life_fnc_gangMenu;};};";
x = 0.1390625 * safezoneW + safezoneX;
y = 0.341120943952803 * safezoneH + safezoneY;
w = (6.25 / 40);
h = (1 / 25);
colorbackground[] = {0.498039215686275,1,0,1};
};
class Licenses_Menu : Life_RscControlsGroup
{
w = 0.146979166666667 * safezoneW;
h = 0.278171091445428 * safezoneH;
x = 0.683229166666667 * safezoneW + safezoneX;
y = 0.306882989183874 * safezoneH + safezoneY;
idc = 1000;
class Controls {
class Life_Licenses: Life_RscStructuredText
{
idc = 2014;
sizeex = 0.020;
text = "";
x = 0;
y = 0;
w = 0.27;
h = 0.65;
};
};
};
class ButtonGangList : Life_RscButtonMenu
{
idc = 2012;
text = "$STR_PM_WantedList";
onbuttonclick = "[] call life_fnc_wantedMenu";
x = 0.309864898989899 * safezoneW + safezoneX;
y = 0.39913470993117 * safezoneH + safezoneY;
w = (6.25 / 40);
h = (1 / 25);
colorbackground[] = {0.498039215686275,1,0,1};
};
class ButtonKeys : Life_RscButtonMenu
{
idc = 2013;
text = "$STR_PM_KeyChain";
onbuttonclick = "createDialog ""Life_key_management"";";
x = 0.1390625 * safezoneW + safezoneX;
y = 0.285290068829892 * safezoneH + safezoneY;
w = (6.25 / 40);
h = (1 / 25);
colorbackground[] = {0.498039215686275,1,0,1};
colorbackground2[] = {0.486274509803922,0.988235294117647,0,1};
};
class ButtonCell : Life_RscButtonMenu
{
idc = 2014;
text = "$STR_PM_CellPhone";
onbuttonclick = "createDialog ""Life_cell_phone"";";
x = 0.1390625 * safezoneW + safezoneX;
y = 0.747295968534907 * safezoneH + safezoneY;
w = 0.053125 * safezoneW;
h = 0.0904621435594887 * safezoneH;
colorbackground[] = {1,1,1,0};
colorbackgroundfocused[] = {1,1,1,0};
colorbackground2[] = {1,1,1,0};
color[] = {1,1,1,0};
colorfocused[] = {1,1,1,0};
color2[] = {1,1,1,0};
colortext[] = {1,1,1,0};
};
class ButtonAdminMenu : Life_RscButtonMenu
{
idc = 2021;
text = "$STR_PM_AdminMenu";
onbuttonclick = "closeDialog 0; createDialog ""life_admin_menu"";";
x = 0.1390625 * safezoneW + safezoneX;
y = 0.39913470993117 * safezoneH + safezoneY;
w = (6.25 / 40);
h = (1 / 25);
colorbackground[] = {0.498039215686275,1,0,1};
};
class ButtonSyncData : Life_RscButtonMenu
{
text = "$STR_PM_SyncData";
onbuttonclick = "[] call SOCK_fnc_syncData;";
x = 0.309864898989899 * safezoneW + safezoneX;
y = 0.285290068829892 * safezoneH + safezoneY;
w = (6.25 / 40);
h = (1 / 25);
idc = 1000;
colorbackground[] = {0.498039215686275,1,0,1};
};
};
};
/////////////////////////////////////////////////////////////////
////////////////////////// FILE END /////////////////////////////
/////////////////////////////////////////////////////////////////
-
bin auf eurem TeamSpeak ...
-
neeee ...
-
warum is da mein 2nd life logo drinne ? _:D
-
ALLE FINDEN ES GEIL _:D
KOMMST DU AUF UNSEREN TS ? -
Mach das Bild ma in JPG oder paa
-
schick ip
-
habe pn und Brizi mach ich mal und schicke dann ergebnis hier Rein !"
-
Habe mal das zu ner paa gemacht
Hier das Ergebnis -
!push
-
du darfst nicht pushen ...
-
Ich kann es dir gerne nochmal sagen da du auf die PN (die du mir geschrieben hast) nicht antwortest ~
Dein Dialog hat einen Klatsch weg bzw wurde im nachhinein noch per Hand bearbeitet oder sowas denn:
Gibts unter der aktuellen Version von meinem Editor nicht mehr ~ die Variablen werden automatisch mit freien ID`s ersetzt und darauf hingewiesen dass ein Include (.sqf) in der HPP ist.
Warum dein Bild nicht angezeigt ->
Jetzt ganz doof gefragt ~ nicht übel nehmen ist eigentlich sogar ernst gemeint
Existiert denn überhaupt in deinem Textures Ordner das Bild als png/jpg bzw paa?
Außerdem ->
Gibt es dass denn in deiner common.hpp? Denn soweit ich mich erinnere sind RSC Classes Case-Sensitive ~ wie in meinem Programm.
-
Existiert denn überhaupt in deinem Textures Ordner das Bild als png/jpg bzw paa?
mann sieht doch sogar das bild ... es ist einfach nur falsch in paa abgespeichert ... ohh leute
-
tipp: damit es cooler aussieht macht es übern ganzen screen
-
mann sieht doch sogar das bild ... es ist einfach nur falsch in paa abgespeichert ... ohh leute
Wie wird es denn dann "richtig" abgespeichert ?
Haben das gleiche Problem!
Obwohl 1 Icon funktioniert aber die anderen wurden genauso abgespeichert!
-
2er Potenz beachten.
-
Du musst bilder haben die so ne Größe haben:
2x2 4x4 16x16 32x32 64x64 128x128 256x256 512x512 1024x1024 2048x2048 -
Nya fast theoretisch würde auch 64x256 funktionieren. Eben die zweier Potenz