__d0ct0r__ 0 Posted April 12, 2021 Hello all. With RscToolbox/CT_TOOLBOX ( https://community.bistudio.com/wiki/CT_TOOLBOX ), the documentation says that it is possible to display an image instead of text. However, I cannot seem to figure out how to achieve this, I don't see an option in the config to define a path to the image to be used for the toolbox. The strings[] array only seems to support text. Could someone advise me on how to use images with RscToolbox, the documentation shows that it's clearly possible. Many thanks! Share this post Link to post Share on other sites
beno_83au 1369 Posted April 12, 2021 44 minutes ago, __d0ct0r__ said: the documentation says that it is possible to display an image instead of text Not for a toolbox as far as I know. Check the top line, Text/Image/Video, for controls that can use pictures. Share this post Link to post Share on other sites
7erra 629 Posted April 12, 2021 #include "\a3\ui_f\hpp\defineCommon.inc" #include "\a3\ui_f\hpp\defineResincl.inc" import RscToolbox; class RscToolboxPictures: RscToolbox { style = ST_PICTURE; }; class RscTestDisplay { idd = -1; class controls { class TestToolbox: RscToolboxPictures { idc = -1; strings[] = { "\a3\ui_f\data\GUI\Cfg\ButtonImages\a_ca.paa", "\a3\ui_f\data\GUI\Cfg\ButtonImages\b_ca.paa", "\a3\ui_f\data\GUI\Cfg\ButtonImages\x_ca.paa", "\a3\ui_f\data\GUI\Cfg\ButtonImages\y_ca.paa" }; rows = 1; columns = 4; x = GUI_GRID_CENTER_X + 0 * GUI_GRID_CENTER_W; y = GUI_GRID_CENTER_Y + 1 * GUI_GRID_CENTER_H; w = 40 * GUI_GRID_CENTER_W; h = 10 * GUI_GRID_CENTER_H; }; }; }; Works for images that are part of a mod or the base game but not for textures in the mission. It's just setting the style of the toolbox to 48 (= ST_PICTURE). Share this post Link to post Share on other sites