initial files

This commit is contained in:
Samuele Lorefice
2025-05-24 16:17:33 +02:00
commit 9e023649ac
477 changed files with 118566 additions and 0 deletions

View File

@@ -0,0 +1,112 @@
// Control types
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_EDIT 2
#define CT_SLIDER 3
#define CT_COMBO 4
#define CT_LISTBOX 5
#define CT_TOOLBOX 6
#define CT_CHECKBOXES 7
#define CT_PROGRESS 8
#define CT_HTML 9
#define CT_STATIC_SKEW 10
#define CT_ACTIVETEXT 11
#define CT_TREE 12
#define CT_STRUCTURED_TEXT 13
#define CT_CONTEXT_MENU 14
#define CT_CONTROLS_GROUP 15
#define CT_SHORTCUT_BUTTON 16 // Arma 2 - textured button
#define CT_XKEYDESC 40
#define CT_XBUTTON 41
#define CT_XLISTBOX 42
#define CT_XSLIDER 43
#define CT_XCOMBO 44
#define CT_ANIMATED_TEXTURE 45
#define CT_OBJECT 80
#define CT_OBJECT_ZOOM 81
#define CT_OBJECT_CONTAINER 82
#define CT_OBJECT_CONT_ANIM 83
#define CT_LINEBREAK 98
#define CT_USER 99
#define CT_MAP 100
#define CT_MAP_MAIN 101
#define CT_List_N_Box 102 // Arma 2 - N columns list box
// Static styles
#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 CT_MAP_MAIN 101
#define ST_PICTURE 48
#define ST_TYPE 0xF0
#define ST_SINGLE 0
#define ST_MULTI 16
#define ST_TITLE_BAR 32
#define ST_PICTURE 48
#define ST_FRAME 64
#define ST_BACKGROUND 80
#define ST_GROUP_BOX 96
#define ST_GROUP_BOX2 112
#define ST_HUD_BACKGROUND 128
#define ST_TILE_PICTURE 144
#define ST_WITH_RECT 160
#define ST_LINE 176
#define ST_SHADOW 0x100
#define ST_NO_RECT 0x200 // this style works for CT_STATIC in conjunction with ST_MULTI
#define ST_KEEP_ASPECT_RATIO 0x800
#define ST_TITLE ST_TITLE_BAR + ST_CENTER
// Slider styles
#define SL_DIR 0x400
#define SL_VERT 0
#define SL_HORZ 0x400
#define SL_TEXTURES 0x10
// Listbox styles
#define LB_TEXTURES 0x10
#define LB_MULTI 0x20
#define FontM "puristaMedium"
#define COLOR_BROWN { 0.30, 0.25, 0.2, 0.75 }
#define COLOR_GREEN { 0.2, 0.23, 0.18, 0.75 }
#define COLOR_GREEN_ALPHA { 0.2, 0.23, 0.18, 0.4 }
#define COLOR_GREEN_NOALPHA { 0.2, 0.23, 0.18, 1 }
#define COLOR_LIGHTGREEN { 0.4, 0.55, 0.36, 0.4 }
#define COLOR_LIGHTGRAY { 0.6, 0.6, 0.6, 0.8 }
#define COLOR_LIGHTGRAY_ALPHA { 0.6, 0.6, 0.6, 0.55 }
#define COLOR_WHITE { 1, 1, 1, 1 }
#define COLOR_NOALPHA { 0, 0, 0, 0 }
#define COLOR_BLUFOR { 0, 0.3, 1, 1 }
#define COLOR_OPFOR { 1, 0, 0, 1 }
#define COLOR_GUER { 0.5, 0.5, 0.5, 0.5 }
#define COLOR_WHITE_TRANSP { 1, 1, 1, 0.5 }
#define COLOR_BLACK { 0, 0, 0, 1 }
#define COLOR_BLACK_ALPHA { 0, 0, 0, 0.85 }
#define COLOR_BLUFOR_NOALPHA { 0, 0, 1, 1 }
#define COLOR_OPFOR_NOALPHA { 1, 0, 0, 1 }
#define COLOR_RED_DISABLED { 1,0,0,0.4 }
#define COLOR_BLEEDOUT { 0.66,0,0,0.8 }
#define COLOR_BRIGHTGREEN { 0.2,1,0.2,1 }
#define COLOR_BLUE {0.2,0.2,1,1}
#define SHADOW_X 0.0008
#define SHADOW_Y 0.0011
#define ICONE_SPACY 0.025
#define BORDERSIZE 0.01
#define MAP_IDC 10023

View File

@@ -0,0 +1,110 @@
class liberation_arsenal {
idd = 5251;
movingEnable = false;
controlsBackground[] = {};
controls[] = {"OuterBG", "RecycleBG","OuterBG_F", "InnerBG", "InnerBG_F", "Header","LoadoutList","EditButton","LoadButton", "RespawnButton", "TransferButton", "PlayersCombo", "ButtonClose"};
objects[] = {};
class RecycleBG: BgPicture {
x = (0.17 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.1 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.16 * safezoneW) + (4 * BORDERSIZE);
h = (0.75 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.17 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.1 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.16 * safezoneW) + (4 * BORDERSIZE);
h = (0.75 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F: OuterBG {
style = ST_FRAME;
};
class InnerBG: OuterBG {
colorBackground[] = COLOR_GREEN;
x = (0.17 * safezoneW + safezoneX) - ( BORDERSIZE);
y = (0.15 * safezoneH + safezoneY) - (1.5 * BORDERSIZE);
w = (0.16 * safezoneW) + (2 * BORDERSIZE);
h = (0.7 * safezoneH) + (3 * BORDERSIZE);
};
class InnerBG_F: InnerBG {
style = ST_FRAME;
};
class Header: StdHeader{
x = 0.17 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.09 * safezoneH + safezoneY;
w = 0.16 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_ARSENAL_TITLE;
};
class LoadoutList: StdListBox {
idc = 201;
x = 0.17 * safezoneW + safezoneX;
w = 0.16 * safezoneW;
y = 0.15 * safezoneH + safezoneY;
h = (0.45 * safezoneH) - (1.5 * BORDERSIZE);
shadow = 2;
onLBSelChanged="";
};
class LoadButton: StdButton {
idc = 202;
x = (0.18 * safezoneW + safezoneX);
y = (0.6 * safezoneH + safezoneY);
w = (0.14 * safezoneW);
h = (0.04 * safezoneH);
sizeEx = 0.03 * safezoneH;
text = $STR_LOAD_LOADOUT;
action = "load_loadout = 1;";
};
class EditButton: StdButton {
idc = -1;
x = (0.18 * safezoneW + safezoneX);
y = (0.65 * safezoneH + safezoneY);
w = (0.14 * safezoneW);
h = (0.04 * safezoneH);
sizeEx = 0.03 * safezoneH;
text = $STR_EDIT_LOADOUT;
action = "edit_loadout = 1;";
};
class RespawnButton: StdButton {
idc = -1;
x = (0.18 * safezoneW + safezoneX);
y = (0.7 * safezoneH + safezoneY);
w = (0.14 * safezoneW);
h = (0.04 * safezoneH);
sizeEx = 0.024 * safezoneH;
text = $STR_MAKE_RESPAWN_LOADOUT;
action = "respawn_loadout = 1;";
};
class PlayersCombo: StdCombo {
idc = 203;
x = (0.18 * safezoneW + safezoneX);
w = 0.14 * safezoneW;
y = 0.75 * safezoneH + safezoneY;
h = 0.04 * safezoneH;
sizeEx = 0.02 * safezoneH;
};
class TransferButton: StdButton {
idc = 204;
x = (0.18 * safezoneW + safezoneX);
y = (0.8 * safezoneH + safezoneY);
w = (0.14 * safezoneW);
h = (0.04 * safezoneH);
sizeEx = 0.024 * safezoneH;
text = $STR_LOAD_PLAYER_LOADOUT;
action = "load_from_player = lbCurSel 203;";
};
class ButtonClose: StdButton {
idc = 101;
x = 0.315 * safezoneW + safezoneX;
w = 0.015 * safezoneW;
h = 0.02 * safezoneH;
y = 0.095 * safezoneH + safezoneY;
text = "X";
action = "closeDialog 0";
};
};

View File

@@ -0,0 +1,314 @@
class liberation_build {
idd = 5501;
movingEnable = false;
controlsBackground[] = {};
controls[] = {"OuterBG", "RecycleBG", "OuterBG_F", "InnerBG", "InnerBG_F", "Header",
"ButtonClose","BuildInfantryButton","BuildTransportVehicleButton",
"BuildCombatVehicleButton","BuildAerialButton","BuildDefenceButton",
"BuildSupportButton","BuildSquadButton","BuildBuildingButton","BuildInfantryImage",
"BuildTransportVehicleImage","BuildCombatVehicleImage","BuildAerialImage","ManpowerImageShadow","AmmoImageShadow","FuelImageShadow",
"BuildDefenceImage","BuildSupportImage","BuildSquadImage","BuildBuildingImage","ListBG","ManpowerImage","AmmoImage","FuelImage",
"BuildList","BuildButton","LabelManpower","LabelAmmo","LabelFuel","LabelCap","BuildMannedButton","PageLabel", "LinkedSector"
};
objects[] = {};
class RecycleBG: BgPicture {
x = (0.35 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.3 * safezoneW) + (4 * BORDERSIZE);
h = (0.6 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.35 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.3 * safezoneW) + (4 * BORDERSIZE);
h = (0.6 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F: OuterBG {
style = ST_FRAME;
};
class InnerBG: OuterBG {
colorBackground[] = COLOR_GREEN;
x = (0.35 * safezoneW + safezoneX) - ( BORDERSIZE);
y = 0.25 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.3 * safezoneW) + (2 * BORDERSIZE);
h = 0.55 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F: InnerBG {
style = ST_FRAME;
};
class Header: StdHeader {
x = 0.35 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.19 * safezoneH + safezoneY;
w = 0.3 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_BUILD_TITLE;
};
class ButtonClose: StdButton {
idc = 101;
x = 0.635 * safezoneW + safezoneX;
w = 0.015 * safezoneW;
h = 0.02 * safezoneH;
y = 0.195 * safezoneH + safezoneY;
text = "X";
action = "closeDialog 0";
};
class BuildTypeImage {
idc = -1;
type = CT_STATIC;
style = ST_PICTURE;
colorText[] = {0, 0, 0, 1};
colorBackground[] = {0, 0, 0, 1};
font = FontM;
sizeEx = 0.023;
y = (0.2525 * safezoneH + safezoneY);
w = (0.02 * safezoneW);
h = (0.035 * safezoneH);
moving = false;
};
class BuildTypeButton: StdButton {
colorBackgroundActive[] = { 0,1,0,0.5 };
colorFocused[] = { 0, 1, 0, 0.5 };
y = (0.25 * safezoneH + safezoneY);
w = (0.023 * safezoneW);
h = (0.04 * safezoneH);
text = "";
};
class BuildInfantryImage: BuildTypeImage {
idc = 1025;
x = (0.402 * safezoneW + safezoneX);
text = "\a3\Ui_F_Curator\Data\Displays\RscDisplayCurator\modeUnits_ca.paa";
};
class BuildInfantryButton: BuildTypeButton {
idc = 102;
text = "";
action = "buildtype=1";
x = (0.4 * safezoneW + safezoneX);
};
class BuildTransportVehicleImage: BuildTypeImage {
idc = 1035;
x = (0.427 * safezoneW + safezoneX);
text = "\A3\ui_f\data\map\vehicleicons\iconCar_ca.paa";
};
class BuildTransportVehicleButton: BuildTypeButton{
idc = 103;
text = "";
action = "buildtype=2";
x = (0.425 * safezoneW + safezoneX);
};
class BuildCombatVehicleImage: BuildTypeImage {
idc = 1045;
x = (0.452 * safezoneW + safezoneX);
text = "\A3\ui_f\data\map\vehicleicons\iconTank_ca.paa";
};
class BuildCombatVehicleButton: BuildTypeButton{
idc = 104;
text = "";
action = "buildtype=3";
x = (0.45 * safezoneW + safezoneX);
};
class BuildAerialImage: BuildTypeImage {
idc = 1055;
x = (0.477 * safezoneW + safezoneX);
text = "\A3\ui_f\data\map\vehicleicons\iconHelicopter_ca.paa";
};
class BuildAerialButton: BuildTypeButton {
idc = 105;
text = "";
action = "buildtype=4";
x = (0.475 * safezoneW + safezoneX);
};
class BuildDefenceImage: BuildTypeImage {
idc = 11065;
x = (0.502 * safezoneW + safezoneX);
text = "\A3\ui_f\data\map\vehicleicons\iconStaticCannon_ca.paa";
};
class BuildDefenceButton: BuildTypeButton{
idc = 1106;
text = "";
action = "buildtype=5";
x = (0.5 * safezoneW + safezoneX);
};
class BuildBuildingImage: BuildTypeImage {
idc = 1095;
x = (0.527 * safezoneW + safezoneX);
text = "\A3\ui_f\data\map\mapcontrol\Bunker_CA.paa";
};
class BuildBuildingButton: BuildTypeButton {
idc = 109;
text = "";
action = "buildtype=6";
x = (0.525 * safezoneW + safezoneX);
};
class BuildSupportImage: BuildTypeImage {
idc = 1075;
x = (0.552 * safezoneW + safezoneX);
text = "\A3\ui_f\data\map\vehicleicons\iconCrateAmmo_ca.paa";
};
class BuildSupportButton: BuildTypeButton {
idc = 107;
text = "";
action = "buildtype=7";
x = (0.55 * safezoneW + safezoneX);
};
class BuildSquadImage: BuildTypeImage {
idc = 1085;
x = (0.577 * safezoneW + safezoneX);
text = "\a3\Ui_F_Curator\Data\Displays\RscDisplayCurator\modeGroups_ca.paa";
};
class BuildSquadButton: BuildTypeButton {
idc = 108;
text = "";
action = "buildtype=8";
x = (0.575 * safezoneW + safezoneX);
};
class IconImage {
idc = -1;
type = CT_STATIC;
style = ST_PICTURE;
colorText[] = {1, 1, 1, 1};
colorBackground[] = {0, 0, 0, 1};
font = FontM;
sizeEx = 0.023;
y = (0.32 * safezoneH + safezoneY);
w = (0.015 * safezoneW);
h = (0.025 * safezoneH);
moving = false;
};
class ManpowerImage: IconImage {
x = (0.5475 * safezoneW + safezoneX);
text = "res\ui_manpo.paa";
};
class AmmoImage: IconImage {
x = (0.5775 * safezoneW + safezoneX);
text = "res\ui_ammo.paa";
};
class FuelImage: IconImage {
x = (0.6075 * safezoneW + safezoneX);
text = "res\ui_fuel.paa";
};
class ManpowerImageShadow: IconImage {
x = (0.5475 * safezoneW + safezoneX) + 0.003;
text = "res\ui_manpo.paa";
colorText[] = {0, 0, 0, 1};
y = (0.32 * safezoneH + safezoneY) + 0.005;
};
class AmmoImageShadow: IconImage {
x = (0.5775 * safezoneW + safezoneX) + 0.003;
text = "res\ui_ammo.paa";
colorText[] = {0, 0, 0, 1};
y = (0.32 * safezoneH + safezoneY) + 0.005;
};
class FuelImageShadow: IconImage {
x = (0.6075 * safezoneW + safezoneX) + 0.003;
text = "res\ui_fuel.paa";
colorText[] = {0, 0, 0, 1};
y = (0.32 * safezoneH + safezoneY) + 0.005;
};
class BuildList: StdListNBox {
idc = 110;
x = 0.35 * safezoneW + safezoneX;
w = 0.3 * safezoneW;
y = 0.35 * safezoneH + safezoneY;
h = (0.35 * safezoneH) - (2 * BORDERSIZE);
columns[] = {
0,
0.65,
0.75,
0.85
};
onLBSelChanged="";
shadow = 2;
rowHeight = 1.25 * 0.018 * safezoneH;
colorPicture[] = {1,1,1,1};
colorPictureSelected[] = {0,1,0,1};
colorPictureDisabled[] = {0.4,0.4,0.4,1};
};
class ListBG: OuterBG {
colorBackground[] = COLOR_GREEN;
x = 0.35 * safezoneW + safezoneX;
w = 0.3 * safezoneW;
y = 0.35 * safezoneH + safezoneY;
h = (0.35 * safezoneH) - (2 * BORDERSIZE);
};
class LabelResource: StdText {
x = (0.35 * safezoneW + safezoneX);
w = (0.15 * safezoneW);
h = (0.03 * safezoneH);
};
class LabelManpower: LabelResource {
idc = 131;
y = (0.7 * safezoneH + safezoneY);
colorText[] = {0, 0.75, 0, 1};
};
class LabelAmmo: LabelResource {
idc = 132;
y = (0.72 * safezoneH + safezoneY);
colorText[] = {0.75, 0, 0, 1};
};
class LabelFuel: LabelResource {
idc = 133;
y = (0.74 * safezoneH + safezoneY);
colorText[] = {0.75, 0.75, 0, 1};
};
class LabelCap: LabelResource {
idc = 134;
type = CT_STRUCTURED_TEXT;
y = (0.78 * safezoneH + safezoneY);
size = 0.02 * safezoneH;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PageLabel: StdText {
idc = 151;
x = (0.35 * safezoneW + safezoneX);
y = (0.3 * safezoneH + safezoneY);
w = (0.2 * safezoneW);
h = (0.05 * safezoneH);
sizeEx = 0.03 * safezoneH;
};
class BuildButton: StdButton {
idc = 120;
x = (0.55 * safezoneW + safezoneX);
y = (0.75 * safezoneH + safezoneY);
w = (0.1 * safezoneW);
h = (0.045 * safezoneH);
sizeEx = 0.03 * safezoneH;
text = $STR_BUILD_BUTTON;
action = "dobuild = 1;";
};
class BuildMannedButton: StdButton {
idc = 121;
x = (0.55 * safezoneW + safezoneX);
y = (0.7 * safezoneH + safezoneY);
w = (0.1 * safezoneW);
h = (0.045 * safezoneH);
sizeEx = 0.02 * safezoneH;
text = $STR_BUILD_CREW;
action = "dobuild = 1; manned = true;";
};
class LinkedSector {
idc = 161;
type = CT_STRUCTURED_TEXT;
colorBackground[] = COLOR_NOALPHA;
style = ST_LEFT;
x = 0.45 * safezoneW + safezoneX;
w = 0.1 * safezoneW;
y = 0.725 * safezoneH + safezoneY;
h = 0.05 * safezoneH;
text= "";
size = 0.02 * safezoneH;
sizeEx = 0.02 * safezoneH;
shadow = 2;
font = FontM;
color = "#e0e000";
align = "right";
valign = "top";
};
};

View File

@@ -0,0 +1,46 @@
class blackscreen {
idd = 5651;
movingEnable = false;
controls[]= {
"OuterBackground", "Skull", "GREUH_WoundedLabel"
};
class OuterBackground {
idc = -1;
type = CT_STATIC;
style = ST_LEFT;
colorText[] = COLOR_BLACK;
colorBackground[] = COLOR_BLACK;
font = FontM;
sizeEx = 0.023;
x = -3; y = -3;
w = 9; h = 9;
text = "";
};
class Skull {
idc = 666;
type = CT_STATIC ;
style = ST_PICTURE;
colorText[] = { 1,1,1,0.15 };
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.1 * safezoneH;
x = 0.3 * safezoneW + safezoneX;
w = 0.4 * safezoneW;
y = 0.2 * safezoneH + safezoneY;
h = 0.6 * safezoneH;
text = "res\skull.paa";
};
class GREUH_WoundedLabel {
idc = 4867;
type = CT_STATIC;
style = ST_CENTER;
colorText[] = COLOR_WHITE;
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.07 * safezoneH;
shadow = 1;
x = 0.3 * safezoneW + safezoneX; y= 0.25 * safezoneH + safezoneY;
w = 0.4 * safezoneW; h = 0.07 * safezoneH;
text = $STR_REVIVE_LABEL;
};
};

View File

@@ -0,0 +1,105 @@
class liberation_deploy {
idd = 5201;
movingEnable = false;
controlsBackground[] = {};
controls[] = {"OuterBG", "RecycleBG","OuterBG_F", "InnerBG", "InnerBG_F", "Header","DeployList","DeployButton","DeployMap", "LoadoutsCombo", "LabelDeploy", "LabelLoadout", "MapButton"};
objects[] = {};
class RecycleBG: BgPicture {
idc = 198;
x = (0.15 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.12 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.15 * safezoneW) + (4 * BORDERSIZE);
h = (0.75 * safezoneH) + (6 * BORDERSIZE);
};
class DeployMap: kndr_MapControl {
idc = 251;
x = (0.15 * safezoneW + safezoneX);
y = (0.57 * safezoneH + safezoneY);
w = (0.15 * safezoneW);
h = (0.25 * safezoneH) - ( 1.5 * BORDERSIZE);
};
class OuterBG: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.15 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.12 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.15 * safezoneW) + (4 * BORDERSIZE);
h = (0.75 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F: OuterBG {
style = ST_FRAME;
};
class InnerBG: OuterBG {
colorBackground[] = COLOR_GREEN;
x = (0.15 * safezoneW + safezoneX) - ( BORDERSIZE);
y = 0.17 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.15 * safezoneW) + (2 * BORDERSIZE);
h = 0.7 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F: InnerBG {
style = ST_FRAME;
};
class Header: StdHeader {
x = 0.15 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.11 * safezoneH + safezoneY;
w = 0.15 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_DEPLOY_TITLE;
};
class LabelDeploy: StdText {
x = (0.15 * safezoneW + safezoneX);
w = (0.15 * safezoneW);
h = (0.03 * safezoneH);
y = 0.23 * safezoneH + safezoneY;
sizeEx = 0.018 * safezoneH;
text = $STR_SPAWN_POINT;
};
class DeployList: StdListBox {
idc = 201;
x = 0.15 * safezoneW + safezoneX;
w = 0.15 * safezoneW;
y = 0.26 * safezoneH + safezoneY;
h = (0.31 * safezoneH) - (1.5 * BORDERSIZE);
shadow = 2;
onLBSelChanged="";
};
class LabelLoadout: StdText {
x = (0.15 * safezoneW + safezoneX);
w = (0.15 * safezoneW);
h = (0.03 * safezoneH);
y = 0.16 * safezoneH + safezoneY;
sizeEx = 0.018 * safezoneH;
text = $STR_LOADOUT;
};
class LoadoutsCombo: StdCombo {
idc = 203;
x = (0.15 * safezoneW + safezoneX);
w = 0.15 * safezoneW;
y = 0.19 * safezoneH + safezoneY;
h = 0.03 * safezoneH;
sizeEx = 0.018 * safezoneH;
};
class DeployButton: StdButton {
idc = 202;
x = (0.15 * safezoneW + safezoneX);
y = (0.82 * safezoneH + safezoneY);
w = (0.15 * safezoneW);
h = (0.05 * safezoneH);
sizeEx = 0.05 * safezoneH;
text = $STR_DEPLOY_BUTTON;
action = "deploy = 1";
};
class MapButton: StdButton {
idc = 202;
x = (0.285 * safezoneW + safezoneX);
y = (0.56 * safezoneH + safezoneY);
w = (0.015 * safezoneW);
h = (0.025 * safezoneH);
sizeEx = 0.018 * safezoneH;
text = "<>";
action = "fullmap = fullmap + 1;";
};
};

View File

@@ -0,0 +1,65 @@
class liberation_endscreen {
idd = 5651;
movingEnable = false;
controls[] = { "Title", "SubTitle", "SubSubTitle", "Line1", "Line2", "Line3", "Line4", "Line5", "Line6" };
objects[] = {};
class EndText: StdText {
shadow = 2;
sizeEx = 0.03 * safezoneH;
style = ST_LEFT;
x = (0.15 * safezoneW + safezoneX);
w = (0.8 * safezoneW);
h = (0.05 * safezoneH);
};
class Title: EndText {
style = ST_CENTER;
sizeEx = 0.1 * safezoneH;
x = (0.2 * safezoneW + safezoneX);
y = (0.17 * safezoneH + safezoneY);
w = (0.6 * safezoneW);
h = (0.1 * safezoneH);
text = $STR_VICTORY_TITLE;
};
class SubTitle: Title {
sizeEx = 0.04 * safezoneH;
y = (0.24 * safezoneH + safezoneY);
text = $STR_VICTORY_TEXT;
};
class SubSubTitle: Title {
idc = 690;
sizeEx = 0.035 * safezoneH;
y = (0.28 * safezoneH + safezoneY);
text = "";
};
class Line1: EndText {
idc = 691;
y = (0.45 * safezoneH + safezoneY);
text = "";
};
class Line2: EndText {
idc = 692;
y = (0.48 * safezoneH + safezoneY);
text = "";
};
class Line3: EndText {
idc = 693;
y = (0.51 * safezoneH + safezoneY);
text = "";
};
class Line4: EndText {
idc = 694;
y = (0.54 * safezoneH + safezoneY);
text = "";
};
class Line5: EndText {
idc = 695;
y = (0.57 * safezoneH + safezoneY);
text = "";
};
class Line6: EndText {
idc = 696;
y = (0.6 * safezoneH + safezoneY);
text = "";
};
};

View File

@@ -0,0 +1,70 @@
class liberation_halo {
idd = 5203;
movingEnable = false;
controlsBackground[] = {};
controls[] = {"OuterBG", "RecycleBG","OuterBG_F", "InnerBG", "InnerBG_F", "Header","JumpButton","CancelButton","DeployMap"};
objects[] = {};
class RecycleBG: BgPicture {
x = (0.2 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.15 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.6 * safezoneW) + (4 * BORDERSIZE);
h = (0.7 * safezoneH) + (6 * BORDERSIZE);
};
class DeployMap: kndr_MapControl {
idc = 251;
x = (0.2 * safezoneW + safezoneX);
y = (0.2 * safezoneH + safezoneY);
w = (0.6 * safezoneW);
h = (0.6 * safezoneH) - ( 1.5 * BORDERSIZE);
};
class OuterBG: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.2 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.15 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.6 * safezoneW) + (4 * BORDERSIZE);
h = (0.7 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F: OuterBG {
style = ST_FRAME;
};
class InnerBG: OuterBG {
colorBackground[] = COLOR_GREEN;
x = (0.2 * safezoneW + safezoneX) - ( BORDERSIZE);
y = 0.2 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.6 * safezoneW) + (2 * BORDERSIZE);
h = 0.65 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F: InnerBG {
style = ST_FRAME;
};
class Header: StdHeader {
x = 0.2 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.14 * safezoneH + safezoneY;
w = 0.6 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_HALO_TITLE;
};
class JumpButton: StdButton {
idc = 202;
x = (0.39 * safezoneW + safezoneX);
y = (0.8 * safezoneH + safezoneY);
w = (0.1 * safezoneW);
h = (0.05 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_HALO_PARAM;
action = "dojump = 1;";
};
class CancelButton: StdButton {
idc = 202;
x = (0.51 * safezoneW + safezoneX);
y = (0.8 * safezoneH + safezoneY);
w = (0.1 * safezoneW);
h = (0.05 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_RECYCLING_CANCEL;
action = "closeDialog 0;";
};
};

View File

@@ -0,0 +1,18 @@
#include "defines.hpp"
#include "standard_controls.hpp"
#include "liberation_titles.hpp"
#include "liberation_recycle.hpp"
#include "liberation_build.hpp"
#include "liberation_deploy.hpp"
#include "liberation_menu.hpp"
#include "liberation_tutorial.hpp"
#include "liberation_endscreen.hpp"
#include "liberation_deathscreen.hpp"
#include "liberation_squad.hpp"
#include "liberation_permissions.hpp"
#include "liberation_arsenal.hpp"
#include "liberation_repackage_fob.hpp"
#include "liberation_halo.hpp"
#include "liberation_secondary.hpp"
#include "liberation_production.hpp"
#include "liberation_logistic.hpp"

View File

@@ -0,0 +1,402 @@
class liberation_logistic {
idd = 75802;
movingEnable = false;
controlsBackground[] = {};
controls[] = {
"OuterBG1", "OuterBG_F1", "InnerBG1", "InnerBG_F1", "InnerBG2", "InnerBG_F2", "InnerBG3", "InnerBG_F3",
"Header", "ButtonClose", "LogisticList", "ButtonCreateLogisticGroup", "ButtonDeleteLogisticGroup",
"LogisticName", "StatusLabel", "Status", "TimeLabel", "Time", "DestinationLabel", "Destination",
"LoadedTitle", "TruckCountLabel", "TruckCount", "LoadedSupplyLabel", "LoadedSupply", "LoadedAmmoLabel", "LoadedAmmo", "LoadedFuelLabel", "LoadedFuel", "ButtonBuyTruck", "ButtonSellTruck",
"ATitle", "ACombo", "ASupp", "AAmmo", "AFuel",
"BTitle", "BCombo", "BSupp", "BAmmo", "BFuel",
"ALabel", "BLabel",
"ButtonSaveLogistic", "ButtonAbortLogistic",
"LogisticMap", "ButtonClose2"
};
objects[] = {};
class OuterBG1: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.2 * safezoneW + safezoneX) - (2 * BORDERSIZE);
y = (0.15 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.6 * safezoneW) + (4 * BORDERSIZE);
h = (0.65 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F1: OuterBG1 {
style = ST_FRAME;
};
class InnerBG1: OuterBG1 {
colorBackground[] = COLOR_GREEN;
x = (0.2 * safezoneW + safezoneX) - (BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (1.5 * BORDERSIZE);
w = (0.12 * safezoneW) + (2 * BORDERSIZE);
h = (0.55 * safezoneH) + (3 * BORDERSIZE);
};
class InnerBG_F1: InnerBG1 {
style = ST_FRAME;
};
class InnerBG2: OuterBG1 {
colorBackground[] = COLOR_GREEN;
x = (0.338 * safezoneW + safezoneX) - (BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (1.5 * BORDERSIZE);
w = (0.153 * safezoneW) + (2 * BORDERSIZE);
h = (0.55 * safezoneH) + (3 * BORDERSIZE);
};
class InnerBG_F2: InnerBG2 {
style = ST_FRAME;
};
class InnerBG3: OuterBG1 {
colorBackground[] = COLOR_GREEN;
x = (0.51 * safezoneW + safezoneX) - (BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (1.5 * BORDERSIZE);
w = (0.29 * safezoneW) + (2 * BORDERSIZE);
h = (0.55 * safezoneH) + (3 * BORDERSIZE);
};
class InnerBG_F3: InnerBG3 {
style = ST_FRAME;
};
class Header: StdHeader {
x = 0.2 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.14 * safezoneH + safezoneY;
w = 0.6 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_LOGISTIC_HEADER;
};
class ButtonClose: StdButton {
idc = 75801;
x = 0.785 * safezoneW + safezoneX;
y = 0.145 * safezoneH + safezoneY;
w = 0.015 * safezoneW;
h = 0.02 * safezoneH;
text = "X";
action = "closeDialog 0";
};
class LogisticList: StdListBox {
idc = 75802;
x = (0.2 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.12 * safezoneW) + BORDERSIZE;
h = (0.50 * safezoneH) + (1.5 * BORDERSIZE);
shadow = 2;
onLBSelChanged="";
};
class ButtonCreateLogisticGroup: StdButton {
idc = 75803;
sizeEx = 0.026 * safezoneH;
x = (0.2 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.7128 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.055 * safezoneW) + BORDERSIZE;
h = (0.045 * safezoneH);
text = $STR_ADD;
action = "addLogiGroup = 1";
};
class ButtonDeleteLogisticGroup: StdButton {
idc = 75804;
sizeEx = 0.026 * safezoneH;
x = (0.265 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.7128 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.055 * safezoneW) + BORDERSIZE;
h = (0.045 * safezoneH);
text = $STR_DEL;
action = "deleteLogiGroup = 1";
};
class LogisticName: StdText {
idc = 75805;
style = ST_CENTER;
colorBackground[] = COLOR_BLACK_ALPHA;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = "";
};
class StatusLabel: StdText {
idc = 75806;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.23 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_LOGISTIC_STATUS;
};
class Status: StatusLabel {
idc = 75807;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class TimeLabel: StdText {
idc = 75808;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.26 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_PRODUCTION_TIMER;
};
class Time: TimeLabel {
idc = 75809;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class DestinationLabel: StdText {
idc = 758010;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.29 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_LOGISTIC_DESTINATION;
};
class Destination: DestinationLabel {
idc = 758011;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class LoadedTitle: StdText {
idc = 758012;
style = ST_CENTER;
colorBackground[] = COLOR_BLACK_ALPHA;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.34 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_LOGISTIC_LOADEDDETAIL;
};
class TruckCountLabel: StdText {
idc = 758013;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.37 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_LOGISTIC_TRUCKCOUNT;
};
class TruckCount: TruckCountLabel {
idc = 758014;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class LoadedSupplyLabel: StdText {
idc = 758015;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.4 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_MANPOWER;
};
class LoadedSupply: LoadedSupplyLabel {
idc = 758016;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class LoadedAmmoLabel: StdText {
idc = 758017;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.43 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_AMMO;
};
class LoadedAmmo: LoadedAmmoLabel {
idc = 758018;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class LoadedFuelLabel: StdText {
idc = 758019;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.46 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_FUEL;
};
class LoadedFuel: LoadedFuelLabel {
idc = 758020;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class ButtonBuyTruck: StdButton {
idc = 758021;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.49 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.0725 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_LOGSTIC_BUYTRUCK;
tooltip = $STR_LOGISTIC_TT_BUYTRUCK;
action = "buyLogiTruck = 1";
};
class ButtonSellTRuck: StdButton {
idc = 758022;
x = (0.4185 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.49 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.0725 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_LOGSTIC_SELLTRUCK;
tooltip = $STR_LOGISTIC_TT_SELLTRUCK;
action = "sellLogiTruck = 1";
};
class ATitle: StdText {
idc = 758023;
style = ST_CENTER;
colorBackground[] = COLOR_BLACK_ALPHA;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.54 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_LOGISTIC_LABELA;
};
class ACombo: StdCombo {
idc = 758024;
sizeEx = 0.018 * safezoneH;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.57 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
};
class ASupp: StdEdit {
idc = 758025;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.6 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = 0.05 * safezoneW;
text = "";
tooltip = $STR_LOGISTIC_TT_SUPPLY;
action = "";
autocomplete = "";
};
class AAmmo: StdEdit {
idc = 758026;
x = (0.392 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.6 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = 0.05 * safezoneW;
text = "";
tooltip = $STR_LOGISTIC_TT_AMMO;
action = "";
autocomplete = "";
};
class AFuel: StdEdit {
idc = 758027;
x = (0.446 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.6 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = 0.05 * safezoneW;
text = "";
tooltip = $STR_LOGISTIC_TT_FUEL;
action = "";
autocomplete = "";
};
class BTitle: StdText {
idc = 758028;
style = ST_CENTER;
colorBackground[] = COLOR_BLACK_ALPHA;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.63 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_LOGISTIC_LABELB;
};
class BCombo: StdCombo {
idc = 758029;
sizeEx = 0.018 * safezoneH;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.66 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
};
class BSupp: StdEdit {
idc = 758030;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.69 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = 0.05 * safezoneW;
text = "";
tooltip = $STR_LOGISTIC_TT_SUPPLY;
action = "";
autocomplete = "";
};
class BAmmo: StdEdit {
idc = 758031;
x = (0.392 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.69 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = 0.05 * safezoneW;
text = "";
tooltip = $STR_LOGISTIC_TT_AMMO;
action = "";
autocomplete = "";
};
class BFuel: StdEdit {
idc = 758032;
x = (0.446 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.69 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = 0.05 * safezoneW;
text = "";
tooltip = $STR_LOGISTIC_TT_FUEL;
action = "";
autocomplete = "";
};
class ALabel: StdText {
idc = 758033;
style = ST_CENTER;
sizeEx = 0.018 * safezoneH;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.57 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = "";
};
class BLabel: StdText {
idc = 758034;
style = ST_CENTER;
sizeEx = 0.018 * safezoneH;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.66 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = "";
};
class ButtonSaveLogistic: StdButton {
idc = 758080;
sizeEx = 0.02 * safezoneH;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.7128 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.021 * safezoneH);
text = $STR_LOGISTIC_CONFIRM;
action = "saveConvoySettings = 1";
};
class ButtonAbortLogistic: StdButton {
idc = 758081;
sizeEx = 0.02 * safezoneH;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.7368 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.021 * safezoneH);
text = $STR_LOGISTIC_CANCEL;
action = "convoyStandby = 1";
};
class LogisticMap: kndr_MapControl {
idc = 758098;
x = (0.51 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.29 * safezoneW) + BORDERSIZE;
h = (0.55 * safezoneH) + (1.5 * BORDERSIZE);
};
class ButtonClose2: StdButton {
idc = 758099;
x = 0.455 * safezoneW + safezoneX;
y = 0.77 * safezoneH + safezoneY;
w = 0.09 * safezoneW;
h = 0.035 * safezoneH;
text = $STR_CLOSE;
action = "closeDialog 0";
};
};

View File

@@ -0,0 +1,86 @@
class liberation_menu {
idd = 5651;
movingEnable = false;
controls[] = { "Splash", "Start", "Help" };
objects[] = {};
class Splash {
idc = -1;
type = CT_STATIC ;
style = ST_PICTURE;
colorText[] = COLOR_WHITE;
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.1 * safezoneH;
x = 0.08 * safezoneW + safezoneX;
w = 0.25 * safezoneW;
y = 0.15 * safezoneH + safezoneY;
h = 0.43 * safezoneH;
text = "res\splash_libe2.paa";
};
class Start {
idc = 321;
type = CT_SHORTCUT_BUTTON;
style = ST_CENTER;
x = (0.137 * safezoneW + safezoneX) - (BORDERSIZE);
y = (0.53 * safezoneH + safezoneY);
w = (0.15 * safezoneW) - (BORDERSIZE);
h = (0.07 * safezoneH);
sizeEx = 0.025 * safezoneH;
size = 0.025 * safezoneH;
text = "";
action = "dostartgame=1;";
textureNoShortcut = "res\btn_join_spl_idl3.paa";
animTextureNormal = "res\btn_join_spl_idl3.paa";
animTextureDisabled = "res\btn_join_spl_idl3.paa";
animTextureOver = "res\btn_join_spl_hov3.paa";
animTextureFocused = "res\btn_join_spl_idl3.paa";
animTexturePressed = "res\btn_join_spl_hov3.paa";
animTextureDefault = "res\btn_join_spl_idl3.paa";
color[] = COLOR_WHITE;
color2[] = COLOR_WHITE;
colorActiveBackground[] = COLOR_WHITE;
colorBackground[] = COLOR_WHITE;
colorBackgroundFocused[] = COLOR_WHITE;
colorBackground2[] = COLOR_WHITE;
colorDisabled[] = COLOR_WHITE;
colorFocused[] = COLOR_WHITE;
font = FontM;
soundEnter[] = { "", 0, 1 }; // no sound
soundPush[] = {"\a3\Ui_f\data\Sound\CfgIngameUI\hintExpand", 0.891251, 1};
soundClick[] = { "", 0, 1 }; // no sound
soundEscape[] = { "", 0, 1 }; // no sound
class HitZone {
Left = 0;
Right = 0;
Top = 0;
Bottom = 0;
};
class ShortcutPos {
Left = 0;
Top = 0;
w = 0;
h = 0;
};
class TextPos {
left = 0;
top = 0;
right = 0;
bottom = 0;
};
};
class Help: Start {
idc = 322;
y = (0.62 * safezoneH + safezoneY);
animTextureNormal = "res\btn_htp_spl_idl3.paa";
animTextureDisabled = "res\btn_htp_spl_idl3.paa";
animTextureOver = "res\btn_htp_spl_hov3.paa";
animTextureFocused = "res\btn_htp_spl_idl3.paa";
animTexturePressed = "res\btn_htp_spl_hov3.paa";
animTextureDefault = "res\btn_htp_spl_idl3.paa";
tooltipColorShade[] = COLOR_BROWN;
tooltipColorText[] = COLOR_WHITE;
tooltipColorBox[] = COLOR_GREEN;
action = "howtoplay=1;";
};
};

View File

@@ -0,0 +1,194 @@
class CfgNotifications {
class lib_default_notification {
duration = 10;
soundClose = "defaultNotificationClose";
colorIconPicture[] = { 1, 1, 1, 1 };
colorIconText[] = { 1, 1, 1, 1 };
priority = 5;
};
class lib_sector_captured: lib_default_notification {
title = $STR_NOTIFICATION_SECTORCAPTURED_TITLE;
description = $STR_NOTIFICATION_SECTORCAPTURED_TEXT;
iconPicture = "res\notif\ui_notif_sec_cap.paa";
color[] = { 0, 1, 0, 1 };
sound = "taskSucceeded";
};
class lib_sector_attacked: lib_default_notification {
title = $STR_NOTIFICATION_SECTORATTACKED_TITLE;
description = $STR_NOTIFICATION_SECTORATTACKED_TEXT;
iconPicture = "res\notif\ui_notif_sec_una.paa";
color[] = { 1, 1, 0, 1 };
sound = "taskCanceled";
};
class lib_sector_lost: lib_default_notification {
title = $STR_NOTIFICATION_SECTORLOST_TITLE;
description = $STR_NOTIFICATION_SECTORLOST_TEXT;
iconPicture = "res\notif\ui_notif_sec_los.paa";
color[] = { 1, 0, 0, 1 };
sound = "taskFailed";
};
class lib_sector_safe: lib_default_notification {
title = $STR_NOTIFICATION_SECTORSAFE_TITLE;
description = $STR_NOTIFICATION_SECTORSAFE_TEXT;
iconPicture = "res\notif\ui_notif_sec_saf.paa";
color[] = { 0, 0.35, 1, 1 };
sound = "taskUpdated";
priority = 3;
};
class lib_fob_built: lib_default_notification {
title = $STR_NOTIFICATION_FOBBUILT_TITLE;
description = $STR_NOTIFICATION_FOBBUILT_TEXT;
iconPicture = "res\notif\ui_notif_fob_new.paa";
color[] = { 0, 0.35, 1, 1 };
sound = "taskUpdated";
};
class lib_fob_safe: lib_default_notification {
title = $STR_NOTIFICATION_FOBSAFE_TITLE;
description = $STR_NOTIFICATION_FOBSAFE_TEXT;
iconPicture = "res\notif\ui_notif_fob_sec.paa";
color[] = { 0, 0.35, 1, 1 };
sound = "taskUpdated";
priority = 3;
};
class lib_fob_attacked: lib_default_notification {
title = $STR_NOTIFICATION_FOBATTACKED_TITLE;
description = $STR_NOTIFICATION_FOBATTACKED_TEXT;
iconPicture = "res\notif\ui_notif_fob_und.paa";
color[] = { 1, 1, 0, 1 };
sound = "taskCanceled";
};
class lib_fob_lost: lib_default_notification {
title = $STR_NOTIFICATION_FOBLOST_TITLE;
description = $STR_NOTIFICATION_FOBLOST_TEXT;
iconPicture = "res\notif\ui_notif_fob_los.paa";
color[] = { 1, 0, 0, 1 };
sound = "taskFailed";
};
class lib_battlegroup: lib_default_notification {
title = $STR_NOTIFICATION_BATTLEGROUP_TITLE;
description = $STR_NOTIFICATION_BATTLEGROUP_TEXT;
iconPicture = "res\notif\ui_notif_bgp.paa";
color[] = { 1, 0, 0, 1 };
sound = "taskFailed";
};
class lib_incoming: lib_battlegroup {
description = $STR_NOTIFICATION_INCOMING_TEXT;
};
class lib_intel: lib_default_notification {
title = $STR_NOTIFICATION_INTEL_TITLE;
iconPicture = "res\notif\ui_notif_int.paa";
color[] = { 0, 0.35, 1, 1 };
sound = "taskUpdated";
};
class lib_intel_prisoner: lib_intel {
description = $STR_NOTIFICATION_PRISONER_TEXT;
};
class lib_intel_document: lib_intel {
description = $STR_NOTIFICATION_DOCUMENT_TEXT;
};
class lib_intel_fob: lib_intel {
description = $STR_NOTIFICATION_FOB_TEXT;
};
class lib_intel_convoy: lib_intel {
description = $STR_NOTIFICATION_CONVOY_SPOTTED_TEXT;
};
class lib_secondary_fob_destroyed: lib_default_notification {
title = $STR_NOTIFICATION_SECONDARY_TITLE;
description = $STR_NOTIFICATION_SECONDARY_TEXT;
iconPicture = "res\notif\ui_notif_sob.paa";
color[] = { 0, 1, 0, 1 };
sound = "taskSucceeded";
};
class lib_secondary_convoy_destroyed: lib_secondary_fob_destroyed {
description = $STR_NOTIFICATION_CONVOY_DESTROYED_TEXT;
};
class lib_reinforcements: lib_default_notification {
title = $STR_NOTIFICATION_REINFORCEMENTS_TITLE;
description = $STR_NOTIFICATION_REINFORCEMENTS_TEXT;
iconPicture = "res\notif\ui_notif_ref.paa";
color[] = { 1, 1, 0, 1 };
sound = "taskCanceled";
};
class lib_intel_sar: lib_intel {
description = $STR_NOTIFICATION_SAR_STARTED;
};
class lib_intel_sar_failed: lib_secondary_fob_destroyed {
description = $STR_NOTIFICATION_SAR_FAILED;
color[] = { 1, 0, 0, 1 };
sound = "taskFailed";
};
class lib_intel_sar_succeeded: lib_secondary_fob_destroyed {
description = $STR_NOTIFICATION_SAR_SUCCESS;
};
class lib_restart_60_s: lib_default_notification {
title = $STR_NOTIFICATION_RESTART_TITLE;
description = $STR_NOTIFICATION_RESTART_SECOND;
iconPicture = "res\notif\ui_notif_restart.paa";
color[] = { 1, 1, 0, 1 };
sound = "taskCanceled";
};
class lib_restart_5_min: lib_default_notification {
title = $STR_NOTIFICATION_RESTART_TITLE;
description = $STR_NOTIFICATION_RESTART_FIVE;
iconPicture = "res\notif\ui_notif_restart.paa";
color[] = { 1, 1, 0, 1 };
sound = "taskCanceled";
};
class lib_restart_15_min: lib_default_notification {
title = $STR_NOTIFICATION_RESTART_TITLE;
description = $STR_NOTIFICATION_RESTART_FIFTEEN;
iconPicture = "res\notif\ui_notif_restart.paa";
color[] = { 1, 1, 0, 1 };
sound = "taskCanceled";
};
class lib_restart_30_min: lib_default_notification {
title = $STR_NOTIFICATION_RESTART_TITLE;
description = $STR_NOTIFICATION_RESTART_THIRTY;
iconPicture = "res\notif\ui_notif_restart.paa";
color[] = { 1, 1, 0, 1 };
sound = "taskCanceled";
};
class lib_civ_informant_start: lib_intel {
description = $STR_NOTIFICATION_CIV_INFORMANT_START;
};
class lib_civ_informant_success: lib_intel {
description = $STR_NOTIFICATION_CIV_INFORMANT_SUCCESS;
};
class lib_civ_informant_fail: lib_intel {
description = $STR_NOTIFICATION_CIV_INFORMANT_FAIL;
};
class lib_civ_informant_death: lib_intel {
description = $STR_NOTIFICATION_CIV_INFORMANT_DEATH;
};
class lib_civ_hvt_start: lib_intel {
description = $STR_NOTIFICATION_CIV_HVT_START;
};
class lib_civ_hvt_success: lib_intel {
description = $STR_NOTIFICATION_CIV_HVT_SUCCESS;
};
class lib_civ_hvt_fail: lib_intel {
description = $STR_NOTIFICATION_CIV_HVT_FAIL;
};
class lib_asymm_convoy_ambush: lib_default_notification {
title = $STR_NOTIFICATION_ASYMMCONVOYAMBUSH_TITLE;
description = $STR_NOTIFICATION_ASYMMCONVOYAMBUSH_TEXT;
iconPicture = "res\notif\ui_notif_camb.paa";
color[] = {1, 0, 0, 1};
sound = "taskCreated";
};
class lib_asymm_convoy_ambush_success: lib_asymm_convoy_ambush {
description = $STR_NOTIFICATION_ASYMMCONVOYAMBUSH_SUCCESS;
sound = "taskSucceeded";
};
class lib_asymm_convoy_ambush_fail: lib_asymm_convoy_ambush {
description = $STR_NOTIFICATION_ASYMMCONVOYAMBUSH_FAIL;
color[] = {1, 0, 0, 1};
sound = "taskFailed";
};
class lib_asymm_guerilla_incoming: lib_reinforcements {
title = $STR_NOTIFICATION_GUER_INC_TITLE;
description = $STR_NOTIFICATION_GUER_INC;
color[] = {0, 0.5, 0, 1};
sound = "taskUpdated";
};
};

View File

@@ -0,0 +1,95 @@
class liberation_permissions {
idd = 5118;
movingEnable = false;
controlsBackground[] = {};
controls[] = { "OuterBG1", "OuterBG_F1", "InnerBG1", "InnerBG_F1", "Header", "ButtonClose", "PermissionsControlGroup", "ButtonSave", "ButtonCancel" };
objects[] = {};
class OuterBG1: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.2 * safezoneW + safezoneX) - (2 * BORDERSIZE);
y = (0.15 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.6 * safezoneW) + (4 * BORDERSIZE);
h = (0.65 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F1: OuterBG1 {
style = ST_FRAME;
};
class InnerBG1: OuterBG1 {
colorBackground[] = COLOR_GREEN;
x = (0.2 * safezoneW + safezoneX) - ( BORDERSIZE);
y = 0.2 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.6 * safezoneW) + (2 * BORDERSIZE);
h = 0.55 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F1: InnerBG1 {
style = ST_FRAME;
};
class Header: StdHeader {
x = 0.2 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.14 * safezoneH + safezoneY;
w = 0.6 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_PERMISSIONS_TITLE;
};
class ButtonClose: StdButton {
idc = 750;
x = 0.785 * safezoneW + safezoneX;
y = 0.145 * safezoneH + safezoneY;
w = 0.015 * safezoneW;
h = 0.02 * safezoneH;
text = "X";
action = "closeDialog 0";
};
class PermissionsControlGroup {
type = 15;
idc = 9969;
style = 0;
x = (0.2 * safezoneW + safezoneX) - ( BORDERSIZE);
y = 0.2 * safezoneH + safezoneY;
w = (0.6 * safezoneW) + (BORDERSIZE);
h = 0.55 * safezoneH ;
colorScrollbar[] = COLOR_WHITE;
class VScrollbar {
color[] = COLOR_WHITE;
width = 0.01 * safezoneW;
autoScrollSpeed = 5;
autoScrollDelay = 25;
autoScrollRewind = 0;
};
class HScrollbar {
color[] = COLOR_WHITE;
height = 0.012 * safezoneH;
};
class ScrollBar {
color[] = COLOR_WHITE;
colorActive[] = COLOR_WHITE;
colorDisabled[] = COLOR_WHITE;
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
};
class Controls {};
};
class ButtonSave: StdButton {
idc = 751;
x = 0.4 * safezoneW + safezoneX;
y = 0.77 * safezoneH + safezoneY;
w = 0.09 * safezoneW;
h = 0.035 * safezoneH;
text = $STR_SAVE_CHANGES;
action = "save_changes = 1";
};
class ButtonCancel: StdButton {
idc = 752;
x = 0.5 * safezoneW + safezoneX;
y = 0.77 * safezoneH + safezoneY;
w = 0.09 * safezoneW;
h = 0.035 * safezoneH;
text = $STR_RECYCLING_CANCEL;
action = "closeDialog 0";
};
};

View File

@@ -0,0 +1,306 @@
class liberation_production {
idd = 75801;
movingEnable = false;
controlsBackground[] = {};
controls[] = {
"OuterBG1", "OuterBG_F1", "InnerBG1", "InnerBG_F1", "InnerBG2", "InnerBG_F2", "InnerBG3", "InnerBG_F3",
"Header", "ButtonClose", "ProductionList",
"SectorName", "SectorTypeLabel", "SectorType", "SectorProdLabel", "SectorProd", "SectorStorageLabel", "SectorStorage", "SectorTimerLabel", "SectorTimer",
"FacilitiesTitle", "FacilitiesSupply", "FacilitiesAmmo", "FacilitiesFuel",
"StorageTitle", "StorageSupplyLabel", "StorageSupply", "StorageAmmoLabel", "StorageAmmo", "StorageFuelLabel", "StorageFuel",
"ProduceTitle", "ProduceToolBox", "ButtonSaveSector",
"SectorMap", "ButtonClose2"
};
objects[] = {};
class OuterBG1: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.2 * safezoneW + safezoneX) - (2 * BORDERSIZE);
y = (0.15 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.6 * safezoneW) + (4 * BORDERSIZE);
h = (0.65 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F1: OuterBG1 {
style = ST_FRAME;
};
class InnerBG1: OuterBG1 {
colorBackground[] = COLOR_GREEN;
x = (0.2 * safezoneW + safezoneX) - (BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (1.5 * BORDERSIZE);
w = (0.12 * safezoneW) + (2 * BORDERSIZE);
h = (0.55 * safezoneH) + (3 * BORDERSIZE);
};
class InnerBG_F1: InnerBG1 {
style = ST_FRAME;
};
class InnerBG2: OuterBG1 {
colorBackground[] = COLOR_GREEN;
x = (0.338 * safezoneW + safezoneX) - (BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (1.5 * BORDERSIZE);
w = (0.153 * safezoneW) + (2 * BORDERSIZE);
h = (0.55 * safezoneH) + (3 * BORDERSIZE);
};
class InnerBG_F2: InnerBG2 {
style = ST_FRAME;
};
class InnerBG3: OuterBG1 {
colorBackground[] = COLOR_GREEN;
x = (0.51 * safezoneW + safezoneX) - (BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (1.5 * BORDERSIZE);
w = (0.29 * safezoneW) + (2 * BORDERSIZE);
h = (0.55 * safezoneH) + (3 * BORDERSIZE);
};
class InnerBG_F3: InnerBG3 {
style = ST_FRAME;
};
class Header: StdHeader {
x = 0.2 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.14 * safezoneH + safezoneY;
w = 0.6 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_PRODUCTION_HEADER;
};
class ButtonClose: StdButton {
idc = 75801;
x = 0.785 * safezoneW + safezoneX;
y = 0.145 * safezoneH + safezoneY;
w = 0.015 * safezoneW;
h = 0.02 * safezoneH;
text = "X";
action = "closeDialog 0";
};
class ProductionList: StdListBox {
idc = 75802;
colorSelect[] = COLOR_BLUE;
colorSelect2[] = COLOR_BLUE;
x = (0.2 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.12 * safezoneW) + BORDERSIZE;
h = (0.55 * safezoneH) + (1.5 * BORDERSIZE);
shadow = 2;
onLBSelChanged="";
};
class SectorName: StdText {
idc = 75803;
style = ST_CENTER;
colorBackground[] = COLOR_BLACK_ALPHA;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = "";
};
class SectorTypeLabel: StdText {
idc = -1;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.23 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_PRODUCTION_TYPE;
};
class SectorType: SectorTypeLabel {
idc = 75804;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class SectorProdLabel: StdText {
idc = -1;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.26 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_PRODUCTION_PRODUCING;
};
class SectorProd: SectorProdLabel {
idc = 75805;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class SectorStorageLabel: StdText {
idc = -1;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.29 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_PRODUCTION_STORAGE;
};
class SectorStorage: SectorStorageLabel {
idc = 75806;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class SectorTimerLabel: StdText {
idc = -1;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.32 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_PRODUCTION_TIMER;
};
class SectorTimer: SectorTimerLabel {
idc = 75807;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class FacilitiesTitle: StdText {
idc = -1;
style = ST_CENTER;
colorBackground[] = COLOR_BLACK_ALPHA;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.37 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_PRODUCTION_FACILITIES;
};
class FacilitiesSupply: StdText {
idc = 75808;
style = ST_CENTER;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.4 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_MANPOWER;
};
class FacilitiesAmmo: StdText {
idc = 75809;
style = ST_CENTER;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.43 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_AMMO;
};
class FacilitiesFuel: StdText {
idc = 758010;
style = ST_CENTER;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.46 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_FUEL;
};
class StorageTitle: StdText {
idc = -1;
style = ST_CENTER;
colorBackground[] = COLOR_BLACK_ALPHA;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.51 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_PRODUCTION_STORAGEDETAIL;
};
class StorageSupplyLabel: StdText {
idc = -1;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.54 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_MANPOWER;
};
class StorageSupply: StorageSupplyLabel {
idc = 758011;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class StorageAmmoLabel: StdText {
idc = -1;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.57 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_AMMO;
};
class StorageAmmo: StorageAmmoLabel {
idc = 758012;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class StorageFuelLabel: StdText {
idc = -1;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.6 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.07 * safezoneW);
h = (0.02 * safezoneH);
text = $STR_FUEL;
};
class StorageFuel: StorageFuelLabel {
idc = 758013;
style = ST_RIGHT;
x = (0.4145 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
w = (0.08 * safezoneW);
text = "";
};
class ProduceTitle: StdText {
idc = -1;
style = ST_CENTER;
colorBackground[] = COLOR_BLACK_ALPHA;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.65 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.02 * safezoneH);
text = $STR_PRODUCTION_PRODUCE;
};
class ProduceToolBox {
idc = 758014;
type = CT_TOOLBOX;
style = ST_CENTER;
font = FontM;
sizeEx = 0.02 * safezoneH;
color[] = {0, 0, 0, 1};
colorText[] = COLOR_WHITE;
colorTextSelect[] = {0, 0.9, 0, 1};
colorSelect[] = {0, 0, 1, 1};
colorTextDisable[] = {0, 1, 0, 1};
colorDisable[] = {1, 0, 0, 1};
colorSelectedBg[] = COLOR_LIGHTGRAY_ALPHA;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.68 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.03 * safezoneH);
rows = 1;
columns = 3;
strings[] = {$STR_MANPOWER,$STR_AMMO,$STR_FUEL};
values[] = {0,1,2};
onToolBoxSelChanged = "new_production = (_this select 1)";
};
class ButtonSaveSector: StdButton {
idc = 758015;
sizeEx = 0.026 * safezoneH;
x = (0.338 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.7128 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.153 * safezoneW) + BORDERSIZE;
h = (0.045 * safezoneH);
text = $STR_CONFIRM;
action = "saveSectorSetting = 1";
};
class SectorMap: kndr_MapControl {
idc = 758016;
x = (0.51 * safezoneW + safezoneX) - (0.5 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (0.75 * BORDERSIZE);
w = (0.29 * safezoneW) + BORDERSIZE;
h = (0.55 * safezoneH) + (1.5 * BORDERSIZE);
};
class ButtonClose2: StdButton {
idc = 758017;
x = 0.455 * safezoneW + safezoneX;
y = 0.77 * safezoneH + safezoneY;
w = 0.09 * safezoneW;
h = 0.035 * safezoneH;
text = $STR_CLOSE;
action = "closeDialog 0";
};
};

View File

@@ -0,0 +1,155 @@
class liberation_recycle {
idd = 5751;
movingEnable = false;
controlsBackground[] = { "OuterBG", "RecycleBG", "OuterBG_F", "InnerBG", "InnerBG_F" };
controls[] = { "Header", "ButtonClose",
"ManpowerImageShadow","AmmoImageShadow","FuelImageShadow",
"ManpowerImage","AmmoImage","FuelImage",
"Infotext","LabelManpower","LabelAmmo","LabelFuel",
"RecycleButton","CancelButton"
};
objects[] = {};
class RecycleBG: BgPicture {
x = (0.35 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.4 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.3 * safezoneW) + (4 * BORDERSIZE);
h = (0.2 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.35 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.4 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.3 * safezoneW) + (4 * BORDERSIZE);
h = (0.2 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F: OuterBG {
style = ST_FRAME;
};
class InnerBG: OuterBG {
colorBackground[] = COLOR_GREEN;
x = (0.35 * safezoneW + safezoneX) - ( BORDERSIZE);
y = 0.45 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.3 * safezoneW) + (2 * BORDERSIZE);
h = 0.15 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F: InnerBG {
style = ST_FRAME;
};
class Header: StdHeader {
x = 0.35 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.39 * safezoneH + safezoneY;
w = 0.3 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_RECYCLING;
};
class ButtonClose: StdButton {
idc = 101;
x = 0.632 * safezoneW + safezoneX;
w = 0.015 * safezoneW;
h = 0.02 * safezoneH;
y = 0.402 * safezoneH + safezoneY;
text = "X";
action = "closeDialog 0";
};
class IconImage {
idc = -1;
type = CT_STATIC;
style = ST_PICTURE;
colorText[] = {1, 1, 1, 1};
colorBackground[] = {0, 0, 0, 1};
font = FontM;
sizeEx = 0.023;
y = (0.5 * safezoneH + safezoneY);
w = (0.015 * safezoneW);
h = (0.025 * safezoneH);
moving = false;
};
class ManpowerImage: IconImage {
idc = 1085;
x = (0.42 * safezoneW + safezoneX);
text = "res\ui_manpo.paa";
};
class AmmoImage: IconImage {
idc = 1085;
x = (0.48 * safezoneW + safezoneX);
text = "res\ui_ammo.paa";
};
class FuelImage: IconImage {
idc = 1085;
x = (0.54 * safezoneW + safezoneX);
text = "res\ui_fuel.paa";
};
class ManpowerImageShadow: IconImage {
idc = 1085;
x = (0.42 * safezoneW + safezoneX) + 0.003;
text = "res\ui_manpo.paa";
colorText[] = {0, 0, 0, 1};
y = (0.5 * safezoneH + safezoneY) + 0.005;
};
class AmmoImageShadow: IconImage {
idc = 1085;
x = (0.48 * safezoneW + safezoneX) + 0.003;
text = "res\ui_ammo.paa";
colorText[] = {0, 0, 0, 1};
y = (0.5 * safezoneH + safezoneY) + 0.005;
};
class FuelImageShadow: IconImage {
idc = 1085;
x = (0.54 * safezoneW + safezoneX) + 0.003;
text = "res\ui_fuel.paa";
colorText[] = {0, 0, 0, 1};
y = (0.5 * safezoneH + safezoneY) + 0.005;
};
class Infotext: StdText {
idc = 134;
style = ST_CENTER;
x = (0.35 * safezoneW + safezoneX);
w = (0.3 * safezoneW);
h = (0.03 * safezoneH);
y = (0.45 * safezoneH + safezoneY);
colorText[] = {0.9, 0.9, 0.9, 1};
};
class LabelNumber: StdText {
y = (0.5 * safezoneH + safezoneY) - (0.5 * BORDERSIZE);
w = (0.1 * safezoneW);
h = (0.03 * safezoneH);
sizeEx = 0.03 * safezoneH;
};
class LabelManpower: LabelNumber {
idc = 131;
x = (0.44 * safezoneW + safezoneX) - BORDERSIZE;
colorText[] = {0, 0.75, 0, 1};
};
class LabelAmmo: LabelNumber {
idc = 132;
x = (0.5 * safezoneW + safezoneX) - BORDERSIZE;
colorText[] = {0.75, 0, 0, 1};
};
class LabelFuel: LabelNumber {
idc = 133;
x = (0.56 * safezoneW + safezoneX) - BORDERSIZE;
colorText[] = {0.75, 0.75, 0, 1};
};
class RecycleButton: StdButton {
idc = 120;
x = (0.4 * safezoneW + safezoneX) - (BORDERSIZE);
y = (0.55 * safezoneH + safezoneY);
w = (0.1 * safezoneW) - (BORDERSIZE);
h = (0.045 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_RECYCLING_PROCEED;
action = "dorecycle = 1;";
};
class CancelButton: StdButton {
idc = 121;
x = (0.5 * safezoneW + safezoneX) + (BORDERSIZE);
y = (0.55 * safezoneH + safezoneY);
w = (0.1 * safezoneW);
h = (0.045 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_RECYCLING_CANCEL;
action = "closeDialog 0";
};
};

View File

@@ -0,0 +1,90 @@
class liberation_repackage_fob {
idd = 5755;
movingEnable = false;
controlsBackground[] = { "OuterBG", "RecycleBG", "OuterBG_F", "InnerBG", "InnerBG_F" };
controls[] = { "Header", "ButtonClose", "Infotext","TruckButton","BoxButton","CancelButton"};
objects[] = {};
class RecycleBG: BgPicture {
x = (0.35 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.4 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.3 * safezoneW) + (4 * BORDERSIZE);
h = (0.2 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.35 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.4 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.3 * safezoneW) + (4 * BORDERSIZE);
h = (0.2 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F: OuterBG {
style = ST_FRAME;
};
class InnerBG: OuterBG {
colorBackground[] = COLOR_GREEN;
x = (0.35 * safezoneW + safezoneX) - ( BORDERSIZE);
y = 0.45 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.3 * safezoneW) + (2 * BORDERSIZE);
h = 0.15 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F: InnerBG {
style = ST_FRAME;
};
class Header: StdHeader {
x = 0.35 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.39 * safezoneH + safezoneY;
w = 0.3 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_FOB_REPACKAGE_TITLE;
};
class ButtonClose: StdButton {
idc = 101;
x = 0.632 * safezoneW + safezoneX;
w = 0.015 * safezoneW;
h = 0.02 * safezoneH;
y = 0.402 * safezoneH + safezoneY;
text = "X";
action = "closeDialog 0";
};
class Infotext: StdText {
idc = -1;
style = ST_CENTER;
x = (0.35 * safezoneW + safezoneX);
w = (0.3 * safezoneW);
h = (0.03 * safezoneH);
y = (0.45 * safezoneH + safezoneY);
colorText[] = {0.9, 0.9, 0.9, 1};
text = $STR_FOB_REPACKAGE_CONFIRM;
};
class BoxButton: StdButton {
idc = 120;
x = (0.38 * safezoneW + safezoneX) - (BORDERSIZE);
y = (0.55 * safezoneH + safezoneY);
w = (0.08 * safezoneW) - (BORDERSIZE);
h = (0.045 * safezoneH);
sizeEx = 0.023 * safezoneH;
text = $STR_FOBBOX;
action = "dorepackage = 1;";
};
class TruckButton: StdButton {
idc = 120;
x = (0.46 * safezoneW + safezoneX);
y = (0.55 * safezoneH + safezoneY);
w = (0.08 * safezoneW) - (BORDERSIZE);
h = (0.045 * safezoneH);
sizeEx = 0.023 * safezoneH;
text = $STR_FOBTRUCK;
action = "dorepackage = 2;";
};
class CancelButton: StdButton {
idc = 121;
x = (0.54 * safezoneW + safezoneX) + (BORDERSIZE);
y = (0.55 * safezoneH + safezoneY);
w = (0.08 * safezoneW);
h = (0.045 * safezoneH);
sizeEx = 0.023 * safezoneH;
text = $STR_RECYCLING_CANCEL;
action = "closeDialog 0";
};
};

View File

@@ -0,0 +1,175 @@
class liberation_secondary {
idd = 6842;
movingEnable = false;
controlsBackground[] = {
"CamoBG",
"OuterBG",
"OuterBG_F",
"InnerBG",
"InnerBG_F",
"MissionBriefingFrame"
};
controls[] = {
"Header",
"MissionsList",
"MissionImage",
"ButtonClose",
"MissionBriefing",
"StartButton",
"CancelButton",
"LabelIntel"
};
objects[] = {};
class CamoBG: BgPicture {
x = (0.2 * safezoneW + safezoneX) - ( 2 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.6 * safezoneW) + (4 * BORDERSIZE);
h = (0.6 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.2 * safezoneW + safezoneX) - (2 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.6 * safezoneW) + (4 * BORDERSIZE);
h = (0.6 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F: OuterBG {
style = ST_FRAME;
};
class InnerBG: OuterBG {
colorBackground[] = COLOR_GREEN;
x = (0.2 * safezoneW + safezoneX) - ( BORDERSIZE);
y = 0.25 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.6 * safezoneW) + (2 * BORDERSIZE);
h = 0.55 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F: InnerBG {
style = ST_FRAME;
};
class MissionBriefingFrame: StdBG {
style = ST_FRAME;
colorBackground[] = COLOR_GREEN;
x = (0.35 * safezoneW + safezoneX) + BORDERSIZE;
y = 0.25 * safezoneH + safezoneY;
w = (0.45 * safezoneW) - BORDERSIZE;
h = (0.5 * safezoneH) - BORDERSIZE;
};
class MissionImage: BgPicture {
idc = 106;
x = (0.2 * safezoneW + safezoneX);
y = (0.25 * safezoneH + safezoneY);
w = (0.15 * safezoneW);
h = (0.2 * safezoneH);
colorText[] = {1.0, 1.0, 1.0, 1.0};
text = "";
};
class Header: StdHeader {
x = 0.2 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.19 * safezoneH + safezoneY;
w = 0.6 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_SECONDARY_OBJECTIVES_TITLE;
};
class MissionsList: StdListBox {
idc = 101;
x = 0.2 * safezoneW + safezoneX;
w = 0.15 * safezoneW;
y = 0.45 * safezoneH + safezoneY + BORDERSIZE;
h = (0.3 * safezoneH) - BORDERSIZE;
shadow = 2;
onLBSelChanged="";
};
class ButtonClose: StdButton {
idc = 105;
x = 0.785 * safezoneW + safezoneX;
w = 0.015 * safezoneW;
h = 0.02 * safezoneH;
y = 0.197 * safezoneH + safezoneY;
text = "X";
action = "closeDialog 0";
};
class LabelIntel: StdText {
idc = 107;
x = (0.2 * safezoneW + safezoneX);
w = (0.15 * safezoneW);
h = (0.04 * safezoneH);
y = (0.755 * safezoneH + safezoneY);
colorText[] = {0, 0.7, 1.0, 1.0};
sizeEx = 0.03 * safezoneH;
style = ST_CENTER;
};
class MissionBriefing {
type = 15;
idc = -1;
style = 0;
x = (0.35 * safezoneW + safezoneX) + BORDERSIZE;
y = 0.25 * safezoneH + safezoneY;
w = (0.45 * safezoneW) - BORDERSIZE;
h = (0.5 * safezoneH) - BORDERSIZE;
colorScrollbar[] = COLOR_WHITE;
class VScrollbar {
color[] = COLOR_WHITE;
width = 0.01 * safezoneW;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
};
class HScrollbar {
color[] = COLOR_WHITE;
height = 0.012 * safezoneH;
};
class ScrollBar {
color[] = COLOR_WHITE;
colorActive[] = COLOR_WHITE;
colorDisabled[] = COLOR_WHITE;
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
};
class Controls {
class MissionBriefingText {
idc = 102;
type = CT_STRUCTURED_TEXT;
colorBackground[] = COLOR_NOALPHA;
style = ST_LEFT;
x = 0;
y = 0;
w = (0.45 * safezoneW) - (2 * BORDERSIZE);
h = (0.5 * safezoneH) - BORDERSIZE ;
text= "AAA";
size = 0.02 * safezoneH;
sizeEx = 0.02 * safezoneH;
shadow = 2;
font = FontM;
color = "#e0e0e0";
align = "left";
valign = "top";
};
};
};
class StartButton: StdButton {
idc = 103;
x = (0.46 * safezoneW + safezoneX);
y = (0.75 * safezoneH + safezoneY);
w = (0.1 * safezoneW);
h = (0.05 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_SECONDARY_OBJECTIVES_START;
action = "dostartsecondary = 1;";
};
class CancelButton: StdButton {
idc = 104;
x = (0.565 * safezoneW + safezoneX);
y = (0.75 * safezoneH + safezoneY);
w = (0.1 * safezoneW);
h = (0.05 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_RECYCLING_CANCEL;
action = "closeDialog 0;";
};
};

View File

@@ -0,0 +1,191 @@
class liberation_squad {
idd = 5155;
movingEnable = false;
controlsBackground[] = {};
controls[] = {"OuterBG", "RecycleBG","OuterBG_F", "InnerBG", "InnerBG_F", "OuterCenterPanel","Header","SquadList","DeployMap", "ButtonClose",
"NameLabel", "ClassLabel", "HealthLabel", "DistanceLabel", "PrimaryLabel", "PrimaryMagsLabel", "SecondaryLabel", "SecondaryMagsLabel", "VehicleLabel",
"ResupplyButton", "RemoveButton", "ReplaceButton", "ConfirmButton", "CancelButton", "PiPZone"};
objects[] = {};
class RecycleBG: BgPicture {
x = (0.2 * safezoneW + safezoneX) - (2 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.6 * safezoneW) + (4 * BORDERSIZE);
h = (0.6 * safezoneH) + (6 * BORDERSIZE);
};
class DeployMap: kndr_MapControl {
idc = 100;
x = (0.32 * safezoneW + safezoneX) + BORDERSIZE;
y = (0.6 * safezoneH + safezoneY);
w = (0.12 * safezoneW);
h = (0.2 * safezoneH);
};
class OuterBG: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.2 * safezoneW + safezoneX) - (2 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.6 * safezoneW) + (4 * BORDERSIZE);
h = (0.6 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F: OuterBG {
style = ST_FRAME;
};
class InnerBG: OuterBG {
colorBackground[] = COLOR_GREEN;
x = (0.2 * safezoneW + safezoneX) - BORDERSIZE;
y = (0.25 * safezoneH + safezoneY) - (1.5 * BORDERSIZE);
w = (0.6 * safezoneW) + (2 * BORDERSIZE);
h = (0.55 * safezoneH) + (3 * BORDERSIZE);
};
class InnerBG_F: InnerBG {
style = ST_FRAME;
};
class OuterCenterPanel: StdBG {
colorBackground[] = COLOR_GREEN;
style = ST_FRAME;
x = 0.32 * safezoneW + safezoneX + BORDERSIZE;
w = 0.12 * safezoneW;
y = 0.25 * safezoneH + safezoneY;
h = (0.35 * safezoneH) - (1.5 * BORDERSIZE);
};
class Header: StdHeader {
x = 0.2 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.19 * safezoneH + safezoneY;
w = 0.6 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_SQUAD_MANAGEMENT;
};
class SquadList: StdListBox {
idc = 101;
x = 0.2 * safezoneW + safezoneX;
w = 0.12 * safezoneW;
y = 0.25 * safezoneH + safezoneY;
h = (0.35 * safezoneH) - (1.5 * BORDERSIZE);
shadow = 2;
onLBSelChanged="";
};
class ResupplyButton: StdButton {
idc = 210;
x = (0.2 * safezoneW + safezoneX);
y = (0.6 * safezoneH + safezoneY);
w = (0.12 * safezoneW);
h = (0.04 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_RESUPPLY;
tooltip = $STR_RESUPPLY_TOOLTIP;
action = "GRLIB_squadaction = 1";
};
class RemoveButton: StdButton {
idc = 211;
x = (0.2 * safezoneW + safezoneX);
y = (0.65 * safezoneH + safezoneY);
w = (0.12 * safezoneW);
h = (0.04 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_REMOVE_MEMBER;
tooltip = $STR_REMOVE_MEMBER_TOOLTIP;
action = "GRLIB_squadaction = 2";
};
class ReplaceButton: StdButton {
idc = 212;
x = (0.2 * safezoneW + safezoneX);
y = (0.7 * safezoneH + safezoneY) ;
w = (0.12 * safezoneW);
h = (0.04 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_DEPLOY_ON_MEMBER;
tooltip = $STR_DEPLOY_ON_MEMBER_TOOLTIP;
action = "GRLIB_squadaction = 3";
};
class ConfirmButton: StdButton {
idc = 213;
x = (0.2 * safezoneW + safezoneX);
y = (0.75 * safezoneH + safezoneY) ;
w = (0.055 * safezoneW);
h = (0.04 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_CONFIRM;
action = "GRLIB_squadconfirm = 1";
};
class CancelButton: StdButton {
idc = 214;
x = (0.265 * safezoneW + safezoneX);
y = (0.75 * safezoneH + safezoneY) ;
w = (0.055 * safezoneW);
h = (0.04 * safezoneH);
sizeEx = 0.025 * safezoneH;
text = $STR_RECYCLING_CANCEL;
action = "GRLIB_squadconfirm = 0";
};
class ButtonClose: StdButton {
x = 0.785 * safezoneW + safezoneX;
w = 0.015 * safezoneW;
h = 0.02 * safezoneH;
y = 0.195 * safezoneH + safezoneY;
text = "X";
action = "closeDialog 0";
};
class StdSquadLabel: StdText {
x = (0.32 * safezoneW + safezoneX) + (BORDERSIZE);
w = (0.12 * safezoneW) - BORDERSIZE;
h = (0.03 * safezoneH);
shadow = 2;
sizeEx = 0.018 * safezoneH;
text = "";
};
class NameLabel: StdSquadLabel {
idc = 201;
style = ST_CENTER;
y = 0.25 * safezoneH + safezoneY;
sizeEx = 0.022 * safezoneH;
};
class ClassLabel: StdSquadLabel {
idc = 202;
y = 0.3 * safezoneH + safezoneY;
};
class HealthLabel: StdSquadLabel {
idc = 203;
y = 0.325 * safezoneH + safezoneY;
};
class DistanceLabel: StdSquadLabel {
idc = 204;
y = 0.35 * safezoneH + safezoneY;
};
class PrimaryLabel: StdSquadLabel {
idc = 205;
y = 0.4 * safezoneH + safezoneY;
};
class PrimaryMagsLabel: StdSquadLabel {
idc = 206;
y = 0.425 * safezoneH + safezoneY;
};
class SecondaryLabel: StdSquadLabel {
idc = 207;
y = 0.475 * safezoneH + safezoneY;
};
class SecondaryMagsLabel: StdSquadLabel {
idc = 208;
y = 0.5 * safezoneH + safezoneY;
};
class VehicleLabel: StdSquadLabel {
idc = 209;
y = 0.55 * safezoneH + safezoneY;
};
class PiPZone {
idc = 333;
type = CT_STATIC;
style = ST_PICTURE;
colorText[] = {1,1,1,1};
colorBackground[] = {1,1,1,1};
font = FontM;
sizeEx = 0.023;
x = 0.44 * safezoneW + safezoneX + ( 2 * BORDERSIZE);
y = (0.25 * safezoneH + safezoneY);
w = (0.36 * safezoneW) - ( 2 * BORDERSIZE) ;
h = (0.55 * safezoneH);
text = "#(argb,512,512,1)r2t(rtt,1.333)";
moving = false;
};
};

View File

@@ -0,0 +1,473 @@
class CfgSounds {
sounds[] = {};
class parasound {
name = "parasound";
sound[] = {"res\c130.ogg", 1.0, 1};
titles[] = {};
};
};
class RscTitles {
class intro1 {
name = "intro1";
duration = 4;
idd = -1;
movingEnable = false;
controls[]= {
GenericLabelShadow, GenericLabel2
};
class GenericLabel2 {
idc = -1;
type = CT_STATIC ;
style = ST_CENTER;
colorText[] = COLOR_WHITE;
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.035 * safezoneH;
x = 0.3 * safezoneW + safezoneX;
w = 0.4 * safezoneW;
y = 0.65 * safezoneH + safezoneY;
h = 0.1 * safezoneH;
text = "[GREUH] and the Killah Potatoes present";
shadow = 1;
};
class GenericLabelShadow: GenericLabel2 {
shadow = 2;
};
};
class intro2 {
name = "intro2";
duration = 7;
idd = -1;
movingEnable = false;
controls[] = {
VersionLabelShadow, Splash, VersionLabel
};
class Splash {
idc = -1;
type = CT_STATIC ;
style = ST_PICTURE;
colorText[] = COLOR_WHITE;
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.1 * safezoneH;
x = 0.325 * safezoneW + safezoneX;
w = 0.35 * safezoneW;
y = 0.2 * safezoneH + safezoneY;
h = 0.6 * safezoneH;
text = "res\splash_libe2.paa";
};
class VersionLabel {
idc = -1;
type = CT_STATIC ;
style = ST_CENTER;
shadow = 1;
colorText[] = COLOR_WHITE;
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.035 * safezoneH;
x = 0.45 * safezoneW + safezoneX;
w = 0.3 * safezoneW;
y = 0.65 * safezoneH + safezoneY;
h = 0.1 * safezoneH;
text = $STR_MISSION_VERSION;
};
class VersionLabelShadow: VersionLabel {
shadow = 2;
font = FontM;
};
};
class fasttravel {
name = "fasttravel";
duration = 4;
idd = -1;
movingEnable = true;
controls[] = {
OuterBackground,GenericLabel111
};
class OuterBackground {
idc = -1;
type = CT_STATIC ;
style = ST_LEFT;
colorText[] = COLOR_BLACK;
colorBackground[] = COLOR_BLACK;
font = FontM;
sizeEx = 0.023;
x = -3; y = -3;
w = 9; h = 9;
text = "";
};
class GenericLabel111 {
idc = -1;
type = CT_STATIC ;
style = ST_CENTER;
colorText[] = COLOR_WHITE;
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.03;
x = 0; y = 0.75;
w = 1.0; h = 0.1;
text = $STR_DEPLOY_IN_PROGRESS;
};
};
class KPLIB_overlay {
name = "KPLIB_overlay";
duration = 999999;
idd = 6666;
movingEnable = true;
onLoad = "uiNamespace setVariable ['KPLIB_overlay', _this select 0];";
controls[] = {
BGPicture,
PictureFOBShadow, PictureFOB, LabelFOB,
PictureSuppliesShadow, PictureSupplies, LabelSupplies,
PictureAmmoShadow, PictureAmmo, LabelAmmo,
PictureFuelShadow, PictureFuel, LabelFuel,
PictureCapShadow, PictureCap, LabelCap,
PictureHeliShadow, PictureHeli, LabelHeli,
PicturePlaneShadow, PicturePlane, LabelPlane,
PictureCombatReadinessShadow, PictureCombatReadiness, LabelCombatReadiness,
PictureCivRepShadow, PictureCivRep, LabelCivRep,
PictureIntelShadow, PictureIntel, LabelIntel,
BGPictureActiveSectors, BGPictureSector,
CaptureFrame_OPFOR, CaptureFrame_BLUFOR, CaptureFrame,
LabelPoint, CentralShadow, CentralLabel,
ActiveSectors, AlertBGPicture, AlertLabel, AlertTimer
};
class BGPicture {
idc = 758001;
type = CT_STATIC;
style = ST_PICTURE;
colorText[] = {0.8,0.8,0.8,0.9};
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.5;
x = 0.95 * safezoneW + safezoneX;
w = 0.075 * safezoneW;
y = 0.395 * safezoneH + safezoneY;
h = 0.255 * safezoneH;
text = "res\gradient.paa";
};
class BGPictureSector: BGPicture {
idc = 201;
x = 0.9 * safezoneW + safezoneX;
w = 0.15 * safezoneW;
y = 0.33 * safezoneH + safezoneY;
h = 0.05 * safezoneH;
};
class GenericLabel69 {
idc = -1;
type = CT_STATIC;
style = ST_RIGHT;
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.022 * safezoneH;
x = 0.905 * safezoneW + safezoneX;
w = 0.08 * safezoneW;
y = 0.5225 * safezoneH + safezoneY;
h = 0.04 * safezoneH;
text = "";
shadow = 2;
};
class CentralLabel: GenericLabel69 {
idc = 266;
type = CT_STATIC;
style = ST_CENTER;
colorText[] = {1,1,0,1};
sizeEx = 0.03 * safezoneH;
x = 0 * safezoneW + safezoneX;
w = 1 * safezoneW;
y = 0.2 * safezoneH + safezoneY;
h = 0.05 * safezoneH;
text = "";
};
class CentralShadow: CentralLabel {
idc = 267;
shadow = 1;
};
class GenericPicture69 {
idc = -1;
type = CT_STATIC;
style = ST_PICTURE;
colorText[] = {0.9,0.9,0.9,1};
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.5;
x = 0.985 * safezoneW + safezoneX;
w = 0.012 * safezoneW;
h = 0.0213333333 * safezoneH;
};
class PictureFOB: GenericPicture69 {
idc = 758002;
y = (0.4 + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
text = "\A3\ui_f\data\map\markers\handdrawn\flag_CA.paa";
};
class PictureFOBShadow: PictureFOB {
idc = 758003;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelFOB: GenericLabel69 {
idc = 758004;
text = "";
y = (0.39 + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PictureSupplies: GenericPicture69 {
idc = 758005;
y = (0.4 + ( ICONE_SPACY * 1 ) ) * safezoneH + safezoneY;
text = "res\ui_manpo.paa";
};
class PictureSuppliesShadow: PictureSupplies {
idc = 758006;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 1 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelSupplies: GenericLabel69 {
idc = 758007;
text = "";
y = (0.39 + ( ICONE_SPACY * 1 ) ) * safezoneH + safezoneY;
colorText[] = {0, 0.75, 0, 1};
};
class PictureAmmo: GenericPicture69 {
idc = 758008;
y = (0.4 + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
text = "res\ui_ammo.paa";
};
class PictureAmmoShadow: PictureAmmo {
idc = 758009;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelAmmo: GenericLabel69 {
idc = 758010;
text = "";
y = (0.39 + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
colorText[] = {0.75, 0, 0, 1};
};
class PictureFuel: GenericPicture69 {
idc = 758011;
y = (0.4 + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
text = "res\ui_fuel.paa";
};
class PictureFuelShadow: PictureFuel {
idc = 758012;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelFuel: GenericLabel69 {
idc = 758013;
text = "";
y = (0.39 + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
colorText[] = {0.75, 0.75, 0, 1};
};
class PictureCap: GenericPicture69 {
idc = 758014;
y = (0.4 + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
text = "\a3\Ui_F_Curator\Data\Displays\RscDisplayCurator\modeGroups_ca.paa";
};
class PictureCapShadow: PictureCap {
idc = 758015;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelCap: GenericLabel69 {
idc = 758016;
text = "";
y = (0.39 + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PictureHeli: GenericPicture69 {
idc = 758017;
y = (0.4 + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
text = "\A3\air_f_beta\Heli_Transport_01\Data\UI\Map_Heli_Transport_01_base_CA.paa";
};
class PictureHeliShadow: PictureHeli {
idc = 758018;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelHeli: GenericLabel69 {
idc = 758019;
text = "";
y = (0.39 + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PicturePlane: GenericPicture69 {
idc = 758020;
y = (0.4 + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
text = "\A3\Air_F_EPC\Plane_CAS_01\Data\UI\Map_Plane_CAS_01_CA.paa";
};
class PicturePlaneShadow: PicturePlane {
idc = 758021;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelPlane: GenericLabel69 {
idc = 758022;
text = "";
y = (0.39 + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PictureCombatReadiness: GenericPicture69 {
idc = 758023;
y = (0.4 + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
text = "\A3\ui_f\data\map\markers\handdrawn\warning_CA.paa";
};
class PictureCombatReadinessShadow: PictureCombatReadiness {
idc = 758024;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelCombatReadiness: GenericLabel69 {
idc = 758025;
text = "";
y = (0.39 + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PictureCivRep: GenericPicture69 {
idc = 758026;
y = (0.4 + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
text = "\A3\ui_f\data\map\mapcontrol\tourism_CA.paa";
};
class PictureCivRepShadow: PictureCivRep {
idc = 758027;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelCivRep: GenericLabel69 {
idc = 758028;
text = "";
y = (0.39 + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PictureIntel: GenericPicture69 {
idc = 758029;
colorText[] = {0,0.45,0.95,1};
y = (0.4 + ( ICONE_SPACY * 9 ) ) * safezoneH + safezoneY;
text = "\A3\Ui_f\data\GUI\Cfg\Ranks\general_gs.paa";
};
class PictureIntelShadow: PictureIntel {
idc = 758030;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 9 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelIntel: GenericLabel69 {
idc = 758031;
text = "";
y = (0.39 + ( ICONE_SPACY * 9 ) ) * safezoneH + safezoneY;
colorText[] = {0, 0.45, 0.95, 1};
};
class CaptureFrameStandard {
idc = -1;
type = CT_STATIC;
font = FontM;
sizeEx = 0.023;
text = "";
};
class CaptureFrame: CaptureFrameStandard {
idc = 202;
style = ST_FRAME;
colorText[] = COLOR_BLACK;
colorBackground[] = COLOR_OPFOR_NOALPHA;
x = 0.9125 * safezoneW + safezoneX;
w = 0.085 * safezoneW;
y = 0.358 * safezoneH + safezoneY;
h = 0.012 * safezoneH;
};
class CaptureFrame_OPFOR: CaptureFrameStandard{
idc = 203;
style = ST_TYPE;
colorText[] = {0.6, 0, 0, 1};
colorBackground[] = {0.6, 0, 0, 1};
x = 0.9125 * safezoneW + safezoneX;
w = 0.084 * safezoneW;
y = 0.358 * safezoneH + safezoneY;
h = 0.011 * safezoneH;
};
class CaptureFrame_BLUFOR: CaptureFrameStandard{
idc = 244;
style = ST_TYPE;
colorText[] = {0, 0.2, 0.6, 1};
colorBackground[] = {0, 0.2, 0.6, 1};
x = 0.9125 * safezoneW + safezoneX;
w = 0.084 * safezoneW;
y = 0.358 * safezoneH + safezoneY;
h = 0.011 * safezoneH;
};
class LabelPoint: GenericLabel69 {
idc = 205;
text = "";
style = ST_RIGHT;
sizeEx = 0.024 * safezoneH;
x = 0.8 * safezoneW + safezoneX;
w = 0.2 * safezoneW;
y = 0.33 * safezoneH + safezoneY;
h = 0.03 * safezoneH;
colorText[] = {0.7, 0, 0, 1};
};
class ActiveSectors {
idc = 516;
type = CT_STRUCTURED_TEXT;
colorBackground[] = COLOR_NOALPHA;
style = ST_RIGHT;
x = 0.7 * safezoneW + safezoneX;
w = 0.295 * safezoneW;
y = 0.8 * safezoneH + safezoneY;
h = 0.2 * safezoneH;
text= "";
size = 0.02 * safezoneH;
sizeEx = 0.02 * safezoneH;
shadow = 2;
font = FontM;
color = "#e0e000";
align = "right";
valign = "top";
};
class BGPictureActiveSectors: BGPicture {
idc = 517;
x = 0.93 * safezoneW + safezoneX;
w = 0.1 * safezoneW;
y = 0.8 * safezoneH + safezoneY;
h = 0.2 * safezoneH;
};
class AlertBGPicture: BGPicture {
idc = 401;
x = 0.9 * safezoneW + safezoneX;
w = 0.15 * safezoneW;
y = 0.27 * safezoneH + safezoneY;
h = 0.05 * safezoneH;
};
class AlertLabel: GenericLabel69 {
idc = 402;
text = "";
style = ST_CENTER;
sizeEx = 0.022 * safezoneH;
x = 0.9 * safezoneW + safezoneX;
w = 0.1 * safezoneW;
y = 0.2675 * safezoneH + safezoneY;
h = 0.03 * safezoneH;
colorText[] = {0.85, 0, 0, 1};
};
class AlertTimer: GenericLabel69 {
idc = 403;
text = "";
style = ST_CENTER;
sizeEx = 0.026 * safezoneH;
x = 0.9 * safezoneW + safezoneX;
w = 0.1 * safezoneW;
y = 0.29 * safezoneH + safezoneY;
h = 0.03 * safezoneH;
colorText[] = {0.85, 0, 0, 1};
};
};
};

View File

@@ -0,0 +1,133 @@
class liberation_tutorial {
idd = 5353;
movingEnable = false;
controlsBackground[] = {};
controls[] = { "OuterBG2", "OuterBG_F2", "OuterBG1", "OuterBG_F1", "InnerBG1", "InnerBG_F1", "InnerBG2", "InnerBG_F2",
"Header","HeaderTuto", "TutorialList", "CloseButton", "TutoControlGroup"};
objects[] = {};
class OuterBG1: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.2 * safezoneW + safezoneX) - (2 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.15 * safezoneW) + (4 * BORDERSIZE);
h = (0.6 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F1: OuterBG1 {
style = ST_FRAME;
};
class OuterBG2: StdBG {
colorBackground[] = COLOR_BROWN;
x = (0.35 * safezoneW + safezoneX) + (3 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.45 * safezoneW);
h = (0.6 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F2: OuterBG2 {
style = ST_FRAME;
};
class InnerBG1: OuterBG1 {
colorBackground[] = COLOR_GREEN;
x = (0.2 * safezoneW + safezoneX) - ( BORDERSIZE);
y = 0.25 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.15 * safezoneW) + (2 * BORDERSIZE);
h = 0.55 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F1: InnerBG1 {
style = ST_FRAME;
};
class InnerBG2: OuterBG2 {
colorBackground[] = COLOR_GREEN_ALPHA;
x = (0.35 * safezoneW + safezoneX) + (4 * BORDERSIZE);
y = 0.25 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.45 * safezoneW) - (2 * BORDERSIZE ) ;
h = 0.55 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F2: InnerBG2 {
style = ST_FRAME;
};
class Header: StdHeader {
x = 0.2 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.19 * safezoneH + safezoneY;
w = 0.15 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_TUTO_TITLE;
};
class HeaderTuto: Header {
idc = 514;
x = (0.35 * safezoneW + safezoneX) + ( 4 * BORDERSIZE);
w = (0.45 * safezoneW) - (2 * BORDERSIZE);
text = "1. Introduction";
};
class TutorialList: StdListBox {
idc = 513;
x = 0.2 * safezoneW + safezoneX;
w = 0.15 * safezoneW;
y = 0.25 * safezoneH + safezoneY;
h = (0.5 * safezoneH) - (1.5 * BORDERSIZE);
shadow = 2;
onLBSelChanged="";
};
class CloseButton: StdButton {
idc = 512;
x = (0.2 * safezoneW + safezoneX);
y = (0.75 * safezoneH + safezoneY);
w = (0.15 * safezoneW);
h = (0.05 * safezoneH);
sizeEx = 0.05 * safezoneH;
text = $STR_TUTO_GOTIT;
action = "howtoplay = 0";
};
class TutoControlGroup {
type = 15;
idc = -1;
style = 0;
x = (0.35 * safezoneW + safezoneX) + (4 * BORDERSIZE);
y = 0.25 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.45 * safezoneW) - (2 * BORDERSIZE ) ;
h = 0.55 * safezoneH + (3 * BORDERSIZE);
colorScrollbar[] = COLOR_WHITE;
class VScrollbar {
color[] = COLOR_WHITE;
width = 0.01 * safezoneW;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
};
class HScrollbar {
color[] = COLOR_WHITE;
height = 0.012 * safezoneH;
};
class ScrollBar {
color[] = COLOR_WHITE;
colorActive[] = COLOR_WHITE;
colorDisabled[] = COLOR_WHITE;
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
};
class Controls {
class TutoStructuredText {
idc = 515;
type = CT_STRUCTURED_TEXT;
colorBackground[] = COLOR_NOALPHA;
style = ST_LEFT;
x = 0;
y = 0;
w = (0.45 * safezoneW) - (2 * BORDERSIZE);
h = 0.5 * safezoneH;
text= "AAA";
size = 0.02 * safezoneH;
sizeEx = 0.02 * safezoneH;
shadow = 2;
font = FontM;
color = "#e0e0e0";
align = "left";
valign = "top";
};
};
};
};

View File

@@ -0,0 +1,458 @@
class Params {
class LoadSaveParams {
title = $STR_PARAMS_LOADSAVEPARAMS;
values[] = {0, 1, 2};
texts[] = {$STR_PARAMS_LOADSAVEPARAMS_SAVE, $STR_PARAMS_LOADSAVEPARAMS_LOAD, $STR_PARAMS_LOADSAVEPARAMS_SELECTED};
default = 1; // If you want to set mission parameters via server.cfg or this file, then set this value to 2
};
class Spacer0 {
title = "";
values[] = {""};
texts[] = {""};
default = "";
};
class MissionOptions {
title = $STR_PARAMS_MISSIONOPTIONS;
values[] = {""};
texts[] = {""};
default = "";
};
class Unitcap {
title = $STR_PARAMS_UNITCAP;
values[] = {0, 1, 2, 3, 4, 5};
texts[] = {$STR_PARAMS_UNITCAP1, $STR_PARAMS_UNITCAP2, $STR_PARAMS_UNITCAP3, $STR_PARAMS_UNITCAP4, $STR_PARAMS_UNITCAP5, $STR_PARAMS_UNITCAP6};
default = 2;
};
class Difficulty {
title = $STR_PARAMS_DIFFICULTY;
values[] = {0, 1, 2, 3, 4, 5, 6, 7};
texts[] = {$STR_PARAMS_DIFFICULTY1, $STR_PARAMS_DIFFICULTY2, $STR_PARAMS_DIFFICULTY3, $STR_PARAMS_DIFFICULTY4, $STR_PARAMS_DIFFICULTY5, $STR_PARAMS_DIFFICULTY6, $STR_PARAMS_DIFFICULTY7, $STR_PARAMS_DIFFICULTY8};
default = 2;
};
class Aggressivity {
title = $STR_AGGRESSIVITY_PARAM;
values[] = {0, 1, 2, 3, 4};
texts[] = {$STR_AGGRESSIVITY_PARAM0, $STR_AGGRESSIVITY_PARAM1, $STR_AGGRESSIVITY_PARAM2, $STR_AGGRESSIVITY_PARAM3, $STR_AGGRESSIVITY_PARAM4};
default = 2;
};
class AdaptToPlayercount {
title = $STR_PARAM_ADAPT_TO_PLAYERCOUNT;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class Civilians {
title = $STR_PARAMS_CIVILIANS;
values[] = {0, 1, 2, 3};
texts[] = {$STR_PARAMS_CIVILIANS1, $STR_PARAMS_CIVILIANS2, $STR_PARAMS_CIVILIANS3, $STR_PARAMS_CIVILIANS4};
default = 2;
};
class FirstFob {
title = $STR_PARAMS_FIRSTFOB;
values[] = {1, 0};
texts[] = {$STR_YES, $STR_NO};
default = 0;
};
class FirstFobVehicle {
title = $STR_PARAMS_FIRSTFOBVEHICLE;
values[] = {0, 1};
texts[] = {$STR_PARAMS_FIRSTFOBVEHICLE_CONTAINTER, $STR_PARAMS_FIRSTFOBVEHICLE_TRUCK};
default = 0;
};
class MaximumFobs {
title = $STR_PARAM_FOBS_COUNT;
values[] = {3, 5, 7, 10, 15, 20, 26};
texts[] = {3, 5, 7, 10, 15, 20, 26};
default = 10;
};
class MaxSquadSize {
title = $STR_PARAM_SQUAD_SIZE;
values[] = {0, 1, 2, 4, 6, 8, 10, 12, 16, 20, 24, 30, 36};
texts[] = {0, 1, 2, 4, 6, 8, 10, 12, 16, 20, 24, 30, 36};
default = 12;
};
class BluforDefenders {
title = $STR_PARAM_BLUFOR_DEFENDERS;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class Autodanger {
title = $STR_PARAM_AUTODANGER;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class DayDuration {
title = $STR_PARAMS_DAYDURATION;
values[] = {8, 6, 4, 3, 2, 1};
texts[] = {"3","4","6","8","12","24"};
default = 4;
};
class ShorterNights {
title = $STR_SHORTER_NIGHTS_PARAM;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 0;
};
class Weather {
title = $STR_WEATHER_PARAM;
values[] = {1, 2, 3};
texts[] = {$STR_WEATHER_PARAM1, $STR_WEATHER_PARAM2, $STR_WEATHER_PARAM3};
default = 3;
};
class VanillaFog {
title = $STR_FOG_PARAM;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class ResourcesMultiplier {
title = $STR_PARAMS_RESOURCESMULTIPLIER;
values[] = {0, 1, 2, 3, 4, 5, 6, 7};
texts[] = {"x0.25", "x0.5", "x0.75", "x1", "x1.25","x1.5","x2","x3"};
default = 3;
};
class ArsenalType {
title = $STR_PARAMS_ARSENAL;
values[] = {0, 1};
texts[] = {$STR_PARAMS_ARSENAL_BI, $STR_PARAMS_ARSENAL_ACE};
default = 0;
};
class DirectArsenal {
title = $STR_PARAMS_DIRECTARSENAL;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class PlayerMenu {
title = $STR_PARAMS_PLAYERMENU;
values[] = {0, 1};
texts[] = {$STR_PARAMS_PLAYERMENU_GREUH, $STR_PARAMS_PLAYERMENU_KP};
default = 1;
};
class VictoryCondition {
title = $STR_PARAMS_VICTORYCONDITION;
values[] = {0, 1, 2, 3, 4};
texts[] = {$STR_PARAMS_VICTORYCONDITION_0, $STR_PARAMS_VICTORYCONDITION_1, $STR_PARAMS_VICTORYCONDITION_2, $STR_PARAMS_VICTORYCONDITION_3, $STR_PARAMS_VICTORYCONDITION_4};
default = 1;
};
class Spacer1 {
title = "";
values[] = {""};
texts[] = {""};
default = "";
};
class ReviveOptions {
title = $STR_PARAMS_REVIVEOPTIONS;
values[] = {""};
texts[] = {""};
default = "";
};
class ReviveMode {
title = $STR_A3_ReviveMode;
values[] = {0, 1};
texts[] = {$STR_A3_Disabled, $STR_A3_EnabledForAllPlayers};
default = 1;
};
class ReviveDuration {
title = $STR_A3_ReviveDuration;
values[] = {6, 8, 10,12, 15, 20, 25, 30};
texts[] = {6, 8, 10, 12, 15, 20, 25, 30};
default = 6;
};
class ReviveRequiredTrait {
title = $STR_A3_RequiredTrait;
values[] = {0, 1};
texts[] = {$STR_A3_None, $STR_A3_Medic};
default = 1;
};
class ReviveMedicSpeedMultiplier {
title = $STR_A3_RequiredTrait_MedicSpeedMultiplier;
values[] = {1, 1.5, 2, 2.5, 3};
texts[] = {"1x", "1.5x", "2x", "2.5x", "3x"};
default = 1;
};
class ReviveRequiredItems {
title = $STR_A3_RequiredItems;
values[] = {0, 1, 2};
texts[] = {$STR_A3_None, $STR_A3_Medikit, $STR_A3_FirstAidKitOrMedikit};
default = 1;
};
class UnconsciousStateMode {
title = $STR_A3_IncapacitationMode;
values[] = {0, 1, 2};
texts[] = {$STR_A3_Basic, $STR_A3_Advanced, $STR_A3_Realistic};
default = 0;
};
class ReviveBleedOutDuration {
title = $STR_A3_BleedOutDuration;
values[] = {10, 15, 20, 30, 45, 60, 90, 180};
texts[] = {10, 15, 20, 30, 45, 60, 90, 180};
default = 180;
};
class ReviveForceRespawnDuration {
title = $STR_A3_ForceRespawnDuration;
values[] = {3, 4, 5, 6, 7, 8, 9, 10};
texts[] = {3, 4, 5, 6, 7, 8, 9, 10};
default = 10;
};
class Spacer2 {
title = "";
values[] = {""};
texts[] = {""};
default = "";
};
class GameplayOptions {
title = $STR_PARAMS_GAMEPLAYOPTIONS;
values[] = {""};
texts[] = {""};
default = "";
};
class Fatigue {
title = $STR_PARAMS_FATIGUE;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 1;
};
class WeaponSway {
title = $STR_PARAM_WEAPSWAY;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 1;
};
class ArsenalUsePreset {
title = $STR_PARAMS_ARSENALUSEPRESET;
values[] = {0, 1};
texts[] = {$STR_PARAMS_NORESTRICTIONS, $STR_PARAMS_USEPRESET};
default = 1;
};
class MapMarkers {
title = $STR_PARAMS_MAPMARKERS;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 1;
};
class MobileRespawn {
title = $STR_PARAMS_MOBILERESPAWN;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 1;
};
class RespawnCooldown {
title = $STR_PARAM_RESPAWN_COOLDOWN;
values[] = {0, 300, 600, 900, 1200, 1800, 3600};
texts[] = {$STR_PARAMS_DISABLED, 5, 10, 15, 20, 30, 60};
default = 600;
};
class MobileArsenal {
title = $STR_PARAMS_MOBILEARSENAL;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 1;
};
class AttackedSectorRespawn {
title = $STR_PARAMS_ATTACKEDSECTORRESPAWN;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class AiLogistics {
title = $STR_PARAMS_AILOGISTICS;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 1;
};
class CR_Building {
title = $STR_PARAM_CR_BUILDING;
values[] = {1, 0};
texts[] = {$STR_PARAM_CR_DAMAGED, $STR_PARAM_CR_DESTROYED};
default = 0;
};
class HaloJump {
title = $STR_HALO_PARAM;
values[] = {1, 5, 10, 15, 20, 30, 0};
texts[] = {$STR_HALO_PARAM1, $STR_HALO_PARAM2, $STR_HALO_PARAM3, $STR_HALO_PARAM4, $STR_HALO_PARAM5, $STR_HALO_PARAM6, $STR_PARAMS_DISABLED};
default = 5;
};
class ClearCargo {
title = $STR_PARAM_CLEAR_CARGO;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class AllowEnemiesInImmobile {
title = $STR_PARAM_ALLOW_ENEMIES_IN_IMMOBILE;
values[] = {0, 25, 50, 75, 100};
text[] = {$STR_PARAMS_DISABLED, "25%", "50%", "75%", "100%"};
default = 50;
};
class DelayDespawnMax {
title = $STR_PARAM_DELAY_DESPAWN_MAX;
values[] = {0, 5, 10, 15, 20, 25, 30};
texts[] = {$STR_PARAMS_DISABLED, "5", "10", "15", "20", "25", "30"};
default = 5;
};
class CommanderZeus {
title = $STR_PARAM_COMMANDERZEUS;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class LimitedZeus {
title = $STR_PARAM_LIMITEDZEUS;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class ZeusAddEnemies {
title = $STR_PARAM_ZEUSADDENEMIES;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 0;
};
class HighCommand {
title = $STR_PARAM_HIGHCOMMAND;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class SuppMod {
title = $STR_PARAM_SUPPMOD;
values[] = {0, 1, 2};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAM_SUPPMOD_CMDRANDWHITELIST, $STR_PARAM_SUPPMOD_EVERYONE};
default = 1;
};
class Tutorial {
title = $STR_PARAM_TUTORIAL;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class Spacer3 {
title = "";
values[] = {""};
texts[] = {""};
default = "";
};
class TechnicalOptions {
title = $STR_PARAMS_TECHNICALOPTIONS;
values[] = {""};
texts[] = {""};
default = "";
};
class Permissions {
title = $STR_PERMISSIONS_PARAM;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class CleanupVehicles {
title = $STR_CLEANUP_PARAM;
values[] = {0, 1, 2, 4};
texts[] = {$STR_PARAMS_DISABLED, $STR_CLEANUP_PARAM1, $STR_CLEANUP_PARAM2, $STR_CLEANUP_PARAM3};
default = 2;
};
class Introduction {
title = $STR_PARAMS_INTRO;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class DeploymentCinematic {
title = $STR_PARAMS_DEPLOYMENTCAMERA;
values[] = {1, 0};
texts[] = {$STR_PARAMS_ENABLED, $STR_PARAMS_DISABLED};
default = 1;
};
class Whitelist {
title = $STR_WHITELIST_PARAM;
values[] = {1, 0};
texts[] = {$STR_WHITELIST_ENABLED, $STR_PARAMS_DISABLED};
default = 0;
};
class ServerRestart {
title = $STR_RESTART_PARAM;
values[] = {0, 1, 2, 3, 4, 5, 6};
texts[] = {$STR_PARAMS_DISABLED, "1", "2", "3", "4", "5", "6"};
default = 0;
};
class WipeSave1 {
title = $STR_WIPE_TITLE;
values[] = {0, 1};
texts[] = {$STR_WIPE_NO, $STR_WIPE_YES};
default = 0;
};
class WipeSave2 {
title = $STR_WIPE_TITLE_2;
values[] = {0, 1};
texts[] = {$STR_WIPE_NO, $STR_WIPE_YES};
default = 0;
};
class Spacer4 {
title = "";
values[] = {""};
texts[] = {""};
default = "";
};
class DebugOptions {
title = $STR_PARAMS_DEBUGOPTIONS;
values[] = {""};
texts[] = {""};
default = "";
};
class DebugAsymmetric {
title = $STR_PARAMS_DEBUG_ASYMMETRIC;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugCivInfo {
title = $STR_PARAMS_DEBUG_CIVINFO;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugCivRep {
title = $STR_PARAMS_DEBUG_CIVREP;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugHighCommand {
title = $STR_PARAM_DEBUG_HIGHCOMMAND;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugKill {
title = $STR_PARAMS_DEBUG_KILL;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugLogistic {
title = $STR_PARAMS_DEBUG_LOGISTIC;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugProduction {
title = $STR_PARAMS_DEBUG_PRODUCTION;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugSave {
title = $STR_PARAMS_DEBUG_SAVE;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
class DebugSectorSpawn {
title = $STR_PARAMS_DEBUG_SECTORSPAWN;
values[] = {0, 1};
texts[] = {$STR_PARAMS_DISABLED, $STR_PARAMS_ENABLED};
default = 0;
};
};

View File

@@ -0,0 +1,520 @@
class kndr_MapControl {
idc = 10023;
type = CT_MAP_MAIN;
style = ST_PICTURE;
x = 0.05; y = 0.05;
w = 0.90; h = 0.90;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {0, 0, 0, 0};
colorSea[] = {0.1, 0.3, 0.5, 0.25};
colorForest[] = {0.10, 0.50, 0.10, 0.50};
colorRocks[] = {0.50, 0.50, 0.50, 1};
colorCountlines[] = {0.65, 0.45, 0.27, 0.50};
colorMainCountlines[] = {0.65, 0.45, 0.27, 1.00};
colorCountlinesWater[] = {0.00, 0.53, 1.00, 0.3};
colorMainCountlinesWater[] = {0.00, 0.53, 1.00, 0.6};
colorForestBorder[] = {0.40, 0.80, 0.00, 1.00};
colorRocksBorder[] = {0.50, 0.50, 0.50, 1.00};
colorPowerLines[] = {0.00, 0.00, 0.00, 1.00};
colorNames[] = {0.00, 0.00, 0.00, 1.00};
colorInactive[] = {1, 0.3, 0.5, 1};
colorLevels[] = {0.00, 0.00, 0.00, 1.00};
colorOutside[] = {0.1, 0.3, 0.5, 0.5};
colorRailWay[] = {1, 0, 0.5, 1};
colorTracks[] = {0.8, 0.6, 0.6, 1};
colorTracksFill[] = {0.7, 0.5, 0.5, 1};
colorRoads[] = {0.8, 0.8, 0.8, 1};
colorRoadsFill[] = {0.7, 0.7, 0.7, 1};
colorMainRoads[] = {1, 1, 1, 1};
colorMainRoadsFill[] = {0.9, 0.9, 0.9, 1};
colorGrid[] = {0, 0, 0, 0.5};
colorGridMap[] = {0, 0, 0, 0.5};
alphaFadeStartScale = 5;
alphaFadeEndScale = 5;
font = FontM;
sizeEx = 0.075;
fontLabel = FontM;
sizeExLabel = 0.075;
fontGrid = FontM;
sizeExGrid = 0.02;
fontUnits = FontM;
sizeExUnits = 0.075;
fontNames = FontM;
sizeExNames = 0.075;
fontInfo = FontM;
sizeExInfo = 0.075;
fontLevel = FontM;
sizeExLevel = 0.02;
stickX[] = {0.20, {"Gamma", 1.00, 1.50} };
stickY[] = {0.20, {"Gamma", 1.00, 1.50} };
ptsPerSquareSea = 6;
ptsPerSquareTxt = 8;
ptsPerSquareCLn = 8;
ptsPerSquareExp = 8;
ptsPerSquareCost = 8;
ptsPerSquareFor = "4.0f";
ptsPerSquareForEdge = "10.0f";
ptsPerSquareRoad = 2;
ptsPerSquareObj = 10;
maxSatelliteAlpha = 0.9;
text = "";
showCountourInterval=2;
scaleDefault = 0.1;
onMouseButtonClick = "";
onMouseButtonDblClick = "";
scaleMin = 0.05;
scaleMax = 3;
widthRailWay = 1;
class ActiveMarker {
color[] = {0.30, 0.10, 0.90, 1.00};
size = 50;
};
class Bunker {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 14;
importance = "1.5 * 14 * 0.05";
coefMin = 0.25;
coefMax = 4.00;
};
class Bush {
icon = "";
color[] = {0.55, 0.64, 0.43, 1.00};
size = 14;
importance = "0.2 * 14 * 0.05";
coefMin = 0.25;
coefMax = 4.00;
};
class BusStop {
icon = "";
color[] = {0.00, 0.00, 1.00, 1.00};
size = 10;
importance = "1 * 10 * 0.05";
coefMin = 0.25;
coefMax = 4.00;
};
class Command {
icon = "#(argb,8,8,3)color(1,1,1,1)";
color[] = {0.00, 0.00, 0.00, 1.00};
size = 18;
importance = 1.00;
coefMin = 1.00;
coefMax = 1.00;
};
class Cross {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 16;
importance = "0.7 * 16 * 0.05";
coefMin = 0.25;
coefMax = 4.00;
};
class Chapel {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 16;
importance = "1 * 16 * 0.05";
coefMin = 0.90;
coefMax = 4.00;
};
class Church {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 16;
importance = "2 * 16 * 0.05";
coefMin = 0.90;
coefMax = 4.00;
};
class CustomMark {
icon = "";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 0.7 * 16 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class Fortress {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 16;
importance = "2 * 16 * 0.05";
coefMin = 0.25;
coefMax = 4.00;
};
class Fuelstation {
icon = "";
color[] = {1.00, 0.35, 0.35, 1.00};
size = 16;
importance = "2 * 16 * 0.05";
coefMin = 0.75;
coefMax = 4.00;
};
class Fountain {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 12;
importance = "1 * 12 * 0.05";
coefMin = 0.25;
coefMax = 4.00;
};
class Hospital {
icon = "";
color[] = {0.78, 0.00, 0.05, 1.00};
size = 16;
importance = "2 * 16 * 0.05";
coefMin = 0.50;
coefMax = 4;
};
class Lighthouse {
icon = "";
color[] = {0.78, 0.00, 0.05, 1.00};
size = 20;
importance = "3 * 16 * 0.05";
coefMin = 0.90;
coefMax = 4.00;
};
class Quay {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 16;
importance = "2 * 16 * 0.05";
coefMin = 0.50;
coefMax = 4.00;
};
class Rock {
icon = "";
color[] = {0.55, 0.64, 0.43, 1};
size = 12;
importance = 0.5 * 12 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class Ruin {
icon = "";
color[] = {0.78, 0, 0.05, 1};
size = 16;
importance = 1.2 * 16 * 0.05;
coefMin = 1;
coefMax = 4;
};
class Stack {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 20;
importance = "2 * 16 * 0.05";
coefMin = 0.90;
coefMax = 4.00;
};
class Tree {
icon = "";
color[] = {0.55, 0.64, 0.43, 1.00};
size = 12;
importance = "0.9 * 16 * 0.05";
coefMin = 0.25;
coefMax = 4.00;
};
class SmallTree {
icon = "";
color[] = {0.55, 0.64, 0.43, 1.00};
size = 12;
importance = "0.6 * 12 * 0.05";
coefMin = 0.25;
coefMax = 4.00;
};
class Task {
icon = "";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 0.7 * 16 * 0.05;
coefMin = 0.25;
coefMax = 4;
iconCreated = "#(argb,8,8,3)color(1,1,1,1)";
iconCanceled = "#(argb,8,8,3)color(0,0,1,1)";
iconDone = "#(argb,8,8,3)color(0,0,0,1)";
iconFailed = "#(argb,8,8,3)color(1,0,0,1)";
colorCreated[] = {1,1,1,1};
colorCanceled[] = {1,1,1,1};
colorDone[] = {1,1,1,1};
colorFailed[] = {1,1,1,1};
};
class Tourism {
icon = "";
color[] = {0.78, 0.00, 0.05, 1.00};
size = 16; importance = "1 * 16 * 0.05";
coefMin = 0.70;
coefMax = 4.00;
};
class ShipWreck {
icon = "";
color[] = {0.78, 0.00, 0.05, 1.00};
size = 16; importance = "1 * 16 * 0.05";
coefMin = 0.70;
coefMax = 4.00;
};
class Transmitter {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 20;
importance = "2 * 16 * 0.05";
coefMin = 0.90;
coefMax = 4.00;
};
class PowerSolar {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 20;
importance = "2 * 16 * 0.05";
coefMin = 0.90;
coefMax = 4.00;
};
class PowerWave {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 20;
importance = "2 * 16 * 0.05";
coefMin = 0.90;
coefMax = 4.00;
};
class LineMarker {
icon = "";
color[] = {0,0,0,0};
size = 0;
importance = "2 * 16 * 0.05";
coefMin = 0;
coefMax = 0;
lineWidthThin = 0;
lineWidthThick = 0;
lineDistanceMin = 0;
lineDistanceMax = 0;
lineLengthMin = 0;
linelengthMax = 0;
};
class PowerWind {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 20;
importance = "2 * 16 * 0.05";
coefMin = 0.90;
coefMax = 4.00;
};
class ViewTower {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 16;
importance = "2.5 * 16 * 0.05";
coefMin = 0.50;
coefMax = 4.00;
};
class Watertower {
icon = "";
color[] = {0.00, 0.35, 0.70, 1.00};
size = 32;
importance = "1.2 * 16 * 0.05";
coefMin = 0.90;
coefMax = 4.00;
};
class Waypoint {
icon = "";
color[] = {0.00, 0.00, 0.00, 1.00};
size = 24;
importance = 1.00;
coefMin = 1.00;
coefMax = 1.00;
};
class WaypointCompleted {
icon = "";
color[] = {0.00, 0.00, 0.00, 1.00};
size = 24;
importance = 1.00;
coefMin = 1.00;
coefMax = 1.00;
};
};
class RscText {
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = "Bitstream";
sizeEx = 0.04;
};
class StdText {
idc = -1;
type = CT_STATIC;
style = ST_LEFT;
colorText[] = COLOR_WHITE;
colorBackground[] = COLOR_NOALPHA;
font = FontM;
sizeEx = 0.02 * safezoneH;
shadow = 2;
text = "";
};
class StdHeader: StdText {
style = ST_CENTER;
sizeEx = 0.03 * safezoneH;
colorBackground[] = COLOR_LIGHTGRAY;
};
class StdButton {
idc = -1;
type = CT_BUTTON;
style = ST_CENTER;
default = false;
font = FontM;
sizeEx = 0.018 * safezoneH;
colorText[] = { 0, 0, 0, 1 };
colorFocused[] = { 1, 1, 1, 1 };
colorDisabled[] = { 0.2, 0.2, 0.2, 0.7 };
colorBackground[] = { 0.8, 0.8, 0.8, 0.8 };
colorBackgroundDisabled[] = { 0.5, 0.5, 0.5, 0.5 };
colorBackgroundActive[] = { 1, 1, 1, 1 };
offsetX = 0.003;
offsetY = 0.003;
offsetPressedX = 0.002;
offsetPressedY = 0.002;
colorShadow[] = { 0, 0, 0, 0.5 };
colorBorder[] = { 0, 0, 0, 1 };
borderSize = 0;
soundEnter[] = { "", 0, 1 }; // no sound
soundPush[] = {"\a3\Ui_f\data\Sound\CfgIngameUI\hintExpand", 0.891251, 1};
soundClick[] = { "", 0, 1 }; // no sound
soundEscape[] = { "", 0, 1 }; // no sound
x = 0.4 * safezoneW + safezoneX;
w = 0.2 * safezoneW; h = 0.03 * safezoneH;
text = "";
action = "";
shadow = 1;
};
class StdBG {
idc = -1;
type = CT_STATIC;
style = ST_SINGLE;
colorText[] = COLOR_BLACK;
font = FontM;
sizeEx = 0.023;
text = "";
};
class StdListBox {
idc = -1;
type = 5;
style = 0 + 0x10;
font = FontM;
sizeEx = 0.018 * safezoneH;
rowHeight = 0.018 * safezoneH * 1.25;
color[] = COLOR_LIGHTGRAY;
colorText[] = COLOR_WHITE;
colorScrollbar[] = COLOR_BRIGHTGREEN;
colorSelect[] = COLOR_BRIGHTGREEN;
colorSelect2[] = COLOR_BRIGHTGREEN;
colorSelectBackground[] = COLOR_LIGHTGRAY;
colorSelectBackground2[] = COLOR_LIGHTGRAY;
colorActive[] = COLOR_BRIGHTGREEN;
colorDisabled[] = COLOR_GREEN;
columns[] = {0.1, 0.9};
period = 0.3;
colorBackground[] = COLOR_GREEN;
maxHistoryDelay = 1.0;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
soundSelect[] = {"\a3\Ui_f\data\Sound\CfgIngameUI\hintExpand", 0.09, 1};
class ListScrollBar {
color[] = {1, 1, 1, 0.6};
colorActive[] = {1, 1, 1, 1};
colorDisabled[] = {1, 1, 1, 0.3};
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
};
};
class StdListNBox: StdListBox {
idc = -1;
type = CT_List_N_Box;
drawSideArrows = 0;
idcLeft = -10;
idcRight = -11;
period = 0.3;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
class Scrollbar {
color[] = {1, 1, 1, 0.6};
colorActive[] = {1, 1, 1, 1};
colorDisabled[] = {1, 1, 1, 0.3};
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
};
colorBackground[] = COLOR_GREEN;
};
class BgPicture {
idc = -1;
type = CT_STATIC;
style = ST_PICTURE;
colorText[] = {0.5, 0.4, 0.25, 0.6};
colorBackground[] = {0, 0, 0, 1};
font = FontM;
sizeEx = 0.023;
moving = false;
text = "res\camo03.jpg";
};
class StdCombo {
idc = -1;
type = 4;
style = 1;
x = 0;
y = 0;
w = 0.3;
h = 0.035;
colorSelect[] = COLOR_BRIGHTGREEN;
colorText[] = COLOR_WHITE;
colorBackground[] = COLOR_GREEN_NOALPHA;
colorSelectBackground[] = COLOR_LIGHTGRAY;
colorScrollbar[] = COLOR_BRIGHTGREEN;
arrowEmpty ="\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
wholeHeight = 0.45;
color[] = COLOR_LIGHTGRAY;
colorActive[] = COLOR_BRIGHTGREEN;
colorDisabled[] = COLOR_GREEN;
font = FontM;
sizeEx = 0.031;
soundSelect[] = {"\a3\Ui_f\data\Sound\CfgIngameUI\hintExpand", 0.09, 1};
soundExpand[] = {"\a3\Ui_f\data\Sound\CfgIngameUI\hintExpand", 0.09, 1};
soundCollapse[] = {"\a3\Ui_f\data\Sound\CfgIngameUI\hintExpand", 0.09, 1};
maxHistoryDelay = 1.0;
class ComboScrollBar {
color[] = {1, 1, 1, 0.6};
colorActive[] = {1, 1, 1, 1};
colorDisabled[] = {1, 1, 1, 0.3};
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
};
};
class StdEdit {
idc = -1;
type = CT_EDIT;
style = ST_RIGHT+ST_FRAME;
default = false;
font = FontM;
sizeEx = 0.018 * safezoneH;
colorText[] = COLOR_WHITE;
colorSelection[] = COLOR_LIGHTGRAY;
colorDisabled[] = COLOR_LIGHTGRAY;
colorBackground[] = COLOR_GREEN_NOALPHA;
colorBackgroundDisabled[] = COLOR_GREEN;
colorBackgroundActive[] = COLOR_GREEN_NOALPHA;
x = 0;
y = 0;
w = 0.3;
h = (0.02 * safezoneH);
text = "";
autocomplete = "";
shadow = 0;
};