mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add DayZ Mod fences and gates
Epoch has its own DayZ Mod fence versions now. The old fences can still be used. The new fences have a full upgrade and snap support. all gates work with the door management too.
This commit is contained in:
@@ -15,7 +15,38 @@ class SnapBuilding {
|
||||
"WoodFloorQuarter_DZ",
|
||||
"WoodFloorHalf_DZ",
|
||||
"WoodFloor_DZ",
|
||||
"MetalFloor_DZ"
|
||||
"MetalFloor_DZ",
|
||||
"WoodenFence_1_frame_DZ",
|
||||
"WoodenFence_1_foundation_DZ",
|
||||
"WoodenFence_quaterpanel_DZ",
|
||||
"WoodenFence_halfpanel_DZ",
|
||||
"WoodenFence_thirdpanel_DZ",
|
||||
"WoodenFence_1_DZ",
|
||||
"WoodenFence_2_DZ",
|
||||
"WoodenFence_3_DZ",
|
||||
"WoodenFence_4_DZ",
|
||||
"WoodenFence_5_DZ",
|
||||
"WoodenFence_6_DZ",
|
||||
"WoodenFence_7_DZ",
|
||||
"MetalFence_1_foundation_DZ",
|
||||
"MetalFence_1_frame_DZ",
|
||||
"MetalFence_halfpanel_DZ",
|
||||
"MetalFence_thirdpanel_DZ",
|
||||
"MetalFence_1_DZ",
|
||||
"MetalFence_2_DZ",
|
||||
"MetalFence_3_DZ",
|
||||
"MetalFence_4_DZ",
|
||||
"MetalFence_5_DZ",
|
||||
"MetalFence_6_DZ",
|
||||
"MetalFence_7_DZ",
|
||||
"WoodenGate_foundation_DZ",
|
||||
"WoodenGate_1_DZ",
|
||||
"WoodenGate_2_DZ",
|
||||
"WoodenGate_3_DZ",
|
||||
"WoodenGate_4_DZ",
|
||||
"MetalFence_ghost_DZ",
|
||||
"WoodenFence_ghost_DZ",
|
||||
"WoodenGate_ghost_DZ"
|
||||
};
|
||||
radius = 5;
|
||||
};
|
||||
@@ -123,7 +154,38 @@ class SnapBuilding {
|
||||
"CinderWallDoorSmallLocked_DZ",
|
||||
"CinderWallHalf_DZ",
|
||||
"CinderWallDoorSmall_DZ",
|
||||
"MetalFloor_DZ"
|
||||
"MetalFloor_DZ",
|
||||
"WoodenFence_1_frame_DZ",
|
||||
"WoodenFence_1_foundation_DZ",
|
||||
"WoodenFence_quaterpanel_DZ",
|
||||
"WoodenFence_halfpanel_DZ",
|
||||
"WoodenFence_thirdpanel_DZ",
|
||||
"WoodenFence_1_DZ",
|
||||
"WoodenFence_2_DZ",
|
||||
"WoodenFence_3_DZ",
|
||||
"WoodenFence_4_DZ",
|
||||
"WoodenFence_5_DZ",
|
||||
"WoodenFence_6_DZ",
|
||||
"WoodenFence_7_DZ",
|
||||
"MetalFence_1_foundation_DZ",
|
||||
"MetalFence_1_frame_DZ",
|
||||
"MetalFence_halfpanel_DZ",
|
||||
"MetalFence_thirdpanel_DZ",
|
||||
"MetalFence_1_DZ",
|
||||
"MetalFence_2_DZ",
|
||||
"MetalFence_3_DZ",
|
||||
"MetalFence_4_DZ",
|
||||
"MetalFence_5_DZ",
|
||||
"MetalFence_6_DZ",
|
||||
"MetalFence_7_DZ",
|
||||
"WoodenGate_foundation_DZ",
|
||||
"WoodenGate_1_DZ",
|
||||
"WoodenGate_2_DZ",
|
||||
"WoodenGate_3_DZ",
|
||||
"WoodenGate_4_DZ",
|
||||
"MetalFence_ghost_DZ",
|
||||
"WoodenFence_ghost_DZ",
|
||||
"WoodenGate_ghost_DZ"
|
||||
};
|
||||
radius = 7;
|
||||
};
|
||||
@@ -404,4 +466,379 @@ class SnapBuilding {
|
||||
|
||||
};
|
||||
class VaultStorage: VaultStorageLocked {};
|
||||
|
||||
class Woodenfence {
|
||||
snapTo[] = {
|
||||
"WoodFloorQuarter_DZ",
|
||||
"WoodFloorHalf_DZ",
|
||||
"WoodFloor_DZ",
|
||||
"WoodStairs_DZ",
|
||||
"WoodStairsSans_DZ",
|
||||
"WoodSmallWallDoor_DZ",
|
||||
"WoodSmallWall_DZ",
|
||||
"WoodSmallWallWin_DZ",
|
||||
"Land_DZE_WoodDoor",
|
||||
"Land_DZE_WoodDoorLocked",
|
||||
"WoodLargeWall_DZ",
|
||||
"Land_DZE_LargeWoodDoor",
|
||||
"WoodLargeWallWin_DZ",
|
||||
"WoodLargeWallDoor_DZ",
|
||||
"Land_DZE_GarageWoodDoor",
|
||||
"Land_DZE_GarageWoodDoorLocked",
|
||||
"Land_DZE_LargeWoodDoorLocked",
|
||||
"WoodSmallWallThird_DZ",
|
||||
"CinderWall_DZ",
|
||||
"CinderWallDoorway_DZ",
|
||||
"CinderWallDoorLocked_DZ",
|
||||
"CinderWallDoor_DZ",
|
||||
"CinderWallSmallDoorway_DZ",
|
||||
"CinderWallDoorSmallLocked_DZ",
|
||||
"CinderWallHalf_DZ",
|
||||
"CinderWallDoorSmall_DZ",
|
||||
"MetalFloor_DZ",
|
||||
"WoodenFence_1_frame_DZ",
|
||||
"WoodenFence_1_foundation_DZ",
|
||||
"WoodenFence_quaterpanel_DZ",
|
||||
"WoodenFence_halfpanel_DZ",
|
||||
"WoodenFence_thirdpanel_DZ",
|
||||
"WoodenFence_1_DZ",
|
||||
"WoodenFence_2_DZ",
|
||||
"WoodenFence_3_DZ",
|
||||
"WoodenFence_4_DZ",
|
||||
"WoodenFence_5_DZ",
|
||||
"WoodenFence_6_DZ",
|
||||
"WoodenFence_7_DZ",
|
||||
"MetalFence_1_foundation_DZ",
|
||||
"MetalFence_1_frame_DZ",
|
||||
"MetalFence_halfpanel_DZ",
|
||||
"MetalFence_thirdpanel_DZ",
|
||||
"MetalFence_1_DZ",
|
||||
"MetalFence_2_DZ",
|
||||
"MetalFence_3_DZ",
|
||||
"MetalFence_4_DZ",
|
||||
"MetalFence_5_DZ",
|
||||
"MetalFence_6_DZ",
|
||||
"MetalFence_7_DZ",
|
||||
"WoodenGate_foundation_DZ",
|
||||
"WoodenGate_1_DZ",
|
||||
"WoodenGate_2_DZ",
|
||||
"WoodenGate_3_DZ",
|
||||
"WoodenGate_4_DZ",
|
||||
"MetalFence_ghost_DZ",
|
||||
"WoodenFence_ghost_DZ",
|
||||
"WoodenGate_ghost_DZ"
|
||||
};
|
||||
radius = 10;
|
||||
};
|
||||
class WoodenFence_1_foundation_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_1_frame_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_quaterpanel_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_halfpanel_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_thirdpanel_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_1_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_2_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 2.68042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_3_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 2.68042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_4_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_5_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_6_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_7_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenFence_ghost_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenGate_foundation_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 2.68042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenGate_1_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 2.68042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenGate_2_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 2.68042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenGate_3_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 2.68042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenGate_4_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class WoodenGate_ghost_DZ: Woodenfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, -0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, -0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 2.6,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class Metalfence {
|
||||
snapTo[] = {
|
||||
"WoodFloorQuarter_DZ",
|
||||
"WoodFloorHalf_DZ",
|
||||
"WoodFloor_DZ",
|
||||
"WoodStairs_DZ",
|
||||
"WoodStairsSans_DZ",
|
||||
"WoodSmallWallDoor_DZ",
|
||||
"WoodSmallWall_DZ",
|
||||
"WoodSmallWallWin_DZ",
|
||||
"Land_DZE_WoodDoor",
|
||||
"Land_DZE_WoodDoorLocked",
|
||||
"WoodLargeWall_DZ",
|
||||
"Land_DZE_LargeWoodDoor",
|
||||
"WoodLargeWallWin_DZ",
|
||||
"WoodLargeWallDoor_DZ",
|
||||
"Land_DZE_GarageWoodDoor",
|
||||
"Land_DZE_GarageWoodDoorLocked",
|
||||
"Land_DZE_LargeWoodDoorLocked",
|
||||
"WoodSmallWallThird_DZ",
|
||||
"CinderWall_DZ",
|
||||
"CinderWallDoorway_DZ",
|
||||
"CinderWallDoorLocked_DZ",
|
||||
"CinderWallDoor_DZ",
|
||||
"CinderWallSmallDoorway_DZ",
|
||||
"CinderWallDoorSmallLocked_DZ",
|
||||
"CinderWallHalf_DZ",
|
||||
"CinderWallDoorSmall_DZ",
|
||||
"MetalFloor_DZ",
|
||||
"WoodenFence_1_frame_DZ",
|
||||
"WoodenFence_1_foundation_DZ",
|
||||
"WoodenFence_quaterpanel_DZ",
|
||||
"WoodenFence_halfpanel_DZ",
|
||||
"WoodenFence_thirdpanel_DZ",
|
||||
"WoodenFence_1_DZ",
|
||||
"WoodenFence_2_DZ",
|
||||
"WoodenFence_3_DZ",
|
||||
"WoodenFence_4_DZ",
|
||||
"WoodenFence_5_DZ",
|
||||
"WoodenFence_6_DZ",
|
||||
"WoodenFence_7_DZ",
|
||||
"MetalFence_1_foundation_DZ",
|
||||
"MetalFence_1_frame_DZ",
|
||||
"MetalFence_halfpanel_DZ",
|
||||
"MetalFence_thirdpanel_DZ",
|
||||
"MetalFence_1_DZ",
|
||||
"MetalFence_2_DZ",
|
||||
"MetalFence_3_DZ",
|
||||
"MetalFence_4_DZ",
|
||||
"MetalFence_5_DZ",
|
||||
"MetalFence_6_DZ",
|
||||
"MetalFence_7_DZ",
|
||||
"WoodenGate_foundation_DZ",
|
||||
"WoodenGate_1_DZ",
|
||||
"WoodenGate_2_DZ",
|
||||
"WoodenGate_3_DZ",
|
||||
"WoodenGate_4_DZ",
|
||||
"MetalFence_ghost_DZ",
|
||||
"WoodenFence_ghost_DZ",
|
||||
"WoodenGate_ghost_DZ"
|
||||
};
|
||||
radius = 10;
|
||||
};
|
||||
class MetalFence_1_foundation_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_1_frame_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_halfpanel_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_thirdpanel_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.535, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_1_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 1.78042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_2_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 2.68042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_3_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 2.68042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_4_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_5_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_6_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_7_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
class MetalFence_ghost_DZ: Metalfence {
|
||||
points[] = {
|
||||
{0,0,0,$STR_EPOCH_ACTION_SNAP_PIVOT},
|
||||
{-2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_LEFT},
|
||||
{2.575, 0, 0.95,$STR_EPOCH_ACTION_SNAP_RIGHT},
|
||||
{0, 0, 3.58042,$STR_EPOCH_ACTION_SNAP_TOP}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -7,6 +7,7 @@ Industrial[] =
|
||||
//Items
|
||||
{Loot_MAGAZINE, 2, MortarBucket},
|
||||
{Loot_MAGAZINE, 6, CinderBlocks},
|
||||
{Loot_MAGAZINE, 3, ItemRSJ},
|
||||
{Loot_MAGAZINE, 3, ItemGenerator},
|
||||
{Loot_MAGAZINE, 1, fuel_pump_kit},
|
||||
|
||||
|
||||
@@ -20,13 +20,13 @@ VanillaConstruction[] =
|
||||
// {Loot_MAGAZINE, 1, equip_scrapelectronics}, // Unused
|
||||
// {Loot_MAGAZINE, 2, equip_1inch_metal_pipe}, // Unused
|
||||
// {Loot_MAGAZINE, 2, equip_2inch_metal_pipe}, // Unused
|
||||
// {Loot_WEAPON, 1, WeaponHolder_ItemPickaxe}, // Get ItemStone from rocks on the map - no function in Epoch.
|
||||
// {Loot_WEAPON, 2, WeaponHolder_ItemPickaxeBroken},
|
||||
// {Loot_VEHICLE, 2, WeaponHolder_ItemPickaxeBroken},
|
||||
// {Loot_MAGAZINE, 5, ItemStone}, // Vanilla base building - foundations
|
||||
// {Loot_WEAPON, 1, ItemDIY_wood}, // Vanilla base building
|
||||
// {Loot_WEAPON, 1, ItemDIY_Gate} // Vanilla base building
|
||||
// {Loot_MAGAZINE, 9, equip_metal_sheet_rusted}, // Unused
|
||||
{Loot_MAGAZINE, 9, ItemMetalSheet}, //Used for upgrade storage buildings
|
||||
{Loot_VEHICLE, 4, WeaponHolder_ItemPickaxe}, // Get ItemStone from rocks on the map for fence foundations.
|
||||
{Loot_MAGAZINE, 9, ItemMetalSheet}, //Used for upgrade storage buildings and metal fences
|
||||
{Loot_MAGAZINE, 9, equip_metal_sheet}, //Used for upgrade storage buildings
|
||||
{Loot_MAGAZINE, 4, ItemScrews}, //Used for upgrade storage buildings
|
||||
{Loot_MAGAZINE, 1, equip_hose}, // Need this to siphon gas with fuel container - very useful
|
||||
|
||||
615
SQF/dayz_code/Configs/CfgMagazines/Buildings/Fences.hpp
Normal file
615
SQF/dayz_code/Configs/CfgMagazines/Buildings/Fences.hpp
Normal file
@@ -0,0 +1,615 @@
|
||||
class woodfence_foundation_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_1_foundation_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_frame_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_1_frame;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_1_frame;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_1_frame_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_quaterpanel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_quaterpanel;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_quaterpanel;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_quaterpanel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_halfpanel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_halfpanel;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_halfpanel;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_halfpanel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_thirdpanel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_thirdpanel;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_thirdpanel;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_thirdpanel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_1_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_1;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_1;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_1_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_2_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_2;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_2;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_2_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_3_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_3;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_3;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_3_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_4_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_4;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_4;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_4_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_5_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_5;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_5;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_5_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_6_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_6;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_6;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_6_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_7_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenFence_7;
|
||||
descriptionShort = $STR_BLD_name_WoodenFence_7;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenFence_7_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_foundation_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_1_foundation;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_1_foundation;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_1_foundation_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_frame_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_1_frame;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_1_frame;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_1_frame_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_halfpanel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_halfpanel;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_halfpanel;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_halfpanel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_thirdpanel_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_thirdpanel;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_thirdpanel;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_thirdpanel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_1_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_1;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_1;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_1_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_2_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_2;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_2;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_2_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_3_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_3;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_3;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_3_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_4_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_4;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_4;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_4_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_5_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_5;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_5;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_5_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_6_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_6;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_6;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_6_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metalfence_7_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_MetalFence_7;
|
||||
descriptionShort = $STR_BLD_name_MetalFence_7;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "MetalFence_7_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_gate_foundation_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenGate_Foundation;
|
||||
descriptionShort = $STR_BLD_name_WoodenGate_Foundation;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenGate_foundation_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_gate_1_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenGate_1;
|
||||
descriptionShort = $STR_BLD_name_WoodenGate_1;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenGate_1_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_gate_2_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenGate_2;
|
||||
descriptionShort = $STR_BLD_name_WoodenGate_2;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenGate_2_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_gate_3_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenGate_3;
|
||||
descriptionShort = $STR_BLD_name_WoodenGate_3;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenGate_3_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class woodfence_gate_4_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_WoodenGate_4;
|
||||
descriptionShort = $STR_BLD_name_WoodenGate_4;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox","ItemEtool"};
|
||||
create = "WoodenGate_4_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -59,6 +59,7 @@ class CfgMagazines
|
||||
#include "Buildings\Camonets.hpp"
|
||||
#include "Buildings\Sandbag.hpp"
|
||||
#include "Buildings\ModularBuilding.hpp"
|
||||
#include "Buildings\Fences.hpp"
|
||||
#include "Buildings\Storage.hpp"
|
||||
#include "Buildings\Tent.hpp"
|
||||
#include "Buildings\Misc.hpp"
|
||||
|
||||
@@ -7,9 +7,40 @@ class ItemStone: CA_Magazine
|
||||
picture = "\z\addons\dayz_buildings\equip\rocks.paa";
|
||||
model = "z\addons\dayz_buildings\models\rocks.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemStone;//"Rough Stone"
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"woodfence_foundation_kit",1}};
|
||||
input[] = {{"ItemStone",8},{"MortarBucket",1},{"ItemPlank",1}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_BLD_name_MetalFence_1_foundation;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"metalfence_foundation_kit",1}};
|
||||
input[] = {{"ItemStone",8},{"MortarBucket",1},{"ItemRSJ",1}};
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
text = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"woodfence_gate_foundation_kit",1}};
|
||||
input[] = {{"ItemLog",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemConcreteBlock: CA_Magazine //Construection,indestrial
|
||||
class ItemConcreteBlock: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
|
||||
@@ -52,13 +52,12 @@ class Category_35 {
|
||||
class equip_hose {type = "trade_items";buy[] = {6,"ItemSilverBar"};sell[] = {3,"ItemSilverBar"};};
|
||||
class equip_lever {type = "trade_items";buy[] = {6,"ItemSilverBar"};sell[] = {3,"ItemSilverBar"};};
|
||||
class equip_nails {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};};
|
||||
class ItemScrews {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class ItemScrews {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class equip_scrapelectronics {type = "trade_items";buy[] = {-4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class equip_floppywire {type = "trade_items";buy[] = {-4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class equip_metal_sheet {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
|
||||
class equip_1inch_metal_pipe {type = "trade_items";buy[] = {6,"ItemSilverBar"};sell[] = {3,"ItemSilverBar"};};
|
||||
class equip_2inch_metal_pipe {type = "trade_items";buy[] = {8,"ItemSilverBar"};sell[] = {4,"ItemSilverBar"};};
|
||||
class ItemRSJ {type = "trade_items";buy[] = {8,"ItemSilverBar10oz"};sell[] = {4,"ItemSilverBar10oz"};};
|
||||
class ItemWire {type = "trade_items";buy[] = {6,"ItemSilverBar"};sell[] = {3,"ItemSilverBar"};};
|
||||
class ItemSandbag {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class ItemTankTrap {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
|
||||
|
||||
@@ -12,6 +12,7 @@ class Category_50 {
|
||||
class ItemConcreteBlock {type = "trade_items";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};};
|
||||
class CinderBlocks {type = "trade_items";buy[] = {1,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};};
|
||||
class MortarBucket {type = "trade_items";buy[] = {1,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};};
|
||||
class ItemRSJ {type = "trade_items";buy[] = {1,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};};
|
||||
class ItemFuelBarrelEmpty {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class ItemFuelBarrel {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
};
|
||||
263
SQF/dayz_code/Configs/CfgVehicles/Buildables/FencesGates.hpp
Normal file
263
SQF/dayz_code/Configs/CfgVehicles/Buildables/FencesGates.hpp
Normal file
@@ -0,0 +1,263 @@
|
||||
class WoodenGate_ghost_DZ: NonStrategic
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_BLD_name_WoodenGate_1_ghost;
|
||||
model = "z\addons\dayz_buildings\models\gates\gate_wood_ghost.p3d";
|
||||
armor = 1000;
|
||||
};
|
||||
|
||||
class WoodenGate_foundation_DZ: DZE_Housebase
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_BLD_name_WoodenGate_Foundation;
|
||||
model = "z\addons\dayz_buildings\models\gates\gate0_dzam.p3d";
|
||||
armor = 1000;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 8;
|
||||
GhostPreview = "WoodenGate_ghost_DZ";
|
||||
offset[] = {0,4,2};
|
||||
upgradeBuilding[] = {"WoodenGate_1_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",8},{"equip_nails",1},{"ItemComboLock",1}}};
|
||||
};
|
||||
|
||||
class WoodenGate_1_DZ: DZE_Housebase
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_BLD_name_WoodenGate_1;
|
||||
model = "z\addons\dayz_buildings\models\gates\gate1_dzam.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 8;
|
||||
offset[] = {0,4,0};
|
||||
armor = 2000;
|
||||
upgradeBuilding[] = {"WoodenGate_2_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",10},{"equip_nails",1}}};
|
||||
|
||||
class AnimationSources {
|
||||
class DoorR {
|
||||
source = "User";
|
||||
animPeriod = 3;
|
||||
initPhase = 0;
|
||||
};
|
||||
|
||||
class DoorL {
|
||||
source = "User";
|
||||
animPeriod = 3;
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class Lock_Door
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_LOCKGATE;
|
||||
condition = "this animationPhase 'DoorR' >= 0.7";
|
||||
statement = "[this,'combo_locked',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,4];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 0];this animate ['DoorL', 0]";
|
||||
};
|
||||
class Unlock_Door
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_UNLOCKGATE;
|
||||
condition = "(!keypadCancel && DZE_Lock_Door == (this getvariable['CharacterID','0'])) && (this animationPhase 'DoorR' < 0.3)";
|
||||
statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];GateMethod = nil;";
|
||||
};
|
||||
class Unlock_Door_Dialog
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_UNLOCKGATE;
|
||||
condition = "!keypadCancel && (DZE_Lock_Door != (this getvariable['CharacterID','0'])) && (this animationPhase ""DoorR"" == 0)";
|
||||
statement = "dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;if(DZE_doorManagement) then {createdialog ""DoorAccess"";} else {createdialog ""ComboLockUI"";};";
|
||||
};
|
||||
};
|
||||
|
||||
lockable = 3;
|
||||
};
|
||||
|
||||
class WoodenGate_2_DZ: DZE_Housebase
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_BLD_name_WoodenGate_2;
|
||||
model = "z\addons\dayz_buildings\models\gates\gate2_dzam.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 8;
|
||||
offset[] = {0,4,0};
|
||||
armor = 2500;
|
||||
upgradeBuilding[] = {"WoodenGate_3_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",10},{"equip_nails",1}}};
|
||||
|
||||
class AnimationSources {
|
||||
class DoorR {
|
||||
source = "User";
|
||||
animPeriod = 3;
|
||||
initPhase = 0;
|
||||
};
|
||||
|
||||
class DoorL {
|
||||
source = "User";
|
||||
animPeriod = 3;
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class Lock_Door
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_LOCKGATE;
|
||||
condition = "this animationPhase 'DoorR' >= 0.7";
|
||||
statement = "[this,'combo_locked',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,4];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 0];this animate ['DoorL', 0]";
|
||||
};
|
||||
class Unlock_Door
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_UNLOCKGATE;
|
||||
condition = "(!keypadCancel && DZE_Lock_Door == (this getvariable['CharacterID','0'])) && (this animationPhase 'DoorR' < 0.3)";
|
||||
statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];GateMethod = nil;";
|
||||
};
|
||||
class Unlock_Door_Dialog
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_UNLOCKGATE;
|
||||
condition = "!keypadCancel && (DZE_Lock_Door != (this getvariable['CharacterID','0'])) && (this animationPhase ""DoorR"" == 0)";
|
||||
statement = "dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;if(DZE_doorManagement) then {createdialog ""DoorAccess"";} else {createdialog ""ComboLockUI"";};";
|
||||
};
|
||||
};
|
||||
|
||||
lockable = 3;
|
||||
};
|
||||
|
||||
class WoodenGate_3_DZ: DZE_Housebase
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_BLD_name_WoodenGate_3;
|
||||
model = "z\addons\dayz_buildings\models\gates\gate3_dzam.p3d";
|
||||
armor = 3000;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 8;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenGate_4_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",10},{"equip_nails",1}}};
|
||||
|
||||
class AnimationSources {
|
||||
class DoorR {
|
||||
source = "User";
|
||||
animPeriod = 3;
|
||||
initPhase = 0;
|
||||
};
|
||||
|
||||
class DoorL {
|
||||
source = "User";
|
||||
animPeriod = 3;
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class Lock_Door
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_LOCKGATE;
|
||||
condition = "this animationPhase 'DoorR' >= 0.7";
|
||||
statement = "[this,'combo_locked',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,4];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 0];this animate ['DoorL', 0]";
|
||||
};
|
||||
class Unlock_Door
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_UNLOCKGATE;
|
||||
condition = "(!keypadCancel && DZE_Lock_Door == (this getvariable['CharacterID','0'])) && (this animationPhase 'DoorR' < 0.3)";
|
||||
statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];GateMethod = nil;";
|
||||
};
|
||||
class Unlock_Door_Dialog
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_UNLOCKGATE;
|
||||
condition = "!keypadCancel && (DZE_Lock_Door != (this getvariable['CharacterID','0'])) && (this animationPhase ""DoorR"" == 0)";
|
||||
statement = "dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;if(DZE_doorManagement) then {createdialog ""DoorAccess"";} else {createdialog ""ComboLockUI"";};";
|
||||
};
|
||||
};
|
||||
|
||||
lockable = 3;
|
||||
};
|
||||
|
||||
class WoodenGate_4_DZ: DZE_Housebase
|
||||
{
|
||||
armor = 3500;
|
||||
scope = 2;
|
||||
displayName = $STR_BLD_name_WoodenGate_4;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 8;
|
||||
offset[] = {0,4,0};
|
||||
model = "z\addons\dayz_buildings\models\gates\gate4_dzam.p3d";
|
||||
|
||||
class AnimationSources {
|
||||
class DoorR {
|
||||
source = "User";
|
||||
animPeriod = 3;
|
||||
initPhase = 0;
|
||||
};
|
||||
|
||||
class DoorL {
|
||||
source = "User";
|
||||
animPeriod = 3;
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class Lock_Door
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_LOCKGATE;
|
||||
condition = "this animationPhase 'DoorR' >= 0.7";
|
||||
statement = "[this,'combo_locked',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,4];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 0];this animate ['DoorL', 0]";
|
||||
};
|
||||
class Unlock_Door
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_UNLOCKGATE;
|
||||
condition = "(!keypadCancel && DZE_Lock_Door == (this getvariable['CharacterID','0'])) && (this animationPhase 'DoorR' < 0.3)";
|
||||
statement = "[this,'combo_unlock',0,false] spawn dayz_zombieSpeak;PVDZE_handleSafeGear = [player,this,5,GateMethod];publicVariableServer ""PVDZE_handleSafeGear"";this animate ['DoorR', 1];this animate ['DoorL', 1];GateMethod = nil;";
|
||||
};
|
||||
class Unlock_Door_Dialog
|
||||
{
|
||||
radius = 3;
|
||||
position = "Door";
|
||||
onlyForPlayer = 1;
|
||||
priority = 6;
|
||||
displayName = $STR_BLD_ACTIONS_UNLOCKGATE;
|
||||
condition = "!keypadCancel && (DZE_Lock_Door != (this getvariable['CharacterID','0'])) && (this animationPhase ""DoorR"" == 0)";
|
||||
statement = "dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;if(DZE_doorManagement) then {createdialog ""DoorAccess"";} else {createdialog ""ComboLockUI"";};";
|
||||
};
|
||||
};
|
||||
|
||||
lockable = 3;
|
||||
};
|
||||
161
SQF/dayz_code/Configs/CfgVehicles/Buildables/FencesMetal.hpp
Normal file
161
SQF/dayz_code/Configs/CfgVehicles/Buildables/FencesMetal.hpp
Normal file
@@ -0,0 +1,161 @@
|
||||
class MetalFence_ghost_DZ: NonStrategic
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence_ghost.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_ghost;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
destrType = "DestructNo";
|
||||
armor = 1000;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
|
||||
class MetalFence_1_foundation_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence1_foundation.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_1_foundation;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
GhostPreview = "MetalFence_ghost_DZ";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"MetalFence_1_frame_DZ",{"ItemToolbox","ItemSledge"},{{"ItemPlank",4},{"ItemRSJ",1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 1000;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
|
||||
class MetalFence_1_frame_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence1_stage1.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_1_frame;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
GhostPreview = "MetalFence_ghost_DZ";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"MetalFence_halfpanel_DZ",{"ItemToolbox","ItemSledge"},{{"ItemMetalSheet",3},{"ItemScrews",1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 1500;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
|
||||
class MetalFence_halfpanel_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence1_stage2.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_halfpanel;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"MetalFence_thirdpanel_DZ",{"ItemToolbox","ItemSledge"},{{"ItemMetalSheet",3},{"ItemScrews",1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 2000;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
|
||||
class MetalFence_thirdpanel_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence1_stage3.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_thirdpanel;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"MetalFence_1_DZ",{"ItemToolbox","ItemSledge"},{{"ItemMetalSheet",3},{"ItemScrews",1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 2500;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
|
||||
class MetalFence_1_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence1.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_1;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"MetalFence_2_DZ",{"ItemToolbox","ItemSledge"},{{"ItemMetalSheet",4},{"ItemScrews",1},{"ItemRSJ",2}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 3000;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class MetalFence_2_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence2.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_2;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"MetalFence_3_DZ",{"ItemToolbox","ItemSledge"},{{"ItemMetalSheet",4},{"ItemScrews",1},{"ItemRSJ",2}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 3500;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class MetalFence_3_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence3.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_3;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"MetalFence_4_DZ",{"ItemToolbox","ItemSledge"},{{"ItemScrews",1},{"ItemRSJ",4}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 4000;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class MetalFence_4_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence4.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_4;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"MetalFence_5_DZ",{"ItemToolbox","ItemSledge"},{{"ItemScrews",1},{"ItemRSJ",2}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 4500;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class MetalFence_5_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence5.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_5;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"MetalFence_6_DZ",{"ItemToolbox","ItemSledge"},{{"ItemScrews",1},{"ItemPole",4},{"equip_metal_sheet",4}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 5000;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class MetalFence_6_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence6.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_6;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"MetalFence_7_DZ",{"ItemToolbox","ItemSledge"},{{"ItemScrews",1},{"ItemPole",6},{"PartGeneric",2}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 5500;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class MetalFence_7_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\metal_fence7.p3d";
|
||||
displayName = $STR_BLD_name_MetalFence_7;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
ladders[]={{"ladderstart","ladderend"}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
armor = 5500;
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
172
SQF/dayz_code/Configs/CfgVehicles/Buildables/FencesWood.hpp
Normal file
172
SQF/dayz_code/Configs/CfgVehicles/Buildables/FencesWood.hpp
Normal file
@@ -0,0 +1,172 @@
|
||||
class WoodenFence_ghost_DZ: NonStrategic
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\fence_wood_ghost.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_ghost;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
destrType = "DestructNo";
|
||||
armor = 1000;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodenFence_1_foundation_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\fence1_ground.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_1_foundation;
|
||||
GhostPreview = "WoodenFence_ghost_DZ";
|
||||
armor = 1000;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_1_frame_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",4},{"equip_nails",1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class WoodenFence_1_frame_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\fence1_frame.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_1_frame;
|
||||
GhostPreview = "WoodenFence_ghost_DZ";
|
||||
armor = 1200;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_quaterpanel_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",4},{"equip_nails",1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class WoodenFence_quaterpanel_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\fence1_stage1.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_quaterpanel;
|
||||
armor = 1400;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_halfpanel_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",4},{"equip_nails",1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class WoodenFence_halfpanel_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\fence1_stage2.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_halfpanel;
|
||||
armor = 1600;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_thirdpanel_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",4},{"equip_nails",1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class WoodenFence_thirdpanel_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\fence1_stage3.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_thirdpanel;
|
||||
armor = 1800;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_1_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",4},{"equip_nails",1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class WoodenFence_1_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_buildings\models\fence1.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_1;
|
||||
armor = 2000;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_2_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",8},{"equip_nails",2}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
|
||||
class WoodenFence_2_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
armor = 2200;
|
||||
model = "z\addons\dayz_buildings\models\fence2.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_2;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_3_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",8},{"equip_nails",2}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class WoodenFence_3_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
armor = 2400;
|
||||
model = "z\addons\dayz_buildings\models\fence3.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_3;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_4_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemPlank",8},{"equip_nails",2}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class WoodenFence_4_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
armor = 2600;
|
||||
model = "z\addons\dayz_buildings\models\fence4.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_4;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_5_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemLog",5},{"equip_nails",2}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
class WoodenFence_5_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
armor = 2800;
|
||||
model = "z\addons\dayz_buildings\models\fence5.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_5;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_6_DZ",{"ItemToolbox","ItemHatchet"},{{"PartWoodPlywood",4},{"ItemPlank",2},{"equip_nails",2}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
|
||||
class WoodenFence_6_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
armor = 3000;
|
||||
model = "z\addons\dayz_buildings\models\fence6.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_6;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
upgradeBuilding[] = {"WoodenFence_7_DZ",{"ItemToolbox","ItemHatchet"},{{"ItemWoodLadder",1},{"equip_nails",1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
|
||||
class WoodenFence_7_DZ: ModularItems
|
||||
{
|
||||
scope = 2;
|
||||
armor = 3000;
|
||||
model = "z\addons\dayz_buildings\models\fence7.p3d";
|
||||
displayName = $STR_BLD_name_WoodenFence_7;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
offset[] = {0,4,0};
|
||||
ladders[] = {{"ladderstart","ladderend"}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
destrType = "DestructBuilding";
|
||||
};
|
||||
@@ -481,6 +481,9 @@ class CfgVehicles
|
||||
#include "Buildables\Doors.hpp"
|
||||
#include "Buildables\ModularBuilding.hpp"
|
||||
#include "Buildables\ModularWrecks.hpp"
|
||||
#include "Buildables\FencesWood.hpp"
|
||||
#include "Buildables\FencesMetal.hpp"
|
||||
#include "Buildables\FencesGates.hpp"
|
||||
#include "Buildables\Misc.hpp"
|
||||
|
||||
//Loot Container
|
||||
|
||||
@@ -116,7 +116,7 @@ if ((count _upgrade) > 0) then {
|
||||
_object setVectorDirAndUp _vector;
|
||||
_object setPosATL _location;
|
||||
|
||||
if (_lockable == 3) then {
|
||||
if (_lockable == 3 && {!(_classname in ["WoodenGate_2_DZ","WoodenGate_3_DZ","WoodenGate_4_DZ"])}) then {
|
||||
|
||||
_combination_1 = floor(random 10);
|
||||
_combination_2 = floor(random 10);
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
|
||||
Modified for Zupa's DoorManagement.
|
||||
*/
|
||||
private ["_display","_displayCombo","_displayEye","_doorMethod","_hasAccess","_notNearestPlayer","_obj","_objectCharacterID"];
|
||||
|
||||
if (dayz_actionInProgress) exitWith {localize "str_epoch_player_21" call dayz_rollingMessages;};
|
||||
dayz_actionInProgress = true;
|
||||
|
||||
private ["_display","_displayCombo","_displayEye","_doorMethod","_hasAccess","_notNearestPlayer","_obj","_objectCharacterID"];
|
||||
|
||||
_doorMethod = "";
|
||||
_displayCombo = findDisplay 41144;
|
||||
_displayEye = findDisplay 61144;
|
||||
@@ -44,10 +44,11 @@ if (!isNull dayz_selectedDoor) then {
|
||||
|
||||
|
||||
if (DZE_Lock_Door == _objectCharacterID) then {
|
||||
[player,"combo_unlock",0,false] call dayz_zombieSpeak;
|
||||
|
||||
_display closeDisplay 2;
|
||||
|
||||
if !(typeof _obj in ["WoodenGate_1_DZ","WoodenGate_2_DZ","WoodenGate_3_DZ","WoodenGate_4_DZ"]) then {
|
||||
[player,"combo_unlock",0,false] call dayz_zombieSpeak;
|
||||
|
||||
if (_obj animationPhase "Open_hinge" == 0) then {
|
||||
_obj animate ["Open_hinge", 1];
|
||||
};
|
||||
@@ -55,14 +56,17 @@ if (!isNull dayz_selectedDoor) then {
|
||||
_obj animate ["Open_latch", 1];
|
||||
};
|
||||
|
||||
PVDZE_handleSafeGear = [player,_obj,5,if (_doorMethod == "EYE") then {"EYESCAN"} else {DZE_Lock_Door}];
|
||||
publicVariableServer "PVDZE_handleSafeGear";
|
||||
} else {
|
||||
GateMethod = [DZE_Lock_Door,"EYESCAN"] select (_doorMethod == "EYE");
|
||||
};
|
||||
|
||||
if (_doorMethod == "Eye") then {
|
||||
localize "STR_EPOCH_DOORACCESS_SUCCESS" call dayz_rollingMessages;
|
||||
};
|
||||
dayz_UnlockTime = 5;
|
||||
dayz_lastCodeFail = 0;
|
||||
|
||||
PVDZE_handleSafeGear = [player,_obj,5,if (_doorMethod == "EYE") then {"EYESCAN"} else {DZE_Lock_Door}];
|
||||
publicVariableServer "PVDZE_handleSafeGear";
|
||||
} else {
|
||||
PVDZE_handleSafeGear = [player,_obj,6,if (_doorMethod == "EYE") then {"EYESCAN"} else {DZE_Lock_Door}];
|
||||
publicVariableServer "PVDZE_handleSafeGear";
|
||||
|
||||
@@ -80,7 +80,7 @@ if (!isDedicated) then {
|
||||
// Snap Build and Build Vectors
|
||||
DZE_modularBuild = true; // Enable Snap Building by @raymix and Build Vectors by @strikerforce.
|
||||
DZE_snapExtraRange = 0; // Increase the default range from which objects can snap by this many meters.
|
||||
DZE_noRotate = []; // List of objects (magazine classnames) that cannot be rotated. Example: ["ItemVault","ItemTent","ItemDomeTent","ItemDesertTent"];
|
||||
DZE_noRotate = ["woodfence_foundation_kit","metalfence_foundation_kit"]; // List of objects (magazine classnames) that cannot be rotated. Example: ["ItemVault","ItemTent","ItemDomeTent","ItemDesertTent"];
|
||||
DZE_vectorDegrees = [0.01, 0.1, 1, 5, 15, 45, 90]; // Degree positions players are able to rotate buildables with using the build vectors action menu.
|
||||
DZE_curDegree = 45; // Starting rotation angle. Prefer any value in the array above.
|
||||
DZE_dirWithDegrees = true; // When rotating objects with Q&E, use the custom degrees.
|
||||
|
||||
@@ -3,7 +3,7 @@ disableSerialization;
|
||||
/**************Variables Compiled on Both Client and Server**************/
|
||||
|
||||
Dayz_plants = ["Dayz_Plant1","Dayz_Plant2","Dayz_Plant3"];
|
||||
DayZ_SafeObjects = ["Base_Fire_DZ","WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4","Land_Fire_DZ","TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","TentStorage4","StashSmall","StashSmall1","StashSmall2","StashSmall3","StashSmall4","StashMedium","StashMedium1","StashMedium2","StashMedium3","StashMedium4","Wire_cat1","Sandbag1_DZ","Fence_DZ","Generator_DZ","Hedgehog_DZ","BearTrap_DZ","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3","DomeTentStorage4","CamoNet_DZ","Trap_Cans","TrapTripwireFlare","TrapBearTrapSmoke","TrapTripwireGrenade","TrapTripwireSmoke","TrapBearTrapFlare","TentStorageDomed","VaultStorageLocked","BagFenceRound_DZ","TrapBear","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ","Land_HBarrier3_DZ","Land_HBarrier5_DZ","Fence_corrugated_DZ","M240Nest_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","Wooden_shed2_DZ","WoodShack_DZ","WoodShack2_DZ","StorageShed_DZ","StorageShed2_DZ","Plastic_Pole_EP1_DZ","StickFence_DZ","LightPole_DZ","FuelPump_DZ","DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ","SandNest_DZ","DeerStand_DZ","MetalPanel_DZ","WorkBench_DZ","WoodFloor_DZ","WoodLargeWall_DZ","WoodLargeWallDoor_DZ","WoodLargeWallWin_DZ","WoodSmallWall_DZ","WoodSmallWallWin_DZ","WoodSmallWallDoor_DZ","LockboxStorageLocked","WoodFloorHalf_DZ","WoodFloorQuarter_DZ","WoodStairs_DZ","WoodStairsSans_DZ","WoodStairsRails_DZ","WoodSmallWallThird_DZ","WoodLadder_DZ","Land_DZE_GarageWoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_WoodDoor","Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallHalf_DZ","CinderWall_DZ","CinderWallDoorway_DZ","CinderWallDoor_DZ","CinderWallDoorLocked_DZ","CinderWallSmallDoorway_DZ","CinderWallDoorSmall_DZ","CinderWallDoorSmallLocked_DZ","MetalFloor_DZ","WoodRamp_DZ","GunRack_DZ","GunRack2_DZ","FireBarrel_DZ","WoodCrate_DZ","WoodCrate2_DZ","Scaffolding_DZ","DesertTentStorage","DesertTentStorage0","DesertTentStorage1","DesertTentStorage2","DesertTentStorage3","DesertTentStorage4"];
|
||||
DayZ_SafeObjects = ["Base_Fire_DZ","Land_Fire_DZ","TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","TentStorage4","StashSmall","StashSmall1","StashSmall2","StashSmall3","StashSmall4","StashMedium","StashMedium1","StashMedium2","StashMedium3","StashMedium4","Wire_cat1","Sandbag1_DZ","Fence_DZ","Generator_DZ","Hedgehog_DZ","BearTrap_DZ","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3","DomeTentStorage4","CamoNet_DZ","Trap_Cans","TrapTripwireFlare","TrapBearTrapSmoke","TrapTripwireGrenade","TrapTripwireSmoke","TrapBearTrapFlare","TentStorageDomed","VaultStorageLocked","BagFenceRound_DZ","TrapBear","Fort_RazorWire","Land_HBarrier1_DZ","Land_HBarrier3_DZ","Land_HBarrier5_DZ","Fence_corrugated_DZ","M240Nest_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","Wooden_shed2_DZ","WoodShack_DZ","WoodShack2_DZ","StorageShed_DZ","StorageShed2_DZ","Plastic_Pole_EP1_DZ","StickFence_DZ","LightPole_DZ","FuelPump_DZ","DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ","SandNest_DZ","DeerStand_DZ","MetalPanel_DZ","WorkBench_DZ","WoodFloor_DZ","WoodLargeWall_DZ","WoodLargeWallDoor_DZ","WoodLargeWallWin_DZ","WoodSmallWall_DZ","WoodSmallWallWin_DZ","WoodSmallWallDoor_DZ","LockboxStorageLocked","WoodFloorHalf_DZ","WoodFloorQuarter_DZ","WoodStairs_DZ","WoodStairsSans_DZ","WoodStairsRails_DZ","WoodSmallWallThird_DZ","WoodLadder_DZ","Land_DZE_GarageWoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_WoodDoor","Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallHalf_DZ","CinderWall_DZ","CinderWallDoorway_DZ","CinderWallDoor_DZ","CinderWallDoorLocked_DZ","CinderWallSmallDoorway_DZ","CinderWallDoorSmall_DZ","CinderWallDoorSmallLocked_DZ","MetalFloor_DZ","WoodRamp_DZ","GunRack_DZ","GunRack2_DZ","FireBarrel_DZ","WoodCrate_DZ","WoodCrate2_DZ","Scaffolding_DZ","DesertTentStorage","DesertTentStorage0","DesertTentStorage1","DesertTentStorage2","DesertTentStorage3","DesertTentStorage4","WoodenFence_1_foundation_DZ","WoodenFence_1_frame_DZ","WoodenFence_quaterpanel_DZ","WoodenFence_halfpanel_DZ","WoodenFence_thirdpanel_DZ","WoodenFence_1_DZ","WoodenFence_2_DZ","WoodenFence_3_DZ","WoodenFence_4_DZ","WoodenFence_5_DZ","WoodenFence_6_DZ","WoodenFence_7_DZ","MetalFence_1_foundation_DZ","MetalFence_1_frame_DZ","MetalFence_halfpanel_DZ","MetalFence_thirdpanel_DZ","MetalFence_1_DZ","MetalFence_2_DZ","MetalFence_3_DZ","MetalFence_4_DZ","MetalFence_5_DZ","MetalFence_6_DZ","MetalFence_7_DZ","WoodenGate_foundation_DZ","WoodenGate_1_DZ","WoodenGate_2_DZ","WoodenGate_3_DZ","WoodenGate_4_DZ"];
|
||||
DayZ_GearedObjects = ["Car","Helicopter","Motorcycle","Ship","TentStorage_base","StashSmall_base","StashMedium_base","Plane","Tank","VaultStorage","LockboxStorage","TentStorage","OutHouse_DZ","Wooden_shed_DZ","Wooden_shed2_DZ","WoodShack_DZ","WoodShack2_DZ","StorageShed_DZ","StorageShed2_DZ","GunRack_DZ","GunRack2_DZ","WoodCrate_DZ","WoodCrate2_DZ","Scaffolding_DZ","Generator_DZ"];
|
||||
dayz_typedBags = ["emptyBloodBag","bloodTester","bloodBagANEG","bloodBagAPOS","bloodBagBNEG","bloodBagBPOS","bloodBagABNEG","bloodBagABPOS","bloodBagONEG","bloodBagOPOS","wholeBloodBagANEG","wholeBloodBagAPOS","wholeBloodBagBNEG","wholeBloodBagBPOS","wholeBloodBagABNEG","wholeBloodBagABPOS","wholeBloodBagONEG","wholeBloodBagOPOS"];
|
||||
dayz_plant = ["pumpkin.p3d","p_helianthus.p3d","p_fiberplant_ep1.p3d"];
|
||||
@@ -20,7 +20,7 @@ AllPlayers = ["Survivor_DZ","Survivor1_DZ","SurvivorW2_DZ","Survivor2_DZ","Snipe
|
||||
|
||||
// Epoch Additions
|
||||
dayz_activeInvites = [];
|
||||
DZE_DoorsLocked = ["Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallDoorLocked_DZ","CinderWallDoorSmallLocked_DZ"];
|
||||
DZE_DoorsLocked = ["Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallDoorLocked_DZ","CinderWallDoorSmallLocked_DZ","WoodenGate_1_DZ","WoodenGate_2_DZ","WoodenGate_3_DZ","WoodenGate_4_DZ"];
|
||||
DZE_isWreckBuilding = ["Land_wreck_cinder","Land_wood_wreck_quarter","Land_wood_wreck_floor","Land_wood_wreck_third","Land_wood_wreck_frame","Land_iron_vein_wreck","Land_silver_vein_wreck","Land_gold_vein_wreck","Land_ammo_supply_wreck"];
|
||||
DZE_LockedStorage = ["VaultStorageLocked","LockboxStorageLocked"];
|
||||
DZE_isWreck = ["SKODAWreck","HMMWVWreck","UralWreck","datsun01Wreck","hiluxWreck","datsun02Wreck","UAZWreck","Land_Misc_Garb_Heap_EP1","Fort_Barricade_EP1","Rubbish2"];
|
||||
@@ -373,7 +373,7 @@ if (!isDedicated) then {
|
||||
DZE_Workshops = ["Wooden_shed_DZ","Wooden_shed2_DZ","WoodShack_DZ","WoodShack2_DZ","WorkBench_DZ","WorkBench"];
|
||||
//Needed for trees spawned with createVehicle like POI (typeOf returns class instead of "")
|
||||
dayz_treeTypes = ["","MAP_t_picea1s","MAP_t_picea2s","MAP_t_picea3f","MAP_t_pinusN2s","MAP_t_pinusS2f","MAP_t_populus3s","MAP_t_betula2s","MAP_t_fagus2s","MAP_t_fagus2W","MAP_t_malus1s"];
|
||||
DayZ_DropDrageeObjects = ["WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4","TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","TentStorage4","Wire_cat1","Sandbag1_DZ","Fence_DZ","Generator_DZ","Hedgehog_DZ","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3","DomeTentStorage4","TentStorageDomed","VaultStorageLocked","BagFenceRound_DZ","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ","Land_HBarrier3_DZ","Land_HBarrier5_DZ","Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","Wooden_shed2_DZ","WoodShack_DZ","WoodShack2_DZ","StorageShed_DZ","StorageShed2_DZ","StickFence_DZ","SandNest_DZ","MetalPanel_DZ","WorkBench_DZ","WoodLargeWall_DZ","WoodLargeWallDoor_DZ","WoodLargeWallWin_DZ","WoodSmallWall_DZ","WoodSmallWallWin_DZ","WoodSmallWallDoor_DZ","LockboxStorageLocked","WoodSmallWallThird_DZ","WoodLadder_DZ","Land_DZE_GarageWoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_WoodDoor","Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallHalf_DZ","CinderWall_DZ","CinderWallDoorway_DZ","CinderWallDoor_DZ","CinderWallDoorLocked_DZ","CinderWallSmallDoorway_DZ","CinderWallDoorSmall_DZ","CinderWallDoorSmallLocked_DZ","DesertTentStorage","DesertTentStorage0","DesertTentStorage1","DesertTentStorage2","DesertTentStorage3","DesertTentStorage4","WoodFloorHalf_DZ","WoodFloor_DZ","WoodFloorQuarter_DZ","WoodStairs_DZ","WoodStairsSans_DZ","WoodStairsRails_DZ","MetalFloor_DZ","WoodRamp_DZ"];
|
||||
DayZ_DropDrageeObjects = ["TentStorage","TentStorage0","TentStorage1","TentStorage2","TentStorage3","TentStorage4","Wire_cat1","Sandbag1_DZ","Fence_DZ","Generator_DZ","Hedgehog_DZ","DomeTentStorage","DomeTentStorage0","DomeTentStorage1","DomeTentStorage2","DomeTentStorage3","DomeTentStorage4","TentStorageDomed","VaultStorageLocked","BagFenceRound_DZ","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ","Land_HBarrier3_DZ","Land_HBarrier5_DZ","Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","Wooden_shed2_DZ","WoodShack_DZ","WoodShack2_DZ","StorageShed_DZ","StorageShed2_DZ","StickFence_DZ","SandNest_DZ","MetalPanel_DZ","WorkBench_DZ","WoodLargeWall_DZ","WoodLargeWallDoor_DZ","WoodLargeWallWin_DZ","WoodSmallWall_DZ","WoodSmallWallWin_DZ","WoodSmallWallDoor_DZ","LockboxStorageLocked","WoodSmallWallThird_DZ","WoodLadder_DZ","Land_DZE_GarageWoodDoor","Land_DZE_LargeWoodDoor","Land_DZE_WoodDoor","Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","Land_DZE_WoodDoorLocked","CinderWallHalf_DZ","CinderWall_DZ","CinderWallDoorway_DZ","CinderWallDoor_DZ","CinderWallDoorLocked_DZ","CinderWallSmallDoorway_DZ","CinderWallDoorSmall_DZ","CinderWallDoorSmallLocked_DZ","DesertTentStorage","DesertTentStorage0","DesertTentStorage1","DesertTentStorage2","DesertTentStorage3","DesertTentStorage4","WoodFloorHalf_DZ","WoodFloor_DZ","WoodFloorQuarter_DZ","WoodStairs_DZ","WoodStairsSans_DZ","WoodStairsRails_DZ","MetalFloor_DZ","WoodRamp_DZ","WoodenFence_1_foundation_DZ","WoodenFence_1_frame_DZ","WoodenFence_quaterpanel_DZ","WoodenFence_halfpanel_DZ","WoodenFence_thirdpanel_DZ","WoodenFence_1_DZ","WoodenFence_2_DZ","WoodenFence_3_DZ","WoodenFence_4_DZ","WoodenFence_5_DZ","WoodenFence_6_DZ","MetalFence_1_foundation_DZ","MetalFence_1_frame_DZ","MetalFence_halfpanel_DZ","MetalFence_thirdpanel_DZ","MetalFence_1_DZ","MetalFence_2_DZ","MetalFence_3_DZ","MetalFence_4_DZ","MetalFence_5_DZ","MetalFence_6_DZ","MetalFence_7_DZ","WoodenGate_foundation_DZ","WoodenGate_1_DZ","WoodenGate_2_DZ","WoodenGate_3_DZ","WoodenGate_4_DZ"];
|
||||
Dayz_fishingItems = ["MeleeFishingPole"];
|
||||
dayz_playerAchievements = []; //[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
|
||||
snapGizmos = []; // may not need this
|
||||
|
||||
Reference in New Issue
Block a user