Moin, ich wollte bei mir auf dem Server das Interactions Menü Breiter machen aber weiß nicht wie kann mir jemand Helfen ?
Interactions Menu Breiter machen? Wie
-
Blade350 -
5. Juli 2017 um 21:36 -
Geschlossen -
Erledigt
-
-
Welches Interaktions Menü häng doch mal bitte ein Bild bzw. Screenshot an
-
Nimm einfach den Dialog von der 4.4R4 da ist der breiter.
-
powerafro wo finde ich den denn ? also die Datei ?
-
Mir persönlich würde es auch weiter helfen, wenn du sagen könntest welches "Interaktions-Menü" du meinst
Mit freundlichen Grüßen
-
-
oder man passt einfach den dialog an. so schwer ist das nicht auch ohne irgendwelche GUI Editoren . man muss halt nur ein wenig schauen aber in der regel muss man ja nur "w" anpassen um es breiter zu machen. Klar geht es mit Shinji Editor einfacher allerdings muss man dann einige Dialoge komplett ändern, da dort mehrere in einer Datei verwurschelt sind. Zum Beispiel das pInteraction.hpp ist so ein Fall. Da sind nämlich der Vehicle Interaction Dialog und der Player (Cop) Interaction als 2 Dialog drin
Player Interaction Menü
Code
Alles anzeigen#define BGX 0.35 #define BGY 0.2 #define BGW 0.46 class pInteraction_Menu { idd = 37400; movingEnable = 0; enableSimulation = 1; class controlsBackground { class RscTitleBackground: life_RscText { 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])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; idc = -1; x = BGX; y = BGY; w = BGW; h = (1 / 25); }; class MainBackground: life_RscText { idc = -1; colorBackground[] = {0,0,0,0.7}; x = BGX; y = BGY + (11 / 250); w = BGW; h = 0.6 - (22 / 250) + 0.05; }; class Title: life_RscTitle { colorBackground[] = {0,0,0,0}; idc = 37401; text = "$STR_pInAct_Title"; x = BGX; y = BGY; w = BGW; h = (1 / 25); }; }; class controls { class ButtonClose: Life_RscButtonMenu { idc = -1; //shortcuts[] = {0x00050000 + 2}; text = "$STR_Global_Close"; onButtonClick = "closeDialog 0;"; x = BGX; y = 0.8 - (1 / 25) + 0.05; w = (6.25 / 40); h = (1 / 25); }; class ButtonOne: Life_RscButtonMenu { idc = 37450; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.07; w = 0.4; h = 0.038; }; class ButtonTwo: Life_RscButtonMenu { idc = 37451; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.12; w = 0.4; h = 0.038; }; class ButtonThree: Life_RscButtonMenu { idc = 37452; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.17; w = 0.4; h = 0.038; }; class ButtonFour: Life_RscButtonMenu { idc = 37453; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.22; w = 0.4; h = 0.038; }; class ButtonFive: Life_RscButtonMenu { idc = 37454; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.27; w = 0.4; h = 0.038; }; class ButtonSix: Life_RscButtonMenu { idc = 37455; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.32; w = 0.4; h = 0.038; }; class ButtonSeven: Life_RscButtonMenu { idc = 37456; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.37; w = 0.4; h = 0.038; }; class ButtonEight: Life_RscButtonMenu { idc = 37457; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.42; w = 0.4; h = 0.038; }; }; };
und dann wäre da noch das Vehicle Interaction Menü in der selben Datei.
Code
Alles anzeigen#define BGX 0.35 #define BGY 0.2 #define BGW 0.46 class vInteraction_Menu { idd = 37400; movingEnable = 0; enableSimulation = 1; class controlsBackground { class RscTitleBackground: life_RscText { 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])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; idc = -1; x = BGX; y = BGY; w = BGW; h = (1 / 25); }; class MainBackground: life_RscText { idc = -1; colorBackground[] = {0,0,0,0.7}; x = BGX; y = BGY + (11 / 250); w = BGW; h = 0.6 - (22 / 250); }; class Title: life_RscTitle { colorBackground[] = {0,0,0,0}; idc = 37401; text = "$STR_vInAct_Title"; x = BGX; y = BGY; w = BGW; h = (1 / 25); }; }; class controls { class ButtonClose: Life_RscButtonMenu { idc = -1; //shortcuts[] = {0x00050000 + 2}; text = "$STR_Global_Close"; onButtonClick = "closeDialog 0;"; x = BGX; y = 0.8 - (1 / 25); w = (6.25 / 40); h = (1 / 25); }; class ButtonOne: Life_RscButtonMenu { idc = 37450; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.07; w = 0.4; h = 0.038; }; class ButtonTwo: Life_RscButtonMenu { idc = 37451; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.12; w = 0.4; h = 0.038; }; class ButtonThree: Life_RscButtonMenu { idc = 37452; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.17; w = 0.4; h = 0.038; }; class ButtonFour: Life_RscButtonMenu { idc = 37453; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.22; w = 0.4; h = 0.038; }; class ButtonFive: Life_RscButtonMenu { idc = 37454; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.27; w = 0.4; h = 0.038; }; class ButtonSix: Life_RscButtonMenu { idc = 37455; 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 = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.32; w = 0.4; h = 0.038; }; }; };
theoretisch müsste man die auseinanderziehen und als separaten Dialog ablegen
-
nun habe ich das Problem das das menü so groß ist wie ich es haben will aber cops können das menü net aufrufen (Interationsmenü).
Also wo ich ihn entfesseln kann / Interaction der Spieler Auto geht
-
Bitte Logs (Client,Server)