From e308e5e223ccaf95e0be877372626eb60631960b Mon Sep 17 00:00:00 2001 From: AirwavesMan Date: Mon, 11 Jan 2021 12:34:52 +0100 Subject: [PATCH] Update position from Door_knopf to action --- .../Configs/CfgVehicles/Buildables/Doors.hpp | 46 +++++++++---------- .../Buildables/ModularBuildCinder.hpp | 8 ++-- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp b/SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp index 4fd1036ea..f1b36f2af 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp @@ -208,7 +208,7 @@ class Land_DZE_WoodDoor: Land_DZE_WoodDoor_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""Open_door"" < 0.5"; statement = "this animate [""Open_door"", 1]"; @@ -248,7 +248,7 @@ class Land_DZE_WoodDoorLocked: Land_DZE_WoodDoorLocked_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)"; statement = "this animate [""Open_door"", 1]"; @@ -300,7 +300,7 @@ class Land_DZE_LargeWoodDoor: Land_DZE_WoodDoor_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""Open_door"" < 0.5"; statement = "this animate [""Open_door"", 1]"; @@ -339,7 +339,7 @@ class Land_DZE_LargeWoodDoorLocked: Land_DZE_WoodDoorLocked_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)"; statement = "this animate [""Open_door"", 1]"; @@ -392,7 +392,7 @@ class Land_DZE_GarageWoodDoor: Land_DZE_WoodDoor_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""Open_door"" < 0.5"; statement = "this animate [""Open_door"", 1]"; @@ -432,7 +432,7 @@ class Land_DZE_GarageWoodDoorLocked: Land_DZE_WoodDoorLocked_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)"; statement = "this animate [""Open_door"", 1]"; @@ -492,7 +492,7 @@ class Land_DZE_WoodGate: Land_DZE_WoodDoor_Base { { displayName = $STR_BLD_ACTIONS_OPEN_GATE; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""Open_door"" < 0.5"; statement = "this animate [""Open_door"", 1];this animate [""Open_doorR"", 1];"; @@ -540,7 +540,7 @@ class Land_DZE_WoodGateLocked: Land_DZE_WoodDoorLocked_Base { { displayName = $STR_BLD_ACTIONS_OPEN_GATE; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)"; statement = "this animate [""Open_door"", 1];this animate [""Open_doorR"", 1];"; @@ -599,7 +599,7 @@ class Land_DZE_WoodOpenTopGarageDoor: Land_DZE_WoodDoor_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""doorl"" < 0.5"; statement = "this animate [""doorl"", 1];this animate [""doorR"", 1];"; @@ -646,7 +646,7 @@ class Land_DZE_WoodOpenTopGarageLocked: Land_DZE_WoodDoorLocked_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""doorl"" == 0) and (this animationPhase ""Open_latch"" == 1)"; statement = "this animate [""doorl"", 1];this animate [""doorR"", 1];"; @@ -704,7 +704,7 @@ class CinderWallDoorLocked_DZ: CinderWallDoorLocked_DZ_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)"; statement = "this animate [""Open_door"", 1]"; @@ -757,7 +757,7 @@ class CinderWallDoor_DZ: CinderWallDoor_DZ_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""Open_door"" < 0.5"; statement = "this animate [""Open_door"", 1]"; @@ -797,7 +797,7 @@ class CinderWallDoorSmallLocked_DZ: CinderWallDoorLocked_DZ_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)"; statement = "this animate [""Open_door"", 1]"; @@ -850,7 +850,7 @@ class CinderWallDoorSmall_DZ: CinderWallDoor_DZ_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""Open_door"" < 0.5"; statement = "this animate [""Open_door"", 1]"; @@ -892,7 +892,7 @@ class CinderGate_DZ: CinderWallDoor_DZ_Base { { displayName = $STR_BLD_ACTIONS_OPEN_GATE; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""Open_door"" < 0.5"; statement = "this animate [""Open_door"", 1];this animate [""Open_doorR"", 1];"; @@ -940,7 +940,7 @@ class CinderGateLocked_DZ: CinderWallDoorLocked_DZ_Base { { displayName = $STR_BLD_ACTIONS_OPEN_GATE; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)"; statement = "this animate [""Open_door"", 1];this animate [""Open_doorR"", 1];"; @@ -999,7 +999,7 @@ class CinderGarageOpenTop_DZ: CinderWallDoor_DZ_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""doorl"" < 0.5"; statement = "this animate [""doorl"", 1];this animate [""doorR"", 1];"; @@ -1046,7 +1046,7 @@ class CinderGarageOpenTopLocked_DZ: CinderWallDoorLocked_DZ_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""doorl"" == 0) and (this animationPhase ""Open_latch"" == 1)"; statement = "this animate [""doorl"", 1];this animate [""doorR"", 1];"; @@ -1080,7 +1080,7 @@ class CinderGarageOpenTopLocked_DZ: CinderWallDoorLocked_DZ_Base { class CinderDoorHatch_DZ: CinderWallDoor_DZ_Base { scope = 2; - model = "\z\addons\dayz_epoch_v\base_building\cinder\cinder_door_window\cinderdoor_hatch.p3d"; + model = "\z\addons\dayz_epoch_v\base_building\cinder\cinder_door_window\cinder_door_hatch.p3d"; displayName = $STR_EPOCH_BLOCKDOOR_HATCH; GhostPreview = "CinderDoorHatch_Preview_DZ"; upgradeBuilding[] = {"CinderDoorHatchLocked_DZ",{},{{"ItemComboLock",1}}}; @@ -1105,7 +1105,7 @@ class CinderDoorHatch_DZ: CinderWallDoor_DZ_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""Open_door"" < 0.5"; statement = "this animate [""Open_door"", 1];this animate [""Open_doorR"", 1];"; @@ -1152,7 +1152,7 @@ class CinderDoorHatchLocked_DZ: CinderWallDoorLocked_DZ_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)"; statement = "this animate [""Open_door"", 1];this animate [""Open_doorR"", 1];"; @@ -1206,7 +1206,7 @@ class Door_DZ: CinderWallDoor_DZ_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""Open_door"" < 0.5"; statement = "this animate [""Open_door"", 1]"; @@ -1248,7 +1248,7 @@ class DoorLocked_DZ: CinderWallDoorLocked_DZ_Base { { displayName = $STR_DN_OUT_O_DOOR; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)"; statement = "this animate [""Open_door"", 1]"; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Buildables/ModularBuildCinder.hpp b/SQF/dayz_code/Configs/CfgVehicles/Buildables/ModularBuildCinder.hpp index 6a295d233..9ec9d45d2 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Buildables/ModularBuildCinder.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Buildables/ModularBuildCinder.hpp @@ -90,7 +90,7 @@ class CinderWallWindow_DZ: ModularItems { { displayName = $STR_BLD_ACTIONS_OPEN_WINDOW; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "this animationPhase ""Open_door"" < 0.5"; statement = "this animate [""Open_door"", 1];this animate [""Open_doorR"", 1];"; @@ -150,7 +150,7 @@ class CinderWallWindowLocked_DZ: CinderWallDoorLocked_DZ_Base { { displayName = $STR_BLD_ACTIONS_OPEN_WINDOW; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)"; statement = "this animate [""Open_door"", 1];this animate [""Open_doorR"", 1];"; @@ -296,7 +296,7 @@ class Concrete_Bunker_DZ: CinderWallDoor_DZ_Base { { displayName = $STR_BLD_ACTIONS_OPEN_BUNKER; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""raise_all"" < 0.5)"; statement = "this animate [""raise_all"", 1];this animate [""rollers"", 1];"; @@ -343,7 +343,7 @@ class Concrete_Bunker_Locked_DZ: CinderWallDoorLocked_DZ_Base { { displayName = $STR_BLD_ACTIONS_OPEN_BUNKER; onlyforplayer = true; - position = "Door_knopf"; + position = "action"; radius = 3; condition = "(this animationPhase ""raise_all"" == 0) and (this animationPhase ""Open_latch"" == 1)"; statement = "this animate [""raise_all"", 1];";