mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-19 22:52:56 +03:00
Add half cinder wall with gap
Model made by @Helion4
This commit is contained in:
@@ -238,6 +238,37 @@ class half_cinder_wall_kit: CA_Magazine
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "CinderWallHalf_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_252_2;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {};
|
||||
output[] = {{"half_cinder_wall_gap_kit",1}};
|
||||
input[] = {{"half_cinder_wall_kit",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class half_cinder_wall_gap_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_CINDERBLOCKWALL_HALF_GAP;
|
||||
descriptionShort = $STR_EPOCH_CINDERBLOCKWALL_DESC;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "CinderWallHalf_Gap_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -19,6 +19,27 @@ class CinderWallHalf_DZ: ModularItems {
|
||||
};
|
||||
};
|
||||
|
||||
class CinderWallHalf_Gap_DZ: ModularItems {
|
||||
scope = 2;
|
||||
offset[] = {0,2,0};
|
||||
model = "\z\addons\dayz_epoch\models\cinder_wall_half2.p3d";
|
||||
armor = 2200;
|
||||
displayName = $STR_EPOCH_CINDERBLOCKWALL_HALF_GAP;
|
||||
upgradeBuilding[] = {"CinderWall_DZ",{"ItemToolbox"},{{"CinderBlocks",4},{"MortarBucket",1}}};
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
GhostPreview = "CinderWallHalf_Gap_Preview_DZ";
|
||||
class DestructionEffects : DestructionEffects {
|
||||
class Ruin1 {
|
||||
simulation = "ruin";
|
||||
type = "\z\addons\dayz_epoch\models\wreck_cinder.p3d";
|
||||
position = "";
|
||||
intensity = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CinderWall_DZ: ModularItems {
|
||||
scope = 2;
|
||||
offset[] = {0,2,0};
|
||||
|
||||
@@ -223,4 +223,9 @@ class WoodTriangleFloor_Preview_DZ: DZE_Ghost_Previews {
|
||||
scope = 2;
|
||||
model = "\z\addons\dayz_epoch_v\base_building\floors\wood_tri_floor_ghost.p3d";
|
||||
displayName = "Wood Triangle Floor Preview";
|
||||
};
|
||||
class CinderWallHalf_Gap_Preview_DZ: DZE_Ghost_Previews {
|
||||
scope = 2;
|
||||
model = "\z\addons\dayz_epoch\models\cinder_wall_half2_ghost.p3d";
|
||||
displayName = "Cinder Wall Half Gap Preview";
|
||||
};
|
||||
Reference in New Issue
Block a user