goldenfiver 11 Posted July 21, 2017 Hi guys, I've been using a very basic dialog in one of my missions for more than a year now. I have no idea why, but the text displayed in my dialog got messed up sometime after the JETS DLC update. No changes were made to the dialog code, and it worked just fine before. I'm linking two images, one shows the dialog in-game (bugged), and one shows it in the GUI-Editor (the way it should be): http://imgur.com/LUTkbCl http://imgur.com/K7MSvzt As you can see- the text is completely off center This is my code: #include "..\..\main\definitions.sqf" class pda_dialog_transportation { idd= ISRTG_GUI_TRANSPORT_DIALOG; movingenable=1; onLoad = "execVM 'isrtg_pda\apps\transportation_management\dialog_transport_management.sqf';"; class controlsBackground { class background: RscPicture { idc = 1200; text = "isrtg_textures_and_sounds\textures\pda\pda_transportation.paa"; x = 0.131042 * safezoneW + safezoneX; y = 0.082 * safezoneH + safezoneY; w = 0.698958 * safezoneW; h = 0.803 * safezoneH; //moving = true; }; }; class controls { class isrtg_gps_map: RscMapControl { idc = 1201; maxSatelliteAlpha = 0; x = 0.228438 * safezoneW + safezoneX; y = 0.3284 * safezoneH + safezoneY; w = 0.435417 * safezoneW; h = 0.297 * safezoneH; }; class RscButton_1600: RscButton { idc = ISRTG_GUI_TRANSPORT_BTN_SPAWNHELI; text = "Spawn Helicopter"; //--- ToDo: Localize; x = 0.228438 * safezoneW + safezoneX; y = 0.632 * safezoneH + safezoneY; w = 0.148958 * safezoneW; h = 0.033 * safezoneH; colorBackground[] = {0.231,0.51,0.227,1}; font = EtelkaNarrowMediumPro; action = "_nill=[]execVM ""isrtg_scripts\transport_heli\isrtg_th_setDep.sqf"""; }; class RscButton_1602: RscButton { idc = ISRTG_GUI_TRANSPORT_BTN_SETDEST; text = "Set Helicopter Destination"; //--- ToDo: Localize; x = 0.396875 * safezoneW + safezoneX; y = 0.632 * safezoneH + safezoneY; w = 0.160417 * safezoneW; h = 0.033 * safezoneH; colorBackground[] = {0.314,0.514,0.922,1}; font = EtelkaNarrowMediumPro; action = "_nill=[]execVM ""isrtg_scripts\transport_heli\isrtg_th_main.sqf"""; }; class RscButton_1601: RscButton { idc = ISRTG_GUI_TRANSPORT_BTN_REMOVEHELI; text = "Delete Helicopter"; //--- ToDo: Localize; x = 0.228438 * safezoneW + safezoneX; y = 0.676 * safezoneH + safezoneY; w = 0.148958 * safezoneW; h = 0.033 * safezoneH; colorBackground[] = {0.718,0.29,0.275,1}; font = EtelkaNarrowMediumPro; action = "_nill=[]execVM ""isrtg_scripts\transport_heli\isrtg_th_stop.sqf"""; }; class RscButton_1603: RscButton { idc = ISRTG_GUI_TRANSPORT_BTN_CHANGEDEST; text = "Change Helicopter Destination"; //--- ToDo: Localize; x = 0.396875 * safezoneW + safezoneX; y = 0.676 * safezoneH + safezoneY; w = 0.160417 * safezoneW; h = 0.033 * safezoneH; colorBackground[] = {0.863,0.686,0.369,1}; font = EtelkaNarrowMediumPro; action = "_nill=[]execVM ""isrtg_scripts\transport_heli\isrtg_th_setDest.sqf"""; }; class RscButton_1609: RscButton { idc = ISRTG_GUI_TRANSPORT_BTN_CHANGEMODEL; text = "Change Helicopter Model"; //--- ToDo: Localize; x = 0.5 * safezoneW + safezoneX; y = 0.291 * safezoneH + safezoneY; w = 0.1375 * safezoneW; h = 0.022 * safezoneH; colorBackground[] = {0.863,0.686,0.369,1}; font = EtelkaNarrowMediumPro; action = "isrtg_th_scriptState=-1"; }; class RscButton_1505: RscInvisibleButton { idc = 1505; action = "closeDialog 0"; x = 0.750938 * safezoneW + safezoneX; y = 0.3394 * safezoneH + safezoneY; w = 0.0171875 * safezoneW; h = 0.033 * safezoneH; tooltip = "Turn Off"; //--- ToDo: Localize; }; class RscButton_1608: RscInvisibleButton { idc = 1608; x = 0.723438 * safezoneW + safezoneX; y = 0.5594 * safezoneH + safezoneY; w = 0.0171875 * safezoneW; h = 0.033 * safezoneH; tooltip = "Back To Menu"; //--- ToDo: Localize; action = "closeDialog 0; _nill=[]execVM ""isrtg_pda\main\load_gui_main.sqf"""; }; class RscListbox_1500: RscCombo { idc = ISRTG_GUI_TRANSPORT_LISTBOX_CHANGEMODEL; x = 0.228437 * safezoneW + safezoneX; y = 0.291 * safezoneH + safezoneY; w = 0.1375 * safezoneW; h = 0.022 * safezoneH; }; class helitype_text: RscText { idc = ISRTG_GUI_TRANSPORT_TXT_SELECTEDMODEL; text = "UH-60M Black Hawk"; //--- ToDo: Localize; x = 0.516042 * safezoneW + safezoneX; y = 0.258 * safezoneH + safezoneY; w = 0.120313 * safezoneW; h = 0.022 * safezoneH; font = EtelkaNarrowMediumPro; sizeEx = 0.04; }; class RscText_1003: RscText { idc = 1014; text = "Selected Helicopter Is:"; //--- ToDo: Localize; x = 0.385417 * safezoneW + safezoneX; y = 0.258 * safezoneH + safezoneY; w = 0.131771 * safezoneW; h = 0.022 * safezoneH; font = EtelkaNarrowMediumPro; sizeEx = 0.04; }; class RscText_1005: RscText { idc = ISRTG_GUI_TRANSPORT_TXT_SELECTHELI; text = "Select Helicopter"; //--- ToDo: Localize; x = 0.223854 * safezoneW + safezoneX; y = 0.258 * safezoneH + safezoneY; w = 0.131771 * safezoneW; h = 0.022 * safezoneH; font = EtelkaNarrowMediumPro; sizeEx = 0.04; }; class RscButton_1611: RscButton { idc = ISRTG_GUI_TRANSPORT_BTN_CONFIRM; font = "EtelkaNarrowMediumPro"; action = "isrtg_th_scriptState=0"; text = "Confirm"; //--- ToDo: Localize; x = 0.391146 * safezoneW + safezoneX; y = 0.291 * safezoneH + safezoneY; w = 0.0973958 * safezoneW; h = 0.022 * safezoneH; colorBackground[] = {0.231,0.51,0.227,1}; }; }; }; Any help would be greatly appreciated. Share this post Link to post Share on other sites
Janez 507 Posted July 21, 2017 Font got messed up with previous update. You can try to use different font until this one is fixed. Share this post Link to post Share on other sites
das attorney 857 Posted July 21, 2017 You could try rolling back to previous version, export the base classes and then go back to this version and use your exported list of base configs rather than the current ones. edit: is your picture missing too or did you remove that for the photo? Share this post Link to post Share on other sites
goldenfiver 11 Posted July 22, 2017 12 hours ago, das attorney said: You could try rolling back to previous version, export the base classes and then go back to this version and use your exported list of base configs rather than the current ones. edit: is your picture missing too or did you remove that for the photo? Removed for the photo. 12 hours ago, Janez said: Font got messed up with previous update. You can try to use different font until this one is fixed. So changing the font should solve it? Share this post Link to post Share on other sites
Janez 507 Posted July 22, 2017 I saw a thread about the font just the other day so I think changing the font should do the trick for now. But you need to try it and see what happens. Share this post Link to post Share on other sites