Building offset adjustments

Most items are now adjusted so you cannot rotate them and slide
backwards even while laying down. Also fixes full cinderwall build
height offset
This commit is contained in:
icomrade
2016-07-22 23:07:53 -04:00
parent 640e120590
commit 28f6260c16
3 changed files with 17 additions and 10 deletions

View File

@@ -93,7 +93,7 @@ class CinderWall_DZ: ModularItems {
scope = public; scope = public;
destrType = "DestructBuilding"; destrType = "DestructBuilding";
cost = 100; cost = 100;
offset[] = {0,1.5,0}; offset[] = {0,1.5,1.65};
model="\z\addons\dayz_epoch\models\cinder_wall_full.p3d"; model="\z\addons\dayz_epoch\models\cinder_wall_full.p3d";
icon = "\ca\data\data\Unknown_object.paa"; icon = "\ca\data\data\Unknown_object.paa";
mapSize = 2; mapSize = 2;

View File

@@ -228,7 +228,7 @@ class Sandbag1_DZ: BuiltItems
cost = 100; cost = 100;
model = "\ca\misc2\BagFenceLong.p3d"; model = "\ca\misc2\BagFenceLong.p3d";
icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa"; icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa";
offset[] = {0,1.5,0.5}; offset[] = {0,3,0.5};
mapSize = 2; mapSize = 2;
armor = 400; armor = 400;
displayName = "Bag Fence"; displayName = "Bag Fence";
@@ -504,7 +504,7 @@ class DesertCamoNet_DZ: Land_CamoNet_EAST_EP1
armor = 300; armor = 300;
destrType = "DestructNo"; destrType = "DestructNo";
scope = public; scope = public;
offset[] = {0,5,0}; offset[] = {0,9,0};
displayName = "Desert Camo Net"; displayName = "Desert Camo Net";
vehicleClass = "Fortifications"; vehicleClass = "Fortifications";
removeoutput[] = {{"desert_net_kit",1}}; removeoutput[] = {{"desert_net_kit",1}};
@@ -515,7 +515,7 @@ class ForestCamoNet_DZ: Land_CamoNet_EAST
armor = 300; armor = 300;
destrType = "DestructNo"; destrType = "DestructNo";
scope = public; scope = public;
offset[] = {0,5,0}; offset[] = {0,9,0};
displayName = "Forest Camo Net"; displayName = "Forest Camo Net";
vehicleClass = "Fortifications"; vehicleClass = "Fortifications";
removeoutput[] = {{"forest_net_kit",1}}; removeoutput[] = {{"forest_net_kit",1}};
@@ -559,7 +559,7 @@ class MetalGate_DZ: Land_Wall_Gate_Ind1_L
{ {
armor = 400; armor = 400;
scope = public; scope = public;
offset[] = {0,2.5,1}; offset[] = {0,6,1};
displayName = "Rusty Gate"; displayName = "Rusty Gate";
vehicleClass = "Fortifications"; vehicleClass = "Fortifications";
removeoutput[] = {{"rusty_gate_kit",1}}; removeoutput[] = {{"rusty_gate_kit",1}};
@@ -583,7 +583,7 @@ class StorageShed_DZ: Land_Shed_M01
{ {
armor = 1600; armor = 1600;
scope = public; scope = public;
offset[] = {0,2.5,1}; offset[] = {0,4,1};
displayName = "Storage Shed"; displayName = "Storage Shed";
vehicleClass = "Fortifications"; vehicleClass = "Fortifications";
transportMaxMagazines = 400; transportMaxMagazines = 400;
@@ -596,7 +596,7 @@ class Fence_corrugated_DZ: Fence_corrugated_plate
{ {
armor = 600; armor = 600;
scope = public; scope = public;
offset[] = {0,2.5,1}; offset[] = {0,3,1};
removeoutput[] = {{"ItemCorrugated",1}}; removeoutput[] = {{"ItemCorrugated",1}};
displayName = "Corrugated Fence"; displayName = "Corrugated Fence";
vehicleClass = "Fortifications"; vehicleClass = "Fortifications";
@@ -608,7 +608,7 @@ class WoodShack_DZ: Land_kulna
{ {
scope = public; scope = public;
destrType = "DestructBuilding"; destrType = "DestructBuilding";
offset[] = {0,2.5,1.3}; offset[] = {0,4,1.3};
armor = 800; armor = 800;
displayName = "Wooden Shack"; displayName = "Wooden Shack";
vehicleClass = "Fortifications"; vehicleClass = "Fortifications";
@@ -624,7 +624,7 @@ class Wooden_shed_DZ: Land_Shed_wooden
scope = public; scope = public;
destrType = "DestructBuilding"; destrType = "DestructBuilding";
//cost = 100; //cost = 100;
offset[] = {0,3,1}; offset[] = {0,5,1};
armor = 800; armor = 800;
displayName = "Wooden Shed"; displayName = "Wooden Shed";
vehicleClass = "Fortifications"; vehicleClass = "Fortifications";
@@ -640,7 +640,7 @@ class StickFence_DZ: Wall_FenW2_6_EP1
destrType = "DestructTree"; destrType = "DestructTree";
armor = 200; armor = 200;
scope = public; scope = public;
offset[] = {0,2.5,0}; offset[] = {0,4.5,0};
displayName = "Stick Fence"; displayName = "Stick Fence";
vehicleClass = "Fortifications"; vehicleClass = "Fortifications";
}; };

View File

@@ -13,6 +13,7 @@ class DZ_storage_base : Land_A_tent {
constructioncount = 1; constructioncount = 1;
requireplot = 0; requireplot = 0;
nounderground = 0; nounderground = 0;
offset[] = {0,3,1};
}; };
class DomeTentStorage_base; class DomeTentStorage_base;
@@ -23,6 +24,7 @@ class DesertTentStorage: DomeTentStorage_base {
transportMaxMagazines = 75; transportMaxMagazines = 75;
transportMaxWeapons = 15; transportMaxWeapons = 15;
transportMaxBackpacks = 5; transportMaxBackpacks = 5;
offset[] = {0,3,1};
class Upgrade { class Upgrade {
requiredTools[] = {"ItemToolbox"}; requiredTools[] = {"ItemToolbox"};
requiredParts[] = {"equip_crate","PartWoodPile"}; requiredParts[] = {"equip_crate","PartWoodPile"};
@@ -37,6 +39,7 @@ class DesertTentStorage0: DomeTentStorage_base {
transportMaxMagazines = 100; transportMaxMagazines = 100;
transportMaxWeapons = 20; transportMaxWeapons = 20;
transportMaxBackpacks = 6; transportMaxBackpacks = 6;
offset[] = {0,3,1};
class Upgrade { class Upgrade {
requiredTools[] = {"ItemToolbox"}; requiredTools[] = {"ItemToolbox"};
requiredParts[] = {"equip_crate","PartWoodPile"}; requiredParts[] = {"equip_crate","PartWoodPile"};
@@ -51,6 +54,7 @@ class DesertTentStorage1: DomeTentStorage_base {
transportMaxMagazines = 125; transportMaxMagazines = 125;
transportMaxWeapons = 25; transportMaxWeapons = 25;
transportMaxBackpacks = 7; transportMaxBackpacks = 7;
offset[] = {0,3,1};
class Upgrade { class Upgrade {
requiredTools[] = {"ItemToolbox"}; requiredTools[] = {"ItemToolbox"};
requiredParts[] = {"equip_crate","PartWoodPile"}; requiredParts[] = {"equip_crate","PartWoodPile"};
@@ -65,6 +69,7 @@ class DesertTentStorage2: DomeTentStorage_base {
transportMaxMagazines = 150; transportMaxMagazines = 150;
transportMaxWeapons = 30; transportMaxWeapons = 30;
transportMaxBackpacks = 8; transportMaxBackpacks = 8;
offset[] = {0,3,1};
class Upgrade { class Upgrade {
requiredTools[] = {"ItemToolbox"}; requiredTools[] = {"ItemToolbox"};
requiredParts[] = {"equip_crate","PartWoodPile"}; requiredParts[] = {"equip_crate","PartWoodPile"};
@@ -79,6 +84,7 @@ class DesertTentStorage3: DomeTentStorage_base {
transportMaxMagazines = 175; transportMaxMagazines = 175;
transportMaxWeapons = 35; transportMaxWeapons = 35;
transportMaxBackpacks = 9; transportMaxBackpacks = 9;
offset[] = {0,3,1};
class Upgrade { class Upgrade {
requiredTools[] = {"ItemToolbox"}; requiredTools[] = {"ItemToolbox"};
requiredParts[] = {"equip_crate","PartWoodPile"}; requiredParts[] = {"equip_crate","PartWoodPile"};
@@ -93,4 +99,5 @@ class DesertTentStorage4 : DomeTentStorage_base {
transportMaxMagazines = 200; //same as ural transportMaxMagazines = 200; //same as ural
transportMaxWeapons = 40; transportMaxWeapons = 40;
transportMaxBackpacks = 10; transportMaxBackpacks = 10;
offset[] = {0,3,1};
}; };