mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 19:06:29 +03:00
modular base building wreck models by Paul Tomany
This commit is contained in:
@@ -87,7 +87,7 @@ class Land_DZE_WoodDoor_Base: DZE_Housebase {
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "CA\Structures\Ruins\rubble_wood_02"; /* path to the object*/
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
@@ -117,7 +117,7 @@ class Land_DZE_WoodDoorLocked_Base: DZE_Housebase {
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "CA\Structures\Ruins\rubble_wood_02"; /* path to the object*/
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
@@ -141,6 +141,19 @@ class CinderWallDoor_DZ_Base: DZE_Housebase {
|
||||
scope = 2; /* Display it in the editor? 1 = No, 2 = Yes */
|
||||
offset[] = {0,1.5,0};
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CinderWallDoorLocked_DZ_Base: DZE_Housebase {
|
||||
@@ -156,14 +169,58 @@ class CinderWallDoorLocked_DZ_Base: DZE_Housebase {
|
||||
offset[] = {0,1.5,0};
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
lockable = 3;
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Same name as stated in the Class DestructionEffects, but an "Land_" added infront*/
|
||||
class Land_rubble_wood_02 : ruins {
|
||||
class Land_wood_wreck_frame : ruins {
|
||||
scope = 1;
|
||||
model = "CA\Structures\Ruins\rubble_wood_02.p3d";
|
||||
model = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
|
||||
displayName = "Wood Wall ruins";
|
||||
};
|
||||
class Land_wood_wreck_third : ruins {
|
||||
scope = 1;
|
||||
model = "\z\addons\dayz_epoch\models\wood_wreck_third.p3d";
|
||||
displayName = "Wood Wall 1/3 ruins";
|
||||
};
|
||||
|
||||
class Land_wood_wreck_half : ruins {
|
||||
scope = 1;
|
||||
model = "\z\addons\dayz_epoch\models\wood_wreck_half.p3d";
|
||||
displayName = "Wood Floor 1/2 ruins";
|
||||
};
|
||||
|
||||
class Land_wood_wreck_floor : ruins {
|
||||
scope = 1;
|
||||
model = "\z\addons\dayz_epoch\models\wood_wreck_floor.p3d";
|
||||
displayName = "Wood Floor ruins";
|
||||
};
|
||||
|
||||
class Land_wood_wreck_quarter : ruins {
|
||||
scope = 1;
|
||||
model = "\z\addons\dayz_epoch\models\wood_wreck_quarter.p3d";
|
||||
displayName = "Wood Floor 1/4 ruins";
|
||||
};
|
||||
|
||||
class Land_wreck_cinder: ruins {
|
||||
scope = 1;
|
||||
model = "\z\addons\dayz_epoch\models\wreck_cinder.p3d";
|
||||
displayName = "Cinder wall ruins";
|
||||
};
|
||||
|
||||
|
||||
|
||||
/* Your doorsegment is derivated from the normal wall.*/
|
||||
class Land_DZE_WoodDoor: Land_DZE_WoodDoor_Base {
|
||||
|
||||
@@ -1632,6 +1632,19 @@ class CfgVehicles {
|
||||
upgradeBuilding[] = {"CinderWall_DZ",{{"CinderBlocks",4},{"MortarBucket",1}}};
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
GhostPreview = "CinderWallHalf_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
class CinderWall_DZ: ModularItems
|
||||
{
|
||||
@@ -1647,6 +1660,19 @@ class CfgVehicles {
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
GhostPreview = "CinderWall_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CinderWallDoorway_DZ: ModularItems
|
||||
@@ -1664,6 +1690,19 @@ class CfgVehicles {
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
upgradeBuilding[] = {"CinderWallDoor_DZ",{{"ItemPole",3},{"ItemTankTrap",3}}};
|
||||
GhostPreview = "CinderWallDoorway_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CinderWallSmallDoorway_DZ: ModularItems
|
||||
@@ -1680,7 +1719,20 @@ class CfgVehicles {
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
upgradeBuilding[] = {"CinderWallDoorSmall_DZ",{{"ItemPole",1},{"ItemTankTrap",1}}};
|
||||
GhostPreview = "CinderWallSmallDoorway_Preview_DZ"; // todo change this
|
||||
GhostPreview = "CinderWallSmallDoorway_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class WoodFloor_DZ: ModularItems
|
||||
@@ -1697,6 +1749,19 @@ class CfgVehicles {
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"PartWoodLumber",4}};
|
||||
GhostPreview = "WoodFloor_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_floor.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
class WoodFloorHalf_DZ: ModularItems
|
||||
{
|
||||
@@ -1713,6 +1778,19 @@ class CfgVehicles {
|
||||
maintainBuilding[] = {{"PartWoodLumber",2}};
|
||||
constructioncount = 2;
|
||||
GhostPreview = "WoodFloorHalf_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_half.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
class WoodFloorQuarter_DZ: ModularItems
|
||||
{
|
||||
@@ -1729,6 +1807,19 @@ class CfgVehicles {
|
||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||
constructioncount = 1;
|
||||
GhostPreview = "WoodFloorQuarter_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_quarter.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class WoodLargeWall_DZ: ModularItems
|
||||
@@ -1746,6 +1837,18 @@ class CfgVehicles {
|
||||
upgradeBuilding[] = {"WoodLargeWallWin_DZ",{{"PartGlass",1}}};
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
GhostPreview = "WoodLargeWall_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class WoodLargeWallDoor_DZ: ModularItems
|
||||
@@ -1762,7 +1865,19 @@ class CfgVehicles {
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"Land_DZE_LargeWoodDoor",{{"PartWoodPlywood",1},{"PartWoodLumber",1}}};
|
||||
GhostPreview = "WoodLargeWallDoor_Preview_DZ";
|
||||
GhostPreview = "WoodLargeWallDoor_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
class WoodLargeWallWin_DZ: ModularItems
|
||||
{
|
||||
@@ -1778,6 +1893,18 @@ class CfgVehicles {
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
GhostPreview = "WoodLargeWallWin_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class WoodSmallWall_DZ: ModularItems
|
||||
@@ -1795,6 +1922,18 @@ class CfgVehicles {
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"WoodSmallWallWin_DZ",{{"PartGlass",1}}};
|
||||
GhostPreview = "WoodSmallWall_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
class WoodSmallWallThird_DZ: ModularItems
|
||||
{
|
||||
@@ -1810,7 +1949,19 @@ class CfgVehicles {
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||
constructioncount = 1;
|
||||
GhostPreview = "WoodSmallWallThird_Preview_DZ";
|
||||
GhostPreview = "WoodSmallWallThird_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_third.p3d";
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class WoodSmallWallWin_DZ: ModularItems
|
||||
@@ -1826,7 +1977,19 @@ class CfgVehicles {
|
||||
displayName = "Small Wall Window";
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
GhostPreview = "WoodSmallWallWin_Preview_DZ";
|
||||
GhostPreview = "WoodSmallWallWin_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
class WoodSmallWallDoor_DZ: ModularItems
|
||||
{
|
||||
@@ -1843,6 +2006,19 @@ class CfgVehicles {
|
||||
upgradeBuilding[] = {"Land_DZE_WoodDoor",{{"PartWoodPlywood",1},{"PartWoodLumber",1}}};
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
GhostPreview = "WoodSmallWallDoor_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects
|
||||
{
|
||||
class Ruin1
|
||||
{
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d"; /* path to the object*/
|
||||
/* Warning, if you use a custom rubble model, it has to be defined in the cfgvehicles (see below)*/
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
class WoodStairs_DZ: ModularItems
|
||||
{
|
||||
@@ -1904,7 +2080,7 @@ class CfgVehicles {
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 1000;
|
||||
displayName = "Block Garage Doorway";
|
||||
displayName = "Block Doorway";
|
||||
vehicleClass = "Fortifications";
|
||||
};
|
||||
class CinderWallDoorway_Preview_DZ: NonStrategic
|
||||
|
||||
Reference in New Issue
Block a user