ShadowRanger24 50 Posted July 21, 2016 Hey guys so I'm working on a custom menu but have run into a small issue which I'm not sure how to resolve. Here's the menu code: class testMenu { idd = 2002; name = "testMenu"; movingEnable = false; class controls { class IGUIBack_2200: IGUIBack { idc = 2200; x = 0.381406 * safezoneW + safezoneX; y = 0.434 * safezoneH + safezoneY; w = 0.226875 * safezoneW; h = 0.132 * safezoneH; }; class RscFrame_1800: RscFrame { idc = 1800; x = 0.381406 * safezoneW + safezoneX; y = 0.434 * safezoneH + safezoneY; w = 0.226875 * safezoneW; h = 0.132 * safezoneH; colorText[] = {0,0,0,1}; }; class RscButtonMenu_2400: RscButtonMenu { idc = 2400; text = "Button 1"; //--- ToDo: Localize; x = 0.386562 * safezoneW + safezoneX; y = 0.445 * safezoneH + safezoneY; w = 0.216563 * safezoneW; h = 0.022 * safezoneH; }; class RscButtonMenu_2401: RscButtonMenu { idc = 2401; text = "Button 2"; //--- ToDo: Localize; x = 0.386562 * safezoneW + safezoneX; y = 0.478 * safezoneH + safezoneY; w = 0.216563 * safezoneW; h = 0.022 * safezoneH; }; class RscButtonMenu_2402: RscButtonMenu { idc = 2402; text = "Button 3"; //--- ToDo: Localize; x = 0.386562 * safezoneW + safezoneX; y = 0.533 * safezoneH + safezoneY; w = 0.216563 * safezoneW; h = 0.022 * safezoneH; }; }; }; For some reason whenever I open the menu I get this error: No entry "profileLocation\mpmissions\TestMission.Tanoa\description.ext\testMenu\controls\RscButtonMenu_2400.textureNoShortcut'. Any help would be much appreciated. Thanks in advance. Share this post Link to post Share on other sites
soolie 189 Posted July 21, 2016 I haven't used Buttonmenu before but im guessing that the text field should point to a texture and not actual text. Try (you'll have to do it for all RscButtonMenu if it works) class RscButtonMenu_2400: RscButtonMenu { idc = 2400; text = "\A3\ui_f\data\map\mapcontrol\taskIconFailed_ca.paa"; x = 0.386562 * safezoneW + safezoneX; y = 0.445 * safezoneH + safezoneY; w = 0.216563 * safezoneW; h = 0.022 * safezoneH; }; Share this post Link to post Share on other sites
killzone_kid 1326 Posted July 21, 2016 Show us your RscButtonMenu you use Share this post Link to post Share on other sites
ShadowRanger24 50 Posted July 21, 2016 Show us your RscButtonMenu you use I used the base classes exported from the Arma 3 UI Editor: http://pastebin.com/0M2CRYAD Is this the base classes I should be using? Or is there a better way to get the official ones. Share this post Link to post Share on other sites
Greenfist 1863 Posted July 21, 2016 It's missing the 'textureNoShortcut'.Try adding textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)"; In the vanilla configs it's inheriting it from 'RscShortcutButton' Share this post Link to post Share on other sites
ShadowRanger24 50 Posted July 21, 2016 It's missing the 'textureNoShortcut'. Try adding textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)"; In the vanilla configs it's inheriting it from 'RscShortcutButton' Thank you. I'll give that a go. Do you know how I can access the vanilla configs so I can just copy and paste them as my base classes? Or is the export from the UI editor sufficient? Thanks again. Share this post Link to post Share on other sites
Greenfist 1863 Posted July 21, 2016 Thank you. I'll give that a go. Do you know how I can access the vanilla configs so I can just copy and paste them as my base classes? Or is the export from the UI editor sufficient? Thanks again. I personally just extract them from the game files or use the config viewer if I just need only a couple of classes. In the viewer you can copy all the lines with ctrl+shift+C. (but not the children unfortunately) It has the textureNoShortcut there by the way. I don't know why the UI editor doesn't copy it. Share this post Link to post Share on other sites
nelo_riot 8 Posted October 15, 2017 This info helped me cure an issue I didn't understand! I am now having the same issue with Hitzone although the RScShortcutbutton contains it? Spoiler class RscShortcutButton { deletable = 0; fade = 0; type = 16; x = 0.1; y = 0.1; class HitZone { left = 0; top = 0; right = 1.0; bottom = 1.0; }; Share this post Link to post Share on other sites