mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
Add wooden triangle wall
Model made by @Helion4
This commit is contained in:
@@ -314,6 +314,15 @@ class ItemWoodFloorHalf: CA_Magazine
|
||||
output[] = {{"ItemWoodFloor",1}};
|
||||
input[] = {{"ItemWoodFloorHalf",2}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_WOODENTRIANGLEWALL;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemTriangleWoodWall",1}};
|
||||
input[] = {{"ItemWoodFloorQuarter",1},{"ItemWoodFloorHalf",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -345,6 +354,15 @@ class ItemWoodFloorQuarter: CA_Magazine
|
||||
output[] = {{"ItemWoodFloorHalf",1}};
|
||||
input[] = {{"ItemWoodFloorQuarter",2}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_ACTION_WOODENTRIANGLEWALL;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemTriangleWoodWall",1}};
|
||||
input[] = {{"ItemWoodFloorQuarter",1},{"ItemWoodFloorHalf",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -472,6 +490,28 @@ class ItemWoodWall: CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTriangleWoodWall: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_TRIANGLE_WOODWALL;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
descriptionShort = $STR_EPOCH_TRIANGLE_WOODWALL_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodTriangleWall_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallThird: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
|
||||
@@ -340,6 +340,28 @@ class WoodSmallWallDoor_DZ: ModularItems {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class WoodTriangleWall_DZ: ModularItems {
|
||||
scope = 2;
|
||||
offset[] = {0,1.5,0};
|
||||
model = "\z\addons\dayz_epoch_v\base_building\wood\apex_tri\apex_tri.p3d";
|
||||
armor = 1500;
|
||||
displayName = $STR_EPOCH_TRIANGLE_WOODWALL;
|
||||
GhostPreview = "Wood_Triangle_Wall_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 WoodStairs_DZ: ModularItems {
|
||||
scope = 2;
|
||||
offset[] = {0,1.5,0};
|
||||
|
||||
@@ -132,6 +132,11 @@ class CinderGate_Preview_DZ: DZE_Ghost_Previews {
|
||||
};
|
||||
class Drawbridge_Preview_DZ: DZE_Ghost_Previews {
|
||||
scope = 2;
|
||||
model="z\addons\dayz_epoch_v\base_building\wood\draw_bridge\wood_draw_bridge_ghost.p3d";
|
||||
model = "z\addons\dayz_epoch_v\base_building\wood\draw_bridge\wood_draw_bridge_ghost.p3d";
|
||||
displayName = "Metal Drawbridge Preview";
|
||||
};
|
||||
class Wood_Triangle_Wall_Preview_DZ: DZE_Ghost_Previews {
|
||||
scope = 2;
|
||||
model = "\z\addons\dayz_epoch_v\base_building\wood\apex_tri\apex_tri.p3d";
|
||||
displayName = "Wood Triangle wall";
|
||||
};
|
||||
Reference in New Issue
Block a user