mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add a few new building previews to handle some exploits
Thx @TheFirstNoob for letting me know
This commit is contained in:
@@ -722,6 +722,7 @@ class HelperVectors: Helpers {
|
|||||||
class WoodenFence_5_DZ: WoodenFence_4_DZ {};
|
class WoodenFence_5_DZ: WoodenFence_4_DZ {};
|
||||||
class WoodenFence_6_DZ: WoodenFence_4_DZ {};
|
class WoodenFence_6_DZ: WoodenFence_4_DZ {};
|
||||||
class WoodenFence_7_DZ: WoodenFence_4_DZ {};
|
class WoodenFence_7_DZ: WoodenFence_4_DZ {};
|
||||||
|
class WoodenFence_7_Preview_DZ: WoodenFence_4_DZ {};
|
||||||
|
|
||||||
class MetalFence_1_foundation_DZ: WoodenFence_1_foundation_DZ {};
|
class MetalFence_1_foundation_DZ: WoodenFence_1_foundation_DZ {};
|
||||||
|
|
||||||
@@ -742,6 +743,7 @@ class HelperVectors: Helpers {
|
|||||||
class MetalFence_5_DZ: WoodenFence_4_DZ {};
|
class MetalFence_5_DZ: WoodenFence_4_DZ {};
|
||||||
class MetalFence_6_DZ: WoodenFence_4_DZ {};
|
class MetalFence_6_DZ: WoodenFence_4_DZ {};
|
||||||
class MetalFence_7_DZ: WoodenFence_4_DZ {};
|
class MetalFence_7_DZ: WoodenFence_4_DZ {};
|
||||||
|
class MetalFence_7_Preview_DZ: WoodenFence_4_DZ {};
|
||||||
|
|
||||||
class WoodenGate_foundation_DZ: vector {
|
class WoodenGate_foundation_DZ: vector {
|
||||||
points[] = {
|
points[] = {
|
||||||
|
|||||||
@@ -830,6 +830,7 @@ class SnapBuilding {
|
|||||||
class WoodenFence_5_DZ: WoodenFence_4_DZ {};
|
class WoodenFence_5_DZ: WoodenFence_4_DZ {};
|
||||||
class WoodenFence_6_DZ: WoodenFence_4_DZ {};
|
class WoodenFence_6_DZ: WoodenFence_4_DZ {};
|
||||||
class WoodenFence_7_DZ: WoodenFence_4_DZ {};
|
class WoodenFence_7_DZ: WoodenFence_4_DZ {};
|
||||||
|
class WoodenFence_7_Preview_DZ: WoodenFence_4_DZ {};
|
||||||
class WoodenFence_ghost_DZ: WoodenFence_4_DZ {};
|
class WoodenFence_ghost_DZ: WoodenFence_4_DZ {};
|
||||||
|
|
||||||
class WoodenFence_2_DZ {
|
class WoodenFence_2_DZ {
|
||||||
@@ -890,7 +891,8 @@ class SnapBuilding {
|
|||||||
};
|
};
|
||||||
class MetalFence_5_DZ: MetalFence_4_DZ {};
|
class MetalFence_5_DZ: MetalFence_4_DZ {};
|
||||||
class MetalFence_6_DZ: MetalFence_4_DZ {};
|
class MetalFence_6_DZ: MetalFence_4_DZ {};
|
||||||
class MetalFence_7_DZ: MetalFence_4_DZ {};
|
class MetalFence_7_DZ: MetalFence_4_DZ {};
|
||||||
|
class MetalFence_7_Preview_DZ: MetalFence_4_DZ {};
|
||||||
class MetalFence_ghost_DZ: MetalFence_4_DZ {};
|
class MetalFence_ghost_DZ: MetalFence_4_DZ {};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -1,10 +1,3 @@
|
|||||||
class MetalFence_ghost_DZ: DZE_Ghost_Previews
|
|
||||||
{
|
|
||||||
scope = 2;
|
|
||||||
model = "z\addons\dayz_buildings\models\metal_fence_ghost.p3d";
|
|
||||||
displayName = $STR_BLD_name_MetalFence_ghost;
|
|
||||||
};
|
|
||||||
|
|
||||||
class MetalFence_1_foundation_DZ: ModularItems
|
class MetalFence_1_foundation_DZ: ModularItems
|
||||||
{
|
{
|
||||||
scope = 2;
|
scope = 2;
|
||||||
@@ -109,4 +102,5 @@ class MetalFence_7_DZ: ModularItems
|
|||||||
offset[] = {0,4,0};
|
offset[] = {0,4,0};
|
||||||
ladders[]={{"ladderstart","ladderend"}};
|
ladders[]={{"ladderstart","ladderend"}};
|
||||||
armor = 5500;
|
armor = 5500;
|
||||||
|
GhostPreview = "MetalFence_7_Preview_DZ";
|
||||||
};
|
};
|
||||||
@@ -1,9 +1,3 @@
|
|||||||
class WoodenFence_ghost_DZ: DZE_Ghost_Previews
|
|
||||||
{
|
|
||||||
scope = 2;
|
|
||||||
model = "z\addons\dayz_buildings\models\fence_wood_ghost.p3d";
|
|
||||||
displayName = $STR_BLD_name_WoodenFence_ghost;
|
|
||||||
};
|
|
||||||
class WoodenFence_1_foundation_DZ: ModularItems
|
class WoodenFence_1_foundation_DZ: ModularItems
|
||||||
{
|
{
|
||||||
scope = 2;
|
scope = 2;
|
||||||
@@ -116,4 +110,5 @@ class WoodenFence_7_DZ: ModularItems
|
|||||||
displayName = $STR_BLD_name_WoodenFence_7;
|
displayName = $STR_BLD_name_WoodenFence_7;
|
||||||
offset[] = {0,4,0};
|
offset[] = {0,4,0};
|
||||||
ladders[] = {{"ladderstart","ladderend"}};
|
ladders[] = {{"ladderstart","ladderend"}};
|
||||||
|
GhostPreview = "WoodenFence_7_Preview_DZ";
|
||||||
};
|
};
|
||||||
@@ -508,6 +508,7 @@ class Water_Pump_DZ: Land_pumpa
|
|||||||
offset[] = {0,2,0};
|
offset[] = {0,2,0};
|
||||||
removeoutput[] = {{"water_pump_kit",1}};
|
removeoutput[] = {{"water_pump_kit",1}};
|
||||||
vehicleClass = "DayZ Epoch Buildables";
|
vehicleClass = "DayZ Epoch Buildables";
|
||||||
|
GhostPreview = "Water_Pump_Preview_DZ";
|
||||||
};
|
};
|
||||||
|
|
||||||
class MAP_Misc_Greenhouse;
|
class MAP_Misc_Greenhouse;
|
||||||
@@ -738,6 +739,7 @@ class Fueltank_DZE : BuiltItems
|
|||||||
maintainBuilding[] = {{"PartGeneric",1}};
|
maintainBuilding[] = {{"PartGeneric",1}};
|
||||||
constructioncount = 3;
|
constructioncount = 3;
|
||||||
removeoutput[] = {{"fueltank_kit",1}};
|
removeoutput[] = {{"fueltank_kit",1}};
|
||||||
|
GhostPreview = "Fueltank_Preview_DZ";
|
||||||
};
|
};
|
||||||
|
|
||||||
class Watertank_DZE : BuiltItems
|
class Watertank_DZE : BuiltItems
|
||||||
@@ -754,6 +756,7 @@ class Watertank_DZE : BuiltItems
|
|||||||
maintainBuilding[] = {{"PartGeneric",1}};
|
maintainBuilding[] = {{"PartGeneric",1}};
|
||||||
constructioncount = 3;
|
constructioncount = 3;
|
||||||
removeoutput[] = {{"watertank_kit",1}};
|
removeoutput[] = {{"watertank_kit",1}};
|
||||||
|
GhostPreview = "Watertank_Preview_DZ";
|
||||||
};
|
};
|
||||||
|
|
||||||
class Watertower_DZE : BuiltItems
|
class Watertower_DZE : BuiltItems
|
||||||
@@ -770,4 +773,5 @@ class Watertower_DZE : BuiltItems
|
|||||||
maintainBuilding[] = {{"PartGeneric",2}};
|
maintainBuilding[] = {{"PartGeneric",2}};
|
||||||
constructioncount = 3;
|
constructioncount = 3;
|
||||||
removeoutput[] = {{"watertower_kit",1}};
|
removeoutput[] = {{"watertower_kit",1}};
|
||||||
|
GhostPreview = "Watertower_Preview_DZ";
|
||||||
};
|
};
|
||||||
@@ -243,4 +243,52 @@ class ElevatorStop_Transparent_DZ: DZE_Ghost_Previews {
|
|||||||
scope = 2;
|
scope = 2;
|
||||||
model = "\z\addons\dayz_epoch\models\metal_floor_ghost.p3d";
|
model = "\z\addons\dayz_epoch\models\metal_floor_ghost.p3d";
|
||||||
displayName = $STR_EPOCH_ELEVATORSTOP_TRANSPARENT;
|
displayName = $STR_EPOCH_ELEVATORSTOP_TRANSPARENT;
|
||||||
|
};
|
||||||
|
|
||||||
|
class Water_Pump_Preview_DZ : DZE_Ghost_Previews {
|
||||||
|
scope = 2;
|
||||||
|
model = "\ca\buildings\misc\pumpa";
|
||||||
|
displayName = "Water Pump Preview";
|
||||||
|
};
|
||||||
|
|
||||||
|
class MetalFence_ghost_DZ: DZE_Ghost_Previews {
|
||||||
|
scope = 2;
|
||||||
|
model = "z\addons\dayz_buildings\models\metal_fence_ghost.p3d";
|
||||||
|
displayName = $STR_BLD_name_MetalFence_ghost;
|
||||||
|
};
|
||||||
|
|
||||||
|
class WoodenFence_ghost_DZ: DZE_Ghost_Previews {
|
||||||
|
scope = 2;
|
||||||
|
model = "z\addons\dayz_buildings\models\fence_wood_ghost.p3d";
|
||||||
|
displayName = $STR_BLD_name_WoodenFence_ghost;
|
||||||
|
};
|
||||||
|
|
||||||
|
class MetalFence_7_Preview_DZ: DZE_Ghost_Previews {
|
||||||
|
scope = 2;
|
||||||
|
model = "z\addons\dayz_buildings\models\metal_fence7.p3d";
|
||||||
|
displayName = "MetalFence 7 Preview";
|
||||||
|
};
|
||||||
|
|
||||||
|
class WoodenFence_7_Preview_DZ: DZE_Ghost_Previews {
|
||||||
|
scope = 2;
|
||||||
|
model = "z\addons\dayz_buildings\models\fence7.p3d";
|
||||||
|
displayName = "WoodenFence 7 Preview";
|
||||||
|
};
|
||||||
|
|
||||||
|
class Fueltank_Preview_DZ : DZE_Ghost_Previews {
|
||||||
|
scope = 2;
|
||||||
|
model = "\Ca\buildings2\Ind_Tank\Ind_TankSmall2";
|
||||||
|
displayName = "Fueltank Preview";
|
||||||
|
};
|
||||||
|
|
||||||
|
class Watertank_Preview_DZ : DZE_Ghost_Previews {
|
||||||
|
scope = 2;
|
||||||
|
model = "\Ca\buildings2\Ind_Tank\Ind_TankSmall";
|
||||||
|
displayName = "Watertank Preview ";
|
||||||
|
};
|
||||||
|
|
||||||
|
class Watertower_Preview_DZ : DZE_Ghost_Previews {
|
||||||
|
scope = 2;
|
||||||
|
model = "\CA\misc\water_tank.p3d";
|
||||||
|
displayName = "Watertower Preview";
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user