From b29208ee9f6a3c2bfc6d6f46a6dce21419c46726 Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Sat, 1 Feb 2014 00:21:02 +0100 Subject: [PATCH] Split DZE --- .../CfgVehicles/DZE/ModularBuilding.hpp | 739 ++++++++++++++++++ .../Configs/CfgVehicles/DZE/Veins.hpp | 63 ++ .../Configs/CfgVehicles/DZE/WeaponHolder.hpp | 55 ++ 3 files changed, 857 insertions(+) create mode 100644 SQF/dayz_code/Configs/CfgVehicles/DZE/ModularBuilding.hpp create mode 100644 SQF/dayz_code/Configs/CfgVehicles/DZE/Veins.hpp create mode 100644 SQF/dayz_code/Configs/CfgVehicles/DZE/WeaponHolder.hpp diff --git a/SQF/dayz_code/Configs/CfgVehicles/DZE/ModularBuilding.hpp b/SQF/dayz_code/Configs/CfgVehicles/DZE/ModularBuilding.hpp new file mode 100644 index 000000000..bc6e238d9 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/DZE/ModularBuilding.hpp @@ -0,0 +1,739 @@ +class ModularItems: NonStrategic{ + placement = "vertical"; + class DestructionEffects { + class Sound { + simulation = "sound"; + type = "DestrHouse"; + position = "destructionEffect1"; + intensity = 1; + interval = 1; + lifeTime = 0.05; + }; + class DestroyPhase1 { + simulation = "destroy"; + type = "DelayedDestruction"; + lifeTime = 2.5; + position = ""; + intensity = 1; + interval = 1; + }; + class DamageAround1 { + simulation = "damageAround"; + type = "DamageAroundHouse"; + position = ""; + intensity = 0.1; + interval = 1; + lifeTime = 1; + }; + }; +}; +class MetalFloor_DZ: ModularItems { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,4,0}; + model="\z\addons\dayz_epoch\models\metal_floor.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 3000; + displayName = "Metal Floor"; + vehicleClass = "Fortifications"; + GhostPreview = "MetalFloor_Preview_DZ"; + class DestructionEffects : DestructionEffects { + class Ruin1 { + simulation = "ruin"; + type = "\z\addons\dayz_epoch\models\wreck_metal_floor.p3d"; + position = ""; + intensity = 1; + interval = 1; + lifeTime = 1; + }; + }; +}; +class WoodRamp_DZ: ModularItems { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,4,0}; + model="\z\addons\dayz_epoch\models\Wood_Ramp.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 2000; + displayName = "Wood Ramp"; + vehicleClass = "Fortifications"; + GhostPreview = "WoodRamp_Preview_DZ"; +}; +class CinderWallHalf_DZ: ModularItems { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\cinder_wall_half.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 2200; + displayName = "Half Cinder Block Wall"; + vehicleClass = "Fortifications"; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\cinder_wall_full.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 3400; + displayName = "Cinder Block Wall"; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,2,0}; + model="\z\addons\dayz_epoch\models\steel_garage_frame.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 3400; + displayName = "Block Garage Doorway"; + vehicleClass = "Fortifications"; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,2,0}; + model="\z\addons\dayz_epoch\models\Steel_door_frame.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 3400; + displayName = "Block Doorway"; + vehicleClass = "Fortifications"; + maintainBuilding[] = {{"MortarBucket",1}}; + upgradeBuilding[] = {"CinderWallDoorSmall_DZ",{{"ItemPole",1},{"ItemTankTrap",1}}}; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,4,0}; + model="\z\addons\dayz_epoch\models\Wood_Floor.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 2000; + displayName = "Wood Floor"; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,4,0}; + model="\z\addons\dayz_epoch\models\half_floor.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Wood Floor 1/2"; + vehicleClass = "Fortifications"; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,4,0}; + model="\z\addons\dayz_epoch\models\quarter_floor.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 600; + displayName = "Wood Floor 1/4"; + vehicleClass = "Fortifications"; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\large_wall.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 2200; + displayName = "Large Wall"; + vehicleClass = "Fortifications"; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\large_wall_door.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 2200; + displayName = "Large Wall Doorway"; + vehicleClass = "Fortifications"; + maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}}; + upgradeBuilding[] = {"Land_DZE_LargeWoodDoor",{{"PartWoodPlywood",1},{"PartWoodLumber",1}}}; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\large_wall_win.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 2200; + displayName = "Large Wall Window"; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\small_wall.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 2000; + displayName = "Small Wall"; + vehicleClass = "Fortifications"; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\third_wall.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 600; + displayName = "Wood Wall 1/3"; + vehicleClass = "Fortifications"; + maintainBuilding[] = {{"PartWoodLumber",1}}; + constructioncount = 1; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\small_wall_win.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 2000; + displayName = "Small Wall Window"; + vehicleClass = "Fortifications"; + maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}}; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\small_wall_door.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 2000; + displayName = "Small Wall Door"; + vehicleClass = "Fortifications"; + 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 { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\wood_stairs.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 600; + displayName = "Wood Stairs"; + vehicleClass = "Fortifications"; + maintainBuilding[] = {{"PartWoodLumber",1}}; + GhostPreview = "WoodStairs_Preview_DZ"; +}; +class WoodLadder_DZ: ModularItems { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\wood_ladder.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 300; + displayName = "Wood Ladder"; + vehicleClass = "Fortifications"; + maintainBuilding[] = {{"PartWoodLumber",1}}; + GhostPreview = "WoodLadder_Preview_DZ"; + ladders[] = {{"start1","end1"}}; +}; + +class WoodStairsSans_DZ: ModularItems { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\wood_stairs_sans.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 500; + displayName = "Wood Stairs Sans"; + vehicleClass = "Fortifications"; + maintainBuilding[] = {{"PartWoodLumber",1}}; + upgradeBuilding[] = {"WoodStairs_DZ",{{"PartWoodLumber",2}}}; + GhostPreview = "WoodStairsSans_Preview_DZ"; +}; + +// ghost models +class CinderWallSmallDoorway_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\Steel_door_frame_ghost.p3d"; // todo change this + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Block Doorway Preview"; + vehicleClass = "Fortifications"; +}; +class CinderWallDoorway_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\steel_garage_frame_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Block Garage Doorway Preview"; + vehicleClass = "Fortifications"; +}; +class MetalFloor_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\metal_floor_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Metal Floor Preview"; + vehicleClass = "Fortifications"; +}; +class WoodRamp_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\Wood_Ramp_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Wood Ramp Preview"; + vehicleClass = "Fortifications"; + +}; +class CinderWallHalf_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\cinder_wall_half_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Cinder Block Wall 1/2 Preview"; + vehicleClass = "Fortifications"; +}; +class CinderWall_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\cinder_wall_full_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Cinder Block Wall Preview"; + vehicleClass = "Fortifications"; +}; + +class WoodFloorQuarter_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\quarter_floor_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Floor 1/4 Preview"; + vehicleClass = "Fortifications"; +}; +class WoodFloorHalf_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\half_floor_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Floor 1/2 Preview"; + vehicleClass = "Fortifications"; +}; +class WoodSmallWall_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\small_wall_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Small Wall Preview"; + vehicleClass = "Fortifications"; +}; +class WoodSmallWallThird_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\third_wall_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Small Wall Preview 1/3"; + vehicleClass = "Fortifications"; +}; +class WoodSmallWallWin_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\small_wall_win_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Small Wall Window Preview"; + vehicleClass = "Fortifications"; +}; +class WoodFloor_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\Wood_Floor_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Wood Floor Preview"; + vehicleClass = "Fortifications"; +}; +class WoodSmallWallDoor_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\small_wall_door_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Small Wall Door Preview"; + vehicleClass = "Fortifications"; +}; +class WoodLargeWall_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\large_wall_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Large Wall Preview"; + vehicleClass = "Fortifications"; +}; +class WoodLargeWallDoor_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\large_wall_door_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Large Wall Door Preview"; + vehicleClass = "Fortifications"; +}; +class WoodLargeWallWin_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\large_wall_win_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Large Wall Window Preview"; + vehicleClass = "Fortifications"; +}; + +class WoodStairs_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\wood_stairs_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Wood Stairs Preview"; + vehicleClass = "Fortifications"; +}; +class WoodStairsSans_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\wood_stairs_sans_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Wood Stairs Sans Preview"; + vehicleClass = "Fortifications"; +}; + +class WoodLadder_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\wood_ladder_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Wood Stairs Sans Preview"; + vehicleClass = "Fortifications"; +}; +class WoodDoor_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\small_wall_door_anim_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Door Preview"; + vehicleClass = "Fortifications"; +}; +class LargeWoodDoor_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\large_wall_door_anim_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Large Door Preview"; + vehicleClass = "Fortifications"; +}; +class GarageWoodDoor_Preview_DZ: NonStrategic { + scope = 2; + destrType = "DestructNo"; + cost = 100; + offset[] = {0,1.5,0}; + model="\z\addons\dayz_epoch\models\Garage_door_anim_ghost.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 1000; + displayName = "Garage Door Preview"; + vehicleClass = "Fortifications"; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/DZE/Veins.hpp b/SQF/dayz_code/Configs/CfgVehicles/DZE/Veins.hpp new file mode 100644 index 000000000..972f5d91c --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/DZE/Veins.hpp @@ -0,0 +1,63 @@ +class Gold_Vein_DZE: MiningItems { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + model="\z\addons\dayz_epoch\models\gold_vein.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 70; + displayName = "Rock with Gold"; + vehicleClass = "Fortifications"; + class DestructionEffects : DestructionEffects { + class Ruin1 { + simulation = "ruin"; + type = "\z\addons\dayz_epoch\models\gold_vein_wreck.p3d"; + position = ""; + intensity = 1; + interval = 1; + lifeTime = 1; + }; + }; +}; +class Silver_Vein_DZE: MiningItems { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + model="\z\addons\dayz_epoch\models\silver_vein.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 60; + displayName = "Rock with Silver"; + vehicleClass = "Fortifications"; + class DestructionEffects : DestructionEffects { + class Ruin1 { + simulation = "ruin"; + type = "\z\addons\dayz_epoch\models\silver_vein_wreck.p3d"; + position = ""; + intensity = 1; + interval = 1; + lifeTime = 1; + }; + }; +}; +class Iron_Vein_DZE: MiningItems { + scope = 2; + destrType = "DestructBuilding"; + cost = 100; + model="\z\addons\dayz_epoch\models\iron_vein.p3d"; + icon = "\ca\data\data\Unknown_object.paa"; + mapSize = 2; + armor = 50; + displayName = "Rock with Iron"; + vehicleClass = "Fortifications"; + class DestructionEffects : DestructionEffects { + class Ruin1 { + simulation = "ruin"; + type = "\z\addons\dayz_epoch\models\iron_vein_wreck.p3d"; + position = ""; + intensity = 1; + interval = 1; + lifeTime = 1; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgVehicles/DZE/WeaponHolder.hpp b/SQF/dayz_code/Configs/CfgVehicles/DZE/WeaponHolder.hpp new file mode 100644 index 000000000..77bd5be45 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgVehicles/DZE/WeaponHolder.hpp @@ -0,0 +1,55 @@ +class ReammoBox; +class WeaponHolderBase: ReammoBox { + scope = 0; + accuracy = 1000; + vehicleClass = "Survival"; + displayName = "Weapon"; + memoryPointSupply = "collect"; + supplyRadius = 3; + transportMaxWeapons = 0; + transportMaxMagazines = 0; + transportMaxBackpacks = 0; + transportAmmo = 0; + transportRepair = 0; + transportFuel = 0; +}; +class WoodenArrowF : WeaponHolderBase { + scope = public; + displayName = "Arrow"; + model = "\dayz_weapons\models\bolt"; + class eventHandlers { + init = "[(_this select 0),'cfgMagazines','WoodenArrow'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; + }; +}; +class WeaponHolder_ItemHatchet_DZE: WeaponHolderBase { + scope = 2; + displayName = $STR_EQUIP_NAME_41; + model = "\dayz_equip\models\hatchet.p3d"; + class eventHandlers { + init = "[(_this select 0),'cfgWeapons','ItemHatchet_DZE'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; + }; +}; +class WeaponHolder_ItemMachete: WeaponHolderBase { + scope = 2; + displayName = "Machete"; + model="\z\addons\dayz_communityassets\models\machete.p3d"; + class eventHandlers { + init = "[(_this select 0),'cfgWeapons','ItemMachete'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; + }; +}; +class WeaponHolder_MeleeCrowbar: WeaponHolderBase { + scope = 2; + displayName = "Crowbar"; + model = "\dayz_equip\models\crowbar.p3d"; + class eventHandlers { + init = "[(_this select 0),'cfgWeapons','ItemCrowbar'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; + }; +}; +class WeaponHolder_ItemJerrycanEmpty: WeaponHolderBase { + scope = 2; + displayName = $STR_EQUIP_NAME_39; + model = "\dayz_equip\proxy\jerrycan.p3d"; + class eventHandlers { + init = "[(_this select 0),'cfgMagazines','ItemJerrycanEmpty'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';"; + }; +}; \ No newline at end of file