Home   Help Search Login Register  

Author Topic: Dialogs  (Read 1115 times)

0 Members and 1 Guest are viewing this topic.

Offline OFPWhizz

  • Members
  • *
Dialogs
« 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?

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Dialogs
« Reply #1 on: 12 Mar 2007, 00:15:25 »
Any OFP dialog tut 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:
Code: [Select]
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;
};