mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-20 23:20:50 +03:00
1.0.1.94 DEV BUILD
This commit is contained in:
@@ -302,8 +302,355 @@ class SafeKeyPad
|
||||
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) == ""VaultStorageLocked"") then {dayz_selectedVault spawn player_unlockVault;};";
|
||||
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,0,""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,1,""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,0,""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,1,""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,0,""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,1,""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 and (typeOf dayz_selectedVault) in DZE_LockedStorage) then {dayz_selectedVault spawn player_unlockVault;};";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user