Sort Config

This commit is contained in:
Skaronator
2014-02-04 16:46:11 +01:00
parent 2ecdd4ab3d
commit 5a82128500
4 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,65 @@
class EpochDeathBoardDialog
{
idd = -1;
movingenable = 0;
class Controls {
class RscText_1000: RscText
{
idc = -1;
x = 0.283659 * safezoneW + safezoneX;
y = 0.224978 * safezoneH + safezoneY;
w = 0.432681 * safezoneW;
h = 0.550044 * safezoneH;
colorBackground[] = {0,0,0,0.7};
};
class RscText_1001: RscText
{
idc = -1;
text = $STR_EPOCH_PLAYER_302;
x = 0.283659 * safezoneW + safezoneX;
y = 0.224978 * safezoneH + safezoneY;
w = 0.432681 * safezoneW;
h = 0.0550044 * safezoneH;
colorBackground[] = {0,0,0,0.7};
};
class RscListbox_1500: RscListbox
{
idc = 21000;
x = 0.297181 * safezoneW + safezoneX;
y = 0.334987 * safezoneH + safezoneY;
w = 0.148734 * safezoneW;
h = 0.412533 * safezoneH;
onMouseButtonClick = "[(lbCurSel 21000), ((ctrlParent (_this select 0)) displayCtrl 21001)] spawn EpochDeathBoardClick;";
};
class RscText_1002: RscText
{
idc = -1;
text = $STR_EPOCH_PLAYER_303;
x = 0.29042 * safezoneW + safezoneX;
y = 0.293733 * safezoneH + safezoneY;
w = 0.0540852 * safezoneW;
h = 0.0275022 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscShortcutButton_1700: RscShortcutButton
{
idc = -1;
text = $STR_EPOCH_PLAYER_283;
x = 0.628452 * safezoneW + safezoneX;
y = 0.706267 * safezoneH + safezoneY;
w = 0.0743671 * safezoneW;
h = 0.0550044 * safezoneH;
onButtonClick = "PVDZE_plr_DeathBResult = nil; ((ctrlParent (_this select 0)) closeDisplay 9000);";
};
class RscStructuredText_1100: RscStructuredText
{
idc = 21001;
text = "";
x = 0.452114 * safezoneW + safezoneX;
y = 0.307485 * safezoneH + safezoneY;
w = 0.250144 * safezoneW;
h = 0.398782 * safezoneH;
colorBackground[] = {0,0,0,0};
};
};
};

View File

@@ -0,0 +1,273 @@
///////////////////////////////////////////////////////////////////////////
/// Styles
///////////////////////////////////////////////////////////////////////////
class RscTextTraderDialog
{
access = 0;
type = 0;
idc = -1;
colorBackground[] = {0,0,0,0};
colorText[] = {0.8784,0.8471,0.651,1};
text = "";
fixedWidth = 0;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
style = 0;
shadow = 2;
font = "Zeppelin32";
SizeEx = 0.03921;
};
class RscListBoxTraderDialog
{
access = 0;
type = 5;
w = 0.4;
h = 0.4;
rowHeight = 0;
colorText[] = {0.8784,0.8471,0.651,1};
colorScrollbar[] = {0.95,0.95,0.95,1};
colorSelect[] = {0.95,0.95,0.95,1};
colorSelect2[] = {0.95,0.95,0.95,1};
colorSelectBackground[] = {0,0,0,1};
colorSelectBackground2[] = {0.8784,0.8471,0.651,1};
colorBackground[] = {0,0,0,1};
soundSelect[] = {"",0.1,1};
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};
shadow = 0;
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";
};
style = 16;
font = "Zeppelin32";
shadow = 2;
sizeEx = 0.03921;
color[] = {1,1,1,1};
period = 1.2;
maxHistoryDelay = 1;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
};
class RscShortcutButtonTraderDialog
{
type = 16;
x = 0.1;
y = 0.1;
class HitZone
{
left = 0.004;
top = 0.029;
right = 0.004;
bottom = 0.029;
};
class ShortcutPos
{
left = 0.0145;
top = 0.026;
w = 0.0392157;
h = 0.0522876;
};
class TextPos
{
left = 0.05;
top = 0.034;
right = 0.005;
bottom = 0.005;
};
shortcuts[] = {};
textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)";
color[] = {0.8784,0.8471,0.651,1};
color2[] = {0.95,0.95,0.95,1};
colorDisabled[] = {1,1,1,0.25};
colorBackground[] = {1,1,1,1};
colorBackground2[] = {1,1,1,0.4};
class Attributes
{
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
shadow = "true";
};
idc = -1;
style = 0;
default = 0;
shadow = 2;
w = 0.183825;
h = 0.104575;
periodFocus = 1.2;
periodOver = 0.8;
animTextureNormal = "\ca\ui\data\ui_button_normal_ca.paa";
animTextureDisabled = "\ca\ui\data\ui_button_disabled_ca.paa";
animTextureOver = "\ca\ui\data\ui_button_over_ca.paa";
animTextureFocused = "\ca\ui\data\ui_button_focus_ca.paa";
animTexturePressed = "\ca\ui\data\ui_button_down_ca.paa";
animTextureDefault = "\ca\ui\data\ui_button_default_ca.paa";
period = 0.4;
font = "Zeppelin32";
size = 0.03921;
sizeEx = 0.03921;
text = "";
soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1};
soundPush[] = {"\ca\ui\data\sound\new1",0,0};
soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1};
soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1};
action = "";
class AttributesImage
{
font = "Zeppelin32";
color = "#E5E5E5";
align = "left";
};
};
class TraderDialog
{
idd = -1;
movingenable = 0;
class Controls {
class RscTextTraderDialog_1000: RscTextTraderDialog
{
idc = -1;
x = 0.283646 * safezoneW + safezoneX;
y = 0.22492 * safezoneH + safezoneY;
w = 0.432709 * safezoneW;
h = 0.55016 * safezoneH;
colorBackground[] = {0,0,0,0.7};
};
class RscTextTraderDialog_1001: RscTextTraderDialog
{
idc = -1;
text = $STR_EPOCH_PLAYER_289;
x = 0.283646 * safezoneW + safezoneX;
y = 0.22492 * safezoneH + safezoneY;
w = 0.432709 * safezoneW;
h = 0.055016 * safezoneH;
colorBackground[] = {0,0,0,0.7};
};
class RscListboxTraderDialog_1500: RscListboxTraderDialog
{
idc = 12000;
x = 0.290407 * safezoneW + safezoneX;
y = 0.334952 * safezoneH + safezoneY;
w = 0.121699 * safezoneW;
h = 0.178802 * safezoneH;
onMouseButtonClick = "[(lbCurSel 12000)] spawn TraderDialogLoadItemList;";
};
class RscTextTraderDialog_1002: RscTextTraderDialog
{
idc = -1;
text = $STR_EPOCH_PLAYER_290;
x = 0.290407 * safezoneW + safezoneX;
y = 0.29369 * safezoneH + safezoneY;
w = 0.0743718 * safezoneW;
h = 0.027508 * safezoneH;
};
class RscListboxTraderDialog_1501: RscListboxTraderDialog
{
idc = 12001;
x = 0.425628 * safezoneW + safezoneX;
y = 0.334952 * safezoneH + safezoneY;
w = 0.283965 * safezoneW;
h = 0.385112 * safezoneH;
onMouseButtonClick = "[(lbCurSel 12001)] spawn TraderDialogShowPrices;";
};
class RscShortcutButtonTraderDialog_1700: RscShortcutButtonTraderDialog
{
idc = 12004;
text = $STR_EPOCH_PLAYER_291;
x = 0.635221 * safezoneW + safezoneX;
y = 0.720064 * safezoneH + safezoneY;
w = 0.0743718 * safezoneW;
h = 0.055016 * safezoneH;
onButtonClick = "[(lbCurSel 12001)] call TraderDialogBuy; ((ctrlParent (_this select 0)) closeDisplay 9000);";
};
class RscShortcutButtonTraderDialog_1701: RscShortcutButtonTraderDialog
{
idc = 12005;
text = $STR_EPOCH_PLAYER_292;
x = 0.540566 * safezoneW + safezoneX;
y = 0.720064 * safezoneH + safezoneY;
w = 0.0743718 * safezoneW;
h = 0.055016 * safezoneH;
onButtonClick = "[(lbCurSel 12001)] call TraderDialogSell; ((ctrlParent (_this select 0)) closeDisplay 9000);";
};
class RscTextTraderDialog_1003: RscTextTraderDialog
{
idc = -1;
text = $STR_EPOCH_PLAYER_293;
x = 0.290407 * safezoneW + safezoneX;
y = 0.555016 * safezoneH + safezoneY;
w = 0.0743718 * safezoneW;
h = 0.027508 * safezoneH;
};
class RscTextTraderDialog_1004: RscTextTraderDialog
{
idc = -1;
text = $STR_EPOCH_PLAYER_294;
x = 0.290407 * safezoneW + safezoneX;
y = 0.623786 * safezoneH + safezoneY;
w = 0.0743718 * safezoneW;
h = 0.027508 * safezoneH;
};
class RscTextTraderDialog_1005: RscTextTraderDialog
{
idc = 12002;
text = "";
x = 0.290407 * safezoneW + safezoneX;
y = 0.582524 * safezoneH + safezoneY;
w = 0.114938 * safezoneW;
h = 0.027508 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscTextTraderDialog_1006: RscTextTraderDialog
{
idc = 12003;
text = "";
x = 0.290407 * safezoneW + safezoneX;
y = 0.651294 * safezoneH + safezoneY;
w = 0.114938 * safezoneW;
h = 0.027508 * safezoneH;
colorText[] = {1,1,1,1};
};
class RscShortcutButtonTraderDialog_1702: RscShortcutButtonTraderDialog
{
idc = -1;
text = $STR_EPOCH_PLAYER_283;
x = 0.290407 * safezoneW + safezoneX;
y = 0.720064 * safezoneH + safezoneY;
w = 0.0743718 * safezoneW;
h = 0.055016 * safezoneH;
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 9000);";
};
class RscText_1007: RscTextTraderDialog
{
idc = -1;
text = $STR_EPOCH_PLAYER_288;
x = 0.432389 * safezoneW + safezoneX;
y = 0.29369 * safezoneH + safezoneY;
w = 0.0743718 * safezoneW;
h = 0.027508 * safezoneH;
};
class RscStructuredText_1100: RscStructuredText
{
idc = 12006;
x = 0.359214 * safezoneW + safezoneX;
y = 0.227167 * safezoneH + safezoneY;
w = 0.369767 * safezoneW;
h = 0.0543546 * safezoneH;
};
};
};

View File

@@ -0,0 +1,656 @@
///////////////////////////////////////////////////////////////////////////
/// Styles
///////////////////////////////////////////////////////////////////////////
// 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_SHORTCUTBUTTON 16
#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_LISTNBOX 102
// 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 ST_TYPE 0xF0
#define ST_SINGLE 0x00
#define ST_MULTI 0x10
#define ST_TITLE_BAR 0x20
#define ST_PICTURE 0x30
#define ST_FRAME 0x40
#define ST_BACKGROUND 0x50
#define ST_GROUP_BOX 0x60
#define ST_GROUP_BOX2 0x70
#define ST_HUD_BACKGROUND 0x80
#define ST_TILE_PICTURE 0x90
#define ST_WITH_RECT 0xA0
#define ST_LINE 0xB0
#define ST_SHADOW 0x100
#define ST_NO_RECT 0x200
#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
// progress bar
#define ST_VERTICAL 0x01
#define ST_HORIZONTAL 0
// Listbox styles
#define LB_TEXTURES 0x10
#define LB_MULTI 0x20
// Tree styles
#define TR_SHOWROOT 1
#define TR_AUTOCOLLAPSE 2
// MessageBox styles
#define MB_BUTTON_OK 1
#define MB_BUTTON_CANCEL 2
#define MB_BUTTON_USER 4
///////////////////////////////////////////////////////////////////////////
/// Base Classes
///////////////////////////////////////////////////////////////////////////
class SafeKeyPad
{
idd = -1;
movingenable = 0;
class Controls
{
class SafeKeyPadPic: RscPicture
{
idc = -1;
text = "\z\addons\dayz_epoch\pictures\SafeKeyPad.paa";
x = 0.361701 * safezoneW + safezoneX;
y = 0.255985 * safezoneH + safezoneY;
w = 0.281637 * safezoneW;
h = 0.470087 * safezoneH;
};
class b1: RscButton
{
idc = -1;
x = 0.444897 * safezoneW + safezoneX;
y = 0.39423 * safezoneH + safezoneY;
w = 0.0283751 * safezoneW;
h = 0.0490667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.05;
text="1";
colorText[] = {0,0.6,1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
action = "dayz_combination = dayz_combination + str(1);";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_1.ogg",0.5,1};
};
class b4: RscButton
{
idc = -1;
x = 0.444897 * safezoneW + safezoneX;
y = 0.441239 * safezoneH + safezoneY;
w = 0.0283751 * safezoneW;
h = 0.0490667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.05;
text="4";
colorText[] = {0,0.6,1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
action = "dayz_combination = dayz_combination + str(4);";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_4.ogg",0.5,1};
};
class b7: RscButton
{
idc = -1;
x = 0.444897 * safezoneW + safezoneX;
y = 0.488248 * safezoneH + safezoneY;
w = 0.0283751 * safezoneW;
h = 0.0490667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.05;
text="7";
colorText[] = {0,0.6,1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
action = "dayz_combination = dayz_combination + str(7);";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_7.ogg",0.5,1};
};
class b2: RscButton
{
idc = -1;
x = 0.487755 * safezoneW + safezoneX;
y = 0.39423 * safezoneH + safezoneY;
w = 0.0283751 * safezoneW;
h = 0.0490667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.05;
text="2";
colorText[] = {0,0.6,1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
action = "dayz_combination = dayz_combination + str(2);";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_2.ogg",0.5,1};
};
class b8: RscButton
{
idc = -1;
x = 0.487755 * safezoneW + safezoneX;
y = 0.488248 * safezoneH + safezoneY;
w = 0.0283751 * safezoneW;
h = 0.0490667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.05;
text="8";
colorText[] = {0,0.6,1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
action = "dayz_combination = dayz_combination + str(8);";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_8.ogg",0.5,1};
};
class b5: RscButton
{
idc = -1;
x = 0.487755 * safezoneW + safezoneX;
y = 0.441239 * safezoneH + safezoneY;
w = 0.0283751 * safezoneW;
h = 0.0490667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.05;
text="5";
colorText[] = {0,0.6,1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
action = "dayz_combination = dayz_combination + str(5);";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_5.ogg",0.5,1};
};
class b3: RscButton
{
idc = -1;
x = 0.530613 * safezoneW + safezoneX;
y = 0.39423 * safezoneH + safezoneY;
w = 0.0283751 * safezoneW;
h = 0.0490667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.05;
text="3";
colorText[] = {0,0.6,1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
action = "dayz_combination = dayz_combination + str(3);";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_3.ogg",0.5,1};
};
class b6: RscButton
{
idc = -1;
x = 0.530613 * safezoneW + safezoneX;
y = 0.441239 * safezoneH + safezoneY;
w = 0.0283751 * safezoneW;
h = 0.0490667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.05;
text="6";
colorText[] = {0,0.6,1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
action = "dayz_combination = dayz_combination + str(6);";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_6.ogg",0.5,1};
};
class b9: RscButton
{
idc = -1;
x = 0.530613 * safezoneW + safezoneX;
y = 0.488248 * safezoneH + safezoneY;
w = 0.0283751 * safezoneW;
h = 0.0490667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.05;
text="9";
colorText[] = {0,0.6,1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
action = "dayz_combination = dayz_combination + str(9);";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_9.ogg",0.5,1};
};
class b0: RscButton
{
idc = -1;
x = 0.487755 * safezoneW + safezoneX;
y = 0.535257 * safezoneH + safezoneY;
w = 0.0283751 * safezoneW;
h = 0.0490667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.05;
text="0";
colorText[] = {0,0.6,1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
action = "dayz_combination = dayz_combination + str(0);";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_9.ogg",0.5,1};
};
class bcancel: RscButton
{
idc = -1;
x = 0.444897 * safezoneW + safezoneX;
y = 0.545257 * safezoneH + safezoneY;
w = 0.0263751 * safezoneW;
h = 0.0440667 * safezoneH;
font = "Zeppelin33";
sizeEx=0.1;
text="*";
colorText[] = {1,0.1,0.1,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
soundClick[] = {"\dayz_sfx\action\cell\dtmf_star.ogg",0.6,1};
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 3000);";
};
class benter: RscButton
{
idc = -1;
x = 0.530613 * safezoneW + safezoneX;
y = 0.535257 * safezoneH + safezoneY;
w = 0.0263751 * safezoneW;
h = 0.0440667 * safezoneH;
font = "Zeppelin33Italic";
sizeEx=0.1;
text="#";
colorText[] = {0,1,0,1};
colorBackground[] = {0,0,0,0};
colorBackgroundActive[] = {0,0,0,0};
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 3000); if(!isNull dayz_selectedVault and (typeOf dayz_selectedVault) in DZE_LockedStorage) then {dayz_selectedVault spawn player_unlockVault;};";
soundClick[] = {"\dayz_sfx\action\cell\dtmf_hash.ogg",0.6,1};
};
};
};
// SafeKeyPadTest
class ComboLockUI
{
idd = 41144;
movingenable = 0;
class Controls
{
class ComboLockUIPic: RscPicture
{
idc = -1;
text = "\z\addons\dayz_epoch\ui\combo_gui.paa";
x = 0;
y = 0;
w = 1;
h = 1;
};
class top_combo: RscPicture
{
idc = 17734;
text = "\z\addons\dayz_epoch\ui\top_0.paa";
x = 0.418883;
y = 0.234042;
w = 0.388564;
h = 0.161072;
};
class middle_combo: RscPicture
{
idc = 17735;
text = "\z\addons\dayz_epoch\ui\mid_0.paa";
x = 0.420213;
y = 0.431049;
w = 0.387234;
h = 0.161072;
};
class bottom_combo: RscPicture
{
idc = 17736;
text = "\z\addons\dayz_epoch\ui\bot_0.paa";
x = 0.420212;
y = 0.616233;
w = 0.387234;
h = 0.180772;
};
class unlock_combo: RscPicture
{
idc = 17737;
text = "\z\addons\dayz_epoch\ui\unlock_a.paa";
x = 0.219415;
y = 0.762017;
w = 0.199734;
h = 0.208353;
};
class exit_combo: RscPicture
{
idc = 17738;
text = "\z\addons\dayz_epoch\ui\exit_a.paa";
x = 0.863032;
y = 0.0252169;
w = 0.0946809;
h = 0.0724192;
};
class main_combo: RscButton
{
idc = -1;
text = "";
style = "0x02 + 0x100";
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};
soundClick[] = {"",0.6,1};
};
class top_left: main_combo
{
idc = -1;
x = 0.43484;
y = 0.243893;
w = 0.1625;
h = 0.135461;
onButtonClick = "[17734,1,""top""] call player_changeCombo";
};
class top_right: main_combo
{
idc = -1;
x = 0.660904;
y = 0.241923;
w = 0.147872;
h = 0.135461;
onButtonClick = "[17734,0,""top""] call player_changeCombo";
};
class mid_left: main_combo
{
idc = -1;
x = 0.43484;
y = 0.433018;
w = 0.1625;
h = 0.135461;
onButtonClick = "[17735,1,""mid""] call player_changeCombo";
};
class mid_right: main_combo
{
idc = -1;
x = 0.659574;
y = 0.427108;
w = 0.153191;
h = 0.135461;
onButtonClick = "[17735,0,""mid""] call player_changeCombo";
};
class bottom_left: main_combo
{
idc = -1;
x = 0.4375;
y = 0.637904;
w = 0.1625;
h = 0.135461;
onButtonClick = "[17736,1,""bot""] call player_changeCombo";
};
class bottom_right: main_combo
{
idc = -1;
x = 0.658245;
y = 0.633964;
w = 0.155851;
h = 0.133491;
onButtonClick = "[17736,0,""bot""] call player_changeCombo";
};
class exit_combo_btn: main_combo
{
idc = -1;
x = 0.827128;
y = 0.0153665;
w = 0.158511;
h = 0.153191;
onButtonClick = "((ctrlParent (_this select 0)) closeDisplay 3000);";
};
class unlock_combo_btn: main_combo
{
idc = -1;
x = 0.218085;
y = 0.762017;
w = 0.201064;
h = 0.233964;
onButtonClick = "call player_unlockDoor";
};
};
};
class KeypadUI
{
idd = -1;
movingenable = 0;
class Controls
{
class KeypadUIPic: RscPicture
{
idc = -1;
text = "\z\addons\dayz_epoch\ui\lockbox_gui.paa";
x = 0.0492023;
y = 0.00788009;
w = 0.902925;
h = 0.98818;
};
class main_button: RscButton
{
idc = -1;
text = "";
style = "0x02 + 0x100";
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.1};
colorShadow[] = {1,1,1,0};
colorFocused[] = {1,1,1,0.1};
soundClick[] = {"",0.6,1};
};
class red_button: main_button
{
idc = -1;
x = 0.171543;
y = 0.115839;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(100);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class green_button: main_button
{
idc = -1;
x = 0.343085;
y = 0.115839;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(101);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class blue_button: main_button
{
idc = -1;
x = 0.514628;
y = 0.115839;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(102);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class keypad_1: main_button
{
idc = -1;
x = 0.174202;
y = 0.308905;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(1);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class keypad_2: main_button
{
idc = -1;
x = 0.344415;
y = 0.310875;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(2);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class keypad_3: main_button
{
idc = -1;
x = 0.515957;
y = 0.312845;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(3);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class keypad_4: main_button
{
idc = -1;
x = 0.178192;
y = 0.50788;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(4);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class keypad_5: main_button
{
idc = -1;
x = 0.344415;
y = 0.50788;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(5);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class keypad_6: main_button
{
idc = -1;
x = 0.517287;
y = 0.50985;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(6);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class keypad_7: main_button
{
idc = -1;
x = 0.179521;
y = 0.700946;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(7);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class keypad_8: main_button
{
idc = -1;
x = 0.344415;
y = 0.700946;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(8);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class keypad_9: main_button
{
idc = -1;
x = 0.518617;
y = 0.704886;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(9);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class keypad_0: main_button
{
idc = -1;
x = 0.692819;
y = 0.704886;
w = 0.126596;
h = 0.153191;
action = "dayz_combination = dayz_combination + str(0);";
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak";
};
class kpbcancel: main_button
{
idc = -1;
x = 0.68617;
y = 0.312845;
w = 0.126596;
h = 0.153191;
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak;((ctrlParent (_this select 0)) closeDisplay 3000);";
};
class kpbcancel2: main_button
{
idc = -1;
x = 0.69016;
y = 0.50985;
w = 0.126596;
h = 0.153191;
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak;((ctrlParent (_this select 0)) closeDisplay 3000);";
};
class kpbenter: main_button
{
idc = -1;
x = 0.6875;
y = 0.121749;
w = 0.126596;
h = 0.153191;
onButtonClick = "[player,""keypad_tick"",0,false] call dayz_zombieSpeak;((ctrlParent (_this select 0)) closeDisplay 3000); if(!isNull dayz_selectedVault) then {dayz_selectedVault spawn player_unlockVault;};";
};
};
};