Bei mir ist der Dialog / die Statusbar unsichtbar
Beiträge von M_ich_i
-
-
Diese Dialogs rauben mir die Nerven.
Ich wollte die Status Bar bearbeiten. Aber auch hier macht mir Arma einen Strich durch die Rechnung. Finde den Fehler nicht
statusbar.hpp:
Code: statusBar.hpp
Alles anzeigen#define ST_RIGHT 0x01 class osefStatusBar { idd = -1; onLoad = "uiNamespace setVariable ['osefStatusBar', _this select 0]"; onUnload = "uiNamespace setVariable ['osefStatusBar', objNull]"; onDestroy = "uiNamespace setVariable ['osefStatusBar', objNull]"; fadein = 0; fadeout = 0; duration = 10e10; movingEnable = 0; controlsBackground[] = {}; objects[] = {}; class controls { class statusBarText { idc = 1000; shadow = 2; font = "PuristaSemibold"; size = 0.03; type = 13; style = 1; text = " Lade Server Informationen..."; //--- ToDo: Localize; x = -28.6 * GUI_GRID_W + GUI_GRID_X; y = 33.9 * GUI_GRID_H + GUI_GRID_Y; w = 97.1 * GUI_GRID_W; h = 1.4 * GUI_GRID_H; colorBackground[] = {0.19,0.19,0.2,1}; class Attributes { align="right"; color = "#FFFFFF"; }; }; class RscFrame_1800: RscFrame { idc = 1800; x = -29.4 * GUI_GRID_W + GUI_GRID_X; y = 33.9 * GUI_GRID_H + GUI_GRID_Y; w = 98 * GUI_GRID_W; h = 2.7 * GUI_GRID_H; colorText[] = {-1,-1,-1,1}; }; }; };
Ich hoffe jemand kann mir helfen
-
hier die missionfile
-
wo find ich die?
-
es will einfach immer noch nicht funktionieren
immernoch schwarz Und nein das Bild ist nicht schwarz
-
der pfad stimmt... den habe es in einer test mission. nur description.ext playerinv.hpp und imaegs ordner und da drin ist das bild ah un natürlich die mission.sqm
-
-
Ich benutze die Life Mod mission 4.3
Aber jetzt ist das Bild unsichtbar
-
geht auch dann nicht
-
ich probiers mal mit moving aber das bild heisst richtig und ist im richtigen ordner. Man
kann übrigens auch die buttons nicht mehr drücken -
Spoiler anzeigen
Code: player_inv.hpp
Alles anzeigenclass player_inv { idd = 6000; movingeneble = 0; class controlsBackground { class bgMain: RscPicture { idc = 1200; text = "images\PlayerInv.paa"; x = 0.29375 * safezoneW + safezoneX; y = 0.093 * safezoneH + safezoneY; w = 0.4125 * safezoneW; h = 0.77 * safezoneH; colorText[] = {-1,-1,-1,1}; }; }; class Controls { class btn_close: RscButtonMenu { idc = 2400; x = 0.687687 * safezoneW + safezoneX; y = 0.28 * safezoneH + safezoneY; w = 0.0175315 * safezoneW; h = 0.0352 * safezoneH; colorBackground[] = {-1,-1,-1,0}; tooltip = "Schliessen"; //--- ToDo: Localize; onButtonClick = "closeDialog 0;"; }; class btn_syn: RscButtonMenu { idc = 2401; x = 0.670156 * safezoneW + safezoneX; y = 0.28 * safezoneH + safezoneY; w = 0.0175315 * safezoneW; h = 0.0352 * safezoneH; colorBackground[] = {-1,-1,-1,0}; tooltip = "Speicher deinen Fortschritt"; //--- ToDo: Localize; }; class btn_key: RscButtonMenu { idc = 2402; x = 0.597969 * safezoneW + safezoneX; y = 0.5814 * safezoneH + safezoneY; w = 0.0979687 * safezoneW; h = 0.044 * safezoneH; colorBackground[] = {-1,-1,-1,0}; }; class btn_gang: RscButtonMenu { idc = 2403; x = 0.505156 * safezoneW + safezoneX; y = 0.5814 * safezoneH + safezoneY; w = 0.0598126 * safezoneW; h = 0.044 * safezoneH; colorBackground[] = {-1,-1,-1,0}; }; class btn_handy: RscButtonMenu { idc = 2404; x = 0.438124 * safezoneW + safezoneX; y = 0.5814 * safezoneH + safezoneY; w = 0.0546561 * safezoneW; h = 0.0462 * safezoneH; colorBackground[] = {-1,-1,-1,0}; }; class btn_settings: RscButtonMenu { idc = 2405; x = 0.31025 * safezoneW + safezoneX; y = 0.5814 * safezoneH + safezoneY; w = 0.095906 * safezoneW; h = 0.0462 * safezoneH; colorBackground[] = {-1,-1,-1,0}; }; class listinv: Life_RscListBox { idc = 1500; x = 0.556719 * safezoneW + safezoneX; y = 0.39 * safezoneH + safezoneY; w = 0.115496 * safezoneW; h = 0.11 * safezoneH; colorBackground[] = {-1,-1,-1,0}; colorActive[] = {-1,-1,-1,0}; }; class nearP: Life_RscEdit { idc = 1400; text = ""; x = 0.557751 * safezoneW + safezoneX; y = 0.5044 * safezoneH + safezoneY; w = 0.114465 * safezoneW; h = 0.0264 * safezoneH; }; class btn_give: RscButton { idc = 1600; text = "Geben"; //--- ToDo: Localize; x = 0.554645 * safezoneW + safezoneX; y = 0.5396 * safezoneH + safezoneY; w = 0.0360938 * safezoneW; h = 0.0242 * safezoneH; colorBackground[] = {-1,-1,-1,0.9}; }; class btn_use: RscButton { idc = 1601; text = "Benutzen"; //--- ToDo: Localize; x = 0.595908 * safezoneW + safezoneX; y = 0.5396 * safezoneH + safezoneY; w = 0.0371251 * safezoneW; h = 0.0242 * safezoneH; colorBackground[] = {-1,-1,-1,0.9}; }; class btn_remove: RscButton { idc = 1602; text = "Enfernen"; //--- ToDo: Localize; x = 0.637777 * safezoneW + safezoneX; y = 0.539926 * safezoneH + safezoneY; w = 0.0371251 * safezoneW; h = 0.0242 * safezoneH; colorBackground[] = {-1,-1,-1,0.9}; }; class nearP2: Life_RscEdit { idc = 1401; text = ""; x = 0.319531 * safezoneW + safezoneX; y = 0.5088 * safezoneH + safezoneY; w = 0.0680624 * safezoneW; h = 0.022 * safezoneH; }; }; };
-
Genauer gesagt habe ich Probleme mit RscPicture weil machmal ist es einfach nur schwarz. Obwohl das Bild 512x512 ist. Es ist auch paa und es funktioniert im GUI Editor. Aber wenn ich den Dialog mit "createDialog" aufrufe ist das Bild schwarz
-
Dialogs in Arma 3 machen bei mir nur Probleme! Würde mich deshalb freuen wenn mir jemand helfen könnte. Würde das am liebsten über den TS regeln. Danke im voraus.
:held: