Move new items to misc config

This commit is contained in:
A Man
2021-12-23 19:08:16 +01:00
parent db4a417f30
commit f7e71c744d
7 changed files with 597 additions and 604 deletions

View File

@@ -251,6 +251,47 @@ class FortifiedWire_DZ : ModularItems {
nounderground = 0;
};
class BarbedGate_DZ: ModularItems {
scope = 2;
offset[] = {0,4,0};
model = "ca\misc2\BarbGate.p3d";
armor = 3000;
displayName = $STR_EQUIP_NAME_BARBED_GATE;
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemWire",1}};
constructioncount = 2;
class AnimationSources
{
class Door01 {
source = "User";
animPeriod = 1;
initPhase = 0;
};
};
class UserActions
{
class CloseDoor
{
position = "";
displayName = "Close Door";
radius = 1.5;
onlyForPlayer = 0;
condition = "this animationPhase 'Door01' == 1";
statement = "this animate ['Door01', 0];";
};
class OpenDoor
{
position = "";
displayName = "Open Door";
radius = 1.5;
onlyForPlayer = 0;
condition = "this animationPhase 'Door01' == 0";
statement = "this animate ['Door01', 1];";
};
};
};
class WoodGate_DZ: BuiltItems
{
scope = 2;
@@ -294,6 +335,155 @@ class WoodGate_DZ: BuiltItems
};
};
class ConcreteBarrier_DZ: ModularItems {
scope = 2;
offset[] = {0,2,-0.05};
model = "\ca\misc3\CncBlock.p3d";
armor = 4000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CNC_BARRIER;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 1;
nounderground = 0;
};
class ConcreteBarrierStriped_DZ: ModularItems {
scope = 2;
offset[] = {0,2,-0.05};
model = "\ca\misc3\CncBlock_stripes.p3d";
armor = 4000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CNC_BARRIER_STRIPED;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 1;
nounderground = 0;
};
class ConcreteWall_DZ: ModularItems {
scope = 2;
offset[] = {0,3,0};
model = "\ca\mp_armory\misc\concrete_wall\concrete_wall.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CONCRETE_WALL;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
class ConcretePipe_DZ: ModularItems {
scope = 2;
offset[] = {0,3,0};
model = "\ca\structures_e\misc\misc_construction\misc_concpipeline_ep1.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CONCRETE_PIPE;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
class DragonTeeth_DZ: ModularItems {
scope = 2;
offset[] = {0,5.5,0};
model = "\ca\misc3\dragonTeeth\dragonTeeth.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_DRAGONTEETH;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
class DragonTeethBig_DZ: ModularItems {
scope = 2;
offset[] = {0,5.5,0};
model = "\ca\misc3\dragonTeeth\dragonTeethBig.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_DRAGONTEETH_BIG;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
class SimpleFootbridge_DZ: ModularItems {
scope = 2;
offset[] = {0,4,0.05};
useModelCenter = 1;
model = "mbg_killhouses\m\MBG_Woodplanks.p3d";
armor = 200;
nounderground = 0;
displayName = $STR_EQUIP_NAME_SIMPLE_FOOTBRIDGE;
maintainBuilding[] = {{"ItemPlank",1}};
};
class WoodenFootbridge_DZ: ModularItems {
scope = 2;
offset[] = {0,3.5,0};
useModelCenter = 1;
model = "ca\misc_acr\scaffoldingsmall\misc_crossing0st.p3d";
armor = 200;
nounderground = 0;
displayName = $STR_EQUIP_NAME_WOODEN_FOOTBRIDGE;
maintainBuilding[] = {{"ItemPlank",1}};
};
class Windbreak_DZ: ModularItems {
scope = 2;
offset[] = {0,3,-0.1};
model = "ca\structures\Misc\Misc_WindBreak\Misc_WindBreak.p3d";
armor = 1000;
nounderground = 0;
displayName = $STR_EQUIP_NAME_WINDBREAK;
maintainBuilding[] = {{"ItemPlank",1}};
};
class MetalContainer1A_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1A.p3d"; // red
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1A;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer1B_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1B.p3d"; // green
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1B;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer1G_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1G.p3d"; // white
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1G;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer2D_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo2D.p3d"; // 2x red
armor = 40000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_2D;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",4}};
constructioncount = 5;
};
class Notebook;
class Notebook_DZ: Notebook
{

View File

@@ -374,80 +374,4 @@ class Concrete_Bunker_Locked_DZ: CinderWallDoorLocked_DZ_Base {
statement = "dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;if(DZE_doorManagement) then {createdialog ""DoorAccess"";} else {createdialog ""ComboLockUI"";};";
};
};
};
///////////////////////////////////////////////////////////////////////////////////////////////////
class ConcreteBarrier_DZ: ModularItems {
scope = 2;
offset[] = {0,2,-0.05};
model = "\ca\misc3\CncBlock.p3d";
armor = 4000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CNC_BARRIER;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 1;
nounderground = 0;
};
class ConcreteBarrierStriped_DZ: ModularItems {
scope = 2;
offset[] = {0,2,-0.05};
model = "\ca\misc3\CncBlock_stripes.p3d";
armor = 4000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CNC_BARRIER_STRIPED;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 1;
nounderground = 0;
};
class ConcreteWall_DZ: ModularItems {
scope = 2;
offset[] = {0,3,0};
model = "\ca\mp_armory\misc\concrete_wall\concrete_wall.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CONCRETE_WALL;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
class ConcretePipe_DZ: ModularItems {
scope = 2;
offset[] = {0,3,0};
model = "\ca\structures_e\misc\misc_construction\misc_concpipeline_ep1.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CONCRETE_PIPE;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
class DragonTeeth_DZ: ModularItems {
scope = 2;
offset[] = {0,5.5,0};
model = "\ca\misc3\dragonTeeth\dragonTeeth.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_DRAGONTEETH;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
class DragonTeethBig_DZ: ModularItems {
scope = 2;
offset[] = {0,5.5,0};
model = "\ca\misc3\dragonTeeth\dragonTeethBig.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_DRAGONTEETH_BIG;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
};

View File

@@ -103,91 +103,4 @@ class GlassFloor_Quarter_DZ: ModularItems {
displayName = $STR_EPOCH_GLASSFLOORQUARTER;
maintainBuilding[] = {{"PartGlass",1}};
GhostPreview = "GlassFloor_Quarter_Preview_DZ";
};
///////////////////////////////////////////////////////////////////////////////////////////////////
class MetalContainer1A_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1A.p3d"; // red
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1A;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer1B_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1B.p3d"; // green
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1B;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer1G_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1G.p3d"; // white
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1G;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer2D_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo2D.p3d"; // 2x red
armor = 40000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_2D;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",4}};
constructioncount = 5;
};
class BarbedGate_DZ: ModularItems {
scope = 2;
offset[] = {0,4,0};
model = "ca\misc2\BarbGate.p3d";
armor = 3000;
displayName = $STR_EQUIP_NAME_BARBED_GATE;
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemWire",1}};
constructioncount = 2;
class AnimationSources
{
class Door01 {
source = "User";
animPeriod = 1;
initPhase = 0;
};
};
class UserActions
{
class CloseDoor
{
position = "";
displayName = "Close Door";
radius = 1.5;
onlyForPlayer = 0;
condition = "this animationPhase 'Door01' == 1";
statement = "this animate ['Door01', 0];";
};
class OpenDoor
{
position = "";
displayName = "Open Door";
radius = 1.5;
onlyForPlayer = 0;
condition = "this animationPhase 'Door01' == 0";
statement = "this animate ['Door01', 1];";
};
};
};
};

View File

@@ -366,38 +366,4 @@ class WoodPillar_DZ: ModularItems {
displayName = $STR_EPOCH_WOODPILLAR;
maintainBuilding[] = {{"PartWoodLumber",1}};
GhostPreview = "Wood_Pillar_Preview_DZ";
};
///////////////////////////////////////////////////////////////////////////////////////////////////
class SimpleFootbridge_DZ: ModularItems {
scope = 2;
offset[] = {0,4,0.05};
useModelCenter = 1;
model = "mbg_killhouses\m\MBG_Woodplanks.p3d";
armor = 200;
nounderground = 0;
displayName = $STR_EQUIP_NAME_SIMPLE_FOOTBRIDGE;
maintainBuilding[] = {{"ItemPlank",1}};
};
class WoodenFootbridge_DZ: ModularItems {
scope = 2;
offset[] = {0,3.5,0};
useModelCenter = 1;
model = "ca\misc_acr\scaffoldingsmall\misc_crossing0st.p3d";
armor = 200;
nounderground = 0;
displayName = $STR_EQUIP_NAME_WOODEN_FOOTBRIDGE;
maintainBuilding[] = {{"ItemPlank",1}};
};
class Windbreak_DZ: ModularItems {
scope = 2;
offset[] = {0,3,-0.1};
model = "ca\structures\Misc\Misc_WindBreak\Misc_WindBreak.p3d";
armor = 1000;
nounderground = 0;
displayName = $STR_EQUIP_NAME_WINDBREAK;
maintainBuilding[] = {{"ItemPlank",1}};
};
};