mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
+ Fixed detection of vehicles in vehicle sell menu + Added trade in progress checks to all traders. + set pos after direction on deployables when placed. + Server side set pos after direction when spawning anything.
1229 lines
27 KiB
C++
1229 lines
27 KiB
C++
class RscPicture;
|
|
class RscButton;
|
|
class CA_IGUI_Title;
|
|
class RscText;
|
|
class RscControlsGroup;
|
|
class RscLineBreak;
|
|
class RscIGUIShortcutButton;
|
|
class RscGearShortcutButton;
|
|
class RscIGUIListNBox;
|
|
class RscActiveText;
|
|
|
|
class RscPictureKeepAspect;
|
|
class RscStandardDisplay;
|
|
class RscProgress;
|
|
class RscProgressNotFreeze;
|
|
class RscButtonTextOnly;
|
|
|
|
class RscDisplayLoading
|
|
{
|
|
class Variants
|
|
{
|
|
class LoadingOne
|
|
{
|
|
class controls
|
|
{
|
|
class LoadingPic : RscPictureKeepAspect
|
|
{
|
|
text = "z\addons\dayz_code\gui\dayz_logo_ca.paa";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
class RscDisplayStart
|
|
{
|
|
class controls
|
|
{
|
|
class LoadingPic: RscPictureKeepAspect
|
|
{
|
|
text = "z\addons\dayz_code\gui\dayz_logo_ca.paa";
|
|
};
|
|
};
|
|
};
|
|
|
|
class CA_TextLanguage;
|
|
class RscXListBox;
|
|
|
|
class RscDisplayGameOptions
|
|
{
|
|
//onLoad = "((_this select 0) displayCtrl 140) lbAdd 'Default';((_this select 0) displayCtrl 140) lbAdd 'Debug';((_this select 0) displayCtrl 140) lbAdd 'None';((_this select 0) displayCtrl 140) lbSetCurSel (uiNamespace getVariable ['DZ_displayUI', 0]);";
|
|
onUnload = "call ui_changeDisplay;";
|
|
class controls
|
|
{
|
|
class CA_TextUIDisplay: CA_TextLanguage
|
|
{
|
|
x = 0.159803;
|
|
y = "(0.420549 + 4*0.069854)";
|
|
text = "DayZ UI:";
|
|
};
|
|
class CA_ValueUIDisplay: RscXListBox
|
|
{
|
|
idc = 140;
|
|
x = 0.400534;
|
|
y = "(0.420549 + 4*0.069854)";
|
|
w = 0.3;
|
|
onLBSelChanged = "(uiNamespace setVariable ['DZ_displayUI', (_this select 1)]);";
|
|
};
|
|
};
|
|
};
|
|
class RscDisplayMain : RscStandardDisplay
|
|
{
|
|
class controlsBackground
|
|
{
|
|
class Mainback;
|
|
class CA_ARMA2 : RscPicture
|
|
{
|
|
text = "z\addons\dayz_code\gui\dayz_logo_ca.paa";
|
|
};
|
|
};
|
|
|
|
onLoad = "((_this select 0) displayCtrl 138) ctrlEnable false;";
|
|
|
|
class controls
|
|
{
|
|
class CA_Version;
|
|
class DAYZ_Version : CA_Version
|
|
{
|
|
idc = -1;
|
|
text = "DayZ Epoch 0.97 (1.7.5.1)";
|
|
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
|
|
};
|
|
class CA_TitleMainMenu;
|
|
class CA_SinglePlayer;
|
|
class CA_MP;
|
|
class CA_Options;
|
|
class CA_PlayerProfile;
|
|
class CA_Expansions;
|
|
class CA_Exit;
|
|
};
|
|
};
|
|
|
|
class RscButtonActionMenu: RscButton
|
|
{
|
|
SizeEx = 0.02674;
|
|
colorBackground[] = {0.44,0.7,0.44,1};
|
|
colorBackgroundActive[] = {0.24,0.5,0.24,1};
|
|
colorBackgroundDisabled[] = {1,1,1,0};
|
|
colorFocused[] = {0.2,0.5,0.2,1};
|
|
colorShadow[] = {1,1,1,0};
|
|
borderSize = 0;
|
|
w = 0.095 * safezoneW;
|
|
h = 0.025 * safezoneH;
|
|
};
|
|
class RscDisplayGenderSelect
|
|
{
|
|
idd = 6902;
|
|
enableDisplay = 1;
|
|
class controls
|
|
{
|
|
class GenderPic_Man : RscActiveText
|
|
{
|
|
idc = -1;
|
|
style = 48;
|
|
text = "z\addons\dayz_code\gui\gender_menu_man.paa";
|
|
x = 0.28 * safezoneW + safezoneX;
|
|
y = 0.24 * safezoneH + safezoneY;
|
|
w = 0.117188 * safezoneW;
|
|
h = 0.542373 * safezoneH;
|
|
color[] = { 0.5, 0.5, 0.5, 1 };
|
|
colorActive[] = { 1, 1, 1, 1 };
|
|
action = "closeDialog 0;dayz_selectGender = 'Survivor2_DZ';";
|
|
};
|
|
class GenderPic_Woman : RscActiveText
|
|
{
|
|
idc = -1;
|
|
style = 48;
|
|
text = "z\addons\dayz_code\gui\gender_menu_woman.paa";
|
|
x = 0.6 * safezoneW + safezoneX;
|
|
y = 0.24 * safezoneH + safezoneY;
|
|
w = 0.117188 * safezoneW;
|
|
h = 0.542373 * safezoneH;
|
|
color[] = { 0.5, 0.5, 0.5, 1 };
|
|
colorActive[] = { 1, 1, 1, 1 };
|
|
action = "closeDialog 0;dayz_selectGender = 'SurvivorW2_DZ';";
|
|
};
|
|
class Gender_Title: RscStructuredText
|
|
{
|
|
idc = -1;
|
|
text = "$STR_UI_GENDER_TITLE";
|
|
x = 0.4 * safezoneW + safezoneX;
|
|
y = 0.221864 * safezoneH + safezoneY;
|
|
w = 0.2 * safezoneW;
|
|
h = 0.05 * safezoneH;
|
|
colorBackground[] = {-1,-1,-1,0};
|
|
};
|
|
class Gender_Description: RscStructuredText
|
|
{
|
|
idc = -1;
|
|
text = "$STR_UI_GENDER_DESC";
|
|
x = 0.4 * safezoneW + safezoneX;
|
|
y = 0.366134 * safezoneH + safezoneY;
|
|
w = 0.2 * safezoneW;
|
|
h = 0.3 * safezoneH;
|
|
colorBackground[] = {-1,-1,-1,0};
|
|
};
|
|
};
|
|
};
|
|
|
|
class RscDisplayGear
|
|
{
|
|
idd = 106;
|
|
enableDisplay = 1;
|
|
onUnload = "call player_gearSync;";
|
|
class controls
|
|
{
|
|
class CA_Filter_Icon: RscPicture
|
|
{
|
|
idc = 148;
|
|
style = "0x30 + 0x800";
|
|
x = 0.04;
|
|
y = 0.544098;
|
|
w = 0.458;
|
|
h = 0.075;
|
|
text = "\ca\ui\data\igui_gear_filter_1_ca.paa";
|
|
};
|
|
class CA_Filter_Left_Icon: RscPicture
|
|
{
|
|
idc = 1301;
|
|
style = "0x30 + 0x800";
|
|
x = 0.05;
|
|
y = 0.545098;
|
|
w = 0.036;
|
|
h = 0.075;
|
|
text = "\ca\ui\data\arrow_left_ca.paa";
|
|
};
|
|
class CA_Filter_Right_Icon: RscPicture
|
|
{
|
|
idc = 1302;
|
|
style = "0x30 + 0x800";
|
|
x = 0.453;
|
|
y = 0.545098;
|
|
w = 0.036;
|
|
h = 0.075;
|
|
text = "\ca\ui\data\arrow_right_ca.paa";
|
|
};
|
|
class CA_Filter_Arrow_Left: RscButton
|
|
{
|
|
idc = 150;
|
|
colorText[] = {1,1,1,0};
|
|
colorDisabled[] = {1,1,1,0};
|
|
colorBackground[] = {1,1,1,0};
|
|
colorBackgroundDisabled[] = {1,1,1,0};
|
|
colorBackgroundActive[] = {1,1,1,0};
|
|
colorShadow[] = {1,1,1,0};
|
|
colorFocused[] = {1,1,1,0};
|
|
x = 0.041;
|
|
y = 0.545098;
|
|
w = 0.056;
|
|
h = 0.075;
|
|
text = "";
|
|
};
|
|
class CA_Filter_Arrow_Right: RscButton
|
|
{
|
|
idc = 151;
|
|
colorText[] = {1,1,1,0};
|
|
colorDisabled[] = {1,1,1,0};
|
|
colorBackground[] = {1,1,1,0};
|
|
colorBackgroundDisabled[] = {1,1,1,0};
|
|
colorBackgroundActive[] = {1,1,1,0};
|
|
colorShadow[] = {1,1,1,0};
|
|
colorFocused[] = {1,1,1,0};
|
|
x = 0.443;
|
|
y = 0.545098;
|
|
w = 0.056;
|
|
h = 0.075;
|
|
text = "";
|
|
};
|
|
class CA_Filter_Icon1: RscButton
|
|
{
|
|
idc = 149;
|
|
colorText[] = {1,1,1,0};
|
|
colorDisabled[] = {1,1,1,0};
|
|
colorBackground[] = {1,1,1,0};
|
|
colorBackgroundDisabled[] = {1,1,1,0};
|
|
colorBackgroundActive[] = {1,1,1,0};
|
|
colorShadow[] = {1,1,1,0};
|
|
colorFocused[] = {1,1,1,0};
|
|
x = 0.099;
|
|
y = 0.545098;
|
|
w = 0.341;
|
|
h = 0.075;
|
|
text = "";
|
|
};
|
|
class Gear_Title: CA_IGUI_Title
|
|
{
|
|
idc = 1001;
|
|
x = 0.047634;
|
|
y = -0.00102941;
|
|
text = "Gear";
|
|
};
|
|
class Unit_Title: RscText
|
|
{
|
|
idc = 101;
|
|
style = 2;
|
|
x = 0.502419;
|
|
y = 0.0492156;
|
|
w = 0.456;
|
|
};
|
|
class Available_items_Text: RscText
|
|
{
|
|
idc = 156;
|
|
x = 0.0433014;
|
|
y = 0.0526966;
|
|
w = 0.389709;
|
|
h = 0.029412;
|
|
};
|
|
class CA_ItemName: Available_items_Text
|
|
{
|
|
idc = 1101;
|
|
x = 0.0416704;
|
|
y = 0.627451;
|
|
text = "Gear of the unit:";
|
|
};
|
|
class CA_Money: RscText
|
|
{
|
|
idc = 1102;
|
|
style = 1;
|
|
show = 0;
|
|
x = -2.50409;
|
|
y = -2.85784;
|
|
w = 0.228;
|
|
text = "Money:";
|
|
};
|
|
class CA_Money_Value: RscText
|
|
{
|
|
idc = 1103;
|
|
x = -2.72794;
|
|
y = -2.85784;
|
|
w = 0.228;
|
|
text = "0";
|
|
};
|
|
class ListboxArrows: RscControlsGroup
|
|
{
|
|
x = 0.04;
|
|
y = 0.0892447;
|
|
w = 0.48;
|
|
h = 0.449;
|
|
idc = 155;
|
|
class VScrollbar
|
|
{
|
|
autoScrollSpeed = -1;
|
|
autoScrollDelay = 5;
|
|
autoScrollRewind = 0;
|
|
color[] = {1,1,1,0};
|
|
width = 0.001;
|
|
};
|
|
class HScrollbar
|
|
{
|
|
color[] = {1,1,1,0};
|
|
height = 0.001;
|
|
};
|
|
class Controls
|
|
{
|
|
class CA_B_Add: RscGearShortcutButton
|
|
{
|
|
idc = 146;
|
|
x = -2;
|
|
style = 2048;
|
|
onSetFocus = "private [""_dummy""]; _dummy = [_this,""onFocus""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
|
|
onButtonClick = "private [""_dummy""]; _dummy = [_this,""onLBListSelChanged""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
|
|
text = "<";
|
|
};
|
|
class Available_items: RscIGUIListNBox
|
|
{
|
|
idc = 105;
|
|
columns[] = {0.075,0.175,0.81,0.67};
|
|
drawSideArrows = 1;
|
|
idcRight = 147;
|
|
idcLeft = 146;
|
|
colorPlayerItem[] = {0.8784,0.8471,0.651,1};
|
|
onKeyDown = "private [""_dummy""]; _dummy = [_this,""onKeyDown"",0,107,0,107] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
|
|
onLBSelChanged = "private [""_dummy""]; _dummy = [_this,""onLBSelChanged""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
|
|
onLBListSelChanged = "private [""_dummy""]; _dummy = [_this,""onLBListSelChanged""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
|
|
onKillFocus = "private [""_dummy""]; _dummy = [_this,""onKillFocus""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
|
|
x = 0;
|
|
y = 0;
|
|
w = 0.46;
|
|
h = 0.449;
|
|
canDrag = 1;
|
|
};
|
|
class CA_B_Remove: CA_B_Add
|
|
{
|
|
idc = 147;
|
|
x = -2;
|
|
onSetFocus = "private [""_dummy""]; _dummy = [_this,""onFocus""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
|
|
onButtonClick = "private [""_dummy""]; _dummy = [_this,""onLBListSelChanged""] execVM ""\ca\ui\scripts\handleGear.sqf""; _dummy;";
|
|
text = ">";
|
|
};
|
|
};
|
|
};
|
|
class CA_CustomDescription: RscStructuredText
|
|
{
|
|
idc = 1106;
|
|
x = 0.0414969;
|
|
y = 0.663641;
|
|
w = 0.458;
|
|
h = 0.152;
|
|
colorText[] = {0.95,0.95,0.95,1};
|
|
class Attributes
|
|
{
|
|
font = "Zeppelin32";
|
|
color = "#F2F2F2";
|
|
align = "left";
|
|
shadow = 1;
|
|
};
|
|
};
|
|
class CA_Item_Picture: RscPicture
|
|
{
|
|
idc = 1104;
|
|
style = "0x30 + 0x800";
|
|
x = 0.330883;
|
|
y = 0.785541;
|
|
w = 0.156863;
|
|
h = 0.104575;
|
|
text = "";
|
|
};
|
|
class G_Interaction: RscControlsGroup
|
|
{
|
|
idc = 6902;
|
|
x = 0.502;
|
|
y = 0.250 * safezoneH;
|
|
w = 0.145 * safezoneW;
|
|
h = 0; //0.250 * safezoneH;
|
|
onMouseMoving = "_this call gear_ui_offMenu;";
|
|
class VScrollbar
|
|
{
|
|
autoScrollSpeed = -1;
|
|
autoScrollDelay = 5;
|
|
autoScrollRewind = 0;
|
|
color[] = {1,1,1,0};
|
|
width = 0.001;
|
|
};
|
|
class HScrollbar
|
|
{
|
|
color[] = {1,1,1,0};
|
|
height = 0.001;
|
|
};
|
|
class Controls
|
|
{
|
|
class RscButton_1600: RscButtonActionMenu
|
|
{
|
|
idc = 1600;
|
|
text = "";
|
|
x = 0;
|
|
y = 0 * safezoneH;
|
|
};
|
|
class RscButton_1601: RscButtonActionMenu
|
|
{
|
|
idc = 1601;
|
|
text = "";
|
|
x = 0;
|
|
y = 0.025 * safezoneH;
|
|
};
|
|
class RscButton_1602: RscButtonActionMenu
|
|
{
|
|
idc = 1602;
|
|
text = "";
|
|
x = 0;
|
|
y = 0.05 * safezoneH;
|
|
};
|
|
class RscButton_1603: RscButtonActionMenu
|
|
{
|
|
idc = 1603;
|
|
text = "";
|
|
x = 0;
|
|
y = 0.075 * safezoneH;
|
|
};
|
|
class RscButton_1604: RscButtonActionMenu
|
|
{
|
|
idc = 1604;
|
|
text = "";
|
|
x = 0;
|
|
y = 0.1 * safezoneH;
|
|
};
|
|
class RscButton_1605: RscButtonActionMenu
|
|
{
|
|
idc = 1605;
|
|
text = "";
|
|
x = 0;
|
|
y = 0.125 * safezoneH;
|
|
};
|
|
class RscButton_1606: RscButtonActionMenu
|
|
{
|
|
idc = 1606;
|
|
text = "";
|
|
x = 0;
|
|
y = 0.15 * safezoneH;
|
|
};
|
|
class RscButton_1607: RscButtonActionMenu
|
|
{
|
|
idc = 1607;
|
|
text = "";
|
|
x = 0;
|
|
y = 0.175 * safezoneH;
|
|
};
|
|
class RscButton_1608: RscButtonActionMenu
|
|
{
|
|
idc = 1608;
|
|
text = "";
|
|
x = 0;
|
|
y = 0.2 * safezoneH;
|
|
};
|
|
class RscButton_1609: RscButtonActionMenu
|
|
{
|
|
idc = 1609;
|
|
text = "";
|
|
x = 0;
|
|
y = 0.225 * safezoneH;
|
|
};
|
|
};
|
|
};
|
|
class G_GearItems: RscControlsGroup
|
|
{
|
|
idc = 160;
|
|
x = 0.502;
|
|
y = 0.09;
|
|
w = 0.463;
|
|
h = 0.776;
|
|
class VScrollbar
|
|
{
|
|
autoScrollSpeed = -1;
|
|
autoScrollDelay = 5;
|
|
autoScrollRewind = 0;
|
|
color[] = {1,1,1,0};
|
|
width = 0.001;
|
|
};
|
|
class HScrollbar
|
|
{
|
|
color[] = {1,1,1,0};
|
|
height = 0.001;
|
|
};
|
|
class Controls
|
|
{
|
|
class CA_Gear_slot_primary: RscActiveText
|
|
{
|
|
idc = 107;
|
|
x = "0.502 - 0.502";
|
|
y = "0.244 - 0.09";
|
|
w = 0.286;
|
|
h = 0.15;
|
|
style = "0x30 + 0x800";
|
|
onMouseButtonDown = "_this call player_selectSlot;";
|
|
soundDoubleClick[] = {"",0.1,1};
|
|
color[] = {1,1,1,1};
|
|
colorBackground[] = {0.8784,0.8471,0.651,1};
|
|
colorBackgroundSelected[] = {0.8784,0.8471,0.651,1};
|
|
colorFocused[] = {0,0,0,0};
|
|
canDrag = 1;
|
|
};
|
|
class CA_Gear_slot_secondary: CA_Gear_slot_primary
|
|
{
|
|
idc = 108;
|
|
y = "0.398 -0.09";
|
|
};
|
|
class CA_Gear_slot_item1: CA_Gear_slot_primary
|
|
{
|
|
idc = 109;
|
|
x = "0.790 - 0.502";
|
|
y = "0.244 - 0.09";
|
|
w = 0.055;
|
|
h = 0.074;
|
|
};
|
|
class CA_Gear_slot_item2: CA_Gear_slot_item1
|
|
{
|
|
idc = 110;
|
|
x = "0.847 - 0.502";
|
|
y = "0.244 - 0.09";
|
|
};
|
|
class CA_Gear_slot_item3: CA_Gear_slot_item1
|
|
{
|
|
idc = 111;
|
|
x = "0.904366 - 0.502";
|
|
y = "0.244 - 0.09";
|
|
};
|
|
class CA_Gear_slot_item4: CA_Gear_slot_item1
|
|
{
|
|
idc = 112;
|
|
x = "0.790 - 0.502";
|
|
y = "0.321 - 0.09";
|
|
};
|
|
class CA_Gear_slot_item5: CA_Gear_slot_item1
|
|
{
|
|
idc = 113;
|
|
x = "0.847 - 0.502";
|
|
y = "0.321 - 0.09";
|
|
};
|
|
class CA_Gear_slot_item6: CA_Gear_slot_item1
|
|
{
|
|
idc = 114;
|
|
x = "0.904366 - 0.502";
|
|
y = "0.321 - 0.09";
|
|
};
|
|
class CA_Gear_slot_item7: CA_Gear_slot_item1
|
|
{
|
|
idc = 115;
|
|
x = "0.790 - 0.502";
|
|
y = "0.398 - 0.09";
|
|
};
|
|
class CA_Gear_slot_item8: CA_Gear_slot_item7
|
|
{
|
|
idc = 116;
|
|
x = "0.847 - 0.502";
|
|
y = "0.398 - 0.09";
|
|
};
|
|
class CA_Gear_slot_item9: CA_Gear_slot_item7
|
|
{
|
|
idc = 117;
|
|
x = "0.904366 - 0.502";
|
|
y = "0.398 - 0.09";
|
|
};
|
|
class CA_Gear_slot_item10: CA_Gear_slot_item7
|
|
{
|
|
idc = 118;
|
|
x = "0.790 - 0.502";
|
|
y = "0.474 - 0.09";
|
|
};
|
|
class CA_Gear_slot_item11: CA_Gear_slot_item7
|
|
{
|
|
idc = 119;
|
|
x = "0.847 - 0.502";
|
|
y = "0.474 - 0.09";
|
|
};
|
|
class CA_Gear_slot_item12: CA_Gear_slot_item7
|
|
{
|
|
idc = 120;
|
|
x = "0.904366 - 0.502";
|
|
y = "0.474 - 0.09";
|
|
};
|
|
class CA_Gear_slot_handgun: CA_Gear_slot_primary
|
|
{
|
|
idc = 121;
|
|
x = "0.560 - 0.502";
|
|
y = "0.551 - 0.09";
|
|
w = 0.113;
|
|
h = 0.15;
|
|
};
|
|
class CA_Gear_slot_handgun_item1: CA_Gear_slot_item1
|
|
{
|
|
idc = 122;
|
|
x = "0.674 - 0.502";
|
|
y = "0.551 - 0.09";
|
|
w = 0.055;
|
|
h = 0.074;
|
|
};
|
|
class CA_Gear_slot_handgun_item2: CA_Gear_slot_handgun_item1
|
|
{
|
|
idc = 123;
|
|
x = "0.733 - 0.502";
|
|
y = "0.551 - 0.09";
|
|
};
|
|
class CA_Gear_slot_handgun_item3: CA_Gear_slot_handgun_item1
|
|
{
|
|
idc = 124;
|
|
x = "0.790 - 0.502";
|
|
};
|
|
class CA_Gear_slot_handgun_item4: CA_Gear_slot_handgun_item1
|
|
{
|
|
idc = 125;
|
|
x = "0.847 - 0.502";
|
|
};
|
|
class CA_Gear_slot_handgun_item5: CA_Gear_slot_handgun_item1
|
|
{
|
|
idc = 126;
|
|
x = "0.674 - 0.502";
|
|
y = "0.628 - 0.09";
|
|
};
|
|
class CA_Gear_slot_handgun_item6: CA_Gear_slot_handgun_item5
|
|
{
|
|
idc = 127;
|
|
x = "0.733 - 0.502";
|
|
y = "0.628 - 0.09";
|
|
};
|
|
class CA_Gear_slot_handgun_item7: CA_Gear_slot_handgun_item5
|
|
{
|
|
idc = 128;
|
|
x = "0.790 - 0.502";
|
|
y = "0.628 - 0.09";
|
|
};
|
|
class CA_Gear_slot_handgun_item8: CA_Gear_slot_handgun_item5
|
|
{
|
|
idc = 129;
|
|
x = "0.847 - 0.502";
|
|
y = "0.628 - 0.09";
|
|
};
|
|
class CA_Gear_slot_special1: CA_Gear_slot_item1
|
|
{
|
|
idc = 130;
|
|
x = "0.502 - 0.502";
|
|
y = "0.09 - 0.09";
|
|
w = 0.113;
|
|
h = 0.15;
|
|
};
|
|
class CA_Gear_slot_special2: CA_Gear_slot_special1
|
|
{
|
|
idc = 131;
|
|
x = "0.847 - 0.502";
|
|
y = "0.09 - 0.09";
|
|
w = 0.113;
|
|
h = 0.15;
|
|
};
|
|
class CA_Gear_slot_inventory1: CA_Gear_slot_special1
|
|
{
|
|
idc = 134;
|
|
x = "0.560 - 0.502";
|
|
y = "0.705 - 0.09";
|
|
w = 0.055;
|
|
h = 0.074;
|
|
};
|
|
class CA_Gear_slot_inventory2: CA_Gear_slot_inventory1
|
|
{
|
|
idc = 135;
|
|
x = "0.617 - 0.502";
|
|
y = "0.705 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory3: CA_Gear_slot_inventory1
|
|
{
|
|
idc = 136;
|
|
x = "0.674 - 0.502";
|
|
y = "0.705 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory4: CA_Gear_slot_inventory1
|
|
{
|
|
idc = 137;
|
|
x = "0.733 - 0.502";
|
|
y = "0.705 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory5: CA_Gear_slot_inventory1
|
|
{
|
|
idc = 138;
|
|
x = "0.790 - 0.502";
|
|
y = "0.705 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory6: CA_Gear_slot_inventory1
|
|
{
|
|
idc = 139;
|
|
x = "0.847 - 0.502";
|
|
y = "0.705 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory7: CA_Gear_slot_inventory1
|
|
{
|
|
idc = 140;
|
|
x = "0.560 - 0.502";
|
|
y = "0.782 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory8: CA_Gear_slot_inventory7
|
|
{
|
|
idc = 141;
|
|
x = "0.617 - 0.502";
|
|
y = "0.782 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory9: CA_Gear_slot_inventory7
|
|
{
|
|
idc = 142;
|
|
x = "0.674 - 0.502";
|
|
y = "0.782 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory10: CA_Gear_slot_inventory7
|
|
{
|
|
idc = 143;
|
|
x = "0.733 - 0.502";
|
|
y = "0.782 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory11: CA_Gear_slot_inventory7
|
|
{
|
|
idc = 144;
|
|
x = "0.790 - 0.502";
|
|
y = "0.782 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory12: CA_Gear_slot_inventory7
|
|
{
|
|
idc = 145;
|
|
x = "0.847 - 0.502";
|
|
y = "0.782 - 0.09";
|
|
};
|
|
class CA_Gear_slot_inventory13: CA_Gear_slot_inventory7
|
|
{
|
|
idc = 1122;
|
|
x = 10.1;
|
|
y = 10.1;
|
|
};
|
|
};
|
|
};
|
|
class BagItemsGroup: RscControlsGroup
|
|
{
|
|
x = 0.502;
|
|
y = 0.09;
|
|
w = 0.463;
|
|
h = 0.776;
|
|
idc = 159;
|
|
magW = 0.055;
|
|
magH = 0.074;
|
|
weaponW = 0.226;
|
|
weaponH = 0.15;
|
|
gunW = 0.113;
|
|
gunH = 0.15;
|
|
spacing = 0.002;
|
|
text = "";
|
|
color[] = {1,1,1,1};
|
|
colorBackground[] = {1,1,1,1};
|
|
colorBackgroundSelected[] = {1,1,1,1};
|
|
colorFocused[] = {1,1,1,1};
|
|
soundPush[] = {"",0.1,1};
|
|
soundClick[] = {"",0.1,1};
|
|
soundDoubleClick[] = {"",0.1,1};
|
|
class VScrollbar
|
|
{
|
|
autoScrollSpeed = -1;
|
|
autoScrollDelay = 5;
|
|
autoScrollRewind = 0;
|
|
color[] = {1,1,1,0};
|
|
width = 0.001;
|
|
};
|
|
class HScrollbar
|
|
{
|
|
color[] = {1,1,1,0};
|
|
height = 0.001;
|
|
};
|
|
class ScrollBar
|
|
{
|
|
color[] = {1,1,1,0.6};
|
|
colorActive[] = {1,1,1,1};
|
|
colorDisabled[] = {1,1,1,0.3};
|
|
thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
|
|
arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
|
|
arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
|
|
border = "\ca\ui\data\ui_border_scroll_ca.paa";
|
|
};
|
|
class Controls
|
|
{
|
|
};
|
|
};
|
|
class Break_7: RscLineBreak
|
|
{
|
|
};
|
|
class ButtonFilters: RscIGUIShortcutButton
|
|
{
|
|
idc = 148;
|
|
shortcuts[] = {"0x00050000 + 3"};
|
|
x = 0.333336;
|
|
y = 0.897067;
|
|
text = "Filter";
|
|
};
|
|
class ButtonRearm: RscIGUIShortcutButton
|
|
{
|
|
idc = 132;
|
|
shortcuts[] = {"0x00050000 + 2"};
|
|
x = 0.554743;
|
|
y = 0.897067;
|
|
text = "Rearm";
|
|
};
|
|
class ButtonOpenBag: RscIGUIShortcutButton
|
|
{
|
|
idc = 157;
|
|
shortcuts[] = {"0x00050000 + 2"};
|
|
x = 0.554743;
|
|
y = 0.897067;
|
|
text = "Open bag";
|
|
};
|
|
class ButtonCloseBag: RscIGUIShortcutButton
|
|
{
|
|
idc = 158;
|
|
shortcuts[] = {"0x00050000 + 2"};
|
|
x = 0.554743;
|
|
y = 0.897067;
|
|
text = "Close bag";
|
|
};
|
|
class ButtonContinue: RscIGUIShortcutButton
|
|
{
|
|
idc = 1;
|
|
shortcuts[] = {"0x00050000 + 0",28,57,156};
|
|
x = 0.77615;
|
|
y = 0.897066;
|
|
default = 1;
|
|
};
|
|
class ButtonClose: RscIGUIShortcutButton
|
|
{
|
|
idc = 2;
|
|
shortcuts[] = {"0x00050000 + 1"};
|
|
x = 0.0392216;
|
|
y = 0.897066;
|
|
text = "Close";
|
|
};
|
|
};
|
|
class Filters
|
|
{
|
|
class All
|
|
{
|
|
name = "All";
|
|
mask = -1;
|
|
image = "\ca\ui\data\igui_gear_filter_1_ca.paa";
|
|
};
|
|
class Primary
|
|
{
|
|
name = "Primary";
|
|
mask = 769;
|
|
image = "\ca\ui\data\igui_gear_filter_2_ca.paa";
|
|
};
|
|
class Secondary
|
|
{
|
|
name = "Secondary";
|
|
mask = 516;
|
|
image = "\ca\ui\data\igui_gear_filter_3_ca.paa";
|
|
};
|
|
class HandGun
|
|
{
|
|
name = "HandGun";
|
|
mask = 18;
|
|
image = "\ca\ui\data\igui_gear_filter_4_ca.paa";
|
|
};
|
|
class Items
|
|
{
|
|
name = "Items";
|
|
mask = 135168;
|
|
image = "\ca\ui\data\igui_gear_filter_5_ca.paa";
|
|
};
|
|
};
|
|
movingEnable = 1;
|
|
emptyGun = "\ca\ui\data\ui_gear_gun_gs.paa";
|
|
emptySec = "\ca\ui\data\ui_gear_sec_gs.paa";
|
|
emptyEq = "\ca\ui\data\ui_gear_eq_gs.paa";
|
|
emptyMag = "\ca\ui\data\ui_gear_mag_gs.paa";
|
|
emptyMag2 = "\ca\ui\data\ui_gear_mag2_gs.paa";
|
|
emptyHGun = "\ca\ui\data\ui_gear_hgun_gs.paa";
|
|
emptyHGunMag = "\ca\ui\data\ui_gear_hgunmag_gs.paa";
|
|
onLoad = "call gear_ui_init;if (isNil('IGUI_GEAR_activeFilter')) then { IGUI_GEAR_activeFilter = 0;}; private ['_dummy']; _dummy = [_this,'initDialog'] call compile preprocessFile '\ca\ui\scripts\handleGear.sqf'; _dummy = [_this,'onLoad'] execVM '\ca\ui\scripts\handleGear.sqf'; _dummy;";
|
|
class ControlsBackground
|
|
{
|
|
class Mainback: RscPicture
|
|
{
|
|
idc = 1005;
|
|
x = 0.04;
|
|
y = 0.01;
|
|
w = 1.2549;
|
|
h = 1.6732;
|
|
moving = 1;
|
|
text = "\ca\ui\data\igui_background_gear_ca.paa";
|
|
};
|
|
};
|
|
};
|
|
class DZ_ItemInteraction {
|
|
idd = 6901;
|
|
movingEnable = 0;
|
|
class controlsBackground {
|
|
// define controls here
|
|
};
|
|
class objects {
|
|
// define controls here
|
|
};
|
|
class controls {
|
|
// define controls here
|
|
|
|
};
|
|
};
|
|
|
|
class RscTitles
|
|
{
|
|
class Default
|
|
{
|
|
idd = -1;
|
|
movingEnable = 0;
|
|
duration = 4;
|
|
};
|
|
class playerKillScore
|
|
{
|
|
idd = 6902;
|
|
movingEnable = 0;
|
|
duration = 5;
|
|
name = "playerKillScore";
|
|
onLoad = "uiNamespace setVariable ['DAYZ_GUI_kills', _this select 0];";
|
|
class ControlsBackground {
|
|
class RscPicture_1201: RscPictureGUI
|
|
{
|
|
idc = 1400;
|
|
text = "\z\addons\dayz_code\gui\stats_kills_human_ca.paa";
|
|
x = 0.044687 * safezoneW + safezoneX;
|
|
y = 0.934779 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1200: RscPictureGUI
|
|
{
|
|
idc = 1401;
|
|
text = "\z\addons\dayz_code\gui\stats_kills_zombie_ca.paa";
|
|
x = 0.044687 * safezoneW + safezoneX;
|
|
y = 0.876025 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
};
|
|
class Controls{
|
|
class RscText1: RscStructuredTextGUI
|
|
{
|
|
idc = 1410;
|
|
text = "10";
|
|
x = (0.044687 * safezoneW + safezoneX) - 0.01;
|
|
y = 0.934779 * safezoneH + safezoneY;
|
|
w = 0.08;
|
|
h = 0.08;
|
|
};
|
|
class RscText2: RscStructuredTextGUI
|
|
{
|
|
idc = 1411;
|
|
text = "1000";
|
|
x = (0.044687 * safezoneW + safezoneX) - 0.01;
|
|
y = 0.876025 * safezoneH + safezoneY;
|
|
w = 0.08;
|
|
h = 0.08;
|
|
};
|
|
};
|
|
};
|
|
|
|
class playerStatusWaiting
|
|
{
|
|
idd = 6901;
|
|
movingEnable = 0;
|
|
duration = 100000;
|
|
name = "playerStatusWaiting";
|
|
onLoad = "uiNamespace setVariable ['DAYZ_GUI_waiting', _this select 0];";
|
|
class ControlsBackground {
|
|
class RscText_1402: RscPictureGUI
|
|
{
|
|
idc = 1402;
|
|
text = "#(argb,8,8,3)color(1,1,1,1)";
|
|
x = 0.473572 * safezoneW + safezoneX;
|
|
y = 0.418158 * safezoneH + safezoneY;
|
|
w = 0.0634286 * safezoneW;
|
|
h = 0.136829 * safezoneH;
|
|
colorText[] = {1,1,1,1};
|
|
};
|
|
class RscText_1400: RscPictureGUI
|
|
{
|
|
idc = 1400;
|
|
text = "#(argb,8,8,3)color(1,1,1,1)";
|
|
x = 0.473572 * safezoneW + safezoneX;
|
|
y = 0.418158 * safezoneH + safezoneY;
|
|
w = 0.0634286 * safezoneW;
|
|
h = 0; //0.136829 * safezoneH;
|
|
colorText[] = {0,0,0,1};
|
|
};
|
|
};
|
|
class Controls {
|
|
class RscPicture_1401: RscPictureGUI
|
|
{
|
|
idc = 1401;
|
|
text = "\z\addons\dayz_code\gui\status_waiting_ca.paa";
|
|
x = 0.434999 * safezoneW + safezoneX;
|
|
y = 0.392207 * safezoneH + safezoneY;
|
|
w = 0.141 * safezoneW;
|
|
h = 0.188013 * safezoneH;
|
|
colorText[] = {0.38,0.63,0.26,1};
|
|
};
|
|
};
|
|
};
|
|
|
|
class playerStatusGUI
|
|
{
|
|
idd = 6900;
|
|
movingEnable = 0;
|
|
duration = 100000;
|
|
name = "statusBorder";
|
|
onLoad = "uiNamespace setVariable ['DAYZ_GUI_display', _this select 0];";
|
|
class ControlsBackground {
|
|
class RscPicture_1201: RscPictureGUI
|
|
{
|
|
idc = 1201;
|
|
text = "\z\addons\dayz_code\gui\status_food_border_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.93 * safezoneH + safezoneY; //1
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1200: RscPictureGUI
|
|
{
|
|
idc = 1200;
|
|
text = "\z\addons\dayz_code\gui\status_blood_border_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.86 * safezoneH + safezoneY;//2
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1202: RscPictureGUI
|
|
{
|
|
idc = 1202;
|
|
text = "\z\addons\dayz_code\gui\status_thirst_border_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.79 * safezoneH + safezoneY; //3
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1208: RscPictureGUI
|
|
{
|
|
idc = 1208;
|
|
text = "\z\addons\dayz_code\gui\status_temp_outside_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.72 * safezoneH + safezoneY; //3
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1207 : RscPictureGUI {
|
|
idc = 1207;
|
|
text = "\z\addons\dayz_code\gui\status_combat_border_ca.paa";
|
|
x = "0.955313 * safezoneW + safezoneX";
|
|
y = "0.65 * safezoneH + safezoneY";
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1203: RscPictureGUI
|
|
{
|
|
idc = 1203;
|
|
text = "\z\addons\dayz_code\gui\status_fracture_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.58 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
colorText[] = {1,1,1,1};
|
|
};
|
|
class RscPicture_1204: RscPictureGUI
|
|
{
|
|
idc = 1204;
|
|
text = "\z\addons\dayz_code\gui\status_connection_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.51 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
colorText[] = {1,1,1,1};
|
|
};
|
|
class RscPicture_1205: RscPictureGUI
|
|
{
|
|
idc = 1205;
|
|
text = "\z\addons\dayz_code\gui\status_ear_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.30 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1206: RscPictureGUI
|
|
{
|
|
idc = 1206;
|
|
text = "\z\addons\dayz_code\gui\status_eye_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.37 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1501: RscPictureGUI
|
|
{
|
|
idc = 1501;
|
|
text = "\z\addons\dayz_code\gui\status_food_border_ca.paa";
|
|
x = 0.945313 * safezoneW + safezoneX;
|
|
y = 0.95 * safezoneH + safezoneY; //1
|
|
w = 0.04;
|
|
h = 0.053333;
|
|
};
|
|
class RscPicture_1502: RscPictureGUI
|
|
{
|
|
idc = 1502;
|
|
text = "\z\addons\dayz_code\gui\status_thirst_border_ca.paa";
|
|
x = 0.945313 * safezoneW + safezoneX;
|
|
y = 0.816666 * safezoneH + safezoneY; //3
|
|
w = 0.04;
|
|
h = 0.053333;
|
|
};
|
|
};
|
|
class Controls{
|
|
class RscPicture_1301: RscPictureGUI
|
|
{
|
|
idc = 1301;
|
|
//text = "\z\addons\dayz_code\gui\status_food_inside_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.93 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1300: RscPictureGUI
|
|
{
|
|
idc = 1300;
|
|
//text = "\z\addons\dayz_code\gui\status_blood_inside_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.86 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1302: RscPictureGUI
|
|
{
|
|
idc = 1302;
|
|
//text = "\z\addons\dayz_code\gui\status_thirst_inside_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.79 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1306: RscPictureGUI
|
|
{
|
|
idc = 1306;
|
|
//text = "\z\addons\dayz_code\gui\status_temp_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.72 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1303: RscPictureGUI
|
|
{
|
|
idc = 1303;
|
|
text = "\z\addons\dayz_code\gui\status_bleeding_ca.paa";
|
|
x = 0.955313 * safezoneW + safezoneX;
|
|
y = 0.86 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
colorText[] = {1,1,1,0.5};
|
|
};
|
|
class RscPicture_1304: RscPictureGUI
|
|
{
|
|
idc = 1304;
|
|
text = "";
|
|
x = 0.935313 * safezoneW + safezoneX;
|
|
y = 0.3 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1305: RscPictureGUI
|
|
{
|
|
idc = 1305;
|
|
text = "";
|
|
x = 0.935313 * safezoneW + safezoneX;
|
|
y = 0.37 * safezoneH + safezoneY;
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1307 : RscPictureGUI {
|
|
idc = 1307;
|
|
text = "\z\addons\dayz_code\gui\status_combat_inside_ca.paa";
|
|
x = "0.955313 * safezoneW + safezoneX";
|
|
y = "0.65 * safezoneH + safezoneY";
|
|
w = 0.06;
|
|
h = 0.08;
|
|
};
|
|
class RscPicture_1701: RscPictureGUI
|
|
|
|
{
|
|
idc = 1701;
|
|
//text = "\z\addons\dayz_code\gui\status_food_inside_ca.paa";
|
|
x = 0.945313 * safezoneW + safezoneX;
|
|
y = 0.95 * safezoneH + safezoneY;
|
|
w = 0.04;
|
|
h = 0.053333;
|
|
};
|
|
class RscPicture_1702: RscPictureGUI
|
|
{
|
|
idc = 1702;
|
|
//text = "\z\addons\dayz_code\gui\status_thirst_inside_ca.paa";
|
|
x = 0.945313 * safezoneW + safezoneX;
|
|
y = 0.816666 * safezoneH + safezoneY;
|
|
w = 0.04;
|
|
h = 0.053333;
|
|
};
|
|
};
|
|
};
|
|
}; |