From a3a91d4f45b22fd487ecbc954ad979be5d03efdd Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:38:09 +0300 Subject: init --- Rsc/Dialogs.hpp | 3785 ++++++++++++++++++++++++++++++++++++++++++++++++++++ Rsc/Header.hpp | 22 + Rsc/Identities.hpp | 42 + Rsc/Parameters.hpp | 693 ++++++++++ Rsc/Ressources.hpp | 1001 ++++++++++++++ Rsc/Sounds.hpp | 4 + Rsc/Styles.hpp | 31 + Rsc/Titles.hpp | 430 ++++++ 8 files changed, 6008 insertions(+) create mode 100644 Rsc/Dialogs.hpp create mode 100644 Rsc/Header.hpp create mode 100644 Rsc/Identities.hpp create mode 100644 Rsc/Parameters.hpp create mode 100644 Rsc/Ressources.hpp create mode 100644 Rsc/Sounds.hpp create mode 100644 Rsc/Styles.hpp create mode 100644 Rsc/Titles.hpp (limited to 'Rsc') 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=""; + }; + }; +}; diff --git a/Rsc/Header.hpp b/Rsc/Header.hpp new file mode 100644 index 0000000..ffc381a --- /dev/null +++ b/Rsc/Header.hpp @@ -0,0 +1,22 @@ +/* Header */ + +//--- Respawn options. +respawn = 3; +respawnDelay = WF_RESPAWNDELAY; +respawnDialog = false; + +//--- Require briefing.html to show up. +onLoadMission = WF_MISSIONNAME; +onLoadMissionTime = false; + +//--- ArrowHead loadscreen. +#ifndef VANILLA + loadScreen = WF_LOADSCREEN; +#endif + +//--- Properties. +class Header { + gameType = CTI; + minPlayers = 1; + maxPlayers = WF_MAXPLAYERS; +}; \ No newline at end of file diff --git a/Rsc/Identities.hpp b/Rsc/Identities.hpp new file mode 100644 index 0000000..08ffaae --- /dev/null +++ b/Rsc/Identities.hpp @@ -0,0 +1,42 @@ +/* Identities (Radio) */ + +class CfgIdentities { + class WFHQ_EN0_EP1 { + name = "Benny"; + face = "Default"; + glasses = "None"; + speaker = "Male01EN"; + pitch = 1.0; + }; + class WFHQ_EN1_EP1 : WFHQ_EN0_EP1 { + speaker = "Male02EN"; + }; + class WFHQ_EN2_EP1 : WFHQ_EN0_EP1 { + speaker = "Male03EN"; + }; + class WFHQ_EN3_EP1 : WFHQ_EN0_EP1 { + speaker = "Male04EN"; + }; + class WFHQ_EN4_EP1 : WFHQ_EN0_EP1 { + speaker = "Male05EN"; + }; + class WFHQ_EN5_EP1 : WFHQ_EN0_EP1 { + speaker = "Female01EN_EP1"; + }; + + class WFHQ_TK0_EP1 : WFHQ_EN0_EP1 { + speaker = "Male01TK"; + }; + class WFHQ_TK1_EP1 : WFHQ_EN0_EP1 { + speaker = "Male02TK"; + }; + class WFHQ_TK2_EP1 : WFHQ_EN0_EP1 { + speaker = "Male03TK"; + }; + class WFHQ_TK3_EP1 : WFHQ_EN0_EP1 { + speaker = "Male04TK"; + }; + class WFHQ_TK4_EP1 : WFHQ_EN0_EP1 { + speaker = "Male05TK"; + }; +}; \ No newline at end of file diff --git a/Rsc/Parameters.hpp b/Rsc/Parameters.hpp new file mode 100644 index 0000000..9bfc876 --- /dev/null +++ b/Rsc/Parameters.hpp @@ -0,0 +1,693 @@ +/* Parameters */ + +class Params { + class aiGroupSizeAI { + title = "$STR_WF_PARAMETER_GroupSizeAI"; + values[] = {2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,35,40,45,50,60,70,80,90,100}; + texts[] = {"2","4","6","8","10","12","14","16","18","20","22","24","26","28","30","35","40","45","50","60","70","80","90","100"}; + default = 10; + }; + class aiGroupSizePlayer { + title = "$STR_WF_PARAMETER_GroupSizePlayer"; + values[] = {2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,35,40,45,50,60,70,80,90,100}; + texts[] = {"2","4","6","8","10","12","14","16","18","20","22","24","26","28","30","35","40","45","50","60","70","80","90","100"}; + default = 12; + }; + class aiKeepUnits { + title = "$STR_WF_PARAMETER_KeepAI"; + values[] = {0,1}; + texts[] = {"$STR_WF_PARAMETER_No","$STR_WF_PARAMETER_Yes"};//{"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class aiTeams { + title = "$STR_WF_PARAMETER_AI"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class artilleryCalls { + title = "$STR_WF_PARAMETER_Arty"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + #ifndef VANILLA + class artilleryComputer { + title = "$STR_WF_PARAMETER_ArtilleryComputer"; + values[] = {0,1,2}; + texts[] = {"$STR_WF_Disabled","$STR_WF_PARAMETER_Enabled_Upgrade","$STR_WF_Enabled"}; + default = 0; + }; + #endif + class artilleryUI { + title = "$STR_WF_PARAMETER_ArtilleryUI"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class artilleryRange { + title = "$STR_WF_PARAMETER_Artillery"; + values[] = {1,2,3}; + texts[] = {"$STR_WF_PARAMETER_Short","$STR_WF_PARAMETER_Medium","$STR_WF_PARAMETER_Long"}; + default = 3; + }; + class baseAICommander { + title = "$STR_WF_PARAMETER_AICommander"; + values[] = {0,1}; + texts[] = {"$STR_WF_PARAMETER_No","$STR_WF_PARAMETER_Yes"};//{"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + //--- OA has no suitable allies for both side (yet). + #ifndef ARROWHEAD + class baseAllies { + title = "$STR_WF_PARAMETER_Allies"; + values[] = {0,1,2,3}; + texts[] = {"$STR_WF_Disabled","$STR_WF_PARAMETER_Side_West","$STR_WF_PARAMETER_Side_East","$STR_WF_PARAMETER_Both"}; + default = 0; + }; + #endif + class baseAAR { + title = "$STR_WF_PARAMETER_AntiAirRadar"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class baseArea { + title = "$STR_WF_PARAMETER_BaseArea"; + values[] = {0,1}; + texts[] = {"$STR_WF_PARAMETER_No","$STR_WF_PARAMETER_Yes"};//{"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class baseAreaLimit { + title = "$STR_WF_PARAMETER_BaseArea_Limit"; + values[] = {1,2,3,4,5,6,7,8,9,10,12,14,16,18,20,22,24}; + texts[] = {"1","2","3","4","5","6","7","8","9","10","12","14","16","18","20","22","24"}; + default = 2; + }; + class baseAutoDefenses { + title = "$STR_WF_PARAMETER_AutoMannedDefense"; + values[] = {0,10,20,30,40,50,60,70,80,90,100}; + texts[] = {"$STR_WF_Disabled","10","20","30","40","50","60","70","80","90","100"}; + default = 30; + }; + class baseAutoDefensesRange { + title = "$STR_WF_PARAMETER_AutoDefense_Range"; + values[] = {50,100,150,200,250,300,350,400,450,500,600,700,800,900,1000}; + texts[] = {"50m","100m","150m","200m","250m","300m","350m","400m","450m","500m","600m","700m","800m","900m","1000m"}; + default = 250; + }; + class baseBuildingsLimit { + title = "$STR_WF_PARAMETER_BuildingsLimit"; + values[] = {1,2,3,4,5,6,7,8,9,10}; + texts[] = {"1","2","3","4","5","6","7","8","9","10"}; + default = 2; + }; + class baseConstructionMode { + title = "$STR_WF_PARAMETER_ConstructionMode"; + values[] = {0,1}; + texts[] = {"$STR_WF_PARAMETER_Time","$STR_WF_PARAMETER_HQWorkers"}; + default = 0; + }; + class baseDefensePlacement { + title = "$STR_WF_PARAMETER_DefensePlacement"; + values[] = {0,1}; + texts[] = {"$STR_WF_PARAMETER_Collide_No","$STR_WF_PARAMETER_Collide"}; + default = 1; + }; + class baseHQDeploycost { + title = "$STR_WF_PARAMETER_HQDeployCost"; + values[] = {100,200,300,400,500,600,700,800,900,1000,1500,2000,2500,3000,3500,4000,5000,6000,7000,8000,9000,10000}; + texts[] = {"S 100","S 200","S 300","S 400","S 500","S 600","S 700","S 800","S 900","S 1000","S 1500","S 2000","S 2500","S 3000","S 3500","S 4000","S 5000","S 6000","S 7000","S 8000","S 9000","S 10000"}; + default = 100; + }; + class baseHQDeployRange { + title = "$STR_WF_PARAMETER_HQDeployRange"; + values[] = {50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200,220,240,260,280,300,320,340,360,380,400}; + texts[] = {"50m","60m","70m","80m","90m","100m","110m","120m","130m","140m","150m","160m","170m","180m","190m","200m","220m","240m","260m","280m","300m","320m","340m","360m","380m","400m"}; + default = 120; + }; + class basePatrols { + title = "$STR_WF_PARAMETER_BasePatrols"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class baseSpawnSystemRestrict { + title = "$STR_WF_PARAMETER_SpawnSystemRestrict"; + values[] = {0,1}; + texts[] = {"$STR_WF_PARAMETER_No","$STR_WF_PARAMETER_Yes"};//{"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class baseStartingDistance { + title = "$STR_WF_PARAMETER_StartingDistance"; + values[] = {-1,1000,1500,2000,2500,3000,3500,4000,4500,5000,5500,6000,6500,7000,7500,8000,8500,9000}; + texts[] = {"$STR_WF_PARAMETER_StartingLocations_Random","1000m","1500m","2000m","2500m","3000m","3500m","4000m","4500m","5000m","5500m","6000m","6500m","7000m","7500m","8000m","8500m","9000m"}; + default = 5500; + }; + class baseStartingLocations { + title = "$STR_WF_PARAMETER_StartingLocations"; + values[] = {0,1,2}; + texts[] = {"$STR_WF_PARAMETER_StartingLocations_WestNorth","$STR_WF_PARAMETER_StartingLocations_WestSouth","$STR_WF_PARAMETER_StartingLocations_Random"}; + default = 2; + }; + class economyCurrency { + title = "$STR_WF_PARAMETER_Currency"; + values[] = {0,1}; + texts[] = {"$STR_WF_PARAMETER_Money_Supply","$STR_WF_PARAMETER_Money"}; + default = 0; + }; + class economyIncomeInterval { + title = "$STR_WF_PARAMETER_IncomeInterval"; + values[] = {30,60,120,180,240,300,360,420,480,540,600}; + texts[] = {"30 Seconds", "1 Minute","2 Minutes","3 Minutes","4 Minutes","5 Minutes","6 Minutes","7 Minutes","8 Minutes","9 Minutes","10 Minutes"}; + default = 60; + }; + class economyIncomeSystem { + title = "$STR_WF_PARAMETER_IncomeSystem"; + values[] = {1,2,3,4}; + texts[] = {"$STR_WF_PARAMETER_IncomeSystem_Full","$STR_WF_PARAMETER_IncomeSystem_Half","$STR_WF_PARAMETER_Income_Sys_Param","$STR_WF_PARAMETER_Income_Sys_Param_Full"}; + default = 3; + }; + class economyStartingFundsEast { + title = "$STR_WF_PARAMETER_Funds_East"; + values[] = {800,1600,2400,3200,4000,4800,6400,8000,12800,25600,51200,102400,204800,409600,819200}; + texts[] = {"$ 800","$ 1600","$ 2400","$ 3200","$ 4000","$ 4800","$ 6400","$ 8000","$ 12800","$ 25600","$ 51200","$ 102400","$ 204800","$ 409600","$ 819200"}; + default = 800; + }; + class economyStartingFundsWest { + title = "$STR_WF_PARAMETER_Funds_West"; + values[] = {800,1600,2400,3200,4000,4800,6400,8000,12800,25600,51200,102400,204800,409600,819200}; + texts[] = {"$ 800","$ 1600","$ 2400","$ 3200","$ 4000","$ 4800","$ 6400","$ 8000","$ 12800","$ 25600","$ 51200","$ 102400","$ 204800","$ 409600","$ 819200"}; + default = 800; + }; + class economyStartingSupplyEast { + title = "$STR_WF_PARAMETER_Supply_East"; + values[] = {1200,2400,3600,4800,6000,7200,8400,9600,19200,38400,76800}; + texts[] = {"S 1200","S 2400","S 3600","S 4800","S 6000","S 7200","S 8400","S 9600","S 19200","S 38400","S 76800"}; + default = 1200; + }; + class economyStartingSupplyWest { + title = "$STR_WF_PARAMETER_Supply_West"; + values[] = {1200,2400,3600,4800,6000,7200,8400,9600,19200,38400,76800}; + texts[] = {"S 1200","S 2400","S 3600","S 4800","S 6000","S 7200","S 8400","S 9600","S 19200","S 38400","S 76800"}; + default = 1200; + }; + class economySupplySystem { + title = "$STR_WF_PARAMETER_SupplySystem"; + values[] = {0,1}; + texts[] = {"$STR_WF_PARAMETER_SupplySystem_Truck","$STR_WF_PARAMETER_Time"}; + default = 1; + }; + class environmentFastTime { + title = "$STR_WF_PARAMETER_FastTime"; + values[] = {0,1,2,3,4,5,6,7,8,9}; + texts[] = {"$STR_WF_Disabled","1 Second = 2 Seconds","1 Second = 3 Seconds","1 Second = 4 Seconds","1 Second = 5 Seconds","1 Second = 10 Seconds","1 Second = 15 Seconds","1 Second = 20 Seconds","1 Second = 25 Seconds","1 Second = 30 Seconds"}; + default = 0; + }; + class environmentTimeOfDay { + title = "$STR_WF_PARAMETER_TimeOfDay"; + values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}; + texts[] = {"00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00","08:00","09:00","10:00","11:00", + "12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00"}; + default = 9; + }; + class environmentWeather { + title = "$STR_WF_PARAMETER_Weather"; + values[] = {0,1,2,3}; + texts[] = {"$STR_WF_PARAMETER_Weather_Clear","$STR_WF_PARAMETER_Weather_Cloudy","$STR_WF_PARAMETER_Weather_Rainy","$STR_WF_PARAMETER_Weather_Dynamic"}; + default = 0; + }; + #ifndef VANILLA + class extensionBAF { + title = "$STR_WF_PARAMETER_BAF"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class extensionPMC { + title = "$STR_WF_PARAMETER_PMC"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + #endif + class gameplayAlice { + title = "$STR_WF_PARAMETER_Alice"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class gameplayHangars { + title = "$STR_WF_PARAMETER_Hangars"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class gameplayBodiesTimeout { + title = "$STR_WF_PARAMETER_BodiesTimeout"; + values[] = {60,120,180,240,300,600,1200,1800,2400,3000,3600}; + texts[] = {"1 Minute","2 Minutes","3 Minutes","4 Minutes","5 Minutes","10 Minutes","20 Minutes","30 Minutes","40 Minutes","50 Minutes","1 Hour"}; + default = 240; + }; + #ifdef ACE + class gameplayDefenseAmmo { + title = "$STR_WF_Gameplay_DefenseAmmo"; + values[] = {0,1,2,3}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Base_Only","$STR_WF_Base_And_Towns","$STR_WF_All"}; + default = 2; + }; + #endif + class gameplayVehiclesTimeout { + title = "$STR_WF_PARAMETER_VehicleDelay"; + values[] = {60,120,180,240,300,600,1200,1800,2400,3000,3600}; + texts[] = {"1 Minute","2 Minutes","3 Minutes","4 Minutes","5 Minutes","10 Minutes","20 Minutes","30 Minutes","40 Minutes","50 Minutes","1 Hour"}; + default = 1200; + }; + class gameplayExtendedInventory { + title = "$STR_WF_PARAMETER_Extended_Inventory"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class gameplayFastTravel { + title = "$STR_WF_PARAMETER_FastTravel"; + values[] = {0,1,2}; + texts[] = {"$STR_WF_Disabled","$STR_WF_PARAMETER_Free","$STR_WF_PARAMETER_Fee"}; + default = 0; + }; + class gameplayFriendlyFire { + title = "$STR_WF_PARAMETER_FriendlyFire"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class gameplayGrass { + title = "$STR_WF_PARAMETER_Grass"; + values[] = {10,20,30,50}; + texts[] = {"Far","Medium","Short","Toggleable"}; + default = 50; + }; + class gameplayKickTeamswap { + title = "$STR_WF_PARAMETER_KickTeamswapper"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class gameplayLimitedBoundaries { + title = "$STR_WF_PARAMETER_LimitedBoundaries"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class gameplayMapColoration { + title = "$STR_WF_PARAMETER_Coloration"; + values[] = {0,1}; + texts[] = {"$STR_WF_PARAMETER_Default","$STR_WF_PARAMETER_NATO_Coloration"}; + default = 0; + }; + class gameplayMissileRange { + title = "$STR_WF_PARAMETER_MissileRange"; + values[] = {0,500,1000,1500,2000,2500,3000,3500,4000,4500,5000,5500,6000,6500,7000,7500,8000,8500,9000,9500,10000}; + texts[] = {"$STR_WF_Disabled","500m","1000m","1500m","2000m","2500m","3000m","3500m","4000m","4500m","5000m","5500m","6000m","6500m","7000m","7500m","8000m","8500m","9000m","9500m","10000m"}; + default = 0; + }; + class gameplaySecondaryMissions { + title = "$STR_WF_PARAMETER_SecondaryMissions"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class gameplayShowUID { + title = "$STR_WF_PARAMETER_ShowUID"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class gameplaySpecialization { + title = "$STR_WF_PARAMETER_Specialization"; + values[] = {0,1,2,3}; + texts[] = {"$STR_WF_PARAMETER_None","$STR_WF_PARAMETER_Infantry","$STR_WF_PARAMETER_LandVehicles","$STR_WF_PARAMETER_Aircraft"}; + default = 0; + }; + class gameplayThermalImaging { + title = "$STR_WF_PARAMETER_ThermalImaging"; + values[] = {0,1,2,3}; + texts[] = {"$STR_WF_Disabled","$STR_WF_PARAMETER_Weapons","$STR_WF_PARAMETER_Vehicles","$STR_WF_Enabled"}; + default = 3; + }; + class gameplayTrackAI { + title = "$STR_WF_PARAMETER_TrackAI"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class gameplayTrackPlayers { + title = "$STR_WF_PARAMETER_TrackPlayers"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class gameplayUnitsBalancing { + title = "$STR_WF_PARAMETER_Balance"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class gameplayUnitsBounty { + title = "$STR_WF_PARAMETER_UnitsBounty"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class gameplayUpgradesEast { + title = "$STR_WF_PARAMETER_Upgrades_East"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class gameplayUpgradesWest { + title = "$STR_WF_PARAMETER_Upgrades_West"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class gameplayVictoryConditions { + title = "$STR_WF_PARAMETER_VictoryCondition"; + values[] = {0,1,2,3}; + texts[] = {"$STR_WF_PARAMETER_Victory_Annihilation","$STR_WF_PARAMETER_Victory_Assassination","$STR_WF_PARAMETER_Victory_Supremacy","$STR_WF_PARAMETER_Victory_Towns"}; + default = 2; + }; + class gameplayViewDistance { + title = "$STR_WF_PARAMETER_ViewDistance"; + values[] = {200,500,800,1000,1500,2000,2500,3000,3500,4000,4500,5000}; + texts[] = {"200m","500m","800m","1000m","1500m","2000m","2500m","3000m","3500m","4000m","4500m","5000m"}; + default = 4000; + }; + #ifdef ACE + class gameplayAceWounds { + title = "$STR_WF_Gameplay_AceWounds"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + #endif + #ifdef VANILLA + class moduleCM { + title = "$STR_WF_PARAMETER_Countermeasures"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + #endif + class moduleEASA { + title = "$STR_WF_PARAMETER_EASA"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class moduleHC { + title = "$STR_WF_PARAMETER_HighCommand"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class moduleICBM { + title = "$STR_WF_PARAMETER_ICBM"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class moduleISIS { + title = "$STR_WF_PARAMETER_ISIS"; + values[] = {0,1,2}; + texts[] = {"$STR_WF_Disabled","$STR_WF_PARAMETER_Leader","$STR_WF_PARAMETER_All"}; + default = 0; + }; + class moduleVC { + title = "$STR_WF_PARAMETER_Clouds"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class respawnCamps { + title = "$STR_WF_PARAMETER_Camp"; + values[] = {0,1,2,3}; + texts[] = {"$STR_WF_Disabled","$STR_WF_PARAMETER_Classic","$STR_WF_PARAMETER_Respawn_CampsNearby","$STR_WF_PARAMETER_Respawn_Defender"}; + default = 2; + }; + class respawnCampsRule { + title = "$STR_WF_PARAMETER_CampRespawnRule"; + values[] = {0,1,2}; + texts[] = {"$STR_WF_Disabled","$STR_WF_PARAMETER_Respawn_CampsRule_WestEast","$STR_WF_PARAMETER_Respawn_CampsRule_WestEastRes"}; + default = 2; + }; + class respawnDelay { + title = "$STR_WF_PARAMETER_Respawn"; + values[] = {10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90}; + texts[] = {"10 Seconds","15 Seconds","20 Seconds","25 Seconds","30 Seconds","35 Seconds","40 Seconds","45 Seconds","50 Seconds", + "55 Seconds","60 Seconds","65 Seconds","70 Seconds","75 Seconds","80 Seconds","85 Seconds","90 Seconds"}; + default = 30; + }; + class respawnMASH { + title = "$STR_WF_PARAMETER_Respawn_MASH"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class respawnMobile { + title = "$STR_WF_PARAMETER_MobileRespawn"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class respawnPenalty { + title = "$STR_WF_PARAMETER_Respawn_Penalty"; + values[] = {0,1,2,3,4,5}; + texts[] = {"$STR_WF_Disabled","$STR_WF_PARAMETER_Respawn_Penalty_Remove","$STR_WF_PARAMETER_Respawn_Penalty_Full","$STR_WF_PARAMETER_Respawn_Penalty_OneHalf","$STR_WF_PARAMETER_Respawn_Penalty_OneFourth","$STR_WF_PARAMETER_Respawn_Penalty_Mobile"}; + default = 5; + }; + class respawnTownsRange { + title = "$STR_WF_PARAMETER_TownRespawnRange"; + values[] = {50,100,150,200,250,300,350,400,450,500,550,600,650,700,750,800,850,900,950,1000,1500,2000,2500,3000,3500,4000}; + texts[] = {"50m","100m","150m","200m","250m","300m","350m","400m","450m","500m","550m","600m","650m","700m","750m","800m","850m","900m","950m","1000m","1500m","2000m","2500m","3000m","3500m","4000m"}; + default = 400; + }; + class restrictionAdvancedAir { + title = "$STR_WF_PARAMETER_AdvancedAir"; + values[] = {0,1,2}; + texts[] = {"$STR_WF_Disabled","$STR_WF_PARAMETER_Restriction_Air_H","$STR_WF_PARAMETER_Restriction_Air_HTransport"}; + default = 0; + }; + class restrictionGear { + title = "$STR_WF_PARAMETER_GearRestriction"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + #ifndef ARROWHEAD + class restrictionKamov { + title = "$STR_WF_PARAMETER_Kamov"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + #endif + class townsAmount { + title = "$STR_WF_PARAMETER_TownsAmount"; + values[] = {0,1,2,3,4}; + texts[] = {"$STR_WF_PARAMETER_Extra_Small","$STR_WF_PARAMETER_Small","$STR_WF_PARAMETER_Medium","$STR_WF_PARAMETER_Large","$STR_WF_PARAMETER_Full"}; + default = 3; + }; + class townsStrikerMax { + title = "$STR_WF_PARAMETER_MaxResStriker"; + values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,24,26,28,30,32,34,36,38,40,50,60,70,80,90,100}; + texts[] = {"$STR_WF_Disabled","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","22","24","26","28","30","32","34","36","38","40","50","60","70","80","90","100"}; + default = 0; + }; + class townsCamps { + title = "$STR_WF_PARAMETER_TownsCamps"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class townsCaptureMode { + title = "$STR_WF_PARAMETER_TownsCaptureMode"; + values[] = {0,1,2}; + texts[] = {"$STR_WF_PARAMETER_Classic","$STR_WF_PARAMETER_TownsCaptureMode_Threshold","$STR_WF_PARAMETER_TownsCaptureMode_AllCamps"}; + default = 1; + }; + #ifdef VANILLA + class townsCivilians { + title = "$STR_WF_PARAMETER_TownCivilians"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","Chernarus Civilians"}; + default = 0; + }; + #endif + #ifdef ARROWHEAD + class townsCivilians { + title = "$STR_WF_PARAMETER_TownCivilians"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","Takistan Civilians"}; + default = 0; + }; + #endif + #ifdef COMBINEDOPS + class townsCivilians { + title = "$STR_WF_PARAMETER_TownCivilians"; + values[] = {0,1,2}; + texts[] = {"$STR_WF_Disabled","Chernarus Civilians","Takistan Civilians"}; + default = 0; + }; + #endif + class townsConquestMode { + title = "$STR_WF_PARAMETER_TownsConquestMode"; + values[] = {0,1}; + texts[] = {"$STR_WF_PARAMETER_Classic","$STR_WF_PARAMETER_Territorial"}; + default = 0; + }; + class townsGear { + title = "$STR_WF_PARAMETER_TownsGear"; + values[] = {0,1,2,3}; + texts[] = {"$STR_WF_Disabled","$STR_WF_PARAMETER_CampSel","$STR_WF_PARAMETER_Depot","$STR_WF_PARAMETER_CampnDepot"}; + default = 1; + }; + class townsOccupation { + title = "$STR_WF_PARAMETER_Occupation"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class townsOccupDifficulty { + title = "$STR_WF_PARAMETER_Difficulty_Occupation"; + values[] = {1,2,3,4,5}; + texts[] = {"$STR_WF_PARAMETER_Light","$STR_WF_PARAMETER_Medium","$STR_WF_PARAMETER_Hard","$STR_WF_PARAMETER_Impossible","$STR_WF_PARAMETER_Automatic"}; + default = 1; + }; + #ifdef VANILLA + class townsOccupationFactionEast { + title = "$STR_WF_PARAMETER_Occupation_Type_East"; + values[] = {0,1}; + texts[] = {"Insurgents","Russians"}; + default = 1; + }; + #endif + #ifdef VANILLA + class townsOccupationFactionWest { + title = "$STR_WF_PARAMETER_Occupation_Type_West"; + values[] = {0,1}; + texts[] = {"Chernarussian Defence Force","United States Marine Corps"}; + default = 1; + }; + #endif + #ifdef ARROWHEAD + class townsOccupationFactionEast { + title = "$STR_WF_PARAMETER_Occupation_Type_East"; + values[] = {0}; + texts[] = {"Takistan Army"}; + default = 0; + }; + #endif + #ifdef ARROWHEAD + class townsOccupationFactionWest { + title = "$STR_WF_PARAMETER_Occupation_Type_West"; + values[] = {0}; + texts[] = {"United States"}; + default = 0; + }; + #endif + #ifdef COMBINEDOPS + class townsOccupationFactionEast { + title = "$STR_WF_PARAMETER_Occupation_Type_East"; + values[] = {0,1,2}; + texts[] = {"Insurgents","Russians","Takistan Army"}; + default = 1; + }; + #endif + #ifdef COMBINEDOPS + class townsOccupationFactionWest { + title = "$STR_WF_PARAMETER_Occupation_Type_West"; + values[] = {0,1,2}; + texts[] = {"Chernarussian Defence Force","United States","United States Marine Corps"}; + default = 1; + }; + #endif + class townsOccupReinforcement { + title = "$STR_WF_PARAMETER_Reinforcement_Occupation"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class townsMaxPatrol { + title = "$STR_WF_PARAMETER_MaxResPatrols"; + values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,22,24,26,28,30,32,34,36,38,40,50,60,70,80,90,100}; + texts[] = {"$STR_WF_Disabled","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","22","24","26","28","30","32","34","36","38","40","50","60","70","80","90","100"}; + default = 0; + }; + class townsProtectionRange { + title = "$STR_WF_PARAMETER_TownProtectionRange"; + values[] = {0,50,100,150,200,250,300,350,400,450,500}; + texts[] = {"0m","50m","100m","150m","200m","250m","300m","350m","400m","450m","500m"}; + default = 400; + }; + class townsPurchaseInfantry { + title = "$STR_WF_PARAMETER_TownsPurchaseMilita"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class townsResistance { + title = "$STR_WF_PARAMETER_Resistance"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 1; + }; + class townsResistanceDifficulty { + title = "$STR_WF_PARAMETER_Difficulty_Resistance"; + values[] = {1,2,3,4}; + texts[] = {"$STR_WF_PARAMETER_Light","$STR_WF_PARAMETER_Medium","$STR_WF_PARAMETER_Hard","$STR_WF_PARAMETER_Impossible"}; + default = 2; + }; + #ifdef VANILLA + class townsResistanceFaction { + title = "$STR_WF_PARAMETER_Reinforcement_Type"; + values[] = {0}; + texts[] = {"Guerillas"}; + default = 0; + }; + #endif + #ifdef ARROWHEAD + class townsResistanceFaction { + title = "$STR_WF_PARAMETER_Reinforcement_Type"; + values[] = {0,1}; + texts[] = {"Private Military Company","Takistani Locals"}; + default = 1; + }; + #endif + #ifdef COMBINEDOPS + class townsResistanceFaction { + title = "$STR_WF_PARAMETER_Reinforcement_Type"; + values[] = {0,1,2}; + texts[] = {"Guerillas","Private Military Company","Takistani Locals"}; + default = 2; + }; + #endif + class townsResistanceReinforcement { + title = "$STR_WF_PARAMETER_Reinforcement_Resistance"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class townsResistanceVehicleLock { + title = "$STR_WF_PARAMETER_Resistance_VehLock"; + values[] = {0,1}; + texts[] = {"$STR_WF_Disabled","$STR_WF_Enabled"}; + default = 0; + }; + class townsStartingMode { + title = "$STR_WF_PARAMETER_StartingMode"; + values[] = {0,1,2,3}; + texts[] = {"$STR_WF_PARAMETER_None","$STR_WF_PARAMETER_Divided_Towns","$STR_WF_PARAMETER_Nearby_Town","$STR_WF_PARAMETER_StartingLocations_Random"}; + default = 0; + }; +}; \ No newline at end of file diff --git a/Rsc/Ressources.hpp b/Rsc/Ressources.hpp new file mode 100644 index 0000000..d0688c3 --- /dev/null +++ b/Rsc/Ressources.hpp @@ -0,0 +1,1001 @@ +/* Controls Definitions */ + +#define CT_STATIC 0 +#define CT_BUTTON 1 +#define CT_COMBO 4 +#define CT_LISTBOX 5 +#define CT_CLICKABLETEXT 11 +#define CT_STRUCTUREDTEXT 13 +#define CT_LISTNBOX 102 + +#define ST_POS 0x0F +#define ST_HPOS 0x03 +#define ST_VPOS 0x0C +#define ST_LEFT 0x00 +#define ST_RIGHT 0x01 +#define ST_CENTER 0x02 +#define ST_DOWN 0x04 +#define ST_UP 0x08 +#define ST_VCENTER 0x0c + +#define ENABLE_SHADOW shadow = 2 + +#define ST_PICTURE 48 +#define ST_TEXT_BG 128 + + +#ifdef VANILLA + /* Green */ + #define subcolor1 {0.7,1,0.7,1} + #define subcolor1hex "#eee58b" + #define WFBE_SoundClick "ui\ui_ok" + #define WFBE_SoundEnter "ui\ui_over" + #define WFBE_SoundEscape "ui\ui_cc" +#else + /* Yellow */ + #define subcolor1 {1,1,0.7,1} + #define subcolor1hex "#eee58b" + #define WFBE_SoundClick "\ca\ui\data\sound\onclick" + #define WFBE_SoundEnter "\ca\ui\data\sound\onover" + #define WFBE_SoundEscape "\ca\ui\data\sound\onescape" +#endif + +/* RscPicture */ +class RscPicture { + type = 0; + idc = -2; + style = 48; + colorText[] = {0.75, 0.75, 0.75, 1}; + colorBackground[] = {0, 0, 0, 0}; + font = "Bitstream"; + sizeEx = 0.025; + soundClick[] = {WFBE_SoundClick, 0.2, 1}; + soundEnter[] = {WFBE_SoundEnter, 0.2, 1}; + soundEscape[] = {WFBE_SoundEscape, 0.2, 1}; + soundPush[] = {"", 0.2, 1}; + w = 0.275; + h = 0.04; + text = ""; +}; +class RscPictureKeepAspect : RscPicture { //Coin Menu + style = 0x30 + 0x800; +}; + +class IGUIBack { //Coin Menu + type = CT_STATIC; + idc = 124; + style = ST_TEXT_BG; + text = ""; + colorText[] = {0, 0, 0, 0}; + font = "Zeppelin32"; + sizeEx = 0.0; + x = 0.1; + y = 0.1; + w = 0.1; + h = 0.1; + colorbackground[] = {0, 0, 0, 0.6}; +}; + +/* RscButton */ +class RscButton { + type = 1; + idc = -2; + style = 0x02 + 0x100; + x = 0; + y = 0; + w = 0; + h = 0.036; + text = ""; + font = "Zeppelin32"; + sizeEx = 0.035; + shadow = 2; + colorText[] = {1, 1, 1, 0.8}; + colorBackground[] = {0.5882, 0.5882, 0.3529, 0.7}; + colorBackgroundActive[] = {0.5882, 0.5882, 0.3529, 1}; + colorDisabled[] = {0.5, 0.5, 0.5, 0.8}; + colorBackgroundDisabled[] = {0, 0, 0, 0.6}; + offsetX = 0.003; + offsetY = 0.003; + offsetPressedX = 0.002; + offsetPressedY = 0.002; + colorFocused[] = {0.5882, 0.5882, 0.3529, 0.7}; + colorShadow[] = {0.023529, 0, 0.0313725, 1}; + colorBorder[] = {0.023529, 0, 0.0313725, 1}; + borderSize = 0.0; + soundEnter[] = {"\ca\ui\data\sound\mouse2", 0.09, 1}; + soundPush[] = {"\ca\ui\data\sound\new1", 0.09, 1}; + soundClick[] = {"\ca\ui\data\sound\mouse3", 0.07, 1}; + soundEscape[] = {"\ca\ui\data\sound\mouse1", 0.09, 1}; +}; +class RscButton_Back : RscButton { + w = 0.04; + h = 0.04; + text = "<<"; + shadow = 2; + sizeEx = 0.035; +}; +class RscButton_Exit : RscButton { + w = 0.04; + h = 0.04; + text = "X"; + shadow = 2; + sizeEx = 0.035; + colorText[] = {1, 1, 1, 0.8}; + colorBackground[] = {0.5020, 0, 0, 1}; + colorBackgroundActive[] = {0.9, 0, 0, 1}; + colorFocused[] = {0.5020, 0, 0, 1}; +}; + +/* RscShortcutButton */ +class RscShortcutButton { + type = 16; + idc = -2; + style = 0; + default = 0; + w = 0.183825; + h = 0.104575; + color[] = {0.543, 0.5742, 0.4102, 1.0}; + color2[] = {0.95, 0.95, 0.95, 1}; + colorBackground[] = {1, 1, 1, 1}; + colorbackground2[] = {1, 1, 1, 0.4}; + colorDisabled[] = {1, 1, 1, 0.25}; + periodFocus = 1.2; + periodOver = 0.8; + class HitZone { + left = 0.004; + top = 0.029; + right = 0.004; + bottom = 0.029; + }; + class ShortcutPos { + left = 0.004; + top = 0.026; + w = 0.0392157; + h = 0.0522876; + }; + class TextPos { + left = 0.05; + top = 0.034; + right = 0.005; + bottom = 0.005; + }; + animTextureNormal = "\ca\ui\data\ui_button_normal_ca.paa"; + animTextureDisabled = "\ca\ui\data\ui_button_disabled_ca.paa"; + animTextureOver = "\ca\ui\data\ui_button_over_ca.paa"; + animTextureFocused = "\ca\ui\data\ui_button_focus_ca.paa"; + animTexturePressed = "\ca\ui\data\ui_button_down_ca.paa"; + animTextureDefault = "\ca\ui\data\ui_button_default_ca.paa"; + textureNoShortcut = ""; + period = 0.4; + font = "Zeppelin32"; + size = 0.03521; + sizeEx = 0.03521; + text = ""; + soundEnter[] = {"\ca\ui\data\sound\mouse2", 0.09, 1}; + soundPush[] = {"\ca\ui\data\sound\new1", 0.09, 1}; + soundClick[] = {"\ca\ui\data\sound\mouse3", 0.07, 1}; + soundEscape[] = {"\ca\ui\data\sound\mouse1", 0.09, 1}; + action = ""; + class Attributes { + font = "Zeppelin32"; + color = "#E5E5E5"; + align = "left"; + shadow = "true"; + }; + class AttributesImage { + font = "Zeppelin32"; + color = "#E5E5E5"; + align = "left"; + }; +}; +class RscIGUIShortcutButton : RscShortcutButton { + w = 0.183825; + h = 0.0522876; + style = 2; + color[] = {1, 1, 1, 1}; + color2[] = {1, 1, 1, 0.85}; + colorBackground[] = {1, 1, 1, 1}; + colorbackground2[] = {1, 1, 1, 0.85}; + colorDisabled[] = {1, 1, 1, 0.4}; + class HitZone { + left = 0.002; + top = 0.003; + right = 0.002; + bottom = 0.016; + }; + class ShortcutPos { + left = -0.006; + top = -0.007; + w = 0.0392157; + h = 0.0522876; + }; + class TextPos { + left = 0.02; + top = 0.0; + right = 0.002; + bottom = 0.016; + }; + animTextureNormal = "\ca\ui\data\igui_button_normal_ca.paa"; + animTextureDisabled = "\ca\ui\data\igui_button_disabled_ca.paa"; + animTextureOver = "\ca\ui\data\igui_button_over_ca.paa"; + animTextureFocused = "\ca\ui\data\igui_button_focus_ca.paa"; + animTexturePressed = "\ca\ui\data\igui_button_down_ca.paa"; + animTextureDefault = "\ca\ui\data\igui_button_normal_ca.paa"; + class Attributes { + font = "Zeppelin32"; + color = "#E5E5E5"; + align = "center"; + shadow = "true"; + }; +}; +class RscShortcutButtonMain: RscShortcutButton { + w = 0.313726; + h = 0.104575; + color[] = {0.2588, 0.7137, 1, 1}; + colorDisabled[] = {1, 1, 1, 0.25}; + class HitZone { + left = 0.0; + top = 0.0; + right = 0.0; + bottom = 0.0; + }; + class ShortcutPos { + left = 0.0204; + top = 0.026; + w = 0.0392157; + h = 0.0522876; + }; + class TextPos { + left = 0.08; + top = 0.034; + right = 0.005; + bottom = 0.005; + }; + animTextureNormal = "\ca\ui\data\ui_button_main_normal_ca.paa"; + animTextureDisabled = "\ca\ui\data\ui_button_main_disabled_ca.paa"; + //animTextureOver = "\ca\ui\data\ui_button_main_over_ca.paa"; + animTextureOver = "Client\Images\ui_button_main_over.paa"; + //animTextureFocused = "\ca\ui\data\ui_button_main_focus_ca.paa"; + animTextureFocused = "Client\Images\ui_button_main_focus.paa"; + //animTexturePressed = "\ca\ui\data\ui_button_main_down_ca.paa"; + animTexturePressed = "Client\Images\ui_button_main_down.paa"; + animTextureDefault = "\ca\ui\data\ui_button_main_normal_ca.paa"; + period = 0.5; + font = "Zeppelin32"; + size = 0.03921; + sizeEx = 0.03921; + text = ""; + soundEnter[] = {"\ca\ui\data\sound\mouse2", 0.09, 1}; + soundPush[] = {"\ca\ui\data\sound\new1", 0.09, 1}; + soundClick[] = {"\ca\ui\data\sound\mouse3", 0.07, 1}; + soundEscape[] = {"\ca\ui\data\sound\mouse1", 0.09, 1}; + action = ""; + class Attributes { + font = "Zeppelin32"; + color = "#E5E5E5"; + align = "left"; + shadow = "false"; + }; + class AttributesImage { + font = "Zeppelin32"; + color = "#E5E5E5"; + align = "false"; + }; +}; + +/* RscListBox */ +class RscListBox { + idc = -2; + type = 5; + style = 0 + 0x10; + font = "Zeppelin32"; + sizeEx = 0.04221; + color[] = {0.2588, 0.7137, 1, 1}; + colorText[] = {1, 1, 1, 0.75}; + colorScrollbar[] = {0.95, 0, 0, 1}; + colorSelect[] = {0, 0, 0, 0.7}; + colorSelect2[] = {0, 0, 0, 0.7}; + colorSelectBackground[] = {0.2588, 0.7137, 1, 1}; + colorSelectBackground2[] = {0.2588, 0.7137, 1, 1}; + columns[] = {0.1, 0.7, 0.1, 0.1}; + period = 0; + colorBackground[] = {0, 0, 0, 1}; + maxHistoryDelay = 1.0; + autoScrollSpeed = -1; + autoScrollDelay = 5; + autoScrollRewind = 0; + soundSelect[] = {"\ca\ui\data\sound\new1", 0.09, 1}; + class ScrollBar { + color[] = {1, 1, 1, 0.6}; + colorActive[] = {1, 1, 1, 1}; + colorDisabled[] = {1, 1, 1, 0.3}; + thumb = "\ca\ui\data\igui_scrollbar_thumb_ca.paa"; + arrowFull = "\ca\ui\data\igui_arrow_top_active_ca.paa"; + arrowEmpty = "\ca\ui\data\igui_arrow_top_ca.paa"; + border = "\ca\ui\data\igui_border_scroll_ca.paa"; + }; +}; + +class RscListBoxA : RscListBox { + type = 102; + lineSpacing = 1; + sizeEx = 0.029; + rowHeight = 0.03; + style = 16; + arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)"; + arrowFull = "#(argb,8,8,3)color(1,1,1,1)"; +}; + +/* RscText */ +class RscText { + idc = -2; + type = 0; + x = 0; + y = 0; + h = 0.037; + w = 0; + style = 256; + font = "Zeppelin32"; + text = ""; + sizeEx = 0.03; + shadow = 2; + colorText[] = {0.9333, 0.8980, 0.5451, 0.9}; + colorBackground[] = {0, 0, 0, 0}; +}; +class RscText_Title : RscText { + h = 0.04; + colorText[] = {0.2588, 0.7137, 1, 1}; + sizeEx = 0.045; + shadow = 1; +}; +class RscText_SubTitle : RscText { + h = 0.04; + colorText[] = {0.2588, 0.7137, 1, 0.9}; + sizeEx = 0.035; + shadow = 1; +}; +class RscText_Small : RscText { + h = 0.037; + colorText[] = {0.9333, 0.8980, 0.5451, 0.9}; + sizeEx = 0.025; + shadow = 2; +}; + +/* RscStructuredText */ +class RscStructuredText { + type = 13; + idc = -2; + style = 0; + x = 0; + y = 0; + h = 0.035; + w = 0.1; + text = ""; + size = 0.03421; + colorText[] = subcolor1; + class Attributes { + font = "Zeppelin32"; + color = subcolor1hex; + align = "left"; + shadow = true; + }; +}; + +/* RscXSliderH */ +class RscXSliderH { + idc = -2; + type = 43; + style = 0x400 + 0x10; + x = 0; + y = 0; + h = 0.029412; + w = 0.4; + color[] = {1, 1, 1, 0.4}; + colorActive[] = {1, 1, 1, 1}; + colorDisabled[] = {1, 1, 1, 0.2}; + arrowEmpty = "\ca\ui\data\ui_arrow_left_ca.paa"; + arrowFull = "\ca\ui\data\ui_arrow_left_active_ca.paa"; + border = "\ca\ui\data\ui_border_frame_ca.paa"; + thumb = "\ca\ui\data\ui_slider_bar_ca.paa"; +}; + +/* RscCombo */ +class RscCombo { + idc = -2; + type = 4; + style = 1; + x = 0; + y = 0; + w = 0.3; + h = 0.035; + colorSelect[] = {0, 0, 0, 0.7}; + colorText[] = {1, 1, 1, 0.75}; + colorBackground[] = {0,0,0,0.75}; + colorSelectBackground[] = {0.2588, 0.7137, 1, 1}; + colorScrollbar[] = {0.023529, 0, 0.0313725, 1}; + arrowEmpty = "\ca\ui\data\ui_arrow_combo_ca.paa"; + arrowFull = "\ca\ui\data\ui_arrow_combo_active_ca.paa"; + wholeHeight = 0.45; + color[] = {0.2588, 0.7137, 1, 1}; + colorActive[] = {0, 0, 0, 1}; + colorDisabled[] = {0, 0, 0, 0.3}; + font = "Zeppelin32"; + sizeEx = 0.031; + soundSelect[] = {"\ca\ui\data\sound\new1", 0.09, 1}; + soundExpand[] = {"\ca\ui\data\sound\new1", 0.09, 1}; + soundCollapse[] = {"\ca\ui\data\sound\new1", 0.09, 1}; + maxHistoryDelay = 1.0; + class ScrollBar { + color[] = {1, 1, 1, 0.6}; + colorActive[] = {1, 1, 1, 1}; + colorDisabled[] = {1, 1, 1, 0.3}; + thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; + arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; + arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; + border = "\ca\ui\data\ui_border_scroll_ca.paa"; + }; +}; + +/* RscClickableText */ +class RscClickableText { + idc = -2; + type = 11; + style = 48 + 0x800; + color[] = {0.75,0.75,0.75,1}; + colorActive[] = {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, 0.0, 0}; + font = "Zeppelin32"; + sizeEx = 0.03921; + soundClick[] = {WFBE_SoundClick,0.2,1}; + soundDoubleClick[] = {"", 0.1, 1}; + soundEnter[] = {WFBE_SoundEnter,0.2,1}; + soundEscape[] = {WFBE_SoundEscape,0.2,1}; + soundPush[] = {"",0.2,1}; + w = 0.275; + h = 0.04; + text = ""; +}; + +/* RscMapControl */ +class RscMapControl { + type = 101; + moveOnEdges = 1; + sizeEx = 0.025; + style = 48; + x = 0.2; + y = 0.2; + w = 0.2; + h = 0.2; + ptsPerSquareSea = 8; + ptsPerSquareTxt = 10; + ptsPerSquareCLn = 10; + ptsPerSquareExp = 10; + ptsPerSquareCost = 10; + ptsPerSquareFor = "6.0f"; + ptsPerSquareForEdge = "15.0f"; + ptsPerSquareRoad = "3f"; + ptsPerSquareObj = 15; + showCountourInterval = "false"; + maxSatelliteAlpha = 0.75; + alphaFadeStartScale = 0.15; + alphaFadeEndScale = 0.29; + colorLevels[] = {0.65, 0.6, 0.45, 1}; + colorSea[] = {0.46, 0.65, 0.74, 0.5}; + colorForest[] = {0.45, 0.64, 0.33, 0.5}; + colorRocks[] = {0, 0, 0, 0.3}; + colorCountlines[] = {0.85, 0.8, 0.65, 1}; + colorMainCountlines[] = {0.45, 0.4, 0.25, 1}; + colorCountlinesWater[] = {0.25, 0.4, 0.5, 0.3}; + colorMainCountlinesWater[] = {0.25, 0.4, 0.5, 0.9}; + colorPowerLines[] = {0.1, 0.1, 0.1, 1}; + colorRailWay[] = {0.8, 0.2, 0, 1}; + colorForestBorder[] = {0, 0, 0, 0}; + colorRocksBorder[] = {0, 0, 0, 0}; + colorNames[] = {0.1, 0.1, 0.1, 0.9}; + colorInactive[] = {1, 1, 1, 0.5}; + colorText[] = {0, 0, 0, 1}; + colorBackground[] = {0.8, 0.8, 0.8, 1}; + font = "EtelkaNarrowMediumPro"; + colorOutside[] = {0, 0, 0, 1}; + fontLabel = "Zeppelin32"; + sizeExLabel = 0.034; + fontGrid = "Zeppelin32"; + sizeExGrid = 0.03; + fontUnits = "Zeppelin32"; + sizeExUnits = 0.034; + fontNames = "Zeppelin32"; + sizeExNames = 0.056; + fontInfo = "Zeppelin32"; + sizeExInfo = 0.034; + fontLevel = "Zeppelin32"; + sizeExLevel = 0.024; + text = "\ca\ui\data\map_background2_co.paa"; + class Task { + icon = "\ca\ui\data\ui_taskstate_current_CA.paa"; + iconCreated = "\ca\ui\data\ui_taskstate_new_CA.paa"; + iconCanceled = "#(argb,8,8,3)color(0,0,0,0)"; + iconDone = "\ca\ui\data\ui_taskstate_done_CA.paa"; + iconFailed = "\ca\ui\data\ui_taskstate_failed_CA.paa"; + color[] = {0.863, 0.584, 0.0, 1}; + colorCreated[] = {0.95, 0.95, 0.95, 1}; + colorCanceled[] = {0.606, 0.606, 0.606, 1}; + colorDone[] = {0.424, 0.651, 0.247, 1}; + colorFailed[] = {0.706, 0.0745, 0.0196, 1}; + size = 27; + importance = 1; + coefMin = 1; + coefMax = 1; + }; + class CustomMark { + icon = "\ca\ui\data\map_waypoint_ca.paa"; + color[] = {0.6471, 0.6706, 0.6235, 1.0}; + size = 18; + importance = 1; + coefMin = 1; + coefMax = 1; + }; + class Legend { //todo - current left corner top + x = "SafeZoneX"; + y = "SafeZoneY"; + w = 0.34; + h = 0.152; + font = "Zeppelin32"; + sizeEx = 0.03921; + colorBackground[] = {0.906, 0.901, 0.88, 0}; + color[] = {0, 0, 0, 1}; + }; + class Bunker { + icon = "\ca\ui\data\map_bunker_ca.paa"; + size = 14; + color[] = {0, 0, 1, 1}; + importance = 1.5 * 14 * 0.05; + coefMin = 0.25; + coefMax = 4; + }; + class Bush { + icon = "\ca\ui\data\map_bush_ca.paa"; + color[] = {0.55, 0.64, 0.43, 1}; + size = 14; + importance = 0.2 * 14 * 0.05; + coefMin = 0.25; + coefMax = 4; + }; + class BusStop { + icon = "\ca\ui\data\map_busstop_ca.paa"; + color[] = {0, 0, 1, 1}; + size = 12; + importance = 1 * 10 * 0.05; + coefMin = 0.25; + coefMax = 4; + }; + class Command { + icon = "\ca\ui\data\map_waypoint_ca.paa"; + color[] = {0, 0.9, 0, 1}; + size = 18; + importance = 1; + coefMin = 1; + coefMax = 1; + }; + class Cross { + icon = "\ca\ui\data\map_cross_ca.paa"; + size = 16; + color[] = {0, 0.9, 0, 1}; + importance = 0.7 * 16 * 0.05; + coefMin = 0.25; + coefMax = 4; + }; + class Fortress { + icon = "\ca\ui\data\map_bunker_ca.paa"; + size = 16; + color[] = {0, 0.9, 0, 1}; + importance = 2 * 16 * 0.05; + coefMin = 0.25; + coefMax = 4; + }; + class Fuelstation { + icon = "\ca\ui\data\map_fuelstation_ca.paa"; + size = 16; + color[] = {0, 0.9, 0, 1}; + importance = 2 * 16 * 0.05; + coefMin = 0.75; + coefMax = 4; + }; + class Fountain { + icon = "\ca\ui\data\map_fountain_ca.paa"; + color[] = {0.2, 0.45, 0.7, 1}; + size = 11; + importance = 1 * 12 * 0.05; + coefMin = 0.25; + coefMax = 4; + }; + class Hospital { + icon = "\ca\ui\data\map_hospital_ca.paa"; + color[] = {0.78, 0, 0.05, 1}; + size = 16; + importance = 2 * 16 * 0.05; + coefMin = 0.5; + coefMax = 4; + }; + class Chapel { + icon = "\ca\ui\data\map_chapel_ca.paa"; + color[] = {0, 0, 1, 1}; + size = 16; + importance = 1 * 16 * 0.05; + coefMin = 0.9; + coefMax = 4; + }; + class Church { + icon = "\ca\ui\data\map_church_ca.paa"; + size = 16; + color[] = {0, 0.9, 0, 1}; + importance = 2 * 16 * 0.05; + coefMin = 0.9; + coefMax = 4; + }; + class Lighthouse { + icon = "\ca\ui\data\map_lighthouse_ca.paa"; + size = 14; + color[] = {0, 0.9, 0, 1}; + importance = 3 * 16 * 0.05; + coefMin = 0.9; + coefMax = 4; + }; + class Quay { + icon = "\ca\ui\data\map_quay_ca.paa"; + size = 16; + color[] = {0, 0.9, 0, 1}; + importance = 2 * 16 * 0.05; + coefMin = 0.5; + coefMax = 4; + }; + class Rock { + icon = "\ca\ui\data\map_rock_ca.paa"; + color[] = {0.1, 0.1, 0.1, 0.8}; + size = 12; + importance = 0.5 * 12 * 0.05; + coefMin = 0.25; + coefMax = 4; + }; + class Ruin { + icon = "\ca\ui\data\map_ruin_ca.paa"; + size = 16; + color[] = {0, 0.9, 0, 1}; + importance = 1.2 * 16 * 0.05; + coefMin = 1; + coefMax = 4; + }; + class SmallTree { + icon = "\ca\ui\data\map_smalltree_ca.paa"; + color[] = {0.45, 0.64, 0.33, 0.4}; + size = 12; + importance = 0.6 * 12 * 0.05; + coefMin = 0.25; + coefMax = 4; + }; + class Stack { + icon = "\ca\ui\data\map_stack_ca.paa"; + size = 20; + color[] = {0, 0.9, 0, 1}; + importance = 2 * 16 * 0.05; + coefMin = 0.9; + coefMax = 4; + }; + class Tree { + icon = "\ca\ui\data\map_tree_ca.paa"; + color[] = {0.45, 0.64, 0.33, 0.4}; + size = 12; + importance = 0.9 * 16 * 0.05; + coefMin = 0.25; + coefMax = 4; + }; + class Tourism { + icon = "\ca\ui\data\map_tourism_ca.paa"; + size = 16; + color[] = {0.78, 0, 0.05, 1}; + importance = 1 * 16 * 0.05; + coefMin = 0.7; + coefMax = 4; + }; + class Transmitter { + icon = "\ca\ui\data\map_transmitter_ca.paa"; + color[] = {0, 0.9, 0, 1}; + size = 20; + importance = 2 * 16 * 0.05; + coefMin = 0.9; + coefMax = 4; + }; + class ViewTower { + icon = "\ca\ui\data\map_viewtower_ca.paa"; + color[] = {0, 0.9, 0, 1}; + size = 16; + importance = 2.5 * 16 * 0.05; + coefMin = 0.5; + coefMax = 4; + }; + class Watertower { + icon = "\ca\ui\data\map_watertower_ca.paa"; + color[] = {0.2, 0.45, 0.7, 1}; + size = 20; + importance = 1.2 * 16 * 0.05; + coefMin = 0.9; + coefMax = 4; + }; + class Waypoint { + icon = "\ca\ui\data\map_waypoint_ca.paa"; + color[] = {0, 0, 1, 1}; + size = 14; + importance = 2.5 * 16 * 0.05; + coefMin = 0.5; + coefMax = 4; + }; + class WaypointCompleted { + icon = "\ca\ui\data\map_waypoint_completed_ca.paa"; + color[] = {0, 0, 1, 1}; + size = 14; + importance = 2.5 * 16 * 0.05; + coefMin = 0.5; + coefMax = 4; + }; + class ActiveMarker { + icon = ""; + color[] = {0, 0, 1, 1}; + size = 14; + importance = 2.5 * 16 * 0.05; + coefMin = 0.5; + coefMax = 4; + }; +}; + +class RscControlsGroup +{ + type = 15; + idc = -1; + x = 0; + y = 0; + w = 1; + h = 1; + shadow = 0; + style = 16; + + class ScrollBar + { + color[] = { + 1, 1, 1, 0.600000 + }; + colorActive[] = { + 1, 1, 1, 1 + }; + colorDisabled[] = { + 1, 1, 1, 0.300000 + }; + thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; + arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; + arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; + border = "\ca\ui\data\ui_border_scroll_ca.paa"; + }; + + class VScrollbar : ScrollBar + { + width = 0.021000; + autoScrollSpeed = -1; + autoScrollDelay = 5; + autoScrollRewind = 0; + shadow = 0; + }; + + class HScrollbar : ScrollBar + { + height = 0.028000; + shadow = 0; + }; + + class Controls + { + }; +}; + +class RscListNBox +{ + style = 16; + shadow = 2; + type = 102; + color[] = { + 1, 1, 1, 1 + }; + colorText[] = { + 0.878400, 0.847100, 0.651000, 1.000000 + }; + colorScrollbar[] = { + 0.950000, 0.950000, 0.950000, 1 + }; + colorSelect[] = { + 0.950000, 0.950000, 0.950000, 1 + }; + colorSelect2[] = { + 0.950000, 0.950000, 0.950000, 1 + }; + colorSelectBackground[] = { + 0, 0, 0, 1 + }; + colorSelectBackground2[] = { + 0.878400, 0.847100, 0.651000, 1.000000 + }; + + class ScrollBar + { + color[] = { + 1, 1, 1, 0.600000 + }; + colorActive[] = { + 1, 1, 1, 1 + }; + colorDisabled[] = { + 1, 1, 1, 0.300000 + }; + thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa"; + arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa"; + arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa"; + border = "\ca\ui\data\ui_border_scroll_ca.paa"; + }; +}; + +class RscIGUIListNBox : RscListNBox +{ + style = "0 + 0x10"; + shadow = 2; + color[] = { + 1, 1, 1, 1 + }; + colorText[] = { + 1, 1, 1, 0.750000 + }; + colorScrollbar[] = { + 0.950000, 0.950000, 0.950000, 1 + }; + colorSelect[] = { + 0.950000, 0.950000, 0.950000, 1 + }; + colorSelect2[] = { + 0.950000, 0.950000, 0.950000, 1 + }; + colorSelectBackground[] = { + 0.878400, 0.847100, 0.651000, 1.000000 + }; + colorSelectBackground2[] = { + 0.878400, 0.847100, 0.651000, 1.000000 + }; + period = 0; + colorBackground[] = { + 0, 0, 0, 1 + }; + columns[] = { + 0.100000, 0.700000, 0.100000, 0.100000 + }; + + class ScrollBar + { + color[] = { + 1, 1, 1, 0.600000 + }; + colorActive[] = { + 1, 1, 1, 1 + }; + colorDisabled[] = { + 1, 1, 1, 0.300000 + }; + thumb = "\ca\ui\data\igui_scrollbar_thumb_ca.paa"; + arrowFull = "\ca\ui\data\igui_arrow_top_active_ca.paa"; + arrowEmpty = "\ca\ui\data\igui_arrow_top_ca.paa"; + border = "\ca\ui\data\igui_border_scroll_ca.paa"; + }; +}; + +class RscGearShortcutButton : RscShortcutButton +{ + w = 0.039216; + h = 0.052288; + style = 2; + color[] = { + 1, 1, 1, 1 + }; + color2[] = { + 1, 1, 1, 0.850000 + }; + colorBackground[] = { + 1, 1, 1, 1 + }; + colorbackground2[] = { + 1, 1, 1, 0.850000 + }; + colorDisabled[] = { + 1, 1, 1, 0.400000 + }; + + class HitZone + { + left = 0.000000; + top = 0.000000; + right = 0.000000; + bottom = 0.000000; + }; + + class ShortcutPos + { + left = -0.006000; + top = -0.007000; + w = 0.039216; + h = 0.052288; + }; + + class TextPos + { + left = 0.003000; + top = 0.001000; + right = 0.000000; + bottom = 0.000000; + }; + sizeEx = 0.100000; + animTextureNormal = "\ca\ui\data\igui_gear_normal_ca.paa"; + animTextureDisabled = "\ca\ui\data\igui_gear_disabled_ca.paa"; + animTextureOver = "\ca\ui\data\igui_gear_over_ca.paa"; + animTextureFocused = "\ca\ui\data\igui_gear_focus_ca.paa"; + animTexturePressed = "\ca\ui\data\igui_gear_down_ca.paa"; + animTextureDefault = "\ca\ui\data\igui_gear_normal_ca.paa"; + + class Attributes + { + font = "Zeppelin32"; + color = "#E5E5E5"; + align = "center"; + shadow = "false"; + }; +}; + +class RscActiveText +{ + idc = -1; + type = 11; + x = 0; + y = 0; + h = 0.035000; + w = 0.035000; + font = "Zeppelin32"; + shadow = 2; + sizeEx = 0.039210; + color[] = { + 0, 0, 0, 1 + }; + colortext[] = { + 0, 0, 0, 1 + }; + colorActive[] = { + 0.300000, 0.400000, 0, 1 + }; +}; + +class CA_Title : RscText +{ + x = 0.014706; + y = 0.182000; + w = 0.950743; + h = 0.058824; + style = "0x00 + 0x100"; + font = "Zeppelin32"; + sizeEx = 0.050654; + colorText[] = { + 0.950000, 0.950000, 0.950000, 1 + }; +}; + +class CA_IGUI_Title : CA_Title +{ + sizeEx = 0.039210; + style = 0; +}; + +class RscLineBreak +{ + type=98; +}; \ No newline at end of file diff --git a/Rsc/Sounds.hpp b/Rsc/Sounds.hpp new file mode 100644 index 0000000..43d12a1 --- /dev/null +++ b/Rsc/Sounds.hpp @@ -0,0 +1,4 @@ +class CfgSounds { + sounds[] = {}; + +}; \ No newline at end of file diff --git a/Rsc/Styles.hpp b/Rsc/Styles.hpp new file mode 100644 index 0000000..51bc86e --- /dev/null +++ b/Rsc/Styles.hpp @@ -0,0 +1,31 @@ +/* Background */ +#define WFBE_OA_Icon {0.2588, 0.7137, 1, 1} + +#define WFBE_EOGS_Background {0, 0, 0, 0.7} +#define WFBE_EOGS_SRVBBar {0.2588, 0.7137, 1, 1} +#define WFBE_EOGS_SLVLBar {0.2588, 0.7137, 1, 1} + + +//---Coloration +#define WFBE_Background_Color {0, 0, 0, 0.7} +#define WFBE_Background_Color_Header {0, 0, 0, 0.4} +#define WFBE_Background_Color_Footer {0, 0, 0, 0.3} +#define WFBE_Background_Color_Gear {0.5, 0.5, 0.5, 0.15} +#define WFBE_Background_Border {0.2588, 0.7137, 1, 1} +//---Thick +#define WFBE_Background_Border_Thick 0.001 + + +/* ListBox */ +//---ListBox Coloration +#define WFBE_LBC_Select_Color {0.2588, 0.7137, 1, 1} + + +/* Separator */ +//---Coloration +#define WFBE_SPC1 {0.2588, 0.7137, 1, 1} +#define WFBE_SPC2 {0.543, 0.5742, 0.4102, 1} //unused +//---Thick +#define WFBE_SPT1 0.001 +#define WFBE_SPT2 0.0005 //unused + diff --git a/Rsc/Titles.hpp b/Rsc/Titles.hpp new file mode 100644 index 0000000..440b2f3 --- /dev/null +++ b/Rsc/Titles.hpp @@ -0,0 +1,430 @@ +/* Titles */ + +#ifdef VANILLA + #define usflag "\ca\data\flag_usa_co.paa" + #define ruflag "\ca\data\flag_rus_co.paa" +#endif + +#ifdef ARROWHEAD + #define usflag "\ca\ca_e\data\flag_us_co.paa" + #define ruflag "\ca\ca_e\data\flag_tkg_co.paa" +#endif + +#ifdef COMBINEDOPS + #define usflag "\ca\ca_e\data\flag_us_co.paa" + #define ruflag "\ca\data\flag_rus_co.paa" +#endif + +#ifndef usflag + #define usflag "\ca\ca_e\data\flag_us_co.paa" + #define ruflag "\ca\ca_e\data\flag_tkg_co.paa" +#endif + +class RscTitles { + + titles[] = {OptionsAvailable,EndOfGameStats}; + + class OptionsAvailable { + idd = 10200; + movingEnable = 0; + objects[] = {}; + duration = 15000; + name = "OptionsAvailable"; + onLoad = "_this ExecVM ""Client\GUI\GUI_SetCurrentCutDisplay.sqf"""; + onUnload = "_this ExecVM ""Client\GUI\GUI_ClearCurrentCutDisplay.sqf"""; + controls[] = {"ProgressBarBackground","ProgressBar","CA_Progress_Label","OptionsIcon0", "OptionsIcon1", "OptionsIcon2", "OptionsIcon3", "OptionsIcon4", "OptionsIcon5", "OptionsIcon6", "OptionsIcon7", "OptionsIcon8", "OptionsIcon9", "OptionsIcon10", + "OptionsIcon11", "OptionsIcon12", "OptionsIcon13", "OptionsIcon14", "OptionsIcon15", "OptionsIcon16", "OptionsIcon17"}; + controlsBackground[] = {}; + + class ProgressBarBackground : RscText { + style = 128; + idc = 3600; + x = 0.3; + y = "((SafeZoneH + SafeZoneY) - (1 + 0.165))*-1"; + w = 0.4; + h = 0.06; + colorBackground[] = {0,0,0,0.001}; + }; + + class ProgressBar : RscText { + style = 128; + idc = 3800; + x = 0.31; + y = "((SafeZoneH + SafeZoneY) - (1 + 0.175))*-1"; + w = 0.38; + h = 0.04; + colorBackground[] = {0,0,0,0.001}; + }; + + class CA_Progress_Label: RscText { + idc = 3900; + text = ""; + x = 0.44; + w = 0.2; + y = "((SafeZoneH + SafeZoneY) - (1 + 0.175))*-1"; + }; + + class OptionsImageAspectRatio : RscPicture { + w = 0.0784314; + h = 0.104575; + style = 0x30+0x800; + }; + + class OptionsIcon0 : OptionsImageAspectRatio { + idc = 3500; + x = "(SafeZoneW + SafeZoneX) - (0.0392157)"; + y = 0+(0.0522876*17); + w = 0.0392157; + h = 0.0522876; + colorText[] = WFBE_OA_Icon; + text = ""; + }; + + class OptionsIcon1 : OptionsIcon0 { + idc = 3500 + 1; + y = 0+(0.0522876*16); + }; + + class OptionsIcon2 : OptionsIcon0 { + idc = 3500 + 2; + y = 0+(0.0522876*15); + }; + + class OptionsIcon3 : OptionsIcon0 { + idc = 3500 + 3; + y = 0+(0.0522876*14); + }; + + class OptionsIcon4 : OptionsIcon0 { + idc = 3500 + 4; + y = 0+(0.0522876*13); + }; + + class OptionsIcon5 : OptionsIcon0 { + idc = 3500 + 5; + y = 0+(0.0522876*12); + }; + + class OptionsIcon6 : OptionsIcon0 { + idc = 3500 + 6; + y = 0+(0.0522876*11); + }; + + class OptionsIcon7 : OptionsIcon0 { + idc = 3500 + 7; + y = 0+(0.0522876*10); + }; + + class OptionsIcon8 : OptionsIcon0 { + idc = 3500 + 8; + y = 0+(0.0522876*9); + }; + + class OptionsIcon9 : OptionsIcon0 { + idc = 3500 + 9; + y = 0+(0.0522876*8); + }; + + class OptionsIcon10 : OptionsIcon0 { + idc = 3500 + 10; + y = 0+(0.0522876*7); + }; + + class OptionsIcon11 : OptionsIcon0 { + idc = 3500 + 11; + y = 0+(0.0522876*6); + }; + + class OptionsIcon12 : OptionsIcon0 { + idc = 3500 + 12; + y = 0+(0.0522876*5); + }; + + class OptionsIcon13 : OptionsIcon0 { + idc = 3500 + 13; + y = 0+(0.0522876*4); + }; + + class OptionsIcon14 : OptionsIcon0 { + idc = 3500 + 14; + y = 0+(0.0522876*3); + }; + + class OptionsIcon15 : OptionsIcon0 { + idc = 3500 + 15; + y = 0+(0.0522876*2); + }; + + class OptionsIcon16 : OptionsIcon0 { + idc = 3500 + 16; + y = 0+(0.0522876*1); + }; + + class OptionsIcon17 : OptionsIcon0 { + idc = 3500 + 17; + y = 0.0522876; + }; + }; + + class EndOfGameStats { + idd = 90000; + duration = 15000; + movingEnable = 0; + objects[] = {}; + name = "EndOfGameStats"; + + onLoad = "_this ExecVM ""Client\GUI\GUI_SetCurrentCutDisplay.sqf"""; + onUnload = "_this ExecVM ""Client\GUI\GUI_ClearCurrentCutDisplay.sqf"""; + + controls[] = {StatsBackGroundHeader,SideWinsText,StatsBackGround,EastImage,WestImage,SoldiersRecruitedLabel,SoldiersLostLabel,VehiclesCreatedLabel,VehiclesLostLabel, + EastSoldiersRecruitedBar,EastSoldiersRecruitedCount,WestSoldiersRecruitedBar,WestSoldiersRecruitedCount, + EastSoldiersLostBar,EastSoldiersLostCount,WestSoldiersLostBar,WestSoldiersLostCount, + EastVehiclesCreatedBar,EastVehiclesCreatedCount,WestVehiclesCreatedBar,WestVehiclesCreatedCount, + EastVehiclesLostBar,EastVehiclesLostCount,WestVehiclesLostBar,WestVehiclesLostCount}; + + controlsBackground[] = {}; + + class StatsBackGroundHeader : RscText { + style = 128; + idc = 90002; + x = 0; + y = 0.06; + w = 1; + h = 0.18; + colorBackground[] = WFBE_EOGS_Background; + }; + + class SideWinsText : RscText { + idc = 90001; + style = 2; + sizeEx = 0.05; + x = 0.211224; + y = 0.1; + w = 0.579592; + h = 0.08; + colorText[] = {1.0,1.0,1.0,1}; + }; + + class StatsBackGround : RscText { + style = 128; + idc = 90003; + x = 0; + y = 0.24; + w = 1; + h = 0.62; + colorBackground[] = WFBE_EOGS_Background; + }; + + class EastImage : RscPicture { + style = 48 + 0x800; + x = 0.00612286; + y = 0.05; + w = 0.2; + h = 0.2; + text = ruflag; + }; + + class WestImage:EastImage { + x = 0.792857; + text = usflag; + }; + + class SoldiersRecruitedLabel : RscText { + style = 2; + sizeEx = 0.03; + x = 0.05; + y = 0.25; + w = 0.9; + h = 0.04; + colorText[] = {1.0,1.0,1.0,1}; + text = $STR_WF_END_Soldier_Recruited; + }; + + class SoldiersRecruitedCountBase : RscText { + idc = 90100; + style = 0; + sizeEx = 0.06; + x = 0.05; + y = 0.3; + w = 0.2; + h = 0.1; + colorText[] = {1.0,1.0,1.0,1}; + }; + + class EastSoldiersRecruitedCount : SoldiersRecruitedCountBase { + idc = 90101; + }; + + class EastSoldiersRecruitedBar : RscText { + style = 128; + idc = 90102; + x = 0.05; + y = 0.31; + w = 0.4; + h = 0.08; + colorBackground[] = WFBE_EOGS_SRVBBar; + }; + + class WestSoldiersRecruitedCount : SoldiersRecruitedCountBase { + idc = 90200; + x = 0.55; + }; + + class WestSoldiersRecruitedBar : EastSoldiersRecruitedBar { + idc = 90201; + x = 0.55; + }; + + class SoldiersLostLabel : SoldiersRecruitedLabel { + y = 0.4; + text = $STR_WF_END_Soldier_Lost; + }; + + class EastSoldiersLostCount : SoldiersRecruitedCountBase { + idc = 90103; + y = 0.45; + }; + + class EastSoldiersLostBar : EastSoldiersRecruitedBar { + idc = 90104; + y = 0.46; + colorBackground[] = WFBE_EOGS_SLVLBar; + }; + + class WestSoldiersLostCount : SoldiersRecruitedCountBase { + idc = 90202; + y = 0.45; + x = 0.55; + }; + + class WestSoldiersLostBar : EastSoldiersLostBar { + idc = 90203; + x = 0.55; + }; + + class VehiclesCreatedLabel : SoldiersRecruitedLabel { + y = 0.55; + text = $STR_WF_END_Vehicle_Built; + }; + + class EastVehiclesCreatedCount : SoldiersRecruitedCountBase { + idc = 90105; + y = 0.6; + }; + + class EastVehiclesCreatedBar : EastSoldiersRecruitedBar { + idc = 90106; + y = 0.61; + colorBackground[] = WFBE_EOGS_SRVBBar; + }; + + class WestVehiclesCreatedCount : SoldiersRecruitedCountBase { + idc = 90204; + x = 0.55; + y = 0.6; + }; + + class WestVehiclesCreatedBar : EastVehiclesCreatedBar { + idc = 90205; + x = 0.55; + }; + + class VehiclesLostLabel : SoldiersRecruitedLabel { + y = 0.7; + text = $STR_WF_END_Vehicle_Lost; + }; + + class EastVehiclesLostCount : SoldiersRecruitedCountBase { + idc = 90107; + y = 0.75; + }; + + class EastVehiclesLostBar : EastSoldiersRecruitedBar { + idc = 90108; + y = 0.76; + colorBackground[] = WFBE_EOGS_SLVLBar; + }; + + class WestVehiclesLostCount : SoldiersRecruitedCountBase { + idc = 90206; + x = 0.55; + y = 0.75; + }; + + class WestVehiclesLostBar : EastVehiclesLostBar { + idc = 90207; + x = 0.55; + }; + }; + + class WFBE_ConstructionInterface { + idd = 112200; + movingEnable = 0; + duration = 1e+011; + name = "Construction Interface"; + onLoad = "uiNamespace setVariable ['wfbe_title_coin', _this select 0]"; + onUnload = "uiNamespace setVariable ['wfbe_title_coin', displayNull]"; + + class controls { + class center : RscPictureKeepAspect { + idc = 112201; + x = 0.4; + y = 0.4; + w = 0.2; + h = 0.2; + colorText[] = {1, 1, 1, 0.1}; + text = "\ca\ui\data\cursor_w_laserlock_gs.paa"; + }; + + class descBackLeft : IGUIBack { + idc = 112211; + x = "SafezoneX + 0.01"; + y = "SafezoneY + SafezoneH - 0.13 + 0.01"; + w = 0.3; + h = 0.12; + }; + class descBackCenter : descBackLeft { + idc = 112212; + x = "SafezoneX + 0.01 + 0.3"; + w = "SafeZoneW - 0.02 - 0.3*2"; + }; + class descBackRight : descBackLeft { + idc = 112213; + x = "SafezoneX + SafeZoneW - 0.01 - 0.3"; + w = 0.3; + }; + + class descText : RscStructuredText { + idc = 112214; + x = "SafezoneX + 0.01 + 0.3"; + y = "SafezoneY + SafezoneH - 0.13 + 0.021"; + w = "SafeZoneW - 0.02 - 0.3*2"; + h = 0.11; + size = 0.035; + + class Attributes { + font = "Zeppelin32"; + color = "#B6F862"; + align = "left"; + shadow = true; + }; + }; + + class controlsText : descText { + idc = 112215; + x = "SafezoneX + SafeZoneW - 0.01 - 0.3"; + y = "SafezoneY + SafezoneH - 0.13 + 0.015"; + w = 0.3; + h = 0.11; + }; + + class cashText : descText { + idc = 112224; + x = "SafezoneX + 0.012*2"; + y = "SafezoneY + SafezoneH - 0.13 + 0.02"; + w = 0.2; + h = 0.1; + }; + }; + }; +}; \ No newline at end of file -- cgit v1.3.1