mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-23 04:22:13 +03:00
1.0.1.94 DEV BUILD
This commit is contained in:
@@ -787,6 +787,17 @@ class CfgMagazines {
|
||||
model = "\dayz_equip\models\fueltank.p3d";
|
||||
picture = "\dayz_equip\textures\equip_fueltank_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_DESC_8";
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
{
|
||||
text = "Salvage Scrap";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"PartGeneric",1}};
|
||||
input[] = {{"PartFueltank",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class PartWheel: CA_Magazine
|
||||
{
|
||||
@@ -1722,6 +1733,37 @@ class CfgMagazines {
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
descriptionShort = "Wood stairs";
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "$STR_ACTIONS_BUILD";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodStairsSans_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Stair Supports";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodStairsSupports",1}};
|
||||
input[] = {{"ItemWoodStairs",1},{"PartWoodLumber",2}};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodStairsSupport: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Wood Stairs w/ supports";
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
descriptionShort = "Wood stairs with supports";
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
@@ -2155,6 +2197,17 @@ class CfgMagazines {
|
||||
model = "\dayz_equip\models\engine.p3d";
|
||||
picture = "\dayz_equip\textures\equip_engine_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_DESC_11";
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
{
|
||||
text = "Salvage Scrap";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"PartGeneric",2}};
|
||||
input[] = {{"PartEngine",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class PartWoodPile: CA_Magazine
|
||||
{
|
||||
@@ -2255,6 +2308,17 @@ class CfgMagazines {
|
||||
input[] = {{"bulk_empty",1},{"PartWoodLumber",8}};
|
||||
|
||||
};
|
||||
class Crafting4
|
||||
{
|
||||
text = "Craft Wood Ladder";
|
||||
script = "spawn player_craftItem4;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodLadder",1}};
|
||||
input[] = {{"bulk_empty",1},{"PartWoodLumber",8}};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
class PartWoodPlywood: CA_Magazine
|
||||
@@ -3434,8 +3498,8 @@ class CfgMagazines {
|
||||
scope = public;
|
||||
count = 1;
|
||||
bloodRegen = 100;
|
||||
displayName = "Pumkin";
|
||||
descriptionShort = "Pumkin";
|
||||
displayName = "Pumpkin";
|
||||
descriptionShort = "Pumpkin";
|
||||
model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa";
|
||||
};
|
||||
|
||||
@@ -122,6 +122,8 @@ class Land_DZE_WoodDoorLocked_Base: DZE_Housebase {
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
lockable = 3;
|
||||
};
|
||||
|
||||
/* Same name as stated in the Class DestructionEffects, but an "Land_" added infront*/
|
||||
@@ -204,16 +206,23 @@ class Land_DZE_WoodDoorLocked: Land_DZE_WoodDoorLocked_Base {
|
||||
{
|
||||
displayName="Lock Door";
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['characterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="this animate [""Open_hinge"", 0]";
|
||||
};
|
||||
class Unlock_Door : Open_Door
|
||||
{
|
||||
displayName="Unlock Door";
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['characterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
statement="this animate [""Open_hinge"", 1]";
|
||||
};
|
||||
class Unlock_Door_Dialog : Open_Door
|
||||
{
|
||||
displayName="Unlock Door";
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="DZE_Lock_Door != (this getvariable['CharacterID','0'])";
|
||||
statement="dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;createdialog ""ComboLockUI""";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName="Close Door";
|
||||
@@ -296,16 +305,23 @@ class Land_DZE_LargeWoodDoorLocked: Land_DZE_WoodDoorLocked_Base {
|
||||
{
|
||||
displayName="Lock Door";
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['characterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="this animate [""Open_hinge"", 0]";
|
||||
};
|
||||
class Unlock_Door : Open_Door
|
||||
{
|
||||
displayName="Unlock Door";
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['characterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
statement="this animate [""Open_hinge"", 1]";
|
||||
};
|
||||
class Unlock_Door_Dialog : Open_Door
|
||||
{
|
||||
displayName="Unlock Door";
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="DZE_Lock_Door != (this getvariable['CharacterID','0'])";
|
||||
statement="dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;createdialog ""ComboLockUI""";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName="Close Door";
|
||||
@@ -388,16 +404,23 @@ class Land_DZE_GarageWoodDoorLocked: Land_DZE_WoodDoorLocked_Base {
|
||||
{
|
||||
displayName="Lock Door";
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['characterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="this animate [""Open_hinge"", 0]";
|
||||
};
|
||||
class Unlock_Door : Open_Door
|
||||
{
|
||||
displayName="Unlock Door";
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['characterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
statement="this animate [""Open_hinge"", 1]";
|
||||
};
|
||||
class Unlock_Door_Dialog : Open_Door
|
||||
{
|
||||
displayName="Unlock Door";
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="DZE_Lock_Door != (this getvariable['CharacterID','0'])";
|
||||
statement="dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;createdialog ""ComboLockUI""";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName="Close Door";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
class MeleeFlashlight : Pistol {
|
||||
class ItemActions {
|
||||
class Toolbelt {
|
||||
text = $STR_ACTIONS_2TB;
|
||||
text = "Add to toolbelt";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -9,7 +9,7 @@ class MeleeFlashlight : Pistol {
|
||||
class ItemFlashlight : ItemCore {
|
||||
class ItemActions {
|
||||
class Toolbelt {
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
text = "Remove from toolbelt";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -17,7 +17,7 @@ class MeleeFlashlight : Pistol {
|
||||
class MeleeFlashlightRed : MeleeFlashlight {
|
||||
class ItemActions {
|
||||
class Toolbelt {
|
||||
text = $STR_ACTIONS_2TB;
|
||||
text = "Add to toolbelt";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -25,7 +25,7 @@ class MeleeFlashlight : Pistol {
|
||||
class ItemFlashlightRed : ItemCore {
|
||||
class ItemActions {
|
||||
class Toolbelt {
|
||||
text = $STR_ACTIONS_RFROMTB;
|
||||
text = "Remove from toolbelt";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -9,7 +9,7 @@ class ItemCrowbar: ItemCore
|
||||
{
|
||||
class Toolbelt
|
||||
{
|
||||
text=$STR_ACTIONS_RFROMTB;
|
||||
text = "Remove from toolbelt";
|
||||
script="spawn player_addToolbelt;";
|
||||
use[]=
|
||||
{
|
||||
|
||||
@@ -55,6 +55,48 @@ class CfgLoot {
|
||||
0.01
|
||||
}
|
||||
};
|
||||
office2[] = {
|
||||
{
|
||||
"FoodCanUnlabeled",
|
||||
"TrashJackDaniels",
|
||||
"ItemSodaEmpty",
|
||||
"ItemSodaCoke",
|
||||
"ItemSodaPepsi",
|
||||
"FoodCanBakedBeans",
|
||||
"FoodCanSardines",
|
||||
"FoodCanFrankBeans",
|
||||
"FoodCanPasta",
|
||||
"8Rnd_9x18_Makarov",
|
||||
"7Rnd_45ACP_1911",
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"ItemBandage",
|
||||
"ItemPainkiller",
|
||||
"FoodBioMeat",
|
||||
"8Rnd_9x18_MakarovSD",
|
||||
"ItemBriefcaseEmpty"
|
||||
},
|
||||
{
|
||||
0.07,
|
||||
0.09,
|
||||
0.09,
|
||||
0.09,
|
||||
0.09,
|
||||
0.05,
|
||||
0.05,
|
||||
0.05,
|
||||
0.05,
|
||||
0.07,
|
||||
0.05,
|
||||
0.05,
|
||||
0.05,
|
||||
0.06,
|
||||
0.06,
|
||||
0.01,
|
||||
0.01,
|
||||
0.01
|
||||
}
|
||||
};
|
||||
food[] = {
|
||||
{
|
||||
//trash
|
||||
@@ -89,6 +131,68 @@ class CfgLoot {
|
||||
0.04
|
||||
}
|
||||
};
|
||||
office[] = {
|
||||
{
|
||||
"FoodCanUnlabeled",
|
||||
"ItemSodaEmpty",
|
||||
"ItemSodaCoke",
|
||||
"ItemSodaPepsi",
|
||||
"TrashJackDaniels",
|
||||
"FoodCanBakedBeans",
|
||||
"FoodCanSardines",
|
||||
"FoodCanFrankBeans",
|
||||
"FoodCanPasta",
|
||||
"ItemWaterbottleUnfilled",
|
||||
"ItemWaterbottle",
|
||||
"ItemBandage",
|
||||
"7Rnd_45ACP_1911",
|
||||
"5x_22_LR_17_HMR",
|
||||
"10x_303",
|
||||
"6Rnd_45ACP",
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"8Rnd_9x18_Makarov",
|
||||
"15Rnd_W1866_Slug",
|
||||
"WoodenArrow",
|
||||
"HandRoadFlare",
|
||||
"ItemPainkiller",
|
||||
"HandChemGreen",
|
||||
"HandChemBlue",
|
||||
"HandChemRed",
|
||||
"ItemHeatPack",
|
||||
"ItemLockbox"
|
||||
},
|
||||
{
|
||||
0.06,
|
||||
0.06,
|
||||
0.06,
|
||||
0.04,
|
||||
0.04,
|
||||
0.01,
|
||||
0.01,
|
||||
0.01,
|
||||
0.01,
|
||||
0.01,
|
||||
0.01,
|
||||
0.11,
|
||||
0.03,
|
||||
0.01,
|
||||
0.04,
|
||||
0.04,
|
||||
0.05,
|
||||
0.05,
|
||||
0.09,
|
||||
0.02,
|
||||
0.04,
|
||||
0.07,
|
||||
0.02,
|
||||
0.01,
|
||||
0.03,
|
||||
0.03,
|
||||
0.03,
|
||||
0.01
|
||||
}
|
||||
};
|
||||
generic[] = {
|
||||
{
|
||||
"FoodCanUnlabeled",
|
||||
@@ -331,12 +435,13 @@ class CfgLoot {
|
||||
"ItemPainkiller",
|
||||
"ItemWire",
|
||||
"ItemTankTrap",
|
||||
"ItemComboLock",
|
||||
},
|
||||
{
|
||||
0.14,
|
||||
0.12,
|
||||
0.09,
|
||||
0.12,
|
||||
0.11,
|
||||
0.09,
|
||||
0.06,
|
||||
0.06,
|
||||
@@ -345,6 +450,7 @@ class CfgLoot {
|
||||
0.12,
|
||||
0.06,
|
||||
0.01,
|
||||
0.01,
|
||||
0.01
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1645,7 +1645,7 @@ class CfgVehicles {
|
||||
destrType = "DestructTree";
|
||||
cost = 100;
|
||||
offset[] = {0,1.5,0};
|
||||
model="\z\addons\dayz_epoch\models\largel_wall_doorA.p3d";
|
||||
model="\z\addons\dayz_epoch\models\large_wall_door.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 200;
|
||||
@@ -1728,7 +1728,7 @@ class CfgVehicles {
|
||||
destrType = "DestructTree";
|
||||
cost = 100;
|
||||
offset[] = {0,1.5,0};
|
||||
model="\z\addons\dayz_epoch\models\small_wall_doorA.p3d";
|
||||
model="\z\addons\dayz_epoch\models\small_wall_door.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 200;
|
||||
@@ -1786,6 +1786,7 @@ class CfgVehicles {
|
||||
displayName = "Wood Stairs Sans";
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"WoodStairs_DZ",{{"PartWoodLumber",2}}};
|
||||
constructioncount = 1;
|
||||
GhostPreview = "WoodStairsSans_Preview_DZ";
|
||||
};
|
||||
@@ -1875,7 +1876,7 @@ class CfgVehicles {
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
offset[] = {0,1.5,0};
|
||||
model="\z\addons\dayz_epoch\models\small_wall_doorA_ghost.p3d";
|
||||
model="\z\addons\dayz_epoch\models\small_wall_door_ghost.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 1000;
|
||||
@@ -1901,7 +1902,7 @@ class CfgVehicles {
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
offset[] = {0,1.5,0};
|
||||
model="\z\addons\dayz_epoch\models\large_wall_doorA_ghost.p3d";
|
||||
model="\z\addons\dayz_epoch\models\large_wall_door_ghost.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 1000;
|
||||
@@ -2402,7 +2403,7 @@ class CfgVehicles {
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
offset[] = {0,1.5,0.5};
|
||||
lockable = 1;
|
||||
lockable = 4;
|
||||
unlockedClass = "VaultStorage";
|
||||
};
|
||||
|
||||
@@ -2417,7 +2418,7 @@ class CfgVehicles {
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
offset[] = {0,1.5,0.5};
|
||||
lockable = 1;
|
||||
lockable = 3;
|
||||
unlockedClass = "LockboxStorage";
|
||||
|
||||
};
|
||||
|
||||
@@ -149,7 +149,7 @@ class RscDisplayMain : RscStandardDisplay
|
||||
class DAYZ_Version : CA_Version
|
||||
{
|
||||
idc = -1;
|
||||
text = "DayZ Epoch 1.0.1.8";
|
||||
text = "DayZ Epoch 1.0.1.94";
|
||||
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
|
||||
};
|
||||
delete CA_TitleMainMenu;
|
||||
|
||||
@@ -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