respawn = 3;
respawndelay = 20;

#define ST_LEFT      0
#define ST_RIGHT     1
#define ST_CENTER    2

#define CT_STATIC    0
#define CT_ACTIVETEXT 11

#define CT_BUTTON   1

#define CT_COMBO                 4
#define CT_LISTBOX               5

#define FontM "Zeppelin32"

#define ST_FRAME   64

#define ST_PICTURE   48

class RscButton
{
        type = CT_BUTTON;
        idc = -1;
        style = ST_CENTER;
        colorText[] = {0.92, 0.73, 0, 1};
	colorFocused[] = { 1, 0, 0, 1 };
	colorDisabled[] = { 0, 0, 1, 0.7 };
	colorBackground[] = { 0.3, 0.3, 0.3, 1 };
	colorBackgroundDisabled[] = { 0, 0.14, 0.35, 0.5 }; 
	colorBackgroundActive[] = { 0.3, 0.3, 0.3, 1 };
        font = FontM;
        sizeEx = 0.025;
        soundPush[] = {, 0.2, 1};
        soundClick[] = {"ui\ui_ok", 0.2, 1};
        soundEscape[] = {"ui\ui_cc", 0.2, 1};
        default = false;
	offsetX = 0.003;
	offsetY = 0.003;
	offsetPressedX = 0.002;
	offsetPressedY = 0.002;
	colorShadow[] = { 0, 0, 0, 0.5 };
	colorBorder[] = { 0.1, 0.1, 0.1, 1 }; borderSize = 0;
	soundEnter[] = { "", 0, 1 }; // no sound
	x = 0.4;
	y = 0.475;
	w = 0.2;
	h = 0.05;
	text = "Close";
	action = "closeDialog 0; hint ""Dialog closed. You are good to go now!""";
};

class RscText
{
        type = CT_STATIC;
        idc = -1;
        style = ST_LEFT;
        colorBackground[] = {0, 0, 0, 0};
        colorText[] = {1, 1, 1, 1};
        font = FontM;
        sizeEx = 0.04;
};

class RscBlueText: RscText
{
        type = CT_STATIC;
        idc = -1;
        style = 16;
	linespacing = 1;
        colorBackground[] = {0, 0, 0, 0};
        colorText[] = {0, 0, 0.8, 1};
        font = FontM;
        sizeEx = 0.02;
};

class RscYellowText: RscText
{
        type = CT_STATIC;
        idc = -1;
        style = 16;
	linespacing = 1;
        colorBackground[] = {0, 0, 0, 0};
        colorText[] = {0.92, 0.73, 0, 1};
        font = FontM;
        sizeEx = 0.02;
};

class RscActiveText
{
        type = CT_ACTIVETEXT;
        idc = -1;
        style = ST_LEFT;
        color[] = {1, 1, 1, 1};
        colorActive[] = {1, 0, 0, 1};
        font = FontM;
        sizeEx = 0.04;
        soundEnter[] = {"ui\ui_over", 0.2, 1};
        soundPush[] = {, 0.2, 1};
        soundClick[] = {"ui\ui_ok", 0.2, 1};
        soundEscape[] = {"ui\ui_cc", 0.2, 1};
        default = false;
};

class RscLB_C
{
        style = ST_LEFT;
        idc = -1;
        colorSelect[] = {0.4, 0.4, 0.4, 1};
        colorSelectBackground[] = {0.2, 0.2, 0.2, 1};
	colorDisabled[] = { 0, 0, 1, 0.7 };
        colorText[] = {0.2, 0.2, 0.2, 1};
        colorBackground[] = {0.4, 0.4, 0.4, 1};
        font = FontM;
        sizeEx = 0.025;
        rowHeight = 0.04;
        soundPush[] = {, 0.2, 1};
        soundClick[] = {"ui\ui_ok", 0.2, 1};
        soundEscape[] = {"ui\ui_cc", 0.2, 1};
	soundEnter[] = { "", 0, 1 }; // no sound
	soundSelect[] = {"ui\ui_ok", 0.2, 1};
	soundExpand[] = {"ui\ui_ok", 0.2, 1};
	soundCollapse[] = {"ui\ui_ok", 0.2, 1};
};

class RscCombo:RscLB_C
{
	type = CT_COMBO;
	wholeHeight = 0.3;
};

class fz_f18e_loadout
{
  idd = -1;
  movingEnable = true;
  colorDisabled[] = { 0, 0, 1, 0.7 };
  controlsBackground[] = { fz_f18_loadout_back, fz_f18_ld_aim120c, fz_f18_ldaim7m, fz_f18_ldaim9x, fz_f18_ldagm65e, fz_f18_ldagm88, fz_f18_ldagm154a, fz_f18_ld_dsp, fz_f18_cn_dsp, fz_f18_fuel_dsp, fz_f18_dmg_dsp, fz_f18_wpnsts_dsp, fz_f18e_frame };
  objects[] = { };
  controls[] = { fz_f18_equip, fz_f18_rearmcn, fz_f18_repairrefuel, fz_f18_ldaim120c, fz_f18_ldgbu10, fz_f18_hardpoint7, fz_f18_hardpoint2, fz_f18_hardpoint3, fz_f18_hardpoint4, fz_f18_hardpoint1, fz_f18_hardpoint5, fz_f18_hardpoint6, fz_f18_closemenu_button };
  class fz_f18_equip : RscButton
  {
          idc = 100;
          x = 0.09;
          y = 0.11;
          w = 0.2;
          h = 0.04;
          text = "EQUIP WEAPONS";
          action = "[vehicle player] exec ""loadweps.sqs""";
  };
  class fz_f18_rearmcn : RscButton
  {
          idc = 100;
          x = 0.09;
          y = 0.16;
          w = 0.2;
          h = 0.04;
          text = "RELOAD CANNON";
          action = "[vehicle player] exec ""\fz_f18\gui\reloadgun.sqs""";
  };
  class fz_f18_repairrefuel : RscButton
  {
          idc = 100;
          x = 0.09;
          y = 0.21;
          w = 0.2;
          h = 0.04;
          text = "REPAIR AND REFUEL";
          action = "[vehicle player] exec ""\fz_f18\gui\repairrefuel.sqs""";
  };
  class fz_f18_ldaim120c : RscButton
  {
          idc = 100;
          x = 0.28;
          y = 0.61;
          w = 0.15;
          h = 0.04;
          text = "CAS";
          action = "lbSetCurSel [102, 12] && lbSetCurSel [103, 8] && lbSetCurSel [104, 2] && lbSetCurSel [105, 1] && lbSetCurSel [106, 1] && lbSetCurSel [107, 1] && lbSetCurSel [108, 3]";
  };
  class fz_f18_ldaim7m : RscButton
  {
          idc = 100;
          x = 0.465;
          y = 0.61;
          w = 0.15;
          h = 0.04;
          text = "CAP";
          action = "lbSetCurSel [102, 9] && lbSetCurSel [103, 1] && lbSetCurSel [104, 9] && lbSetCurSel [105, 1] && lbSetCurSel [106, 1] && lbSetCurSel [107, 1] && lbSetCurSel [108, 1]";
  };
  class fz_f18_ldaim9x : RscButton
  {
          idc = 100;
          x = 0.65;
          y = 0.61;
          w = 0.15;
          h = 0.04;
          text = "Strike";
          action = "lbSetCurSel [102, 9] && lbSetCurSel [103, 7] && lbSetCurSel [104, 9] && lbSetCurSel [105, 1] && lbSetCurSel [106, 1] && lbSetCurSel [107, 1] && lbSetCurSel [108, 3]";
  };
  class fz_f18_ldagm65e : RscButton
  {
          idc = 100;
          x = 0.65;
          y = 0.655;
          w = 0.15;
          h = 0.04;
          text = "Extended Strike";
          action = "lbSetCurSel [102, 9] && lbSetCurSel [103, 12] && lbSetCurSel [104, 8] && lbSetCurSel [105, 1] && lbSetCurSel [106, 1] && lbSetCurSel [107, 1] && lbSetCurSel [108, 3]";
  };
  class fz_f18_ldagm88 : RscButton
  {
          idc = 100;
          x = 0.465;
          y = 0.655;
          w = 0.15;
          h = 0.04;
          text = "Extended CAP";
          action = "lbSetCurSel [102, 9] && lbSetCurSel [103, 12] && lbSetCurSel [104, 9] && lbSetCurSel [105, 1] && lbSetCurSel [106, 1] && lbSetCurSel [107, 1] && lbSetCurSel [108, 1]";
  };
  class fz_f18_ldagm154a : RscButton
  {
          idc = 100;
          x = 0.28;
          y = 0.655;
          w = 0.15;
          h = 0.04;
          text = "Tanker";
          action = "[vehicle player] exec ""tankercheck.sqs""";
  };
  class fz_f18_ldgbu10 : RscCombo
  {
        idc = 114;
        x = 0.61;
        y = 0.7;
        w = 0.15;
        h = 0.04;
  	style = ST_CENTER;
  	colorText[] = {0.92, 0.73, 0, 1};
  	colorBackground[] = {0, 0, 0.4, 0.8};
 	font = "Zeppelin32";
  	SizeEX = 0.025;
  	colorSelect[] = {0, 0, 0.8, 1};
  	colorSelectBackGround[] = {0.6, 0.1, 0, 0.7};
  	RowHeight = 0.04;
 	wholeHeight = 0.3;
	text="";
  };
  class fz_f18_loadout_back : RscText
  {
    idc = 101;
    style = ST_PICTURE;
     x = 0.075;
     y = 0.075;
     w = 0.75;
     h = 0.9;
    text = "\fz_f18\gui\f18_loadout.jpg";
  };
  class fz_f18_ld_aim120c : RscText
  {
    idc = 115;
    style = ST_PICTURE;
     x = 0.09;
     y = 0.59;
     w = 0.15;
     h = 0.38;
    text = "\fz_f18\gui\nodata.jpg";
  };
  class fz_f18_ld_dsp : RscBlueText
  {
    idc = 116;
    style = 16;
	linespacing = 1;
     x = 0.27;
     y = 0.77;
     w = 0.5;
     h = 0.2;
    colorText[] = {0, 0.5, 1, 1};
    sizeEx = 0.025;
    text = "Please select a weapon for more information.";
  };
  class fz_f18_cn_dsp : RscYellowText
  {
    idc = 120;
    style = 16;
          x = 0.395;
          y = 0.105;
          w = 0.2;
          h = 0.04;
    text = "578";
  };
  class fz_f18_fuel_dsp : RscYellowText
  {
    idc = 121;
    style = 16;
          x = 0.595;
          y = 0.2;
          w = 0.2;
          h = 0.04;
    text = "100%";
  };
  class fz_f18_dmg_dsp : RscYellowText
  {
    idc = 122;
    style = 16;
          x = 0.595;
          y = 0.24;
          w = 0.2;
          h = 0.04;
    text = "100%";
  };
  class fz_f18_wpnsts_dsp : RscYellowText
  {
    idc = 123;
    style = 16;
          x = 0.6;
          y = 0.1;
          w = 0.2;
          h = 0.04;
    text = "WAITING";
  };
  class fz_f18_hardpoint7 : RscCombo
  {
  	x = 0.398;
  	y = 0.45;
  	idc = 102;
  	w = 0.1;
  	h = 0.03255;
  	style = ST_CENTER;
  	colorText[] = {0.92, 0.73, 0, 1};
  	colorBackground[] = {0, 0, 0.4, 0.8};
 	font = "Zeppelin32";
  	SizeEX = 0.025;
  	colorSelect[] = {0, 0, 0.8, 1};
  	colorSelectBackGround[] = {0.6, 0.1, 0, 0.7};
  	RowHeight = 0.04;
 	wholeHeight = 0.3;
	text="";
  };
  class fz_f18_hardpoint2 : RscCombo
  {
  	x = 0.398;
  	y = 0.49;
  	idc = 103;
  	w = 0.1;
  	h = 0.03255;
  	style = ST_CENTER;
  	colorText[] = {0.92, 0.73, 0, 1};
  	colorBackground[] = {0, 0, 0.4, 0.8};
	font = "Zeppelin32";
  	SizeEX = 0.025;
  	colorSelect[] = {0, 0, 0.8, 1};
  	colorSelectBackGround[] = {0.6, 0.1, 0, 0.7};
  	RowHeight = 0.04;
 	wholeHeight = 0.3;
	text="";
  };
  class fz_f18_hardpoint3 : RscCombo
  {
  	x = 0.398;
  	y = 0.53;
  	idc = 104;
  	w = 0.1;
  	h = 0.03255;
  	style = ST_CENTER;
  	colorText[] = {0.92, 0.73, 0, 1};
  	colorBackground[] = {0, 0, 0.4, 0.8};
 	font = "Zeppelin32";
  	SizeEX = 0.025;
  	colorSelect[] = {0, 0, 0.8, 1};
  	colorSelectBackGround[] = {0.6, 0.1, 0, 0.7};
  	RowHeight = 0.04;
 	wholeHeight = 0.3;
	text="";
  };
  class fz_f18_hardpoint4 : RscCombo
  {
  	x = 0.398;
  	y = 0.57;
  	idc = 105;
  	w = 0.1;
  	h = 0.03255;
  	style = ST_CENTER;
  	colorText[] = {0.92, 0.73, 0, 1};
  	colorBackground[] = {0, 0, 0.4, 0.8};
 	font = "Zeppelin32";
  	SizeEX = 0.025;
  	colorSelect[] = {0, 0, 0.8, 1};
  	colorSelectBackGround[] = {0.6, 0.1, 0, 0.7};
  	RowHeight = 0.04;
 	wholeHeight = 0.3;
	text="";
  };
  class fz_f18_hardpoint1 : RscCombo
  {
  	x = 0.398;
  	y = 0.36;
  	idc = 106;
  	w = 0.1;
  	h = 0.03255;
  	style = ST_CENTER;
  	colorText[] = {0.92, 0.73, 0, 1};
  	colorBackground[] = {0, 0, 0.4, 0.8};
 	font = "Zeppelin32";
  	SizeEX = 0.025;
  	colorSelect[] = {0, 0, 0.8, 1};
  	colorSelectBackGround[] = {0.6, 0.1, 0, 0.7};
  	RowHeight = 0.04;
 	wholeHeight = 0.3;
	text="";
  };
  class fz_f18_hardpoint5 : RscCombo
  {
  	x = 0.337;
  	y = 0.408;
  	idc = 107;
  	w = 0.1;
  	h = 0.03255;
  	style = ST_CENTER;
  	colorText[] = {0.92, 0.73, 0, 1};
  	colorBackground[] = {0, 0, 0.4, 0.8};
 	font = "Zeppelin32";
  	SizeEX = 0.025;
  	colorSelect[] = {0, 0, 0.8, 1};
  	colorSelectBackGround[] = {0.6, 0.1, 0, 0.7};
  	RowHeight = 0.04;
 	wholeHeight = 0.3;
	text="";
  };
  class fz_f18_hardpoint6 : RscCombo
  {
  	x = 0.461;
  	y = 0.408;
  	idc = 108;
  	w = 0.1;
  	h = 0.03255;
  	style = ST_CENTER;
  	colorText[] = {0.92, 0.73, 0, 1};
  	colorBackground[] = {0, 0, 0.4, 0.8};
 	font = "Zeppelin32";
  	SizeEX = 0.025;
  	colorSelect[] = {0, 0, 0.8, 1};
  	colorSelectBackGround[] = {0.6, 0.1, 0, 0.7};
  	RowHeight = 0.04;
 	wholeHeight = 0.3;
	text="";
  };
  class fz_f18_closemenu_button : RscButton
  {
          idc = 110;
          x = 0.6;
          y = 0.15;
          w = 0.2;
          h = 0.04;
          text = "Close Menu";
          action = "[vehicle player] exec ""closemenu.sqs""";
  };
class fz_f18e_frame : RscText
  {
     idc = 111;
     style = ST_FRAME;
     colorText[] = {0.4, 0.4, 0.4, 1};
     text = "ARMAMENT";
     sizeEx = 0.025;
     x = 0.08;
     y = 0.075;
     w = 0.745;
     h = 0.9;
  };
};