OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: OFPWhizz on 11 Mar 2007, 22:19:24
-
Hi,
I cant seem to get the GUI menus to work in ArmA is there a tutorial out anywhere?
-
Any OFP dialog tut (http://www.ofpec.com/ed_depot/tutes.php) is still almost valid, but you should take care about fonts, they changed in ArmA:
Zeppelin33
Zeppelin33Italic
Zeppelin32
Bitstream
TahomaB
LucidaConsoleB
Buttons have more options now too:
class RscButton
{
type = CT_BUTTON;
idc = -1;
style = ST_CENTER;
access =0;
colorText[] = {0, 0, 0, 1};
font = "Bitstream";
sizeEx = 0.025;
soundPush[] = {, 0.2, 1};
soundClick[] = {"ui\ui_ok", 0.2, 1};
soundEscape[] = {"ui\ui_cc", 0.2, 1};
default = false;
colorDisabled[] = {0.3, 0.3, 0.3, 1};
colorBackground[] = {0.6, 0.6, 0.6, 0.5};
colorBackgroundActive[] = {0.8,0.8,0.8,0.5};
colorBackgroundDisabled[] = {0.6, 0.6, 0.6, 1};
colorFocused[] = {0,0,0,1};
colorShadow[] = {0,0,0,0.1};
colorBorder[] = {0,0,0,1};
offsetX = 0.004;
offsetY = 0.004;
offsetPressedX = 0.002;
offsetPressedY = 0.002;
soundEnter[] = {"ui\ui_ok", 0.2, 1};
borderSize = 0.0;
};