From e670b4ed55c459a21090bd0178ceaaaf12d87989 Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:58:31 +0300 Subject: init --- Rsc/Dialogs.hpp | 3785 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 3785 insertions(+) create mode 100644 Rsc/Dialogs.hpp (limited to 'Rsc/Dialogs.hpp') diff --git a/Rsc/Dialogs.hpp b/Rsc/Dialogs.hpp new file mode 100644 index 0000000..c758c4e --- /dev/null +++ b/Rsc/Dialogs.hpp @@ -0,0 +1,3785 @@ +/* Dialogs */ + +#ifndef VANILLA + #define gearmenu "_this ExecVM 'Client\GUI\GUI_GearBeta.sqf'" +#else + #define gearmenu "_this ExecVM 'Client\GUI\GUI_GearV.sqf'" +#endif + +//--- Voting Menu. | ALL DONE! +class RscMenu_Voting { + movingEnable = 1; + idd = 10001; + onLoad = "ExecVM ""Client\GUI\GUI_Menu_Voting.sqf"""; + + class controlsBackground { + class Background_M : RscText { + x = 0.281402; + y = 0.0981439; + w = 0.437534; + h = 0.802989; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = 0.281402; + y = 0.0981439; + w = 0.437534; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.281402; + y = 0.8486329; + w = 0.437534; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.281402; + y = 0.1496439; + w = 0.437534; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class VotingTitle : RscText_Title { + idc = 10003; + x = 0.287202; + y = 0.105539; + w = 0.44; + text = $STR_WF_VOTING_Title; + }; + class Players : RscListBox { + idc = 10006; + x = 0.281402; + y = 0.15834; + w = 0.438195; + h = 0.643406; + columns[] = {0.0, 0.3}; + rows = 10; + rowHeight = 0.025; + lineSpacing = 1; + sizeEx = 0.035; + }; + class MostVotesText : RscText_SubTitle { + idc = 10007; + x = 0.286361; + y = 0.806289; + w = 0.434; + }; + class VoteTime : RscText_SubTitle { + idc = 10008; //---NEW IDC IN GUI_MENU_VOTING.SQF + x = 0.27964; + y = 0.10489; + w = 0.434; + style = ST_RIGHT; + }; + // class VPOPON_Button : RscButton { + // idc = 10009; //---NEW IDC IN GUI_MENU_VOTING.SQF + // x = 0.287539; + // y = 0.857947; + // w = 0.127058; + // text = ""; + // action = "MenuAction = 13"; + // } + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.67258; + y = 0.854106; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- Main Menu. | ALL DONE! +class WF_Menu { + movingEnable = 1; + idd = 11000; + onLoad = "ExecVM ""Client\GUI\GUI_Menu.sqf"""; + + class controlsBackground { + class Background_M : RscText { + x = 0.17467; + y = 0.186955; + w = 0.65066; + h = 0.63192; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = 0.17467; + y = 0.186955; + w = 0.65066; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.17467; + y = 0.766375; + w = 0.65066; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.17467; + y = 0.238455; + w = 0.65066; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class Button_A : RscShortcutButtonMain { + idc = 11001; + x = 0.17598; + y = 0.250358; + w = 0.313727; + h = 0.104575; + text = $STR_WF_MAIN_Purchase_Units; + tooltip = $STR_WF_TOOLTIP_MainMenu_Purchase_Units; + action = "MenuAction = 1"; + }; + class Button_B : RscShortcutButtonMain { + idc = 11002; + x = 0.17598; + y = 0.35116; + w = 0.313727; + h = 0.104575; + text = $STR_WF_MAIN_Purchase_Gear; + tooltip = $STR_WF_TOOLTIP_MainMenu_Purchase_Gear; + action = "MenuAction = 2"; + }; + class Button_C : RscShortcutButtonMain { + idc = 11003; + x = 0.17598; + y = 0.451959; + w = 0.313727; + h = 0.104575; + text = $STR_WF_MAIN_TeamMenu; + tooltip = $STR_WF_TOOLTIP_MainMenu_TeamMenu; + action = "MenuAction = 3"; + }; + class Button_D : RscShortcutButtonMain { + idc = 11004; + x = 0.510943; + y = 0.65356; + w = 0.313727; + h = 0.104575; + text = $STR_WF_MAIN_VotingMenu; + tooltip = $STR_WF_TOOLTIP_MainMenu_VoteForCommander; + action = "MenuAction = 4"; + }; + class Button_E : RscShortcutButtonMain { + idc = 11005; + x = 0.510943; + y = 0.250358; + w = 0.313727; + h = 0.104575; + text = $STR_WF_MAIN_CommandMenu; + tooltip = $STR_WF_TOOLTIP_CommandMenu_Commandteam; + action = "MenuAction = 5"; + }; + class Button_F : RscShortcutButtonMain { + idc = 11006; + x = 0.17598; + y = 0.55276; + w = 0.313727; + h = 0.104575; + text = $STR_WF_MAIN_TacticalMenu; + tooltip = $STR_WF_TOOLTIP_CommandMenu_SpecialMenu; + action = "MenuAction = 6"; + }; + class Button_G : RscShortcutButtonMain { + idc = 11007; + x = 0.510943; + y = 0.451959; + w = 0.313727; + h = 0.104575; + text = $STR_WF_MAIN_UpgradeMenu; + tooltip = $STR_WF_TOOLTIP_CommandMenu_Upgrade_Menu; + action = "MenuAction = 7"; + }; + class Button_H : RscShortcutButtonMain { + idc = 11008; + x = 0.510943; + y = 0.35116; + w = 0.313727; + h = 0.104575; + text = $STR_WF_MAIN_EconomyMenu; + tooltip = $STR_WF_TOOLTIP_CommandMenu_Commander_Menu; + action = "MenuAction = 8"; + }; + class Button_I : RscShortcutButtonMain { + idc = 11009; + x = 0.17598; + y = 0.65356; + w = 0.313727; + h = 0.104575; + text = $STR_WF_SupportMenu; + tooltip = $STR_WF_TOOLTIP_CommandMenu_SupportMenu; + action = "MenuAction = 9"; + }; + class TitleMenu: RscText_Title { + idc = 11015; + x = 0.178164; + y = 0.19379; + w = 0.800001; + sizeEx = 0.035; + }; + class CA_PA_Button : RscClickableText { + idc = 11012; + x = 0.776399; + y = 0.191982; + w = 0.04; + h = 0.04; + text = "\ca\ui\data\iconvehicle_ca.paa"; + action = "MenuAction = 12"; + tooltip = $STR_WF_TOOLTIP_Parameter; + }; + class CA_UN_Button : RscClickableText { + idc = 11013; + x = 0.194088; + y = 0.767144; + w = 0.045; + h = 0.045; + text = "\ca\ui\data\stats_soft_ca.paa"; + action = "MenuAction = 10"; + tooltip = $STR_WF_TOOLTIP_Unflip; + }; + class CA_HB_Button : RscClickableText { + idc = 11014; + x = 0.265514; + y = 0.766938; + w = 0.045; + h = 0.045; + text = "\ca\ui\data\editor_2d_camera_ca.paa"; + action = "MenuAction = 11"; + tooltip = $STR_WF_TOOLTIP_HeadBugFix; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.778103; + y = 0.769671; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- Team Menu. | ALL DONE! +class RscMenu_Team { + movingEnable = 1; + idd = 13000; + onLoad = "_this ExecVM ""Client\GUI\GUI_Menu_Team.sqf"""; + + class controlsBackground { + class Background_M : RscText { + x = 0.187276; + y = 0.200401; + w = 0.625448; + h = 0.599268; + colorBackground[] = WFBE_Background_Color; + moving = 1; + }; + class Background_H : RscText { + x = 0.187276; + y = 0.200401; + w = 0.625448; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.187276; + y = 0.747169; + w = 0.625448; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.187276; + y = 0.251901; + w = 0.625448; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class Title_TeamMenu : RscText_Title { + idc = 13001; + x = 0.192941; + y = 0.206879; + w = 0.3; + text = $STR_WF_MAIN_TeamMenu; + }; + /* Video */ + class Video_Subtitle : RscText_SubTitle { + idc = 13101; + x = 0.19634; + y = 0.265506; + w = 0.3; + text = $STR_WF_TEAM_VideoOptionsLabel; + }; + class CA_VD_Label : RscText { + idc = 13002; + x = 0.197022; + y = 0.314747; + w = 0.3; + }; + class CA_VD_Slider : RscXSliderH { + idc = 13003; + x = 0.513947; + y = 0.31565; + w = 0.279999; + h = 0.029412; + }; + class CA_TG_Label : RscText { + idc = 13004; + x = 0.197022; + y = 0.35722; + w = 0.3; + }; + class CA_TG_Slider : RscXSliderH { + idc = 13005; + x = 0.514313; + y = 0.363086; + w = 0.279999; + h = 0.029412; + }; + /* Transfer */ + class CA_Transfer_SubTitle : RscText_SubTitle { + idc = 13012; + x = 0.19634; + y = 0.465507; + w = 0.3; + text = $STR_WF_TEAM_MoneyTransferLabel; + }; + class CA_TM_Label : RscText { + idc = 13006; + x = 0.196002; + y = 0.57032; + w = 0.3; + }; + class CA_TM_Slider : RscXSliderH { + idc = 13007; + x = 0.513947; + y = 0.517846; + w = 0.279999; + h = 0.029412; + }; + class CA_TM_Combo : RscCombo { + idc = 13008; + x = 0.202366; + y = 0.517987; + w = 0.279999; + h = 0.035; + }; + class CA_TM_Button : RscButton { + idc = 13009; + x = 0.513949; + y = 0.572956; + w = 0.279999; + text = $STR_WF_TEAM_TransferButton; + action = "MenuAction = 1"; + }; + class CA_IC_SubTitle : RscText_SubTitle { + idc = 13010; + x = 0.380877; + y = 0.20787; + w = 0.426891; + style = ST_RIGHT; + }; + /* Disband */ + class CA_Disband_SubTitle : RscText_SubTitle { + idc = 13011; + x = 0.19532; + y = 0.642376; + w = 0.3; + text = $STR_WF_TEAM_DisbandLabel; + }; + class CA_DB_Combo : RscCombo { + idc = 13013; + x = 0.202364; + y = 0.691727; + w = 0.279999; + h = 0.035; + }; + class CA_DB_Button : RscButton { + idc = 13014; + x = 0.513951; + y = 0.691511; + w = 0.279999; + text = $STR_WF_TEAM_DisbandButton; + action = "MenuAction = 3"; + }; + /* FX */ + class CA_FX_Label : RscText { + idc = 13015; + x = 0.19634; + y = 0.405641; + w = 0.3; + text = $STR_WF_TEAM_GraphicFilterLabel; + }; + class CA_FX_Combo : RscCombo { + idc = 13018; + x = 0.514313; + y = 0.406464; + w = 0.0999999; + h = 0.035; + onLBSelChanged = "MenuAction = 6"; + }; + /* Vote PopUp */ + class VPOPON_Button : RscButton { + idc = 13019; + x = 0.203; + y = 0.755; + w = 0.279; + text = ""; + action = "MenuAction = 13"; + } + /* Seperator */ + class Line_TRH1 : RscText { + x = 0.192941; + y = 0.455916; + w = 0.614486; + h = WFBE_SPT1; + colorBackground[] = WFBE_SPC1; + }; + class Line_TRH2 : RscText { + x = 0.192941; + y = 0.629907; + w = 0.614486; + h = WFBE_SPT1; + colorBackground[] = WFBE_SPC1; + }; + /* Back */ + class Back_Button : RscButton_Back { + x = 0.704632; + y = 0.753185; + action = "MenuAction = 8"; + tooltip = $STR_WF_TOOLTIP_BackButton; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.766877; + y = 0.753185; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- BuyUnits Menu. | ALL DONE! +class RscMenu_BuyUnits { + movingEnable = 1; + idd = 12000; + onLoad = "_this ExecVM ""Client\GUI\GUI_Menu_BuyUnits.sqf"""; + + class controlsBackground { + class Background_M : RscText { + x = -0.000119045; + y = 0.000960164; + w = 1.00024; + h = 1.00046; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = -0.000119045; + y = 0.000960164; + w = 1.00024; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = -0.000119045; + y = 0.948079045; + w = 1.00024; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = -0.000119045; + y = 0.051619045; + w = 1.00024; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + /* Controls */ + class CA_BuyList : RscListBoxA { + idc = 12001; + x = 0.000983551; + y = 0.184483; + w = 0.493697; + h = 0.493299; + columns[] = {0.01, 0.19, 0.75}; + drawSideArrows = 0; + idcRight = -1; + idcLeft = -1; + + onLBSelChanged = "MenuAction = 302"; + onLBDblClick = "MenuAction = 1"; + }; + class CA_Purchase : RscButton { + idc = 12002; + x = 0.688983; + y = 0.956626; + w = 0.12; + text = $STR_WF_Purchase; + action = "MenuAction = 1"; + }; + class Title_BuyUnits : RscText_Title { + idc = 12004; + x = 0.00477695; + y = 0.00775912; + w = 0.3; + text = $STR_WF_MAIN_Purchase_Units; + }; + /* Factory-Picture */ + class WF_Con1 : RscClickableText { + idc = 12005; + x = 0.499874; + y = 0.0612043; + w = 0.072; + h = 0.072; + text = "\CA\warfare2\Images\con_barracks.paa"; + tooltip = $STR_WF_TOOLTIP_UnitPurchase_Con1; + action = "MenuAction = 101"; + }; + class WF_Con2 : WF_Con1 { + idc = 12006; + x = 0.585001; + text = "\CA\warfare2\Images\con_light.paa"; + tooltip = $STR_WF_TOOLTIP_UnitPurchase_Con2; + action = "MenuAction = 102"; + }; + class WF_Con3 : WF_Con1 { + idc = 12007; + x = 0.670123; + text = "\CA\warfare2\Images\con_heavy.paa"; + tooltip = $STR_WF_TOOLTIP_UnitPurchase_Con3; + action = "MenuAction = 103"; + }; + class WF_Con4 : WF_Con1 { + idc = 12008; + x = 0.753571; + text = "\CA\warfare2\Images\con_aircraft.paa"; + tooltip = $STR_WF_TOOLTIP_UnitPurchase_Con4; + action = "MenuAction = 104"; + }; + class WF_Con7 : WF_Con1 { + idc = 12021; + x = 0.838699; + text = "\CA\warfare2\Images\con_airport.paa"; + tooltip = $STR_WF_TOOLTIP_UnitPurchase_Con5; + action = "MenuAction = 106"; + }; + class WF_Con5 : WF_Con1 { + idc = 12020; + x = 0.923826; + text = "Client\Images\con_depot.paa"; + tooltip = $STR_WF_TOOLTIP_UnitPurchase_Con6; + action = "MenuAction = 105"; + }; + /**/ + class CA_Portrait : RscPicture { + idc = 12009; + x = 0.00434637; + y = 0.726386; + w = 0.186974; + h = 0.219467; + style = 0x30 + 0x800; + }; + /* Vehicle-Crew */ + class WF_Lock : RscClickableText { + idc = 12023; + x = 0.443363; + y = 0.128362; + w = 0.05; + h = 0.05; + text = "Client\Images\i_lock.paa"; + tooltip = $STR_WF_TOOLTIP_Buy_Locked; + action = "MenuAction = 401"; + }; + class WF_Driver : WF_Lock { + idc = 12012; + x = 0.242185; + text = "Client\Images\i_driver.paa"; + tooltip = $STR_WF_TOOLTIP_Buy_Driver; + action = "MenuAction = 201"; + }; + class WF_Gunner : WF_Lock { + idc = 12013; + x = 0.292267; + text = "Client\Images\i_gunner.paa"; + tooltip = $STR_WF_TOOLTIP_Buy_Gunner; + action = "MenuAction = 202"; + }; + class WF_Commander : WF_Lock { + idc = 12014; + x = 0.343194; + text = "Client\Images\i_commander.paa"; + tooltip = $STR_WF_TOOLTIP_Buy_Commander; + action = "MenuAction = 203"; + }; + class WF_Extra : WF_Lock { + idc = 12041; + x = 0.393278; + text = "Client\Images\i_extra.paa"; + tooltip = $STR_WF_TOOLTIP_Buy_Extra; + action = "MenuAction = 204"; + }; + /**/ + class WF_MiniMap : RscMapControl { + idc = 12015; + x = 0.5; + y = 0.185168; + w = 0.499378; + h = 0.493457; + ShowCountourInterval = 1; + }; + class CA_Factory_Label : RscText { + idc = 12016; + x = 0.5; + y = 0.140446; + w = 0.3; + text = $STR_WF_UNITS_Factory; + sizeEx = 0.035; + }; + class CA_Combo_Factory : RscCombo { + idc = 12018; + x = 0.626048; + y = 0.140446; + w = 0.368908; + h = 0.037; + onLBSelChanged = "MenuAction = 301"; + }; + class CA_Cash_SubTitle : RscText_SubTitle { + idc = 12019; + x = 0.694657; + y = 0.007759; + w = 0.3; + style = ST_RIGHT; + }; + class CA_Details : RscStructuredText { + idc = 12022; + x = 0.5; + y = 0.699494; + w = 0.500294; + h = 0.242927; + size = 0.0250; + }; + class CA_Queu_SubTitle : RscText_SubTitle { + idc = 12024; + x = 0.350419; + y = 0.00775906; + w = 0.3; + style = ST_CENTER; + }; + class CA_Faction_Label : RscText { + idc = 12025; + x = 0.000797182; + y = 0.062964; + w = 0.3; + sizeEx = 0.035; + }; + class CA_Combo_Faction : RscCombo { + idc = 12026; + x = 0.218874; + y = 0.0652035; + w = 0.261343; + h = 0.035; + onLBSelChanged = "MenuAction = 303"; + }; + /* Info-Labels */ + class CA_Faction_Small : RscText_Small { + idc = 12027; + x = 0.194959; + y = 0.692771; + w = 0.3; + h = 0.037; + text = $STR_WF_UNITS_FactionLabel; + }; + class CA_Price_Small : CA_Faction_Small { + idc = 12010; + x = 0.194959; + y = 0.730336; + text = $STR_WF_Price; + }; + class CA_Time_Small : CA_Faction_Small { + idc = 12028; + x = 0.194957; + y = 0.76566; + text = $STR_WF_UNITS_DurationLabel; + }; + class CA_Skill_Small : CA_Faction_Small { + idc = 12029; + x = 0.194959; + y = 0.803222; + text = $STR_WF_UNITS_SkillLabel; + }; + class CA_TransportCapacity_Small : CA_Faction_Small { + idc = 12030; + x = 0.194959; + y = 0.838545; + text = $STR_WF_UNITS_TransportCabilityLabel; + }; + class CA_MaxSpeed_Small : CA_Faction_Small { + idc = 12031; + x = 0.194959; + y = 0.876108; + text = $STR_WF_UNITS_MaxSpeedLabel; + }; + class CA_Armor_Small : CA_Faction_Small { + idc = 12032; + x = 0.194959; + y = 0.911431; + text = $STR_WF_UNITS_ArmorLabel; + }; + /* Info-Values */ + class CA_Faction_Value : RscText_Small { + idc = 12033; + x = 0.305041; + y = 0.692773; + w = 0.19; + h = 0.037; + style = 1; + }; + class CA_Price_Value : CA_Faction_Value { + idc = 12034; + x = 0.305042; + y = 0.730336; + colorText[] = {1, 0, 0, 1}; + }; + class CA_Time_Value : CA_Faction_Value { + idc = 12035; + x = 0.305041; + y = 0.765659; + }; + class CA_Skill_Value : CA_Faction_Value { + idc = 12036; + x = 0.305041; + y = 0.803222; + }; + class CA_TransportCapacity_Value : CA_Faction_Value { + idc = 12037; + x = 0.305042; + y = 0.838545; + }; + class CA_MaxSpeed_Value : CA_Faction_Value{ + idc = 12038; + x = 0.305041; + y = 0.876109; + }; + class CA_Armor_Value : CA_Faction_Value { + idc = 12039; + x = 0.30504; + y = 0.911432; + }; + /**/ + class CA_Unit_SubTitle : RscText_SubTitle { + idc = 12040; + x = 0.000575542; + y = 0.686365; + w = 0.3; + text = $STR_WF_UNITS_InformationLabel; + }; + /* Seperator */ + class LineTRH1 : RscText { + x = 0.00470637; + y = 0.685127; + w = 0.990954; + h = WFBE_SPT1; + colorBackground[] = WFBE_SPC1; + }; + /* Back */ + class Back_Button : RscButton_Back { + x = 0.892748; + y = 0.953506; + action = "MenuAction = 2"; + tooltip = $STR_WF_TOOLTIP_BackButton; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.953972; + y = 0.953506; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- Command Menu. | ALL DONE! +class RscMenu_Command { + movingEnable = 1; + idd = 14000; + onLoad = "_this ExecVM 'Client\GUI\GUI_Menu_Command.sqf'"; + + class controlsBackground { + class Background_M : RscText { + x = 0.000960961; + y = 0.00128184; + w = 0.999761; + h = 1.00023; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = 0.000960961; + y = 0.00128184; + w = 0.999761; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.000960961; + y = 0.94901184; + w = 0.999761; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.000960961; + y = 0.05278184; + w = 0.999761; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class WF_MiniMap : RscMapControl { + idc = 14002; + x = 0.468907; + y = 0.0563169; + w = 0.532152; + h = 0.892336; + ShowCountourInterval = 1; + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseButtonDown = "mouseButtonDown = _this Select 1"; + onMouseButtonUp = "mouseButtonUp = _this Select 1"; + }; + class Title_OrderMenu : RscText_Title { + idc = 14003; + x = 0.00561695; + y = 0.00775909; + w = 0.3; + text = $STR_WF_MAIN_CommandMenu; + }; + class CA_TakeTowns : RscButton { + idc = 14005; + x = 0.0057147; + y = 0.423585; + w = 0.22; + text = $STR_WF_COMMAND_TakeTowns; + action = "MenuAction = 101"; + }; + class CA_Move : CA_TakeTowns { + idc = 14006; + x = 0.00487578; + y = 0.473669; + text = $STR_WF_COMMAND_Move; + action = "MenuAction = 102"; + + /* spezial */ + colorBackground[] = {0.5882, 0.5882, 0.3529, 0.7}; + colorBackgroundActive[] = {0.5882, 0.5882, 0.3529, 1}; + colorFocused[] = {0.5882, 0.5882, 0.3529, 1}; + }; + class CA_Patrol : CA_TakeTowns { + idc = 14007; + x = 0.24437; + y = 0.424035; + text = $STR_WF_COMMAND_Patrol; + action = "MenuAction = 103"; + + /* spezial */ + colorBackground[] = {0.5882, 0.5882, 0.3529, 0.7}; + colorBackgroundActive[] = {0.5882, 0.5882, 0.3529, 1}; + colorFocused[] = {0.5882, 0.5882, 0.3529, 1}; + }; + class CA_Defend : CA_TakeTowns { + idc = 14008; + x = 0.24353; + y = 0.472995; + text = $STR_WF_COMMAND_Defense; + action = "MenuAction = 104"; + + /* spezial */ + colorBackground[] = {0.5882, 0.5882, 0.3529, 0.7}; + colorBackgroundActive[] = {0.5882, 0.5882, 0.3529, 1}; + colorFocused[] = {0.5882, 0.5882, 0.3529, 1}; + }; + /**/ + class CA_BuyType_Label : RscText { + idc = 14009; + x = -0.000420049; + y = 0.752941; + w = 0.17; + text = $STR_WF_COMMAND_BuyType; + }; + class CA_BuyType_Combo : RscCombo { + idc = 14010; + x = 0.162328; + y = 0.755179; + w = 0.302101; + h = 0.035; + }; + class CA_Respawn : RscButton { + idc = 14011; + x = 0.631344; + y = 0.957504; + w = 0.23; + text = $STR_WF_COMMAND_RespawnButton; + action = "MenuAction = 201"; + }; + class CA_TeamList : RscListBox { + idc = 14012; + x = 0.00518636; + y = 0.178967; + w = 0.459244; + h = 0.229759; + rowHeight = 0.0219091; + sizeEx = 0.03; + style = 0x20;//--- MultiSelect LB. + onLBSelChanged = "MenuAction = 1"; + onLBDblClick = "MenuAction = 2"; + }; + class CA_Mission_Type : RscText { + idc = 14013; + x = 0.000842094; + y = 0.142566; + w = 0.3; + }; + class CA_AutoAIOn : RscButton { + idc = 14014; + x = 0.00470574; + y = 0.957504; + w = 0.3; + text = $STR_WF_COMMAND_AutoAI; + action = "MenuAction = 301"; + }; + class CA_AutoAIOff : CA_AutoAIOn { + idc = 14015; + x = 0.318572; + text = $STR_WF_COMMAND_AutoAIOff; + action = "MenuAction = 301"; + }; + class CA_SetBuy : RscButton { + idc = 14016; + x = 0.0440367; + y = 0.801901; + w = 0.42; + text = $STR_WF_COMMAND_SetBuyType; + action = "MenuAction = 302"; + }; + /**/ + class CA_Behavior_Combo : RscCombo { + idc = 14017; + x = 0.214428; + y = 0.531822; + w = 0.25; + h = 0.035; + }; + class CA_Combat_Combo : CA_Behavior_Combo { + idc = 14018; + x = 0.214428; + y = 0.572941; + }; + class CA_Formation_Combo : CA_Behavior_Combo { + idc = 14019; + x = 0.214428; + y = 0.614061; + }; + class CA_Speed_Combo : CA_Behavior_Combo { + idc = 14020; + x = 0.214428; + y = 0.656302; + }; + /**/ + class CA_Behavior_Label : RscText { + idc = 14021; + x = -0.000420049; + y = 0.52958; + w = 0.17; + text = $STR_WF_COMMAND_Behavior; + }; + class CA_Combat_Label : CA_Behavior_Label { + idc = 14022; + x = -0.000420049; + y = 0.5707; + text = $STR_WF_COMMAND_CombatMode; + }; + class CA_Formation_Label : CA_Behavior_Label { + idc = 14031; + x = -0.000420049; + y = 0.61182; + text = $STR_WF_COMMAND_Formation; + }; + class CA_Speed_Label : CA_Behavior_Label { + idc = 14023; + x = -0.000420049; + y = 0.654061; + text = $STR_WF_COMMAND_Speed; + }; + class CA_SetToTeam : RscButton { + idc = 14024; + x = 0.0440339; + y = 0.703026; + w = 0.42; + text = $STR_WF_COMMAND_SetTeamProperties; + action = "MenuAction = 303"; + }; + class CA_Respawn_Combo : RscCombo { + idc = 14025; + x = 0.160647; + y = 0.855182; + w = 0.303781; + h = 0.035; + onLBSelChanged = "MenuAction = 305"; + }; + class CA_Respawn_Label : CA_Behavior_Label { + idc = 14026; + x = -0.000420049; + y = 0.852941; + text = $STR_WF_COMMAND_Respawn; + }; + class CA_SetRespawn : RscButton { + idc = 14027; + x = 0.0440337; + y = 0.900783; + w = 0.42; + text = $STR_WF_COMMAND_SetRespawn; + action = "MenuAction = 304"; + }; + class CA_Funds_Label : RscText { + idc = 14028; + x = 0.168488; + y = 0.142689; + w = 0.3; + style = ST_RIGHT; + }; + class CA_Tab_Label : RscText_SubTitle { + idc = 14030; + x = 0.335; + y = 0.0107146; + w = 0.3; + style = ST_CENTER; + text = $STR_WF_COMMAND_SquadSettingsLabel; + }; + class CA_SetTask : RscButton { + idc = 14032; + x = 0.0440328; + y = 0.621904; + w = 0.42; + text = $STR_WF_COMMAND_TaskTO_Set; + action = "MenuAction = 306"; + + /* spezial */ + colorBackground[] = {0.5882, 0.5882, 0.3529, 0.7}; + colorBackgroundActive[] = {0.5882, 0.5882, 0.3529, 1}; + colorFocused[] = {0.5882, 0.5882, 0.3529, 1}; + }; + /* HQ Team units details */ + class CA_UnitsDetailList : RscListBoxA { + idc = 14041; + x = 0.00518636; + y = 0.527339; + w = 0.463445; + h = 0.366386; + columns[] = {0.01, 0.19}; + drawSideArrows = 0; + idcRight = -1; + idcLeft = -1; + rowHeight = 0.05; + sizeEx = 0.023; + onLBSelChanged = "MenuAction = 401"; + onLBDblClick = "MenuAction = 3"; + + /* spezial */ + colorText[] = {0, 0.875, 0, 0.8}; + colorSelect[] = {0, 0.875, 0, 0.8}; + colorSelect2[] = {0, 0.875, 0, 0.8}; + /* extra */ + colorSelectBackground[] = {0, 0, 0, 0.5}; + colorSelectBackground2[] = {0, 0, 0, 0.5}; + }; + class CA_FUnflip : RscButton { + idc = 14042; + x = 0.24384; + y = 0.900286; + w = 0.22; + text = $STR_WF_COMMAND_UnflipButton; + action = "MenuAction = 402"; + }; + class CA_FDisband : RscButton { + idc = 14043; + x = 0.00493164; + y = 0.900296; + w = 0.22; + text = $STR_WF_TEAM_DisbandButton; + action = "MenuAction = 403"; + }; + class WF_Con1 : RscClickableText { + idc = 14500; + x = 0.136976; + y = 0.0589629; + w = 0.072; + h = 0.072; + text = "\CA\warfare2\Images\con_barracks.paa"; + tooltip = $STR_WF_TOOLTIP_TeamOrders_Con1; + action = "MenuAction = 601"; + }; + class WF_Con2 : WF_Con1 { + idc = 14501; + x = 0.290419; + text = "Client\Images\con_task.paa"; + tooltip = $STR_WF_TOOLTIP_TeamOrders_Con2; + action = "MenuAction = 602"; + }; + class WF_Con3 : WF_Con1 { + idc = 14502; + x = 0.213698; + text = "\CA\warfare2\Images\con_hq.paa"; + tooltip = $STR_WF_TOOLTIP_TeamOrders_Con3; + action = "MenuAction = 603"; + }; + /* Separators */ + class LineTRH1 : RscText { + idc = 14900; + x = 0.00554727; + y = 0.518182; + w = 0.458181; + h = WFBE_SPT1; + colorBackground[] = WFBE_SPC1; + }; + class LineTRH2 : LineTRH1 { + idc = 14901; + x = 0.00554727; + y = 0.845784; + }; + class LineTRH3 : LineTRH1 { + idc = 14902; + x = 0.00554727; + y = 0.746904; + }; + /* Back */ + class Back_Button : RscButton_Back { + x = 0.892507; + y = 0.953825; + action = "MenuAction = 4"; + tooltip = $STR_WF_TOOLTIP_BackButton; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.955773; + y = 0.953825; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- Respawn Menu. | ALL DONE! +class RscMenu_Respawn { + movingEnable = 1; + idd = 15000; + onLoad = "_this ExecVM ""Client\GUI\GUI_Menu_Respawn.sqf"""; + + class controlsBackground { + class Background_M : RscText { + x = -0.000119045; + y = 0.000960164; + w = 1.00024; + h = 1.00046; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = -0.000119045; + y = 0.000960164; + w = 1.00024; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = -0.000119045; + y = 0.948079045; + w = 1.00024; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = -0.000119045; + y = 0.051619045; + w = 1.00024; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class WF_MiniMap : RscMapControl { + idc = 15001; + x = -0.000180572; + y = 0.0550423; + w = 0.999339; + h = 0.892352; + ShowCountourInterval = 1; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseButtonDown = "mouseButtonDown = _this Select 1"; + onMouseButtonUp = "mouseButtonUp = _this Select 1"; + }; + class Title_RespawnMenu : RscText_Title { + idc = 15002; + x = 0.000478119; + y = 0.00556108; + w = 0.3; + text = $STR_WF_RESPAWN_Title; + }; + class CA_Status : RscText { + idc = 15003; + x = 0.00558168; + y = 0.957391; + w = 0.7; + }; + class CA_Gear_Button : RscButton { + idc = 15004; + x = 0.72479; + y = 0.00940119; + w = 0.25; + colorBackground[] = {0.5882, 0.5882, 0.3529, 0.7}; + colorBackgroundActive[] = {0.5882, 0.5882, 0.3529, 1}; + colorFocused[] = {0.5882, 0.5882, 0.3529, 1}; + + tooltip = $STR_WF_TOOLTIP_RespawnDefault; + onButtonClick = "WFBE_RespawnDefaultGear = if (WFBE_RespawnDefaultGear) then {false} else {true};"; + }; + class CA_PreEnv_Button : CA_Gear_Button { + idc = 15005; + x = 0.443363; + y = 0.00940122; + w = 0.25; + colorBackground[] = {0, 0.537, 1, 0.5}; + colorBackgroundActive[] = {0, 0.537, 1, 1}; + colorFocused[] = {0, 0.537, 1, 1}; + + tooltip = $STR_WF_TOOLTIP_Preload; + onButtonClick = "WFBE_EnablePreload = if (WFBE_EnablePreload) then {false} else {true};"; + }; + }; +}; + +//--- BuyGear Menu. | ALL DONE! +class RscMenu_BuyGear { + movingEnable = 1; + idd = 16000; + onLoad = gearmenu; + + class controlsBackground { + class Background_M : RscText { + x = 0.000960961; + y = 0.00128125; + w = 0.999759; + h = 1.00023; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_G : RscText { + x = 0.502979; + y = 0.0571992; + w = 0.497839; + h = 0.894108; + moving = 1; + colorBackground[] = WFBE_Background_Color_Gear; + }; + class Background_H : RscText { + x = 0.000960961; + y = 0.00128125; + w = 0.999759; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.000960961; + y = 0.94901125; + w = 0.999759; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.000960961; + y = 0.05278125; + w = 0.999759; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + //---ArmA 2 WF Gear Menu Modified + /* FilterButton */ + class FilterButtonSidearm : RscClickableText { + idc = 3400 + 4; + style = 48 + 0x800; + x = 0.33979; + y = 0.034482; + w = 0.0699999; + h = 0.11; + text = "Client\Images\geariconsidearm.paa"; + tooltip = $STR_WF_TOOLTIP_FilterButtonSidearm; + action = "WF_Logic setVariable ['filler','sidearm']"; + }; + class FilterButtonMisc : FilterButtonSidearm { + idc = 3400 + 5; + x = 0.421555; + y = 0.0344832; + text = "Client\Images\geariconmisc.paa"; + tooltip = $STR_WF_TOOLTIP_FilterButtonMisc; + action = "WF_Logic setVariable ['filler','misc']"; + }; + class FilterButtonSecondary : FilterButtonSidearm { + idc = 3400 + 3; + x = 0.259109; + y = 0.034482; + text = "Client\Images\geariconsecondary.paa"; + tooltip = $STR_WF_TOOLTIP_FilterButtonSecondary; + action = "WF_Logic setVariable ['filler','secondary']"; + }; + class FilterButtonPrimary : FilterButtonSidearm { + idc = 3400 + 2; + x = 0.16979; + y = 0.0344832; + text = "Client\Images\geariconprimary.paa"; + tooltip = $STR_WF_TOOLTIP_FilterButtonPrimary; + action = "WF_Logic setVariable ['filler','primary']"; + }; + class FilterButtonTemplate : FilterButtonSidearm { + idc = 3400; + x = 0.00642873; + y = 0.034482; + text = "Client\Images\gearicontemplate.paa"; + tooltip = $STR_WF_TOOLTIP_FilterButtonTemplate; + action = "WF_Logic setVariable ['filler','template']"; + }; + class FilterButtonAll : FilterButtonTemplate { + idc = 3400 + 1; + x = 0.0814287; + y = 0.034482; + text = "Client\Images\geariconall.paa"; + tooltip = $STR_WF_TOOLTIP_FilterButtonAll; + action = "WF_Logic setVariable ['filler','all']"; + }; + /* Bag, Clear, Reload */ + class ConClear : RscClickableText { + idc = 3800; + x = 0.726369; + y = 0.000554629; + w = 0.05; + h = 0.05; + tooltip = $STR_WF_TOOLTIP_GearClear; + text = "Client\Images\i_clear.paa"; + action = "WF_Logic setVariable ['WF_Gear_Action','clear']"; + }; + class ConReload : ConClear { + idc = 3801; + x = 0.788822; + tooltip = $STR_WF_TOOLTIP_GearReload; + text = "Client\Images\i_reload.paa"; + action = "WF_Logic setVariable ['WF_Gear_Action','reload']"; + }; + class ConBackpack : ConClear { + idc = 3802; + x = 0.662235; + tooltip = $STR_WF_TOOLTIP_Backpack; + text = "Client\Images\i_backpack.paa"; + action = "WF_Logic setVariable ['WF_Gear_Action','backpack']"; + }; + /* List */ + class MainList : RscListBoxA { + idc = 3700; + columns[] = {0.01, 0.25}; + drawSideArrows = 0; + idcRight = -1; + idcLeft = -1; + x = 0.00434496; + y = 0.17888; + w = 0.492017; + h = 0.464167; + onLBSelChanged = "WF_Logic setVariable ['lbChange',true]"; + onLBDblClick = "WF_Logic setVariable ['lbMainAction','addWeapon']"; + }; + class SecondaryList : RscListBoxA { + idc = 3701; + columns[] = {0.01, 0.25}; + drawSideArrows = 0; + idcRight = -1; + idcLeft = -1; + x = 0.00434496; + y = 0.657759; + w = 0.492017; + h = 0.284818; + onLBDblClick = "WF_Logic setVariable ['lbMainAction','addMagazine']"; + }; + /**/ + class PrimaryWeapon : RscClickableText { + idc = 3500; + x = 0.502842; + y = 0.200302; + w = 0.310369; + h = 0.198179; + style = 48 + 0x800; + soundDoubleClick[] = {"", 0.1, 1}; + colorBackground[] = {0.6, 0.83, 0.47, 1}; + colorBackgroundSelected[] = {0.6, 0.83, 0.47, 1}; + colorFocused[] = {0, 0, 0, 0}; + color[] = {0.85, 0.85, 0.85, 1}; + colorText[] = {0.85, 0.85, 0.85, 1}; + colorActive[] = {1, 1, 1, 1}; + text = "\Ca\UI\Data\ui_gear_gun_gs.paa"; + action = "primClicked = true"; + }; + class SecondaryWeapon : PrimaryWeapon { + idc = 3500 + 1; + y = 0.401362; + text = "\Ca\UI\Data\ui_gear_sec_gs.paa"; + action = "secoClicked = true"; + }; + class Sidearm : PrimaryWeapon { + idc = 3500 + 2; + x = 0.576806; + y = 0.607022; + w = 0.113; + h = 0.15; + text = "\Ca\UI\Data\ui_gear_hgun_gs.paa"; + action = "sideClicked = true"; + }; + /* Inventory */ + class InventorySlot0 : RscClickableText { + idc = 3500 + 3; + x = 0.816052; + y = 0.250721; + w = 0.06; + h = 0.08; + text = "\Ca\UI\Data\ui_gear_mag_gs.paa"; + action = "WF_Logic setVariable ['InventoryClick',3503]"; + }; + class InventorySlot1 : InventorySlot0 { + idc = 3500 + 4; + x = 0.878093; + y = 0.250721; + action = "WF_Logic setVariable ['InventoryClick',3504]"; + }; + class InventorySlot2 : InventorySlot0 { + idc = 3500 + 5; + x = 0.940501; + y = 0.250721; + action = "WF_Logic setVariable ['InventoryClick',3505]"; + }; + class InventorySlot3 : InventorySlot0 { + idc = 3500 + 6; + x = 0.816052; + y = 0.341169; + action = "WF_Logic setVariable ['InventoryClick',3506]"; + }; + class InventorySlot4 : InventorySlot0 { + idc = 3500 + 7; + x = 0.878093; + y = 0.341169; + action = "WF_Logic setVariable ['InventoryClick',3507]"; + }; + class InventorySlot5 : InventorySlot0 { + idc = 3500 + 8; + x = 0.940501; + y = 0.341169; + action = "WF_Logic setVariable ['InventoryClick',3508]"; + }; + class InventorySlot6 : InventorySlot0 { + idc = 3500 + 9; + x = 0.816052; + y = 0.429373; + action = "WF_Logic setVariable ['InventoryClick',3509]"; + }; + class InventorySlot7 : InventorySlot0 { + idc = 3500 + 10; + x = 0.878093; + y = 0.429373; + action = "WF_Logic setVariable ['InventoryClick',3510]"; + }; + class InventorySlot8 : InventorySlot0 { + idc = 3500 + 11; + x = 0.940501; + y = 0.429373; + action = "WF_Logic setVariable ['InventoryClick',3511]"; + }; + class InventorySlot9 : InventorySlot0 { + idc = 3500 + 12; + x = 0.816052; + y = 0.519938; + action = "WF_Logic setVariable ['InventoryClick',3512]"; + }; + class InventorySlot10 : InventorySlot0 { + idc = 3500 + 13; + x = 0.878093; + y = 0.519938; + action = "WF_Logic setVariable ['InventoryClick',3513]"; + }; + class InventorySlot11 : InventorySlot0 { + idc = 3500 + 14; + x = 0.940501; + y = 0.519938; + action = "WF_Logic setVariable ['InventoryClick',3514]"; + }; + /* Sidearm */ + class SidearmInventorySlot0 : RscClickableText { + idc = 3500 + 15; + x = 0.695848; + y = 0.607022; + w = 0.055; + h = 0.074; + text = "\Ca\UI\Data\ui_gear_hgunmag_gs.paa"; + action = "WF_Logic setVariable ['InventoryClick',3515]"; + }; + class SidearmInventorySlot1 : SidearmInventorySlot0 { + idc = 3500 + 16; + x = 0.75653; + y = 0.607022; + action = "WF_Logic setVariable ['InventoryClick',3516]"; + }; + class SidearmInventorySlot2 : SidearmInventorySlot0 { + idc = 3500 + 17; + x = 0.816892; + y = 0.607022; + action = "WF_Logic setVariable ['InventoryClick',3517]"; + }; + class SidearmInventorySlot3 : SidearmInventorySlot0 { + idc = 3500 + 18; + x = 0.877253; + y = 0.607022; + action = "WF_Logic setVariable ['InventoryClick',3518]"; + }; + class SidearmInventorySlot4 : SidearmInventorySlot0 { + idc = 3500 + 19; + x = 0.695848; + y = 0.688504; + action = "WF_Logic setVariable ['InventoryClick',3519]"; + }; + class SidearmInventorySlot5 : SidearmInventorySlot0 { + idc = 3500 + 20; + x = 0.756529; + y = 0.688504; + action = "WF_Logic setVariable ['InventoryClick',3520]"; + }; + class SidearmInventorySlot6 : SidearmInventorySlot0 { + idc = 3500 + 21; + x = 0.816892; + y = 0.688504; + action = "WF_Logic setVariable ['InventoryClick',3521]"; + }; + class SidearmInventorySlot7 : SidearmInventorySlot0 { + idc = 3500 + 22; + x = 0.877252; + y = 0.688505; + action = "WF_Logic setVariable ['InventoryClick',3522]"; + }; + /* Misc */ + class MiscInventorySlot0 : RscClickableText { + idc = 3500 + 23; + x = 0.575126; + y = 0.774467; + w = 0.055; + h = 0.074; + colorActive[] = {0.85, 0.85, 0.85, 1}; + text = "\Ca\UI\Data\ui_gear_eq_gs.paa"; + action = "WF_Logic setVariable ['InventoryClick',3523]"; + }; + class MiscInventorySlot1 : MiscInventorySlot0 { + idc = 3500 + 24; + x = 0.635487; + y = 0.774468; + action = "WF_Logic setVariable ['InventoryClick',3524]"; + }; + class MiscInventorySlot2 : MiscInventorySlot0 { + idc = 3500 + 25; + x = 0.695848; + y = 0.774468; + action = "WF_Logic setVariable ['InventoryClick',3525]"; + }; + class MiscInventorySlot3 : MiscInventorySlot0 { + idc = 3500 + 26; + x = 0.75653; + y = 0.774468; + action = "WF_Logic setVariable ['InventoryClick',3526]"; + }; + class MiscInventorySlot4 : MiscInventorySlot0 { + idc = 3500 + 27; + x = 0.816892; + y = 0.774468; + action = "WF_Logic setVariable ['InventoryClick',3527]"; + }; + class MiscInventorySlot5 : MiscInventorySlot0 { + idc = 3500 + 28; + x = 0.877252; + y = 0.774468; + action = "WF_Logic setVariable ['InventoryClick',3528]"; + }; + class MiscInventorySlot6 : MiscInventorySlot0 { + idc = 3500 + 29; + x = 0.575126; + y = 0.85595; + action = "WF_Logic setVariable ['InventoryClick',3529]"; + }; + class MiscInventorySlot7 : MiscInventorySlot0 { + idc = 3500 + 30; + x = 0.635487; + y = 0.85595; + action = "WF_Logic setVariable ['InventoryClick',3530]"; + }; + class MiscInventorySlot8 : MiscInventorySlot0 { + idc = 3500 + 31; + x = 0.695848; + y = 0.85595; + action = "WF_Logic setVariable ['InventoryClick',3531]"; + }; + class MiscInventorySlot9 : MiscInventorySlot0 { + idc = 3500 + 32; + x = 0.75653; + y = 0.85595; + action = "WF_Logic setVariable ['InventoryClick',3532]"; + }; + class MiscInventorySlot10 : MiscInventorySlot0 { + idc = 3500 + 33; + x = 0.816892; + y = 0.85595; + action = "WF_Logic setVariable ['InventoryClick',3533]"; + }; + class MiscInventorySlot11 : MiscInventorySlot0 { + idc = 3500 + 34; + x = 0.877253; + y = 0.85595; + action = "WF_Logic setVariable ['InventoryClick',3534]"; + }; + class SpecialInventorySlot0 : InventorySlot0 { + idc = 3500 + 35; + x = 0.507043; + y = 0.0586288; + w = 0.11384; + h = 0.136554; + colorActive[] = {0.85, 0.85, 0.85, 1}; + text = "\Ca\UI\Data\ui_gear_eq_gs.paa"; + action = "WF_Logic setVariable ['InventoryClick',3535]"; + }; + class SpecialInventorySlot1 : SpecialInventorySlot0 { + idc = 3500 + 36; + x = 0.880612; + y = 0.0575075; + action = "WF_Logic setVariable ['InventoryClick',3536]"; + }; + /**/ + class CA_Money_Label : RscText { + x = 0.66164; + y = 0.105938; + w = 0.11; + text = $STR_WF_GEAR_CashLabel; + }; + class CA_Money_Value : RscText { + idc = 3851; + x = 0.754833; + y = 0.105938; + w = 0.12; + }; + class CA_Cost_Label : RscText { + x = 0.66164; + y = 0.150757; + w = 0.11; + text = $STR_WF_GEAR_CostLabel; + }; + class CA_Cost : RscText { + idc = 3850; + x = 0.754833; + y = 0.150757; + w = 0.12; + colorText[] = {1, 0, 0, 1}; + }; + class CA_GearLabel : RscText_SubTitle { + idc = 3852; + x = 0.625108; + y = 0.0581786; + w = 0.250118; + style = 2; + text = $STR_WF_GEAR_MenuEquip; + }; + class Title_Gear : RscText_Title { + idc = 3853; + x = 0.00393696; + y = 0.00775909; + w = 0.3; + text = $STR_WF_MAIN_Purchase_Gear; + }; + class CA_SwapUnit : RscCombo { + idc = 3854; + x = 0.171251; + y = 0.131241; + w = 0.323269; + h = 0.035; + onLBSelChanged = "WF_Logic setVariable ['WF_GEAR_Swap',true]"; + }; + class Unit_Title : RscText { + idc = 3855; + x = -0.00101976; + y = 0.131241; + w = 0.3; + text = $STR_WF_GEAR_SquadMember; + }; + class BuyButton : RscButton { + idc = 3900; + x = 0.687902; + y = 0.957504; + w = 0.12; + text = $STR_WF_Purchase; + action = "buyLoadout = true"; + }; + class SaveButton : BuyButton { + idc = 3902; + x = 0.264874; + y = 0.957504; + w = 0.23; + text = $STR_WF_GEAR_TemplateSave; + action = "saveLoadout = true"; + }; + class DeleteButton : BuyButton { + idc = 3903; + x = 0.00474623; + y = 0.957504; + w = 0.23; + text = $STR_WF_GEAR_TemplateDelete; + action = "deleteLoadout = true"; + }; + /* Separators */ + class LineTRH1 : RscText { + x = 0.00302637; + y = 0.649061; + w = 0.491794; + h = WFBE_SPT1; + colorBackground[] = WFBE_SPC1; + }; + class LineTRH2 : LineTRH1 { + x = 0.500757; + y = 0.0571992; + w = WFBE_SPT1; + h = 0.885859; + }; + /* Back */ + class Back_Button : RscButton_Back { + x = 0.892507; + y = 0.954946; + action = "MenuAction = 1"; + tooltip = $STR_WF_TOOLTIP_BackButton; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.955773; + y = 0.954946; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- Tactical Menu. | ALL DONE! +class RscMenu_Tactical { + movingEnable = 1; + idd = 17000; + onLoad = "_this ExecVM 'Client\GUI\GUI_Menu_Tactical.sqf'"; + + class controlsBackground { + class Background_M : RscText { + x = 0.000960961; + y = 0.00128125; + w = 0.999759; + h = 1.00023; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = 0.000960961; + y = 0.00128125; + w = 0.999759; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.000960961; + y = 0.94901125; + w = 0.999759; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.000960961; + y = 0.05278125; + w = 0.999759; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class WF_MiniMap : RscMapControl { + idc = 17002; + x = 0.374789; + y = 0.0574369; + w = 0.625427; + h = 0.888975; + ShowCountourInterval = 1; + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseButtonDown = "mouseButtonDown = _this Select 1"; + onMouseButtonUp = "mouseButtonUp = _this Select 1"; + }; + class Title_Tactical : RscText_Title { + idc = 17003; + x = 0.00561695; + y = 0.00999998; + w = 0.3; + text = $STR_WF_MAIN_TacticalMenu; + }; + class CA_Artillery_SubTitle : RscText_SubTitle { + idc = 17004; + x = 0.00434637; + y = 0.0596783; + w = 0.2; + text = $STR_WF_TACTICAL_Artillery; + }; + class CA_Artillery_Label_Radius : RscText { + idc = 17030; + x = 0.00602637; + y = 0.182926; + w = 0.2; + text = $STR_WF_TACTICAL_ArtilleryRadius; + }; + class CA_Artillery_Label_Unit : RscText { + idc = 17031; + x = 0.00434496; + y = 0.14259; + w = 0.2; + text = $STR_WF_TACTICAL_Artillery; + }; + class CA_Artillery_Slider : RscXSliderH { + idc = 17005; + x = 0.14652; + y = 0.188795; + w = 0.224033; + h = 0.029412; + }; + class CA_SetFMission_Button : RscButton { + idc = 17006; + x = 0.12047; + y = 0.515631; + w = 0.25; + text = $STR_WF_TACTICAL_ArtillerySetFireMission; + action = "MenuAction = 1"; + /* spezial */ + colorBackground[] = {0.5882, 0.5882, 0.3529, 0.7}; + colorBackgroundActive[] = {0.5882, 0.5882, 0.3529, 1}; + colorFocused[] = {0.5882, 0.5882, 0.3529, 1}; + }; + class CA_FireMission_Button : RscButton { + idc = 17007; + x = 0.12047; + y = 0.566833; + w = 0.25; + text = $STR_WF_TACTICAL_ArtilleryCallFireMission; + action = "MenuAction = 2"; + }; + class CA_Artillery_Combo : RscCombo { + idc = 17008; + x = 0.145945; + y = 0.146217; + w = 0.147; + h = 0.029412; + onLBSelChanged = "MenuAction = 200"; + }; + class CA_Support_SubTitle : RscText_SubTitle { + idc = 17009; + x = 0.00518464; + y = 0.622955; + w = 0.2; + text = $STR_WF_TACTICAL_Support; + }; + class CA_Artillery_Label_Status : RscText { + idc = 17032; + x = 0.00602637; + y = 0.102254; + w = 0.2; + text = $STR_WF_TACTICAL_ArtilleryStatus; + }; + class CA_ArtilleryTimeout : RscStructuredText { + idc = 17016; + x = 0.139245; + y = 0.107786; + w = 0.213025; + size = 0.03; + shadow = 2; + }; + class SupportList : RscListBox { + idc = 17019; + x = 0.00602497; + y = 0.663556; + w = 0.365965; + h = 0.237187; + rowHeight = 0.01; + sizeEx = 0.026; + }; + class CA_Button_Use : RscButton { + idc = 17020; + x = 0.22021; + y = 0.905171; + w = 0.15; + text = $STR_WF_TACTICAL_RequestButton; + action = "MenuAction = 20"; + /* spezial */ + colorBackground[] = {0.5882, 0.5882, 0.3529, 0.7}; + colorBackgroundActive[] = {0.5882, 0.5882, 0.3529, 1}; + colorFocused[] = {0.5882, 0.5882, 0.3529, 1}; + }; + class CA_SupportCost_Label : RscText { + idc = 17026; + x = 0.0119054; + y = 0.907169; + w = 0.11; + text = "$STR_WF_TACTICAL_Price"; + sizeEx = 0.032; + }; + class CA_SupportCost : RscText { + idc = 17021; + x = 0.111905; + y = 0.907169; + w = 0.11; + sizeEx = 0.032; + colorText[] = {1, 0, 0, 1}; + }; + class CA_InformationText : RscStructuredText { + idc = 17022; + x = 0.380816; + y = 0.0188458; + w = 0.614286; + h = 0.035; + size = 0.03; + class Attributes { + align = "center"; + }; + }; + class Ca_ArtilleryToggle : RscClickableText { + idc = 17023; + x = 0.310672; + y = 0.121233; + w = 0.064; + h = 0.064; + text = "Client\Images\tog_arty.paa"; + action = "MenuAction = 40"; + tooltip = $STR_WF_TOOLTIP_ArtilleryToggle; + }; + class CA_ArtilleryList : RscListBoxA { + idc = 17024; + x = 0.00459768; + y = 0.270084; + w = 0.365209; + h = 0.235; + columns[] = {0.02, 0.55}; + drawSideArrows = 0; + idcRight = -1; + idcLeft = -1; + rowHeight = 0.05; + sizeEx = 0.023; + + /* extra */ + colorSelectBackground[] = {0, 0, 0, 0.5}; + colorSelectBackground2[] = {0, 0, 0, 0.5}; + + onLBSelChanged = "MenuAction = 60"; + }; + class CA_ArtilleryTable_Label : RscText { + idc = 17025; + x = 0.00495766; + y = 0.226604; + w = 0.339999; + }; + /* Separators */ + class LineTRH1 : RscText { + x = 0.00638635; + y = 0.61566; + w = 0.364063; + h = WFBE_SPT1; + colorBackground[] = WFBE_SPC1; + }; + /* Back */ + class Back_Button : RscButton_Back { + x = 0.892328; + y = 0.953825; + action = "MenuAction = 30"; + tooltip = $STR_WF_TOOLTIP_BackButton; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.956614; + y = 0.953825; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- Upgrade Menu. | ALL DONE! +class RscMenu_Upgrade { + movingEnable = 1; + idd = 18000; + onLoad = "_this ExecVM ""Client\GUI\GUI_Menu_Upgrade.sqf"""; + + class controlsBackground { + class Background_M : RscText { + x = 0.0933989; + y = 0.151421; + w = 0.813204; + h = 0.699949; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = 0.0933989; + y = 0.151421; + w = 0.813204; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.0933989; + y = 0.798870; + w = 0.813204; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.0933989; + y = 0.202921; + w = 0.813204; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class Title_Upgrade : RscText_Title { + idc = 18801; + x = 0.1; + y = 0.157621; + w = 0.399999; + text = $STR_WF_MAIN_UpgradeMenu; + }; + class CA_Label_TimeLeft : RscText { + idc = 18802; + x = 0.443216; + y = 0.158741; + w = 0.45; + style = ST_RIGHT; + }; + /* Aircraft */ + class LineTRH1 : RscText { + x = 0.812039; + y = 0.3; + w = 0.0025; + h = 0.4; + colorBackground[] = {0.6941,0.6902,0.4431,1}; + }; + class LineTRH2 : LineTRH1 { + x = 0.812674; + y = 0.336547; + w = 0.05; + h = 0.00300001; + }; + class LineTRH3 : LineTRH1 { + x = 0.763215; + y = 0.439469; + w = 0.05; + h = 0.00300001; + }; + class LineTRH4 : LineTRH1 { + x = 0.763394; + y = 0.540148; + w = 0.05; + h = 0.00300001; + }; + class LineTRH5 : LineTRH1 { + x = 0.812737; + y = 0.5648; + w = 0.05; + h = 0.00300001; + }; + class LineTRH6 : LineTRH1 { + x = 0.700909; + y = 0.640347; + w = 0.113265; + h = 0.00300001; + }; + class LineTRH7 : LineTRH1 { + x = 0.76336; + y = 0.439833; + w = 0.0025; + h = 0.0300001; + }; + class LineTRH8 : LineTRH1 { + x = 0.76336; + y = 0.540672; + w = 0.0025; + h = 0.0300001; + }; + class LineTRH9 : LineTRH1 { + x = 0.76336; + y = 0.640393; + w = 0.0025; + h = 0.0300001; + }; + class LineTRH10 : LineTRH1 { + x = 0.700997; + y = 0.640154; + w = 0.0025; + h = 0.0300001; + }; + class LineTRH11 : LineTRH1 { + x = 0.862185; + y = 0.352101; + w = 0.0025; + h = 0.14; + }; + /* Heavy-Vehicle */ + class LineTRH20 : LineTRH1 { + x = 0.593264; + y = 0.3; + w = 0.0025; + h = 0.4; + }; + class LineTRH21 : LineTRH1 { + x = 0.545447; + y = 0.439629; + w = 0.0489796; + h = 0.00300001; + }; + class LineTRH22 : LineTRH1 { + x = 0.545713; + y = 0.439833; + w = 0.0025; + h = 0.0300001; + }; + class LineTRH23 : LineTRH1 { + x = 0.545713; + y = 0.496975; + w = 0.0025; + h = 0.185; + }; + /* Light-Vehicle */ + class LineTRH30 : LineTRH1 { + x = 0.374489; + y = 0.3; + w = 0.0025; + h = 0.4; + }; + class LineTRH31 : LineTRH1 { + x = 0.375701; + y = 0.339909; + w = 0.05; + h = 0.00300001; + }; + class LineTRH32 : LineTRH1 { + x = 0.327268; + y = 0.540469; + w = 0.0489797; + h = 0.00300001; + }; + class LineTRH33 : LineTRH1 { + x = 0.327226; + y = 0.540672; + w = 0.0025; + h = 0.0300001; + }; + /* Barracks */ + class LineTRH40 : LineTRH1 { + x = 0.186325; + y = 0.3; + w = 0.0025; + h = 0.4; + }; + class LineTRH41 : LineTRH1 { + x = 0.187465; + y = 0.339909; + w = 0.05; + h = 0.00300001; + }; + class LineTRH42 : LineTRH1 { + x = 0.137885; + y = 0.439629; + w = 0.05; + h = 0.00300001; + }; + class LineTRH43 : LineTRH1 { + x = 0.138151; + y = 0.439831; + w = 0.0025; + h = 0.0300001; + }; + class LineTRH44 : LineTRH1 { + x = 0.138149; + y = 0.492493; + w = 0.0025; + h = 0.185; + }; + /* Normal GUI Ctrls */ + class WF_Con1 : RscClickableText { + idc = 18001; + x = 0.156325; + y = 0.238231; + w = 0.064; + h = 0.064; + text = "Client\Images\wf_b.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'infantry'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con2 : WF_Con1 { + idc = 18002; + x = 0.34449; + y = 0.238231; + text = "Client\Images\wf_lvf.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'light'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con3 : WF_Con1 { + idc = 18003; + x = 0.561224; + y = 0.238231; + text = "Client\Images\wf_hvf.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'heavy'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con4 : WF_Con1 { + idc = 18004; + x = 0.779999; + y = 0.238231; + text = "Client\Images\wf_air.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'air'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con5 : WF_Con1 { + idc = 18005; + x = 0.724129; + y = 0.457148; + text = "Client\Images\wf_par.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'parachutist'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con6 : WF_Con1 { + idc = 18006; + x = 0.723951; + y = 0.557871; + text = "Client\Images\wf_uav.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'uav'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con7 : WF_Con1 { + idc = 18007; + x = 0.400177; + y = 0.329419; + text = "Client\Images\wf_sup.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'supply'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con8 : WF_Con1 { + idc = 18008; + x = 0.287599; + y = 0.55879; + text = "Client\Images\wf_fia.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'ambuSpawn'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con9 : WF_Con1 { + idc = 18009; + x = 0.836891; + y = 0.32942; + text = "Client\Images\wf_lif.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'airlift'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con10 : WF_Con1 { + idc = 18010; + x = 0.836891; + y = 0.558514; + text = "Client\Images\wf_fla.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'flares'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con11 : WF_Con1 { + idc = 18011; + x = 0.50587; + y = 0.457871; + text = "Client\Images\wf_art.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'artillery'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con12 : WF_Con1 { + idc = 18012; + x = 0.660492; + y = 0.657666; + text = "Client\Images\wf_mib.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'icbm'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con13 : WF_Con1 { + idc = 18013; + x = 0.212198; + y = 0.329419; + text = "Client\Images\wf_fas.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'fasttravel'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con14 : WF_Con1 { + idc = 18014; + x = 0.100274; + y = 0.456988; + text = "Client\Images\wf_gea.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'gear'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con15 : WF_Con1 { + idc = 18015; + x = 0.100274; + y = 0.658312; + text = "Client\Images\wf_amm.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'ammo'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con16 : WF_Con1 { + idc = 18016; + x = 0.72413; + y = 0.658312; + text = "Client\Images\wf_eas.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'easa'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con17 : WF_Con1 { + idc = 18017; + x = 0.837035; + y = 0.457147; + text = "Client\Images\wf_pas.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'paradrop'"; + onMouseExit = "displayUpgrade = ''"; + }; + class WF_Con18 : WF_Con1 { + idc = 18018; + x = 0.505869; + y = 0.657837; + text = "Client\Images\wf_shl.paa"; + action = "MenuAction = 1"; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseEnter = "displayUpgrade = 'shells'"; + onMouseExit = "displayUpgrade = ''"; + }; + /* Tooltip */ + class TooltipHelper : RscText { + idc = 18998; + x = 0.0; + y = 0.0; + w = 0.0; + h = 0.0; + style = 128; + colorBackground[] = {0, 0, 0, 0.6}; + }; + class TooltipHelperText : RscStructuredText { + idc = 18999; + x = 0.0; + y = 0.0; + w = 0.0; + h = 0.0; + size = 0.035; + class Attributes { + font = "Zeppelin32"; + color = "#B6F862"; + align = "left"; + shadow = true; + }; + }; + /* Back */ + class Back_Button : RscButton_Back { + x = 0.799231; + y = 0.804806; + action = "MenuAction = 2"; + tooltip = $STR_WF_TOOLTIP_BackButton; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.862497; + y = 0.804806; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- Service Menu. | ALL DONE! +class RscMenu_Service { + movingEnable = 1; + idd = 20000; + onLoad = "ExecVM ""Client\GUI\GUI_Menu_Service.sqf"""; + + class controlsBackground { + class Background_M : RscText { + x = 0.157263; + y = 0.151421; + w = 0.687155; + h = 0.699949; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = 0.157263; + y = 0.151421; + w = 0.687155; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.157263; + y = 0.798870; + w = 0.687155; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.157263; + y = 0.202921; + w = 0.687155; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class Title_Service : RscText_Title { + idc = 20001; + x = 0.161008; + y = 0.157731; + w = 0.3; + text = $STR_WF_SupportMenu; + }; + class CA_UnitList : RscListBox { + idc = 20002; + x = 0.162101; + y = 0.209804; + w = 0.677143; + h = 0.429553; + rowHeight = 0.025; + sizeEx = 0.035; + }; + class CA_Rearm_Button : RscButton { + idc = 20003; + x = 0.161261; + y = 0.650391; + w = 0.22; + text = $STR_WF_SERVICE_Rearm; + action = "MenuAction = 1"; + }; + class CA_Repair_Button : RscButton { + idc = 20004; + x = 0.50748; + y = 0.650391; + w = 0.22; + text = $STR_WF_SERVICE_Repair; + action = "MenuAction = 2"; + }; + class CA_Refuel_Button : RscButton { + idc = 20005; + x = 0.161261; + y = 0.697899; + w = 0.22; + text = $STR_WF_SERVICE_Refuel; + action = "MenuAction = 3"; + }; + class CA_Heal_Button : RscButton { + idc = 20008; + x = 0.50748; + y = 0.697899; + w = 0.22; + text = $STR_WF_SERVICE_Heal; + action = "MenuAction = 5"; + }; + class CA_EASA_Button : RscButton { + idc = 20010; + x = 0.161261; + y = 0.747311; + w = 0.565918; + text = $STR_WF_SERVICE_EASA; + action = "MenuAction = 7"; + }; + class CA_LabelRearm: RscText { + idc = 20011; + x = 0.388739; + y = 0.653752; + w = 0.12; + }; + class CA_LabelRepair : CA_LabelRearm { + idc = 20012; + x = 0.734957; + y = 0.653752; + w = 0.12; + }; + class CA_LabelRefuel : CA_LabelRearm { + idc = 20013; + x = 0.388739; + y = 0.699691; + w = 0.12; + }; + class CA_LabelHeal : CA_LabelRearm { + idc = 20014; + x = 0.734957; + y = 0.699691; + w = 0.12; + }; + /* Back */ + class Back_Button : RscButton_Back { + x = 0.737046; + y = 0.803685; + action = "MenuAction = 8"; + tooltip = $STR_WF_TOOLTIP_BackButton; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.800311; + y = 0.803685; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- UnitCamera Menu. | ALL DONE! +class RscMenu_UnitCamera { + movingEnable = 1; + idd = 21000; + onLoad = "_this ExecVM ""Client\GUI\GUI_Menu_UnitCamera.sqf"""; + + class controlsBackground { + class Background_M : RscText { + x = 0.000119537; + y = 0.70044; + w = 0.999761; + h = 0.298829; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = 0.000119537; + y = 0.70044; + w = 0.999761; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.000119537; + y = 0.946769; + w = 0.999761; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.000119537; + y = 0.75194; + w = 0.999761; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class Title_UnitCam : RscText_Title { + idc = 21001; + x = 0.00470497; + y = 0.706961; + w = 0.3; + text = $STR_WF_TACTICAL_UnitCam; + }; + class CA_Camera_UnitList : RscListBox { + idc = 21002; + x = -0.000335053; + y = 0.755239; + w = 0.311932; + h = 0.190877; + rowHeight = 0.01; + sizeEx = 0.024; + onLBSelChanged = "MenuAction = 101"; + }; + class CA_SquadKI_Label : RscText { + idc = 21003; + x = 0.312271; + y = 0.714061; + w = 0.3; + colorText[] = {0.2588, 0.7137, 1, 1}; + text = $STR_WF_UNITCAM_SquadKI; + }; + class CA_Camera_AIList : RscListBox { + idc = 21004; + x = 0.312269; + y = 0.754063; + w = 0.311932; + h = 0.190877; + rowHeight = 0.01; + sizeEx = 0.024; + onLBSelChanged = "MenuAction = 102"; + }; + class CA_Camera_Mode : RscText { + idc = 21005; + x = 0.629077; + y = 0.713836; + w = 0.3; + colorText[] = {0.2588, 0.7137, 1, 1}; + text = $STR_WF_UNITCAM_CamMode; + }; + class CA_Camera_Combo : RscCombo { + idc = 21006; + x = 0.831595; + y = 0.711259; + w = 0.163193; + h = 0.035; + onLBSelChanged = "MenuAction = 103"; + }; + class CA_MiniMap : RscMapControl { + idc = 21007; + x = 0.625041; + y = 0.75514; + w = 0.374504; + h = 0.191614; + ShowCountourInterval = 1; + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseButtonDown = "mouseButtonDown = _this Select 1"; + onMouseButtonUp = "mouseButtonUp = _this Select 1"; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.954933; + y = 0.953825; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- Prameters Display. | ALL DONE! +class RscDisplay_Parameters { + movingEnable = 1; + idd = 22000; + onLoad = "_this ExecVM ""Client\GUI\GUI_Display_Parameters.sqf"""; + + class controlsBackground { + class Background_M : RscText { + x = -0.000478864; + y = 0.151421; + w = 1.00096; + h = 0.699949; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = -0.000478864; + y = 0.151421; + w = 1.00096; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = -0.000478864; + y = 0.798870; + w = 1.00096; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = -0.000478864; + y = 0.202921; + w = 1.00096; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class Title_Parameter : RscText_Title { + idc = 22002; + x = 0.00510308; + y = 0.157759; + w = 0.3; + text = $STR_WF_PARAMETER_Parameters; + }; + class LB_ParamsTitles : RscListBoxA { + idc = 22003; + columns[] = {0.01, 0.55}; + rowHeight = 0.036; + drawSideArrows = 0; + idcRight = -1; + idcLeft = -1; + x = 0.00204286; + y = 0.211603; + w = 0.997959; + h = 0.579722; + }; + /* Back */ + class Back_Button : RscButton_Back { + x = 0.892509; + y = 0.804806; + action = "MenuAction = 1"; + tooltip = $STR_WF_TOOLTIP_BackButton; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.955774; + y = 0.804806; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- EASA Menu. | ALL DONE! +class RscMenu_EASA { + movingEnable = 1; + idd = 23000; + onLoad = "_this ExecVM ""Client\GUI\GUI_Menu_EASA.sqf"""; + + class controlsBackground { + class Background_M : RscText { + x = 0.157263; + y = 0.200721; + w = 0.687155; + h = 0.601349; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = 0.157263; + y = 0.200721; + w = 0.687155; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.157263; + y = 0.749570; + w = 0.687155; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.157263; + y = 0.252221; + w = 0.687155; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class Title_EASA : RscText_Title { + idc = 23002; + x = 0.162105; + y = 0.207843; + w = 0.6; + text = $STR_WF_EASA; + }; + class LB_EASA : RscListBoxA { + idc = 23003; + columns[] = {0.01, 0.16}; + rowHeight = 0.036; + drawSideArrows = 0; + idcRight = -1; + idcLeft = -1; + x = 0.162186; + y = 0.263187; + w = 0.67689; + h = 0.476481; + onLBDblClick = "MenuAction = 101"; + }; + class CA_Purchase : RscButton { + idc = 22004; + x = 0.613615; + y = 0.758018; + w = 0.1; + text = $STR_WF_Purchase; + action = "MenuAction = 101"; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.799471; + y = 0.755506; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +//--- Economy Menu. | ALL DONE! +class RscMenu_Economy { + movingEnable = 1; + idd = 23000; + onLoad = "_this ExecVM 'Client\GUI\GUI_Menu_Economy.sqf'"; + + class controlsBackground { + class Background_M : RscText { + x = 0.0318137; + y = 0.2004; + w = 0.938056; + h = 0.59934; + moving = 1; + colorBackground[] = WFBE_Background_Color; + }; + class Background_H : RscText { + x = 0.0318137; + y = 0.2004; + w = 0.938056; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Header; + }; + class Background_F : RscText { + x = 0.0318137; + y = 0.74724; + w = 0.938056; + h = 0.0525; + moving = 1; + colorBackground[] = WFBE_Background_Color_Footer; + }; + class Background_L : RscText { + x = 0.0318137; + y = 0.2519; + w = 0.938056; + h = WFBE_Background_Border_Thick; + colorBackground[] = WFBE_Background_Border; + }; + }; + class controls { + class WF_MiniMap : RscMapControl { + idc = 23002; + x = 0.5; + y = 0.254636; + w = 0.469125; + h = 0.492337; + ShowCountourInterval = 1; + + onMouseMoving = "mouseX = (_this Select 1);mouseY = (_this Select 2)"; + onMouseButtonDown = "mouseButtonDown = _this Select 1"; + onMouseButtonUp = "mouseButtonUp = _this Select 1"; + }; + class Title_CommanderMenu : RscText_Title { + idc = 23003; + x = 0.0367093; + y = 0.207199; + w = 0.3; + text = $STR_WF_MAIN_EconomyMenu; + }; + /* Workers */ + class CA_LabelPartWorkers : RscText_SubTitle { + idc = 23008; + x = 0.0322372; + y = 0.264119; + w = 0.25; + text = $STR_WF_ECONOMY_Workers; + }; + class CA_HireWorker_Button : RscButton { + idc = 23004; + x = 0.0372772; + y = 0.315322; + w = 0.279999; + text = $STR_WF_ECONOMY_HireWorker; + action = "MenuAction = 1"; + }; + class CA_LabelWorkers : RscText { + idc = 23005; + x = 0.331681; + y = 0.317564; + w = 0.15; + colorText[] = {1, 0, 0, 1}; + }; + class CA_DisbandWorker_Button : RscButton { + idc = 23006; + x = 0.0372786; + y = 0.373248; + w = 0.279999; + text = $STR_WF_ECONOMY_DisbandWorker; + action = "MenuAction = 2"; + }; + class CA_Workers_Combo : RscCombo { + idc = 23007; + x = 0.33168; + y = 0.37601; + w = 0.15; + h = 0.035; + onLBSelChanged = "MenuAction = 100"; + }; + /* Income */ + class CA_LabelPartIncome : CA_LabelPartWorkers { + idc = 23009; + x = 0.0322358; + y = 0.456346; + w = 0.25; + text = $STR_WF_ECONOMY_Income_Sys; + }; + class CA_Slider_Income : RscXSliderH { + idc = 23010; + x = 0.0372786; + y = 0.514272; + w = 0.333109; + h = 0.029412; + }; + class CA_LabelIncomePercent : RscText { + idc = 23011; + x = 0.394873; + y = 0.512032; + w = 0.15; + }; + class CA_IncomeSet_Button : RscButton { + idc = 23012; + x = 0.0372772; + y = 0.567717; + w = 0.334; + text = $STR_WF_ECONOMY_SetIncome; + action = "MenuAction = 3"; + }; + class CA_LabelIncomeCommander : RscText { + idc = 23013; + x = 0.0372772; + y = 0.634608; + w = 0.399999; + }; + class CA_LabelPlayerCommander : CA_LabelIncomeCommander { + idc = 23014; + x = 0.0372772; + y = 0.687535; + w = 0.399999; + }; + /* Selling Structures */ + class CA_Sell : RscButton { + idc = 23015; + x = 0.501454; + y = 0.757255; + w = 0.28; + text = $STR_WF_ECONOMY_SellStructure; + action = "MenuAction = 105"; + /* spezial */ + colorBackground[] = {0.5882, 0.5882, 0.3529, 0.7}; + colorBackgroundActive[] = {0.5882, 0.5882, 0.3529, 1}; + colorFocused[] = {0.5882, 0.5882, 0.3529, 1}; + }; + /* Respawn Supply Truck Debug */ + class CA_RespST_Button : RscClickableText { + idc = 23016; + x = 0.0368904; + y = 0.751251; + w = 0.05; + h = 0.05; + text = "Client\Images\picturepapercar_ca.paa"; + action = "MenuAction = 4"; + tooltip = $STR_WF_TOOLTIP_RespawnST; + }; + /* Separators */ + class LineTRH1 : RscText { + x = 0.0349591; + y = 0.449622; + w = 0.459861; + h = WFBE_SPT1; + colorBackground[] = WFBE_SPC1; + }; + /* Back */ + class Back_Button : RscButton_Back { + x = 0.861415; + y = 0.754385; + action = "MenuAction = 5"; + tooltip = $STR_WF_TOOLTIP_BackButton; + }; + /* Exit */ + class Exit_Button : RscButton_Exit { + x = 0.924681; + y = 0.754385; + onButtonClick = "closeDialog 0;"; + tooltip = $STR_WF_TOOLTIP_CloseButton; + }; + }; +}; + +// ACE gear menu +class RscAceGear +{ + movingEnable=1; + idd=16001; + onLoad="ExecVM ""Client\GUI\GUI_GearAce.sqf"""; + class Filters + { + class All + { + name="All"; + mask=-1; + image="\ca\ui\data\igui_gear_filter_1_ca.paa"; + }; + class Primary + { + name="Primary"; + mask=769; + image="\ca\ui\data\igui_gear_filter_2_ca.paa"; + }; + class Secondary + { + name="Secondary"; + mask=516; + image="\ca\ui\data\igui_gear_filter_3_ca.paa"; + }; + class HandGun + { + name="HandGun"; + mask=18; + image="\ca\ui\data\igui_gear_filter_4_ca.paa"; + }; + class Items + { + name="Items"; + mask=135168; + image="\ca\ui\data\igui_gear_filter_5_ca.paa"; + }; + }; + class ControlsBackground + { + class Mainback:RscPicture + { + idc=1005; + x="(SafeZoneX + 0.01)"; + y="(SafeZoneY + 0.01)"; + w=1.1; + h=1.14; + moving=1; + text="\x\ace\addons\sys_ruck\data\ui\ui_gear_background.paa"; + }; + }; + class controls + { + class Gear_Title:CA_IGUI_Title + { + idc=1001; + x="(SafeZoneX + 0.02)"; + y="(SafeZoneY + 0.02)"; + text=$STR_WF_Purchase_Gear; + }; + class ConClear : RscClickableText { + style = 48 + 0x800; + color[] = {1, 1, 1, 1}; + colorActive[] = subcolor1; + idc = 3800; + x="(SafeZoneX + 0.852)"; + y="(SafeZoneY + 0.02)"; + w = 0.032; + h = 0.032; + tooltip = $STR_WF_Tooltips_GearClear; + text = "Client\Images\i_clear.paa"; + action = "WF_Logic setVariable ['WF_Gear_Action','clear']"; + }; + class ConReload : ConClear { + idc = 3801; + x="(SafeZoneX + 0.88)"; + tooltip = $STR_WF_Tooltips_GearReload; + text = "Client\Images\i_reload.paa"; + action = "WF_Logic setVariable ['WF_Gear_Action','reload']"; + }; + class ConBackpack : ConClear { + idc = 3802; + x="(SafeZoneX + 0.824)"; + tooltip = $STR_WF_Tooltips_Backpack; + text = "Client\Images\i_backpack.paa"; + action = "WF_Logic setVariable ['WF_Gear_Action','backpack']"; + }; + class CA_Filter_Icon:RscPicture + { + idc=148; + style="0x30+ 0x800"; + x="(SafeZoneX + 0.025)"; + y="(SafeZoneY + 0.09)- 0.001"; + w=0.458; + h=0.075; + text="\ca\ui\data\igui_gear_filter_1_ca.paa"; + }; + class CA_Filter_Left_Icon:RscClickableText + { + idc=1301; + style="0x30+ 0x800"; + x="(SafeZoneX + 0.025)+ 0.01"; + y="(SafeZoneY + 0.09)"; + w=0.036; + h=0.075; + text="\ca\ui\data\arrow_left_ca.paa"; + action="WF_Logic setVariable [ 'lbMainAction', 'filterMinus' ]"; + }; + class CA_Filter_Right_Icon:RscClickableText + { + idc=1302; + style="0x30+ 0x800"; + x="(SafeZoneX + 0.025)+ 0.413"; + y="(SafeZoneY + 0.09)"; + w=0.036; + h=0.075; + text="\ca\ui\data\arrow_right_ca.paa"; + action="WF_Logic setVariable [ 'lbMainAction', 'filterPlus' ]"; + }; + class CA_Filter_Icon1:RscButton + { + idc=149; + colorText[]={1,1,1,0}; + colorDisabled[]={1,1,1,0}; + colorBackground[]={1,1,1,0}; + colorBackgroundDisabled[]={1,1,1,0}; + colorBackgroundActive[]={1,1,1,0}; + colorShadow[]={1,1,1,0}; + colorFocused[]={1,1,1,0}; + x="(SafeZoneX + 0.025)+ 0.059"; + y="(SafeZoneY + 0.02)"; + w=0.341; + h=0.075; + text=""; + }; + class Unit_Title:RscText + { + idc=101; + style="0x02"; + x="(SafeZoneX + 0.66)"; + y="(SafeZoneY + 0.09)"; + w=0.4; + }; + class ACE_Unit_Arrow_Left:RscClickableText + { + idc=90110; + style="0x30+ 0x800"; + colorBackground[]={0,0,0,1}; + x="(SafeZoneX + 0.66)- 0.030"; + y="(SafeZoneY + 0.09)"; + w=0.03; + h=0.037; + text="\ca\ui\data\arrow_left_ca.paa"; + action="WF_Logic setVariable [ 'lbMainAction', 'unitMinus' ]"; + }; + class ACE_Unit_Arrow_Right:RscClickableText + { + idc=90111; + style="0x30+ 0x800"; + colorBackground[]={0,0,0,1}; + x="(SafeZoneX + 0.66)+ 0.4"; + y="(SafeZoneY + 0.09)"; + w=0.03; + h=0.037; + text="\ca\ui\data\arrow_right_ca.paa"; + action="WF_Logic setVariable [ 'lbMainAction', 'unitPlus' ]"; + }; + class Available_items_Text:RscText + { + idc=1100; + x="(SafeZoneX + 0.025)+ 0.0033014"; + y="(SafeZoneY + 0.18)"; + w=0.389709; + h=0.04; + text=$STR_GEAR_ITEMS; + }; + class CA_ItemName:Available_items_Text + { + idc=1101; + x="(SafeZoneX + 0.025)+ 0.0016704"; + y="(SafeZoneY + 0.59)"; + h=0.04; + text=$STR_GEAR_UNIT; + }; + class CA_Item_Picture:RscPicture + { + idc=1104; + style="0x30+ 0x800"; + x="(SafeZoneX + 0.465)"; + y="(SafeZoneY + 0.64)"; + w=0.156863; + h=0.104575; + text=""; + }; + class CA_CustomDescription:RscStructuredText + { + idc=1106; + x="(SafeZoneX + 0.02)"; + y="(SafeZoneY + 0.64)"; + w=0.458; + h=0.152; + colorText[]={0.95,0.95,0.95,1}; + class Attributes + { + font="Zeppelin32"; + color="#F2F2F2"; + align="left"; + shadow=1; + }; + }; + class ACE_Ruck_Items:RscText + { + idc=90000; + x="(SafeZoneX + 0.025)+ 0.0033014"; + y="(SafeZoneY + 0.80)"; + w=0.389709; + h=0.04; + text=$STR_ACE_RUCK_ITEMS; + }; + class MainList : RscListBoxA { + idc = 3700; + columns[] = {0.01, 0.25}; + drawSideArrows = 0; + idcRight = -1; + idcLeft = -1; + x="(SafeZoneX + 0.025)"; + y="(SafeZoneY + 0.22)"; + w=0.42; + h=0.36; + + onLBSelChanged = "WF_Logic setVariable ['lbChange',true]"; + onLBDblClick = "WF_Logic setVariable ['lbMainAction','addMainItem']"; + }; + class SecondaryList : RscListBoxA { + idc = 3701; + columns[] = {0.01, 0.25}; + drawSideArrows = 0; + idcRight = -1; + idcLeft = -1; + x="(SafeZoneX + 0.025)"; + y="(SafeZoneY + 0.84)"; + w=0.42; + h=0.25; + onLBDblClick = "WF_Logic setVariable ['lbMainAction','addMagazine']"; + }; + class ACE_Item_Weight:RscText + { + idc=90005; + x="(SafeZoneX + 0.485)"; + y="(SafeZoneY + 0.80)"; + w=0.2; + h=0.04; + text=""; + }; + class ACE_Item_Volume:RscText + { + idc=90007; + x="(SafeZoneX + 0.485)"; + y="(SafeZoneY + 0.84)"; + w=0.2; + h=0.04; + text=""; + }; + class ACE_Total_Weight:RscText + { + idc=90009; + x="(SafeZoneX + 0.40)"; + y="(SafeZoneY + 0.02)"; + w=0.3; + h=0.04; + text=""; + }; + class ACE_Total_Volume:RscText + { + idc=90011; + x="(SafeZoneX + 0.025)+ 0.15"; + y="(SafeZoneY + 0.80)"; + w=0.35; + h=0.04; + text=""; + }; + class ACE_ButtonWOBPrimary:RscIGUIShortcutButton + { + idc=90100; + w=0.15; + x="(SafeZoneX + 0.51)"; + y="(SafeZoneY + 0.20)"; + text=$STR_ACE_ON_BACK; + onButtonClick="WF_Logic setVariable ['WF_Gear_Action','primary_onback']"; + }; + class ACE_ButtonWOBSecondary:ACE_ButtonWOBPrimary + { + idc=90101; + y="(SafeZoneY + 0.35)"; + text=$STR_ACE_ON_BACK; + onButtonClick="WF_Logic setVariable ['WF_Gear_Action','secondary_onback']"; + }; + class G_GearItems:RscControlsGroup + { + idc=160; + x="(SafeZoneX + 0.13 + 0.502)"; + y="(SafeZoneY + 0.05 + 0.09 )"; + w=0.463; + h=0.776; + class Controls + { + class CA_Gear_slot_primary:RscClickableText + { + idc=107; + x=0; + y=0; + w=0.286; + h=0.15; + style="0x30+ 0x800"; + soundDoubleClick[]={"",0.1,1}; + color[]={1,1,1,1}; + colorBackground[]={0.6,0.8392,0.4706,1}; + colorBackgroundSelected[]={0.6,0.8392,0.4706,1}; + colorFocused[]={0,0,0,0}; + colorActive[]={1,1,1,1}; + text=""; + action="WF_Logic setVariable ['InventoryClick',107]"; + }; + class CA_Gear_slot_secondary:CA_Gear_slot_primary + { + idc=108; + y="(0.244 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',108]"; + }; + class ACE_Gear_slot_WOB:CA_Gear_slot_primary + { + idc=90020; + y="(0.398 - 0.09)"; + color[]={1,1,1,0.5}; + colorFocused[]={1,1,1,1}; + action="WF_Logic setVariable ['InventoryClick',90020]"; + }; + class CA_Gear_slot_item1:CA_Gear_slot_primary + { + idc=109; + x="(0.79 - 0.502)"; + y=0; + w=0.055; + h=0.074; + action="WF_Logic setVariable ['InventoryClick',109]"; + }; + class CA_Gear_slot_item2:CA_Gear_slot_item1 + { + idc=110; + x="(0.847 - 0.502)"; + y=0; + action="WF_Logic setVariable ['InventoryClick',110]"; + }; + class CA_Gear_slot_item3:CA_Gear_slot_item1 + { + idc=111; + x="(0.904366 - 0.502)"; + y=0; + action="WF_Logic setVariable ['InventoryClick',111]"; + }; + class CA_Gear_slot_item4:CA_Gear_slot_item1 + { + idc=112; + x="(0.79 - 0.502)"; + y="(0.167 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',112]"; + }; + class CA_Gear_slot_item5:CA_Gear_slot_item1 + { + idc=113; + x="(0.847 - 0.502)"; + y="(0.167 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',113]"; + }; + class CA_Gear_slot_item6:CA_Gear_slot_item1 + { + idc=114; + x="(0.904366 - 0.502)"; + y="(0.167 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',114]"; + }; + class CA_Gear_slot_item7:CA_Gear_slot_item1 + { + idc=115; + x="(0.79 - 0.502)"; + y="(0.244 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',115]"; + }; + class CA_Gear_slot_item8:CA_Gear_slot_item7 + { + idc=116; + x="(0.847 - 0.502)"; + y="(0.244 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',116]"; + }; + class CA_Gear_slot_item9:CA_Gear_slot_item7 + { + idc=117; + x="(0.904366 - 0.502)"; + y="(0.244 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',117]"; + }; + class CA_Gear_slot_item10:CA_Gear_slot_item7 + { + idc=118; + x="(0.79 - 0.502)"; + y="(0.321 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',118]"; + }; + class CA_Gear_slot_item11:CA_Gear_slot_item7 + { + idc=119; + x="(0.847 - 0.502)"; + y="(0.321 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',119]"; + }; + class CA_Gear_slot_item12:CA_Gear_slot_item7 + { + idc=120; + x="(0.904366 - 0.502)"; + y="(0.321 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',120]"; + }; + class CA_Gear_slot_handgun:CA_Gear_slot_primary + { + idc=121; + x=0; + y="(0.551 - 0.09)"; + w=0.113; + h=0.15; + action="WF_Logic setVariable ['InventoryClick',121]"; + }; + class CA_Gear_slot_handgun_item1:CA_Gear_slot_item1 + { + idc=122; + x="(0.617 - 0.502)"; + y="(0.551 - 0.09)"; + w=0.055; + h=0.074; + action="WF_Logic setVariable ['InventoryClick',122]"; + }; + class CA_Gear_slot_handgun_item2:CA_Gear_slot_handgun_item1 + { + idc=123; + x="(0.674 - 0.502)"; + y="(0.551 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',123]"; + }; + class CA_Gear_slot_handgun_item3:CA_Gear_slot_handgun_item1 + { + idc=124; + x="(0.733 - 0.502)"; + y="(0.551 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',124]"; + }; + class CA_Gear_slot_handgun_item4:CA_Gear_slot_handgun_item1 + { + idc=125; + x="(0.79 - 0.502)"; + y="(0.551 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',125]"; + }; + class CA_Gear_slot_handgun_item5:CA_Gear_slot_handgun_item1 + { + idc=126; + x="(0.617 - 0.502)"; + y="(0.628 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',126]"; + }; + class CA_Gear_slot_handgun_item6:CA_Gear_slot_handgun_item5 + { + idc=127; + x="(0.674 - 0.502)"; + y="(0.628 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',127]"; + }; + class CA_Gear_slot_handgun_item7:CA_Gear_slot_handgun_item5 + { + idc=128; + x="(0.733 - 0.502)"; + y="(0.628 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',128]"; + }; + class CA_Gear_slot_handgun_item8:CA_Gear_slot_handgun_item5 + { + idc=129; + x="(0.79 - 0.502)"; + y="(0.628 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',129]"; + }; + class CA_Gear_slot_special1:CA_Gear_slot_item1 + { + idc=130; + x="(0.847 - 0.502)"; + y="(0.551 - 0.09)"; + w=0.113; + h=0.15; + action="WF_Logic setVariable ['InventoryClick',130]"; + }; + class CA_Gear_slot_special2:CA_Gear_slot_special1 + { + idc=131; + x="(0.847 - 0.502)"; + y="(0.705 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',131]"; + }; + class CA_Gear_slot_inventory1:CA_Gear_slot_special1 + { + idc=134; + x=0; + y="(0.705 - 0.09)"; + w=0.055; + h=0.074; + action="WF_Logic setVariable ['InventoryClick',134]"; + }; + class CA_Gear_slot_inventory2:CA_Gear_slot_inventory1 + { + idc=135; + x="(0.56 - 0.502)"; + y="(0.705 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',135]"; + }; + class CA_Gear_slot_inventory3:CA_Gear_slot_inventory1 + { + idc=136; + x="(0.617 - 0.502)"; + y="(0.705 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',136]"; + }; + class CA_Gear_slot_inventory4:CA_Gear_slot_inventory1 + { + idc=137; + x="(0.674 - 0.502)"; + y="(0.705 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',137]"; + }; + class CA_Gear_slot_inventory5:CA_Gear_slot_inventory1 + { + idc=138; + x="(0.733 - 0.502)"; + y="(0.705 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',138]"; + }; + class CA_Gear_slot_inventory6:CA_Gear_slot_inventory1 + { + idc=139; + x="(0.79 - 0.502)"; + y="(0.705 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',139]"; + }; + class CA_Gear_slot_inventory7:CA_Gear_slot_inventory1 + { + idc=140; + x=0; + y="(0.782 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',140]"; + }; + class CA_Gear_slot_inventory8:CA_Gear_slot_inventory7 + { + idc=141; + x="(0.56 - 0.502)"; + y="(0.782 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',141]"; + }; + class CA_Gear_slot_inventory9:CA_Gear_slot_inventory7 + { + idc=142; + x="(0.617 - 0.502)"; + y="(0.782 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',142]"; + }; + class CA_Gear_slot_inventory10:CA_Gear_slot_inventory7 + { + idc=143; + x="(0.674 - 0.502)"; + y="(0.782 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',143]"; + }; + class CA_Gear_slot_inventory11:CA_Gear_slot_inventory7 + { + idc=144; + x="(0.733 - 0.502)"; + y="(0.782 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',144]"; + }; + class CA_Gear_slot_inventory12:CA_Gear_slot_inventory7 + { + idc=145; + x="(0.79 - 0.502)"; + y="(0.782 - 0.09)"; + action="WF_Logic setVariable ['InventoryClick',145]"; + }; + class CA_Gear_slot_inventory13:CA_Gear_slot_inventory7 + { + idc=1122; + x=0.1; + y=0.1; + }; + class ACE_IFAK_1P:RscPicture + { + idc=90104; + style="0x30+ 0x800"; + x="(0.79 - 0.502)"; + y="(0.398 - 0.09)+ 0.05"; + w=0.043; + h=0.043; + text=""; + }; + class ACE_IFAK_2P:RscPicture + { + idc=90105; + style="0x30+ 0x800"; + x="(0.79 - 0.502)+ 0.001+ 0.043"; + y="(0.398 - 0.09)+ 0.05"; + w=0.043; + h=0.043; + text=""; + }; + class ACE_IFAK_3P:RscPicture + { + idc=90106; + style="0x30+ 0x800"; + x="(0.79 - 0.502)+ (0.001+ 0.043) * 2"; + y="(0.398 - 0.09)+ 0.05"; + w=0.043; + h=0.043; + text=""; + }; + class ACE_IFAK_1C:RscText + { + idc=90107; + style="0x02"; + x="(0.79 - 0.502)"; + y="(0.398 - 0.09)+ 0.05* 2"; + w=0.043; + h="0.043* 0.7"; + text=""; + }; + class ACE_IFAK_2C:RscText + { + idc=90108; + style="0x02"; + x="(0.79 - 0.502)+ 0.001+ 0.043"; + y="(0.398 - 0.09)+ 0.05* 2"; + w=0.043; + h="0.043* 0.7"; + text=""; + }; + class ACE_IFAK_3C:RscText + { + idc=90109; + style="0x02"; + x="(0.79 - 0.502)+ (0.001+ 0.043) * 2"; + y="(0.398 - 0.09)+ 0.05* 2"; + w=0.043; + h="0.043* 0.7"; + text=""; + }; + }; + }; + class Break_7:RscLineBreak + { + }; + class ButtonClose:RscIGUIShortcutButton + { + idc=2; + shortcuts[]={"0x00050000+1"}; + x="(SafeZoneX + 0.0392216 )"; + y="(SafeZoneY + 1.1 )"; + text=$STR_DISP_CLOSE; + }; + class ButtonBuy:RscIGUIShortcutButton + { + idc=148; + shortcuts[]={"0x00050000+3"}; + x="(SafeZoneX + 0.333336 )"; + y="(SafeZoneY + 1.1 )"; + text=$STR_WF_Purchase; + onButtonClick="WF_Logic setVariable ['lbMainAction','buy']"; + }; + class ACE_ItemCost:ACE_Total_Weight + { + idc=152; + x="(SafeZoneX + 0.77)"; + y="(SafeZoneY + 1.1)"; + text=""; + }; + class ACE_PlayerFunds:ACE_ItemCost + { + idc=150; + x="(SafeZoneX + 0.52)"; + }; + class ACE_PlayerRespawnCost:ACE_ItemCost + { + idc=151; + y="(SafeZoneY + 1.04)"; + text=""; + }; + }; +}; -- cgit v1.3.1