mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Re-arrange CfgVehicles config for buildings and buildables
- All buildables are grouped together now. - Buildables can be used and found under "DayZ Epoch Buildables" in the editor now. - Update scope of a few vehicles. Most base classes should be private or at least protected. - Epoch Loot Container can be found under "DayZ Epoch Crates" in the editor now.
This commit is contained in:
719
SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp
Normal file
719
SQF/dayz_code/Configs/CfgVehicles/Buildables/Doors.hpp
Normal file
@@ -0,0 +1,719 @@
|
||||
/* Again your very own basic definition*/
|
||||
class DZE_Base_Object : All {
|
||||
scope = private;
|
||||
side = 3;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
nameSound = "object";
|
||||
simulation = "house";
|
||||
picture = "pictureStaticObject";
|
||||
model="";
|
||||
sound = "Building";
|
||||
placement = "vertical";
|
||||
ladders[] = {};
|
||||
vehicleClass = "";
|
||||
displayName = "";
|
||||
mapSize = 7.5;
|
||||
animated = true;
|
||||
armor = 2200;
|
||||
destrType = "DestructBuilding";
|
||||
damageResistance = 0.004;
|
||||
// static
|
||||
reversed = 0;
|
||||
hasDriver = 0;
|
||||
accuracy = 0.1;
|
||||
cost = 1000;
|
||||
weapons[] = {};
|
||||
magazines[] = {};
|
||||
irTarget = 0;
|
||||
type = 1;
|
||||
threat[] = {0,0,0};
|
||||
maxSpeed = 0;
|
||||
|
||||
//coefInside = 4;
|
||||
//coefInsideHeur = 4;
|
||||
|
||||
// test settings from h barrier to see if this prevents glitching though a door
|
||||
coefInside = 0.5;
|
||||
coefInsideHeur = 0.8;
|
||||
|
||||
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 = 1;
|
||||
interval = 1;
|
||||
lifeTime = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Your very own base class for buildings*/
|
||||
class DZE_Housebase : DZE_Base_Object {
|
||||
scope = protected;
|
||||
model = "";
|
||||
icon = "";
|
||||
displayName = "";
|
||||
animated = true;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
nameSound = "house";
|
||||
accuracy = 0.2;
|
||||
typicalCargo[] = {};
|
||||
transportAmmo = 0;
|
||||
transportRepair = 0;
|
||||
transportFuel = 0;
|
||||
mapSize = 11;
|
||||
cost = 0;
|
||||
armor = 2200;
|
||||
reversed = 0;
|
||||
/*extern*/ class DestructionEffects;
|
||||
};
|
||||
|
||||
class Land_DZE_WoodDoor_Base: DZE_Housebase {
|
||||
model = "\z\addons\dayz_epoch\models\small_wall_door_anim.p3d"; /* path to the object */
|
||||
displayName = "Wood Door Base"; /* entry in Stringtable.csv */
|
||||
nameSound = "";
|
||||
mapSize = 8; /* Size of the icon */
|
||||
icon = "\ca\data\data\Unknown_object.paa"; /* Path to the picture shown in the editor. */
|
||||
accuracy = 1000;
|
||||
armor = 2200; /* "Lifepoints", if you like to call it that way.*/
|
||||
destrType = "DestructBuilding"; /* type of destruction, when armor = 0 */
|
||||
scope = public; /* Display it in the editor? 1 = No, 2 = Yes */
|
||||
offset[] = {0,1.5,0};
|
||||
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;
|
||||
};
|
||||
};
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
class Land_DZE_WoodDoorLocked_Base: DZE_Housebase {
|
||||
model = "\z\addons\dayz_epoch\models\small_wall_door_anim.p3d"; /* path to the object */
|
||||
displayName = "Wood Door Base"; /* entry in Stringtable.csv */
|
||||
nameSound = "";
|
||||
mapSize = 8; /* Size of the icon */
|
||||
icon = "\ca\data\data\Unknown_object.paa"; /* Path to the picture shown in the editor. */
|
||||
accuracy = 1000;
|
||||
armor = 2500; /* "Lifepoints", if you like to call it that way.*/
|
||||
destrType = "DestructBuilding"; /* type of destruction, when armor = 0 */
|
||||
scope = public; /* Display it in the editor? 1 = No, 2 = Yes */
|
||||
offset[] = {0,1.5,0};
|
||||
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;
|
||||
};
|
||||
};
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
lockable = 3;
|
||||
};
|
||||
|
||||
class CinderWallDoor_DZ_Base: DZE_Housebase {
|
||||
model = "\z\addons\dayz_epoch\models\steel_garage_door.p3d"; /* path to the object */
|
||||
displayName = "Block Garage Door Base"; /* entry in Stringtable.csv */
|
||||
nameSound = "";
|
||||
mapSize = 8; /* Size of the icon */
|
||||
icon = "\ca\data\data\Unknown_object.paa"; /* Path to the picture shown in the editor. */
|
||||
accuracy = 1000;
|
||||
armor = 4000; /* "Lifepoints", if you like to call it that way.*/
|
||||
destrType = "DestructBuilding"; /* type of destruction, when armor = 0 */
|
||||
scope = public; /* Display it in the editor? 1 = No, 2 = Yes */
|
||||
offset[] = {0,1.5,0};
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
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 CinderWallDoorLocked_DZ_Base: DZE_Housebase {
|
||||
model = "\z\addons\dayz_epoch\models\steel_garage_door.p3d"; /* path to the object */
|
||||
displayName = "Block Garage Door Base"; /* entry in Stringtable.csv */
|
||||
nameSound = "";
|
||||
mapSize = 8; /* Size of the icon */
|
||||
icon = "\ca\data\data\Unknown_object.paa"; /* Path to the picture shown in the editor. */
|
||||
accuracy = 1000;
|
||||
armor = 4000; /* "Lifepoints", if you like to call it that way.*/
|
||||
destrType = "DestructBuilding"; /* type of destruction, when armor = 0 */
|
||||
scope = public; /* Display it in the editor? 1 = No, 2 = Yes */
|
||||
offset[] = {0,1.5,0};
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
lockable = 3;
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Your doorsegment is derivated from the normal wall.*/
|
||||
class Land_DZE_WoodDoor: Land_DZE_WoodDoor_Base {
|
||||
model = "\z\addons\dayz_epoch\models\small_wall_door_anim.p3d";
|
||||
displayName = $STR_EPOCH_WALLWITHDOOR;
|
||||
GhostPreview = "WoodDoor_Preview_DZ";
|
||||
upgradeBuilding[] = {"Land_DZE_WoodDoorLocked",{},{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
class Open_door {
|
||||
source = "user";
|
||||
animPeriod = 4; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
/* The entry to the actionmenu */
|
||||
class UserActions
|
||||
{
|
||||
class Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_O_DOOR;
|
||||
onlyforplayer = true;
|
||||
position="Door_knopf";
|
||||
radius=3; /* visibility distance of the entry */
|
||||
condition="this animationPhase ""Open_door"" < 0.5";
|
||||
statement="this animate [""Open_door"", 1]";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_C_DOOR;
|
||||
condition="this animationPhase ""Open_door"" >= 0.5";
|
||||
statement="this animate [""Open_door"", 0];";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Land_DZE_WoodDoorLocked: Land_DZE_WoodDoorLocked_Base {
|
||||
model = "\z\addons\dayz_epoch\models\small_wall_door_locked_anim.p3d";
|
||||
displayName = $STR_EPOCH_WALLWITHDOORLOCKED;
|
||||
GhostPreview = "WoodDoor_Preview_DZ";
|
||||
downgradeBuilding[] = {"Land_DZE_WoodDoor",{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
class Open_door {
|
||||
source = "user";
|
||||
animPeriod = 4; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
class Open_hinge {
|
||||
source = "user";
|
||||
animPeriod = 1; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
/* The entry to the actionmenu */
|
||||
class UserActions
|
||||
{
|
||||
class Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_O_DOOR;
|
||||
onlyforplayer = true;
|
||||
position="Door_knopf";
|
||||
radius=3; /* visibility distance of the entry */
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="this animate [""Open_door"", 1]";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_C_DOOR;
|
||||
//condition="(this animationPhase ""Open_door"" == 1) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(this animationPhase ""Open_door"" == 1) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="this animate [""Open_door"", 0]";
|
||||
};
|
||||
class Lock_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_LOCK;
|
||||
condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="PVDZE_handleSafeGear = [player,this,4];publicVariableServer ""PVDZE_handleSafeGear"";this animate [""Open_hinge"", 0]";
|
||||
};
|
||||
class Unlock_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(!keypadCancel and DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
statement="this animate [""Open_hinge"", 1]";
|
||||
};
|
||||
class Unlock_Door_Dialog : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="!keypadCancel and DZE_Lock_Door != (this getvariable['CharacterID','0'])";
|
||||
statement="dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;if(DZE_doorManagement) then {createdialog ""DoorAccess"";} else {createdialog ""ComboLockUI"";};";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Land_DZE_LargeWoodDoor: Land_DZE_WoodDoor_Base {
|
||||
model = "\z\addons\dayz_epoch\models\large_wall_door_anim.p3d";
|
||||
displayName = $STR_EPOCH_LARGEWALLWITHDOOR;
|
||||
GhostPreview = "LargeWoodDoor_Preview_DZ";
|
||||
upgradeBuilding[] = {"Land_DZE_LargeWoodDoorLocked",{},{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
class Open_door {
|
||||
source = "user";
|
||||
animPeriod = 4; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
/* The entry to the actionmenu */
|
||||
class UserActions
|
||||
{
|
||||
class Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_O_DOOR;
|
||||
onlyforplayer = true;
|
||||
position="Door_knopf";
|
||||
radius=3; /* visibility distance of the entry */
|
||||
condition="this animationPhase ""Open_door"" < 0.5";
|
||||
statement="this animate [""Open_door"", 1]";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_C_DOOR;
|
||||
condition="this animationPhase ""Open_door"" >= 0.5";
|
||||
statement="this animate [""Open_door"", 0]";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Land_DZE_LargeWoodDoorLocked: Land_DZE_WoodDoorLocked_Base {
|
||||
model = "\z\addons\dayz_epoch\models\large_wall_door_locked_anim.p3d";
|
||||
displayName = $STR_EPOCH_LARGEWALLWITHDOORLOCKED;
|
||||
GhostPreview = "LargeWoodDoor_Preview_DZ";
|
||||
downgradeBuilding[] = {"Land_DZE_LargeWoodDoor",{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
class Open_door {
|
||||
source = "user";
|
||||
animPeriod = 4; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
class Open_hinge {
|
||||
source = "user";
|
||||
animPeriod = 1; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
/* The entry to the actionmenu */
|
||||
class UserActions
|
||||
{
|
||||
class Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_O_DOOR;
|
||||
onlyforplayer = true;
|
||||
position="Door_knopf";
|
||||
radius=3; /* visibility distance of the entry */
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="this animate [""Open_door"", 1]";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_C_DOOR;
|
||||
//condition="(this animationPhase ""Open_door"" == 1) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(this animationPhase ""Open_door"" == 1) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="this animate [""Open_door"", 0]";
|
||||
};
|
||||
class Lock_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_LOCK;
|
||||
condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="PVDZE_handleSafeGear = [player,this,4];publicVariableServer ""PVDZE_handleSafeGear"";this animate [""Open_hinge"", 0]";
|
||||
};
|
||||
class Unlock_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(!keypadCancel and DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
statement="this animate [""Open_hinge"", 1]";
|
||||
};
|
||||
class Unlock_Door_Dialog : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="!keypadCancel and DZE_Lock_Door != (this getvariable['CharacterID','0'])";
|
||||
statement="dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;if(DZE_doorManagement) then {createdialog ""DoorAccess"";} else {createdialog ""ComboLockUI"";};";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Land_DZE_GarageWoodDoor: Land_DZE_WoodDoor_Base {
|
||||
model = "\z\addons\dayz_epoch\models\Garage_door_anim.p3d";
|
||||
displayName = $STR_EPOCH_WOODGARAGEDOOR;
|
||||
GhostPreview = "GarageWoodDoor_Preview_DZ";
|
||||
upgradeBuilding[] = {"Land_DZE_GarageWoodDoorLocked",{},{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
class Open_door {
|
||||
source = "user";
|
||||
animPeriod = 4; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
/* The entry to the actionmenu */
|
||||
class UserActions
|
||||
{
|
||||
class Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_O_DOOR;
|
||||
onlyforplayer = true;
|
||||
position="Door_knopf";
|
||||
radius=3; /* visibility distance of the entry */
|
||||
condition="this animationPhase ""Open_door"" < 0.5";
|
||||
statement="this animate [""Open_door"", 1]";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_C_DOOR;
|
||||
condition="this animationPhase ""Open_door"" >= 0.5";
|
||||
statement="this animate [""Open_door"", 0]";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Land_DZE_GarageWoodDoorLocked: Land_DZE_WoodDoorLocked_Base {
|
||||
model = "\z\addons\dayz_epoch\models\Garage_door_locked_anim.p3d";
|
||||
displayName = $STR_EPOCH_WOODGARAGEDOORLOCKED;
|
||||
GhostPreview = "GarageWoodDoor_Preview_DZ";
|
||||
downgradeBuilding[] = {"Land_DZE_GarageWoodDoor",{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
class Open_door {
|
||||
source = "user";
|
||||
animPeriod = 4; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
class Open_hinge {
|
||||
source = "user";
|
||||
animPeriod = 1; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
/* The entry to the actionmenu */
|
||||
class UserActions
|
||||
{
|
||||
class Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_O_DOOR;
|
||||
onlyforplayer = true;
|
||||
position="Door_knopf";
|
||||
radius=3; /* visibility distance of the entry */
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="this animate [""Open_door"", 1]";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_C_DOOR;
|
||||
//condition="(this animationPhase ""Open_door"" == 1) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(this animationPhase ""Open_door"" == 1) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="this animate [""Open_door"", 0]";
|
||||
};
|
||||
class Lock_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_LOCK;
|
||||
condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
statement="PVDZE_handleSafeGear = [player,this,4];publicVariableServer ""PVDZE_handleSafeGear"";this animate [""Open_hinge"", 0]";
|
||||
};
|
||||
class Unlock_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(!keypadCancel and DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
statement="this animate [""Open_hinge"", 1]";
|
||||
};
|
||||
class Unlock_Door_Dialog : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="!keypadCancel and DZE_Lock_Door != (this getvariable['CharacterID','0'])";
|
||||
statement="dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;if(DZE_doorManagement) then {createdialog ""DoorAccess"";} else {createdialog ""ComboLockUI"";};";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
class CinderWallDoorLocked_DZ: CinderWallDoorLocked_DZ_Base {
|
||||
model = "\z\addons\dayz_epoch\models\steel_garage_locked.p3d";
|
||||
displayName = $STR_EPOCH_BLOCKGARAGEDOORLOCKED;
|
||||
GhostPreview = "CinderWallDoorway_Preview_DZ";
|
||||
downgradeBuilding[] = {"CinderWallDoor_DZ",{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
class Open_door {
|
||||
source = "user";
|
||||
animPeriod = 4; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
class Open_latch {
|
||||
source = "user";
|
||||
animPeriod = 1; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
/* The entry to the actionmenu */
|
||||
class UserActions
|
||||
{
|
||||
class Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_O_DOOR;
|
||||
onlyforplayer = true;
|
||||
position="Door_knopf";
|
||||
radius=3; /* visibility distance of the entry */
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)";
|
||||
statement="this animate [""Open_door"", 1]";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_C_DOOR;
|
||||
//condition="(this animationPhase ""Open_door"" == 1) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(this animationPhase ""Open_door"" == 1) and (this animationPhase ""Open_latch"" == 1)";
|
||||
statement="this animate [""Open_door"", 0]";
|
||||
};
|
||||
class Lock_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_LOCK;
|
||||
condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)";
|
||||
statement="PVDZE_handleSafeGear = [player,this,4];publicVariableServer ""PVDZE_handleSafeGear"";this animate [""Open_latch"", 0]";
|
||||
};
|
||||
class Unlock_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(!keypadCancel and DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 0)";
|
||||
statement="this animate [""Open_latch"", 1]";
|
||||
};
|
||||
class Unlock_Door_Dialog : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="!keypadCancel and DZE_Lock_Door != (this getvariable['CharacterID','0'])";
|
||||
statement="dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;if(DZE_doorManagement) then {createdialog ""DoorAccess"";} else {createdialog ""ComboLockUI"";};";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
class CinderWallDoor_DZ: CinderWallDoor_DZ_Base {
|
||||
model = "\z\addons\dayz_epoch\models\steel_garage_door.p3d";
|
||||
displayName = $STR_EPOCH_BLOCKGARAGEDOOR;
|
||||
GhostPreview = "CinderWallDoorway_Preview_DZ";
|
||||
upgradeBuilding[] = {"CinderWallDoorLocked_DZ",{},{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
class Open_door {
|
||||
source = "user";
|
||||
animPeriod = 4; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
/* The entry to the actionmenu */
|
||||
class UserActions
|
||||
{
|
||||
class Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_O_DOOR;
|
||||
onlyforplayer = true;
|
||||
position="Door_knopf";
|
||||
radius=3; /* visibility distance of the entry */
|
||||
condition="this animationPhase ""Open_door"" < 0.5";
|
||||
statement="this animate [""Open_door"", 1]";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_C_DOOR;
|
||||
condition="this animationPhase ""Open_door"" >= 0.5";
|
||||
statement="this animate [""Open_door"", 0]";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
class CinderWallDoorSmallLocked_DZ: CinderWallDoorLocked_DZ_Base {
|
||||
model = "\z\addons\dayz_epoch\models\Steel_door_locked.p3d";
|
||||
displayName = $STR_EPOCH_BLOCKDOORLOCKED;
|
||||
GhostPreview = "CinderWallSmallDoorway_Preview_DZ";
|
||||
downgradeBuilding[] = {"CinderWallDoorSmall_DZ",{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
class Open_door {
|
||||
source = "user";
|
||||
animPeriod = 4; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
class Open_latch {
|
||||
source = "user";
|
||||
animPeriod = 1; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
/* The entry to the actionmenu */
|
||||
class UserActions
|
||||
{
|
||||
class Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_O_DOOR;
|
||||
onlyforplayer = true;
|
||||
position="Door_knopf";
|
||||
radius=3; /* visibility distance of the entry */
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)";
|
||||
statement="this animate [""Open_door"", 1]";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_C_DOOR;
|
||||
//condition="(this animationPhase ""Open_door"" == 1) and (this animationPhase ""Open_hinge"" == 1)";
|
||||
condition="(this animationPhase ""Open_door"" == 1) and (this animationPhase ""Open_latch"" == 1)";
|
||||
statement="this animate [""Open_door"", 0]";
|
||||
};
|
||||
class Lock_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_LOCK;
|
||||
condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 1)";
|
||||
statement="PVDZE_handleSafeGear = [player,this,4];publicVariableServer ""PVDZE_handleSafeGear"";this animate [""Open_latch"", 0]";
|
||||
};
|
||||
class Unlock_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="(!keypadCancel and DZE_Lock_Door == (this getvariable['CharacterID','0'])) and (this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_latch"" == 0)";
|
||||
statement="this animate [""Open_latch"", 1]";
|
||||
};
|
||||
class Unlock_Door_Dialog : Open_Door
|
||||
{
|
||||
displayName=$STR_EPOCH_DOORS_UNLOCK;
|
||||
//condition="(this animationPhase ""Open_door"" == 0) and (this animationPhase ""Open_hinge"" == 0)";
|
||||
condition="!keypadCancel and DZE_Lock_Door != (this getvariable['CharacterID','0'])";
|
||||
statement="dayz_selectedDoor = this;DZE_topCombo = 0;DZE_midCombo = 0;DZE_botCombo = 0;if(DZE_doorManagement) then {createdialog ""DoorAccess"";} else {createdialog ""ComboLockUI"";};";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
class CinderWallDoorSmall_DZ: CinderWallDoor_DZ_Base {
|
||||
model = "\z\addons\dayz_epoch\models\Steel_door.p3d";
|
||||
displayName = $STR_EPOCH_BLOCKDOOR;
|
||||
GhostPreview = "CinderWallSmallDoorway_Preview_DZ";
|
||||
upgradeBuilding[] = {"CinderWallDoorSmallLocked_DZ",{},{{"ItemComboLock",1}}};
|
||||
/* Arma needs to know, how the animation trigger is triggered*/
|
||||
class AnimationSources {
|
||||
/* name must be identical to the one given by the model.cfg ("Open_Door")" */
|
||||
class Open_door {
|
||||
source = "user";
|
||||
animPeriod = 4; /* duration in seconds */
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
|
||||
/* The entry to the actionmenu */
|
||||
class UserActions
|
||||
{
|
||||
class Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_O_DOOR;
|
||||
onlyforplayer = true;
|
||||
position="Door_knopf";
|
||||
radius=3; /* visibility distance of the entry */
|
||||
condition="this animationPhase ""Open_door"" < 0.5";
|
||||
statement="this animate [""Open_door"", 1]";
|
||||
};
|
||||
class Close_Door : Open_Door
|
||||
{
|
||||
displayName=$STR_DN_OUT_C_DOOR;
|
||||
condition="this animationPhase ""Open_door"" >= 0.5";
|
||||
statement="this animate [""Open_door"", 0]";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
Vanilla DayZ buildables are defined in \dayz_buildings\configs\
|
||||
Only included here to overwrite vanilla ItemPadlock with Epoch ItemComboLock
|
||||
*/
|
||||
class WoodenGate_Base;
|
||||
class WoodenGate_1: WoodenGate_Base
|
||||
{
|
||||
class Upgrade { //to next stage
|
||||
requiredTools[] = {"ItemEtool","ItemToolbox"};
|
||||
requiredParts[] = {"ItemLog","ItemComboLock"};
|
||||
create = "WoodenGate_2";
|
||||
};
|
||||
class Disassembly {
|
||||
requiredTools[] = {"ItemToolbox"};
|
||||
};
|
||||
};
|
||||
42
SQF/dayz_code/Configs/CfgVehicles/Buildables/Generator.hpp
Normal file
42
SQF/dayz_code/Configs/CfgVehicles/Buildables/Generator.hpp
Normal file
@@ -0,0 +1,42 @@
|
||||
class Generator_Base: Land_A_tent //Vanilla generator uses SkodaBase but is currently not functional
|
||||
{
|
||||
scope = private;
|
||||
model = "\dayz_equip\models\generator_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_generator_ca.paa";
|
||||
displayName="Generator";
|
||||
};
|
||||
class Generator_DZ: Generator_Base
|
||||
{
|
||||
scope = public;
|
||||
transportMaxWeapons=0;
|
||||
transportmaxbackpacks = 0;
|
||||
transportMaxMagazines=10;
|
||||
displayName = "Generator";
|
||||
weapons[] = {};
|
||||
magazines[] = {};
|
||||
class TransportBackpacks{};
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
class TransportItems{};
|
||||
maximumLoad = 200;
|
||||
supplyRadius = -1;
|
||||
memoryPointSupply = "";
|
||||
|
||||
soundengineoffext[] = {"ca\sounds\vehicles\Wheeled\sedan\ext\ext-sedan-stop-1", 0.398107, 1, 250};
|
||||
soundengineonext[] = {"ca\sounds\vehicles\Wheeled\sedan\ext\ext-sedan-start-1", 0.398107, 1, 250};
|
||||
// Epoch values
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
offset[] = {0,1.5,0};
|
||||
model = "\dayz_equip\models\generator.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
constructioncount = 1;
|
||||
removeoutput[] = {{"ItemGenerator",1}};
|
||||
requireplot = 0;
|
||||
nounderground = 0;
|
||||
|
||||
class Turrets {};
|
||||
};
|
||||
@@ -0,0 +1,57 @@
|
||||
class VaultStorage: Land_A_tent {
|
||||
placement = "vertical";
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
displayName = $STR_EPOCH_SAFE;
|
||||
model = "\z\addons\dayz_epoch\models\safe.p3d";
|
||||
destrType = "DestructNo";
|
||||
armor = 800;
|
||||
transportMaxMagazines = 200;
|
||||
transportMaxWeapons = 25;
|
||||
transportMaxBackpacks = 10;
|
||||
lockedClass = "VaultStorageLocked";
|
||||
packedClass = "WeaponHolder_ItemVault";
|
||||
};
|
||||
class VaultStorageLocked: Land_A_tent {
|
||||
placement = "vertical";
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
displayName = $STR_EPOCH_SAFE_LOCKED;
|
||||
model = "\z\addons\dayz_epoch\models\safe.p3d";
|
||||
destrType = "DestructNo";
|
||||
armor = 800;
|
||||
transportMaxMagazines = 0;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
offset[] = {0,2.5,0};
|
||||
lockable = 4;
|
||||
unlockedClass = "VaultStorage";
|
||||
requireplot = 0;
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class LockboxStorageLocked: Land_A_tent {
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
displayName = $STR_EPOCH_LOCKBOX_LOCKED;
|
||||
model = "\z\addons\dayz_epoch\models\lockbox.p3d";
|
||||
destrType = "DestructNo";
|
||||
armor = 800;
|
||||
transportMaxMagazines = 0;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
offset[] = {0,1.5,0.5};
|
||||
lockable = 2;
|
||||
unlockedClass = "LockboxStorage";
|
||||
nounderground = 0;
|
||||
requireplot = 0;
|
||||
};
|
||||
class LockboxStorage: Land_A_tent {
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
displayName = $STR_EPOCH_LOCKBOX;
|
||||
model = "\z\addons\dayz_epoch\models\lockbox.p3d";
|
||||
destrType = "DestructNo";
|
||||
armor = 800;
|
||||
transportMaxMagazines = 50;
|
||||
transportMaxWeapons = 20;
|
||||
transportMaxBackpacks = 10;
|
||||
lockedClass = "LockboxStorageLocked";
|
||||
packedClass = "WeaponHolder_ItemLockbox";
|
||||
};
|
||||
484
SQF/dayz_code/Configs/CfgVehicles/Buildables/Misc.hpp
Normal file
484
SQF/dayz_code/Configs/CfgVehicles/Buildables/Misc.hpp
Normal file
@@ -0,0 +1,484 @@
|
||||
// belt buckle - no idea what this is used for
|
||||
class Helper_Base_EP1;
|
||||
class BeltBuckle_DZE : Helper_Base_EP1 {
|
||||
scope = public;
|
||||
model = "\z\addons\dayz_epoch\models\skull.p3d";
|
||||
displayName = "Belt Buckle";
|
||||
accuracy = 1000;
|
||||
hiddenSelections[] = {"camo1"};
|
||||
hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(1,0.5,0.5,0.5,ca)"};
|
||||
};
|
||||
|
||||
// WorkBench_DZ
|
||||
class WorkBench_DZ: BuiltItems
|
||||
{
|
||||
scope = public;
|
||||
destrType = "DestructTree";
|
||||
cost = 100;
|
||||
offset[] = {0,1.5,0};
|
||||
model = "\z\addons\dayz_epoch\models\workbench.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
displayName = $STR_EPOCH_WORKBENCH;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||
constructioncount = 1;
|
||||
removeoutput[] = {{"PartWoodPlywood",1},{"PartWoodLumber",2}};
|
||||
requireplot = 0;
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class FuelPump_DZ: BuiltItems
|
||||
{
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
offset[] = {0,2,0};
|
||||
model = "\ca\Structures_E\Ind\Ind_FuelStation\Ind_FuelStation_Feed_ep1.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
displayName = $STR_EPOCH_FUELPUMP;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
constructioncount = 2;
|
||||
removeoutput[] = {{"fuel_pump_kit",1}};
|
||||
requireplot = 0;
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class FireBarrel_DZ:Land_Fire_barrel
|
||||
{
|
||||
// destrType = "DestructNo";
|
||||
cost = 100;
|
||||
offset[] = {0,2,0.5};
|
||||
//model = "\z\addons\dayz_epoch\models\oil_drum_model.p3d";
|
||||
displayName = $STR_EPOCH_FIREBARREL;
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
constructioncount = 2;
|
||||
removeoutput[] = {{"ItemFireBarrel_kit",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
|
||||
class Sign_1L_Noentry_EP1;
|
||||
class Plastic_Pole_EP1_DZ: Sign_1L_Noentry_EP1
|
||||
{
|
||||
destrType = "DestructTree";
|
||||
armor = 2000;
|
||||
|
||||
// static
|
||||
hasDriver = 0;
|
||||
simulation = "house";
|
||||
weapons[] = {};
|
||||
magazines[] = {};
|
||||
irTarget = 0;
|
||||
type = 1;
|
||||
threat[] = {0,0,0};
|
||||
maxSpeed = 0;
|
||||
coefInside = 4;
|
||||
coefInsideHeur = 4;
|
||||
|
||||
scope = public;
|
||||
offset[] = {0,2.5,0.3};
|
||||
displayName = $STR_EPOCH_PLAYER_246;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"plot_pole_kit",1}};
|
||||
requireplot = 0;
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class Land_covering_hut_EP1;
|
||||
class CanvasHut_DZ: Land_covering_hut_EP1
|
||||
{
|
||||
armor = 200;
|
||||
scope = public;
|
||||
offset[] = {0,2.5,1};
|
||||
displayName = $STR_EPOCH_CANVASSUNSHADE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"sun_shade_kit",1}};
|
||||
};
|
||||
class Park_bench1;
|
||||
class ParkBench_DZ: Park_bench1
|
||||
{
|
||||
scope = public;
|
||||
offset[] = {0,1.5,0.5};
|
||||
displayName = $STR_EPOCH_WOODBENCH;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"park_bench_kit",1}};
|
||||
};
|
||||
class Land_CamoNet_EAST_EP1;
|
||||
class DesertCamoNet_DZ: Land_CamoNet_EAST_EP1
|
||||
{
|
||||
armor = 300;
|
||||
destrType = "DestructNo";
|
||||
scope = public;
|
||||
offset[] = {0,9,0};
|
||||
displayName = $STR_EPOCH_DESERTCAMONET;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"desert_net_kit",1}};
|
||||
};
|
||||
class Land_CamoNet_EAST;
|
||||
class ForestCamoNet_DZ: Land_CamoNet_EAST
|
||||
{
|
||||
armor = 300;
|
||||
destrType = "DestructNo";
|
||||
scope = public;
|
||||
offset[] = {0,9,0};
|
||||
displayName = $STR_EPOCH_FORESTCAMONET;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"forest_net_kit",1}};
|
||||
};
|
||||
class Land_CamoNetB_EAST_EP1;
|
||||
class DesertLargeCamoNet_DZ: Land_CamoNetB_EAST_EP1
|
||||
{
|
||||
armor = 300;
|
||||
destrType = "DestructNo";
|
||||
scope = public;
|
||||
offset[] = {0,9,0};
|
||||
displayName = $STR_EPOCH_LARGEDESERTCAMONET;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"desert_large_net_kit",1}};
|
||||
};
|
||||
class Land_Misc_deerstand;
|
||||
class DeerStand_DZ: Land_Misc_deerstand
|
||||
{
|
||||
armor = 300;
|
||||
// destrType = "DestructNo";
|
||||
scope = public;
|
||||
offset[] = {0,5,0};
|
||||
displayName = $STR_EPOCH_DEERSTAND;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"deer_stand_kit",1}};
|
||||
};
|
||||
class Land_CamoNetB_EAST;
|
||||
class ForestLargeCamoNet_DZ: Land_CamoNetB_EAST
|
||||
{
|
||||
armor = 300;
|
||||
destrType = "DestructNo";
|
||||
scope = public;
|
||||
offset[] = {0,9,0};
|
||||
displayName = $STR_EPOCH_LARGEFORESTCAMONET;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"forest_large_net_kit",1}};
|
||||
};
|
||||
|
||||
class Land_Wall_Gate_Ind1_L;
|
||||
class MetalGate_DZ: Land_Wall_Gate_Ind1_L
|
||||
{
|
||||
armor = 400;
|
||||
scope = public;
|
||||
offset[] = {0,6,1};
|
||||
displayName = $STR_EPOCH_RUSTYGATE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"rusty_gate_kit",1}};
|
||||
};
|
||||
|
||||
class Fence_corrugated_plate;
|
||||
class Fence_corrugated_DZ: Fence_corrugated_plate
|
||||
{
|
||||
armor = 600;
|
||||
scope = public;
|
||||
offset[] = {0,3,1};
|
||||
removeoutput[] = {{"ItemCorrugated",1}};
|
||||
displayName = $STR_EPOCH_CORRUGATEDFENCE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class Wall_FenW2_6_EP1;
|
||||
class StickFence_DZ: Wall_FenW2_6_EP1
|
||||
{
|
||||
destrType = "DestructTree";
|
||||
armor = 200;
|
||||
scope = public;
|
||||
offset[] = {0,4.5,0};
|
||||
displayName = $STR_EPOCH_STICKFENCE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
removeoutput[] = {{"stick_fence_kit",1}};
|
||||
};
|
||||
class ASC_EU_LHVOld;
|
||||
class LightPole_DZ: ASC_EU_LHVOld
|
||||
{
|
||||
armor = 200;
|
||||
scope = public;
|
||||
offset[] = {0,2.5,0};
|
||||
displayName = $STR_EPOCH_LIGHTPOLE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
maintainBuilding[] = {{"ItemLightBulb",1}};
|
||||
removeoutput[] = {{"light_pole_kit",1}};
|
||||
};
|
||||
class Land_Misc_Scaffolding;
|
||||
class Scaffolding_DZ: Land_Misc_Scaffolding
|
||||
{
|
||||
armor = 100;
|
||||
destrType = "DestructBuilding";
|
||||
scope = public;
|
||||
displayName = $STR_EPOCH_SCAFFOLDING;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
constructioncount = 6;
|
||||
animated = 0;
|
||||
irTarget = 0;
|
||||
accuracy = 0.3;
|
||||
transportAmmo = 0;
|
||||
transportRepair = 0;
|
||||
transportFuel = 0;
|
||||
typicalCargo[] = {};
|
||||
offset[] = {0,9,3};
|
||||
cost = 0;
|
||||
removeoutput[] = {{"ItemScaffoldingKit",1}};
|
||||
};
|
||||
|
||||
class Hedgehog_DZ: BuiltItems
|
||||
{
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
offset[] = {0,1.5,0.55};
|
||||
model = "\ca\misc\jezek_kov";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
displayName = $STR_BUILT_HEDGEHOG;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
constructioncount = 1;
|
||||
removeoutput[] = {{"ItemTankTrap",1}};
|
||||
nounderground = 0;
|
||||
//Remove vanilla dismantle action
|
||||
class UserActions {delete Dismantle;};
|
||||
};
|
||||
class MetalPanel_DZ: BuiltItems
|
||||
{
|
||||
scope = public;
|
||||
destrType = "DestructTree";
|
||||
cost = 100;
|
||||
offset[] = {0,2.5,0.5};
|
||||
model = "\ca\structures\wall\wall_indcnc2_3.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 4000;
|
||||
displayName = $STR_EPOCH_METALPANEL;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
constructioncount = 6;
|
||||
removeoutput[] = {{"metal_panel_kit",1}};
|
||||
};
|
||||
|
||||
class Fort_RazorWire : BuiltItems {
|
||||
scope = public;
|
||||
animated = 0;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
model = "\ca\misc\Fort_Razorwire";
|
||||
icon = "\Ca\misc\data\icons\I_drutkolczasty_CA.paa";
|
||||
offset[] = {0,1.5,0.5};
|
||||
accuracy = 0.3;
|
||||
mapSize = 5.5;
|
||||
displayName = $STR_EPOCH_WIRE;
|
||||
destrType = "DestructTent";
|
||||
armor = 100;
|
||||
GhostPreview = "Fort_RazorWirePreview";
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class Sandbag1_DZ: BuiltItems
|
||||
{
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "\ca\misc2\BagFenceLong.p3d";
|
||||
icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa";
|
||||
offset[] = {0,3,0.5};
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
displayName = $STR_BUILT_SANDBAG;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
constructioncount = 3;
|
||||
removeoutput[] = {{"ItemSandbag",1}};
|
||||
nounderground = 0;
|
||||
//Remove vanilla dismantle action
|
||||
class UserActions {delete Dismantle;};
|
||||
};
|
||||
//review some of these settings
|
||||
class BagFenceRound_DZ: BuiltItems
|
||||
{
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "\ca\misc2\BagFenceRound.p3d";
|
||||
icon = "\Ca\misc3\data\Icons\icon_bagFenceRound_ca.paa";
|
||||
offset[] = {0,3,0.5};
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
displayName = $STR_EQUIP_NAME_21_ROUND;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
constructioncount = 3;
|
||||
removeoutput[] = {{"BagFenceRound_DZ_kit",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class Land_HBarrier1_DZ : BuiltItems {
|
||||
scope = public;
|
||||
animated = 0;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
typicalCargo[] = {};
|
||||
offset[] = {0,2,0};
|
||||
irTarget = 0;
|
||||
accuracy = 0.3;
|
||||
transportAmmo = 0;
|
||||
transportRepair = 0;
|
||||
transportFuel = 0;
|
||||
destrType = "DestructBuilding";
|
||||
armor = 500;
|
||||
coefInside = 0.5;
|
||||
coefInsideHeur = 0.8;
|
||||
cost = 0;
|
||||
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
|
||||
model = "\ca\misc2\HBarrier1.p3d";
|
||||
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier1_ca.paa";
|
||||
mapSize = 2;
|
||||
displayName = $STR_EQUIP_NAME_21_HBARRIER;
|
||||
GhostPreview = "Land_HBarrier1Preview";
|
||||
constructioncount = 4;
|
||||
removeoutput[] = {{"ItemSandbagLarge",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
class Land_HBarrier3_DZ : BuiltItems {
|
||||
model = "\ca\misc2\HBarrier3.p3d";
|
||||
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier3_ca.paa";
|
||||
mapSize = 3.5;
|
||||
displayName = $STR_EQUIP_NAME_21_3XHBARRIER;
|
||||
GhostPreview = "Land_HBarrier3ePreview";
|
||||
scope = public;
|
||||
animated = 0;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
typicalCargo[] = {};
|
||||
irTarget = 0;
|
||||
accuracy = 0.3;
|
||||
transportAmmo = 0;
|
||||
transportRepair = 0;
|
||||
transportFuel = 0;
|
||||
destrType = "DestructBuilding";
|
||||
armor = 500;
|
||||
coefInside = 0.5;
|
||||
coefInsideHeur = 0.8;
|
||||
cost = 0;
|
||||
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
|
||||
offset[] = {0,2.5,0};
|
||||
constructioncount = 8;
|
||||
removeoutput[] = {{"ItemSandbagExLarge",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class Land_HBarrier5_DZ:BuiltItems {
|
||||
model = "\ca\misc2\HBarrier5.p3d";
|
||||
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier5_ca.paa";
|
||||
mapSize = 7;
|
||||
displayName = $STR_EQUIP_NAME_21_5XHBARRIER;
|
||||
GhostPreview = "Land_HBarrier5Preview";
|
||||
scope = public;
|
||||
animated = 0;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
typicalCargo[] = {};
|
||||
irTarget = 0;
|
||||
accuracy = 0.3;
|
||||
transportAmmo = 0;
|
||||
transportRepair = 0;
|
||||
transportFuel = 0;
|
||||
destrType = "DestructBuilding";
|
||||
armor = 500;
|
||||
coefInside = 0.5;
|
||||
coefInsideHeur = 0.8;
|
||||
cost = 0;
|
||||
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
|
||||
offset[] = {0,2.5,0};
|
||||
constructioncount = 8;
|
||||
removeoutput[] = {{"ItemSandbagExLarge5x",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class SandNest_DZ : BuiltItems {
|
||||
scope = public;
|
||||
model = "\ca\Misc_E\fortified_nest_small_ep1";
|
||||
displayName = $STR_EQUIP_NAME_21_NEST;
|
||||
expansion = 1;
|
||||
icon = "\Ca\misc3\data\Icons\icon_fortNestSmall_ca.paa";
|
||||
mapSize = 5;
|
||||
armor = 500;
|
||||
irTarget = 0;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
GhostPreview = "Land_fortified_nest_smallPreview";
|
||||
animated = 0;
|
||||
simulation = "house";
|
||||
accuracy = 0.2;
|
||||
cost = 0;
|
||||
ladders[] = {};
|
||||
TextPlural = "Houses";
|
||||
TextSingular = "House";
|
||||
nameSound = "obj_house";
|
||||
offset[] = {0,3,1};
|
||||
removeoutput[] = {{"sandbag_nest_kit",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class USMC_WarfareBMGNest_M240;
|
||||
class M240Nest_DZ: USMC_WarfareBMGNest_M240
|
||||
{
|
||||
destrType = "DestructBuilding";
|
||||
armor = 450;
|
||||
scope = public;
|
||||
offset[] = {0,3.5,0};
|
||||
displayName = $STR_EPOCH_M240NEST;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
transportMaxMagazines = 25;
|
||||
transportMaxWeapons = 4;
|
||||
transportMaxBackpacks = 1;
|
||||
constructioncount = 10;
|
||||
removeoutput[] = {{"m240_nest_kit",1}};
|
||||
};
|
||||
|
||||
class WoodGate_DZ: BuiltItems
|
||||
{
|
||||
scope = public;
|
||||
destrType = "DestructTree";
|
||||
//cost = 100;
|
||||
offset[] = {0,1.5,0.5};
|
||||
model = "\ca\structures\Wall\Gate_wood2_5";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 100;
|
||||
displayName = "Wood Panel";
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
|
||||
class AnimationSources
|
||||
{
|
||||
class DoorR {
|
||||
source = "User";
|
||||
animPeriod = 1;
|
||||
initPhase = 0;
|
||||
};
|
||||
};
|
||||
class UserActions
|
||||
{
|
||||
class CloseDoor
|
||||
{
|
||||
position = "";
|
||||
displayName = "Close Door";
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "this animationPhase 'DoorR' == 1";
|
||||
statement = "this animate ['DoorR', 0];";
|
||||
};
|
||||
class OpenDoor
|
||||
{
|
||||
position = "";
|
||||
displayName = "Open Door";
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "this animationPhase 'DoorR' == 0";
|
||||
statement = "this animate ['DoorR', 1];";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
756
SQF/dayz_code/Configs/CfgVehicles/Buildables/ModularBuilding.hpp
Normal file
756
SQF/dayz_code/Configs/CfgVehicles/Buildables/ModularBuilding.hpp
Normal file
@@ -0,0 +1,756 @@
|
||||
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 = public;
|
||||
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 = $STR_EPOCH_METALFLOOR;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
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 = public;
|
||||
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 = $STR_EPOCH_WOODRAMP;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
GhostPreview = "WoodRamp_Preview_DZ";
|
||||
};
|
||||
class CinderWallHalf_DZ: ModularItems {
|
||||
scope = public;
|
||||
destrType = "DestructBuilding";
|
||||
cost = 100;
|
||||
offset[] = {0,2,0};
|
||||
model="\z\addons\dayz_epoch\models\cinder_wall_half.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 2200;
|
||||
displayName = $STR_EPOCH_CINDERBLOCKWALL_HALF;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
upgradeBuilding[] = {"CinderWall_DZ",{"ItemToolbox"},{{"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 = public;
|
||||
destrType = "DestructBuilding";
|
||||
cost = 100;
|
||||
offset[] = {0,2,0};
|
||||
model="\z\addons\dayz_epoch\models\cinder_wall_full.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 3400;
|
||||
displayName = $STR_EPOCH_CINDERBLOCKWALL;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
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 = public;
|
||||
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 = $STR_EPOCH_BLOCKGARAGEDOORWAY;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
upgradeBuilding[] = {"CinderWallDoor_DZ",{"ItemToolbox"},{{"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 = public;
|
||||
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 = $STR_EPOCH_BLOCKDOORWAY;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
upgradeBuilding[] = {"CinderWallDoorSmall_DZ",{"ItemToolbox"},{{"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 = public;
|
||||
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 = $STR_EPOCH_FLOORCEILING;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
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 = public;
|
||||
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 = $STR_EPOCH_FLOORCEILINGHALF;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
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 = public;
|
||||
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 = $STR_EPOCH_FLOORCEILINGQUARTER;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
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 = public;
|
||||
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 = $STR_EPOCH_LARGEWOODWALL;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
upgradeBuilding[] = {"WoodLargeWallWin_DZ",{"ItemToolbox"},{{"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 = public;
|
||||
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 = $STR_EPOCH_LARGEWALLWITHDOORWAY;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"Land_DZE_LargeWoodDoor",{"ItemToolbox"},{{"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 = public;
|
||||
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 = $STR_EPOCH_LARGEWALLWITHWINDOW;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
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 = public;
|
||||
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 = $STR_EPOCH_WOODWALL;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
maintainBuilding[] = {{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"WoodSmallWallWin_DZ",{"ItemToolbox"},{{"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 = public;
|
||||
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 = $STR_EPOCH_WOODWALLTHIRDPART;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
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 = public;
|
||||
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 = $STR_EPOCH_WALLWITHWINDOW;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
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 = public;
|
||||
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 = $STR_EPOCH_WALLWITHDOORWAY;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
upgradeBuilding[] = {"Land_DZE_WoodDoor",{"ItemToolbox"},{{"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 = public;
|
||||
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 = $STR_EPOCH_WOODSTAIRSWITHSUPPORTS;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"WoodStairsRails_DZ",{"ItemToolbox"},{{"PartWoodLumber",2}}};
|
||||
GhostPreview = "WoodStairs_Preview_DZ";
|
||||
};
|
||||
class WoodLadder_DZ: ModularItems {
|
||||
scope = public;
|
||||
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 = $STR_EPOCH_WOODLADDER;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||
GhostPreview = "WoodLadder_Preview_DZ";
|
||||
ladders[] = {{"start1","end1"}};
|
||||
};
|
||||
|
||||
class WoodStairsRails_DZ: ModularItems {
|
||||
scope = public;
|
||||
destrType = "DestructBuilding";
|
||||
cost = 100;
|
||||
offset[] = {0,1.5,0};
|
||||
model="\z\addons\dayz_epoch\models\wood_stairs_rail.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 700;
|
||||
displayName = $STR_EPOCH_WOODSTAIRSRAILS;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||
GhostPreview = "WoodStairs_Preview_DZ";
|
||||
};
|
||||
|
||||
class WoodStairsSans_DZ: ModularItems {
|
||||
scope = public;
|
||||
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 = $STR_EPOCH_WOODSTAIRS;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
maintainBuilding[] = {{"PartWoodLumber",1}};
|
||||
upgradeBuilding[] = {"WoodStairs_DZ",{"ItemToolbox"},{{"PartWoodLumber",2}}};
|
||||
GhostPreview = "WoodStairsSans_Preview_DZ";
|
||||
};
|
||||
|
||||
|
||||
// Ghost previews
|
||||
class CinderWallSmallDoorway_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "Cinder Doorway Preview";
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
class CinderWallDoorway_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "Cinder Garage Doorway Preview";
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
class MetalFloor_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodRamp_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
|
||||
};
|
||||
class CinderWallHalf_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class CinderWall_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
|
||||
class WoodFloorQuarter_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodFloorHalf_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodSmallWall_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodSmallWallThird_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodSmallWallWin_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodFloor_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodSmallWallDoor_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodLargeWall_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodLargeWallDoor_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodLargeWallWin_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
|
||||
class WoodStairs_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodStairsSans_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
|
||||
class WoodLadder_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class WoodDoor_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class LargeWoodDoor_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
class GarageWoodDoor_Preview_DZ: NonStrategic {
|
||||
scope = public;
|
||||
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 = "DayZ Epoch Buildables";
|
||||
};
|
||||
@@ -0,0 +1,53 @@
|
||||
class Land_wood_wreck_frame : ruins {
|
||||
scope = protected;
|
||||
model = "\z\addons\dayz_epoch\models\wood_wreck_frame.p3d";
|
||||
displayName = $STR_WOOD_WALL_WRECK;
|
||||
removeoutput[] = {{"PartWoodPlywood",{0,3}},{"PartWoodLumber",{0,3}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
class Land_wood_wreck_third : ruins {
|
||||
scope = protected;
|
||||
model = "\z\addons\dayz_epoch\models\wood_wreck_third.p3d";
|
||||
displayName = $STR_WOOD_WALL_WRECK;
|
||||
removeoutput[] = {{"PartWoodPlywood",{0,1}},{"PartWoodLumber",{0,1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
|
||||
class Land_wood_wreck_half : ruins {
|
||||
scope = protected;
|
||||
model = "\z\addons\dayz_epoch\models\wood_wreck_half.p3d";
|
||||
displayName = $STR_WOOD_FLOOR_WRECK;
|
||||
removeoutput[] = {{"PartWoodPlywood",{0,1}},{"PartWoodLumber",{0,1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
|
||||
class Land_wood_wreck_floor : ruins {
|
||||
scope = protected;
|
||||
model = "\z\addons\dayz_epoch\models\wood_wreck_floor.p3d";
|
||||
displayName = $STR_WOOD_FLOOR_WRECK;
|
||||
removeoutput[] = {{"PartWoodPlywood",{0,3}},{"PartWoodLumber",{0,3}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
|
||||
class Land_wood_wreck_quarter : ruins {
|
||||
scope = protected;
|
||||
model = "\z\addons\dayz_epoch\models\wood_wreck_quarter.p3d";
|
||||
displayName = $STR_WOOD_FLOOR_WRECK;
|
||||
removeoutput[] = {{"PartWoodPlywood",{0,1}},{"PartWoodLumber",{0,1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
|
||||
class Land_wreck_cinder: ruins {
|
||||
scope = protected;
|
||||
model = "\z\addons\dayz_epoch\models\wreck_cinder.p3d";
|
||||
displayName = $STR_CINDER_WALL_WRECK;
|
||||
removeoutput[] = {{"CinderBlocks",{0,1}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
class Land_wreck_metal_floor: ruins {
|
||||
scope = protected;
|
||||
model = "\z\addons\dayz_epoch\models\wreck_metal_floor.p3d";
|
||||
displayName = $STR_METAL_FLOOR_WRECK;
|
||||
removeoutput[] = {{"ItemPole",{0,2}},{"ItemTankTrap",{0,2}}};
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
};
|
||||
104
SQF/dayz_code/Configs/CfgVehicles/Buildables/Stashes.hpp
Normal file
104
SQF/dayz_code/Configs/CfgVehicles/Buildables/Stashes.hpp
Normal file
@@ -0,0 +1,104 @@
|
||||
class StashSmall_base : DZ_storage_base {
|
||||
displayname = $STR_VEH_NAME_STASH;
|
||||
icon = "\Ca\misc3\data\Icons\icon_Atent_ca.paa";
|
||||
mapsize = 3;
|
||||
model = "\z\addons\dayz_communityassets\models\stash_small.p3d";
|
||||
scope = public;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
transportMaxMagazines = 12;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
upgradeBuilding[] = {};
|
||||
};
|
||||
|
||||
class StashSmall : StashSmall_base {
|
||||
displayname = $STR_VEH_NAME_STASH;
|
||||
transportMaxMagazines = 12;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
upgradeBuilding[] = {"StashSmall1",{"ItemShovel"},{{"PartWoodPile",1}}};
|
||||
};
|
||||
class StashSmall1 : StashSmall_base {
|
||||
armor = 10;
|
||||
displayname = $STR_VEH_NAME_STASH1;
|
||||
transportMaxMagazines = 14;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
upgradeBuilding[] = {"StashSmall2",{"ItemShovel"},{{"PartWoodPile",1}}};
|
||||
};
|
||||
class StashSmall2 : StashSmall_base {
|
||||
armor = 15;
|
||||
displayname = $STR_VEH_NAME_STASH2;
|
||||
transportMaxMagazines = 16;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
upgradeBuilding[] = {"StashSmall3",{"ItemShovel"},{{"PartWoodPile",1}}};
|
||||
};
|
||||
class StashSmall3 : StashSmall_base {
|
||||
armor = 20;
|
||||
displayname = $STR_VEH_NAME_STASH3;
|
||||
transportMaxMagazines = 18;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
upgradeBuilding[] = {"StashSmall4",{"ItemShovel"},{{"ItemLog",1}}};
|
||||
};
|
||||
class StashSmall4 : StashSmall_base {
|
||||
armor = 25;
|
||||
displayname = $STR_VEH_NAME_STASH4;
|
||||
transportMaxMagazines = 20;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
upgradeBuilding[] = {"StashMedium",{"ItemShovel"},{{"ItemLog",1}}};
|
||||
};
|
||||
|
||||
class StashMedium_base : DZ_storage_base {
|
||||
armor = 50;
|
||||
displayname = $STR_VEH_NAME_STASH_MED;
|
||||
icon = "\Ca\misc3\data\Icons\icon_Atent_ca.paa";
|
||||
mapsize = 3;
|
||||
model = "\z\addons\dayz_communityassets\models\dirt_stash_reinforced.p3d";
|
||||
scope = public;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
transportMaxMagazines = 25;
|
||||
transportMaxWeapons = 1;
|
||||
transportMaxBackpacks = 0;
|
||||
};
|
||||
class StashMedium : StashMedium_base {
|
||||
armor = 50;
|
||||
displayname = $STR_VEH_NAME_STASH_MED;
|
||||
transportMaxMagazines = 25;
|
||||
transportMaxWeapons = 1;
|
||||
transportMaxBackpacks = 0;
|
||||
upgradeBuilding[] = {"StashMedium1",{"ItemShovel"},{{"ItemPlank",1}}};
|
||||
};
|
||||
class StashMedium1 : StashMedium_base {
|
||||
armor = 75;
|
||||
displayname = $STR_VEH_NAME_STASH_MED1;
|
||||
transportMaxMagazines = 50;
|
||||
transportMaxWeapons = 2;
|
||||
transportMaxBackpacks = 0;
|
||||
upgradeBuilding[] = {"StashMedium2",{"ItemShovel"},{{"ItemPlank",1}}};
|
||||
};
|
||||
class StashMedium2 : StashMedium_base {
|
||||
armor = 100;
|
||||
displayname = $STR_VEH_NAME_STASH_MED2;
|
||||
transportMaxMagazines = 75;
|
||||
transportMaxWeapons = 4;
|
||||
transportMaxBackpacks = 0;
|
||||
upgradeBuilding[] = {"StashMedium3",{"ItemToolbox","ItemShovel"},{{"ItemPlank",1},{"equip_nails",2}}};
|
||||
};
|
||||
class StashMedium3 : StashMedium_base {
|
||||
armor = 125;
|
||||
displayname = $STR_VEH_NAME_STASH_MED3;
|
||||
transportMaxMagazines = 100;
|
||||
transportMaxWeapons = 8;
|
||||
transportMaxBackpacks = 1;
|
||||
upgradeBuilding[] = {"StashMedium4",{"ItemToolbox","ItemShovel"},{{"PartWoodPlywood",1},{"equip_nails",2}}};
|
||||
};
|
||||
class StashMedium4 : StashMedium_base {
|
||||
armor = 150;
|
||||
displayname = $STR_VEH_NAME_STASH_MED4;
|
||||
transportMaxMagazines = 125;
|
||||
transportMaxWeapons = 16;
|
||||
transportMaxBackpacks = 1;
|
||||
};
|
||||
87
SQF/dayz_code/Configs/CfgVehicles/Buildables/Storage.hpp
Normal file
87
SQF/dayz_code/Configs/CfgVehicles/Buildables/Storage.hpp
Normal file
@@ -0,0 +1,87 @@
|
||||
class Gunrack1;
|
||||
class GunRack_DZ: Gunrack1
|
||||
{
|
||||
armor = 200;
|
||||
scope = public;
|
||||
displayName = $STR_EPOCH_GUNRACK;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
transportMaxWeapons = 20;
|
||||
transportMaxMagazines = 10;
|
||||
transportMaxBackpacks = 0;
|
||||
offset[] = {0,2.5,0.5};
|
||||
removeoutput[] = {{"ItemGunRackKit",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
class Fort_Crate_wood;
|
||||
class WoodCrate_DZ: Fort_Crate_wood
|
||||
{
|
||||
scope = public;
|
||||
destrType = "DestructBuilding";
|
||||
offset[] = {0,2.5,0.5};
|
||||
armor = 200;
|
||||
displayName = $STR_EPOCH_WOODCRATE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
transportMaxMagazines = 50;
|
||||
transportMaxWeapons = 5;
|
||||
transportMaxBackpacks = 1;
|
||||
removeoutput[] = {{"ItemWoodCrateKit",1}};
|
||||
nounderground = 0;
|
||||
};
|
||||
|
||||
class Land_KBud;
|
||||
class OutHouse_DZ: Land_KBud
|
||||
{
|
||||
armor = 200;
|
||||
scope = public;
|
||||
offset[] = {0,2.5,1};
|
||||
displayName = $STR_EPOCH_OUTHOUSE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
transportMaxMagazines = 4;
|
||||
transportMaxWeapons = 4;
|
||||
transportMaxBackpacks = 4;
|
||||
constructioncount = 2;
|
||||
class transportmagazines {};
|
||||
};
|
||||
class Land_Shed_M01;
|
||||
class StorageShed_DZ: Land_Shed_M01
|
||||
{
|
||||
armor = 1600;
|
||||
scope = public;
|
||||
offset[] = {0,4,1};
|
||||
displayName = $STR_EPOCH_STORAGESHED;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
transportMaxMagazines = 400;
|
||||
transportMaxWeapons = 40;
|
||||
transportMaxBackpacks = 20;
|
||||
constructioncount = 6;
|
||||
};
|
||||
class Land_kulna;
|
||||
class WoodShack_DZ: Land_kulna
|
||||
{
|
||||
scope = public;
|
||||
destrType = "DestructBuilding";
|
||||
offset[] = {0,4,1.3};
|
||||
armor = 800;
|
||||
displayName = $STR_EPOCH_WOODSHACK;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
transportMaxMagazines = 100;
|
||||
transportMaxWeapons = 10;
|
||||
transportMaxBackpacks = 5;
|
||||
constructioncount = 5;
|
||||
nounderground = 0;
|
||||
};
|
||||
class Land_Shed_wooden;
|
||||
class Wooden_shed_DZ: Land_Shed_wooden
|
||||
{
|
||||
scope = public;
|
||||
destrType = "DestructBuilding";
|
||||
//cost = 100;
|
||||
offset[] = {0,5,1};
|
||||
armor = 800;
|
||||
displayName = $STR_EPOCH_NICEWOODSHED;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
transportMaxMagazines = 200;
|
||||
transportMaxWeapons = 20;
|
||||
transportMaxBackpacks = 10;
|
||||
nounderground = 0;
|
||||
};
|
||||
187
SQF/dayz_code/Configs/CfgVehicles/Buildables/Tents.hpp
Normal file
187
SQF/dayz_code/Configs/CfgVehicles/Buildables/Tents.hpp
Normal file
@@ -0,0 +1,187 @@
|
||||
class TentStorage_base : DZ_storage_base {
|
||||
scope = public;
|
||||
model = "\z\addons\dayz_communityassets\models\tent_a.p3d";
|
||||
destrType = DestructTent;
|
||||
displayName = $STR_VEH_NAME_TENT;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
pack = "WeaponHolder_ItemTent";
|
||||
transportMaxMagazines = 130;
|
||||
transportMaxWeapons = 10;
|
||||
transportMaxBackpacks = 5;
|
||||
};
|
||||
|
||||
class TentStorage : TentStorage_base {
|
||||
displayName = $STR_VEH_NAME_TENT;
|
||||
pack = "WeaponHolder_ItemTent";
|
||||
transportMaxMagazines = 130;
|
||||
transportMaxWeapons = 10;
|
||||
transportMaxBackpacks = 5;
|
||||
upgradeBuilding[] = {"TentStorage0",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1}}};
|
||||
};
|
||||
class TentStorage0 : TentStorage_base {
|
||||
displayName = $STR_VEH_NAME_TENT1;
|
||||
armor = 20;
|
||||
transportMaxMagazines = 140;
|
||||
transportMaxWeapons = 12;
|
||||
transportMaxBackpacks = 5;
|
||||
upgradeBuilding[] = {"TentStorage1",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1},{"equip_tent_poles",1}}};
|
||||
};
|
||||
class TentStorage1 : TentStorage_base {
|
||||
displayName = $STR_VEH_NAME_TENT2;
|
||||
armor = 30;
|
||||
transportMaxMagazines = 150;
|
||||
transportMaxWeapons = 14;
|
||||
transportMaxBackpacks = 5;
|
||||
upgradeBuilding[] = {"TentStorage2",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",2},{"equip_tent_poles",2}}};
|
||||
};
|
||||
class TentStorage2 : TentStorage_base {
|
||||
displayName = $STR_VEH_NAME_TENT3;
|
||||
armor = 40;
|
||||
transportMaxMagazines = 160;
|
||||
transportMaxWeapons = 16;
|
||||
transportMaxBackpacks = 5;
|
||||
upgradeBuilding[] = {"TentStorage3",{"ItemToolbox","ItemKnife"},{{"equip_string",2},{"ItemBurlap",1},{"equip_tent_poles",1}}};
|
||||
};
|
||||
class TentStorage3 : TentStorage_base {
|
||||
displayName = $STR_VEH_NAME_TENT4;
|
||||
armor = 50;
|
||||
transportMaxMagazines = 170;
|
||||
transportMaxWeapons = 18;
|
||||
transportMaxBackpacks = 5;
|
||||
upgradeBuilding[] = {"TentStorage4",{"ItemToolbox","ItemKnife"},{{"equip_rope",2},{"ItemBurlap",2},{"equip_tent_poles",4}}};
|
||||
};
|
||||
class TentStorage4 : TentStorage_base {
|
||||
displayName = $STR_VEH_NAME_TENT5;
|
||||
armor = 60;
|
||||
transportMaxMagazines = 180;
|
||||
transportMaxWeapons = 20;
|
||||
transportMaxBackpacks = 5;
|
||||
create = "";
|
||||
};
|
||||
|
||||
class DomeTentStorage_base : TentStorage_base {
|
||||
armor = 50;
|
||||
model = "\z\addons\dayz_communityassets\models\tent_dome.p3d";
|
||||
displayname = $STR_VEH_NAME_DOME_TENT;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
icon = "\Ca\buildings\Icons\i_Astan_CA.paa";
|
||||
pack = "WeaponHolder_ItemDomeTent";
|
||||
transportMaxMagazines = 150;
|
||||
transportMaxWeapons = 15;
|
||||
transportMaxBackpacks = 5;
|
||||
};
|
||||
|
||||
class DomeTentStorage : DomeTentStorage_base {
|
||||
armor = 50;
|
||||
displayname = $STR_VEH_NAME_DOME_TENT;
|
||||
transportMaxMagazines = 75;
|
||||
transportMaxWeapons = 15;
|
||||
transportMaxBackpacks = 5;
|
||||
upgradeBuilding[] = {"DomeTentStorage0",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1}}};
|
||||
};
|
||||
class DomeTentStorage0 : DomeTentStorage_base {
|
||||
armor = 60;
|
||||
displayname = $STR_VEH_NAME_DOME_TENT1;
|
||||
transportMaxMagazines = 100;
|
||||
transportMaxWeapons = 20;
|
||||
transportMaxBackpacks = 6;
|
||||
upgradeBuilding[] = {"DomeTentStorage1",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1},{"equip_tent_poles",1}}};
|
||||
};
|
||||
class DomeTentStorage1 : DomeTentStorage_base {
|
||||
armor = 70;
|
||||
displayname = $STR_VEH_NAME_DOME_TENT2;
|
||||
transportMaxMagazines = 125;
|
||||
transportMaxWeapons = 25;
|
||||
transportMaxBackpacks = 7;
|
||||
upgradeBuilding[] = {"DomeTentStorage2",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",2},{"equip_tent_poles",2}}};
|
||||
};
|
||||
class DomeTentStorage2 : DomeTentStorage_base {
|
||||
armor = 80;
|
||||
displayname = $STR_VEH_NAME_DOME_TENT3;
|
||||
transportMaxMagazines = 150;
|
||||
transportMaxWeapons = 30;
|
||||
transportMaxBackpacks = 8;
|
||||
upgradeBuilding[] = {"DomeTentStorage3",{"ItemToolbox","ItemKnife"},{{"equip_string",2},{"ItemBurlap",1},{"equip_tent_poles",1}}};
|
||||
};
|
||||
class DomeTentStorage3 : DomeTentStorage_base {
|
||||
armor = 90;
|
||||
displayname = $STR_VEH_NAME_DOME_TENT4;
|
||||
transportMaxMagazines = 175;
|
||||
transportMaxWeapons = 35;
|
||||
transportMaxBackpacks = 9;
|
||||
upgradeBuilding[] = {"DomeTentStorage4",{"ItemToolbox","ItemKnife"},{{"equip_rope",2},{"ItemBurlap",2},{"equip_tent_poles",4}}};
|
||||
};
|
||||
|
||||
class DomeTentStorage4 : DomeTentStorage_base {
|
||||
armor = 100;
|
||||
displayname = $STR_VEH_NAME_DOME_TENT5;
|
||||
transportMaxMagazines = 200;
|
||||
transportMaxWeapons = 40;
|
||||
transportMaxBackpacks = 10;
|
||||
};
|
||||
|
||||
class DesertTentStorage: DomeTentStorage_base {
|
||||
armor = 50;
|
||||
displayname = $STR_VEH_NAME_DESERT_TENT;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
model = "\dayz_epoch_b\models\astan.p3d";
|
||||
pack = "WeaponHolder_ItemDesertTent";
|
||||
transportMaxMagazines = 75;
|
||||
transportMaxWeapons = 15;
|
||||
transportMaxBackpacks = 5;
|
||||
upgradeBuilding[] = {"DesertTentStorage0",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1}}};
|
||||
};
|
||||
|
||||
class DesertTentStorage0: DomeTentStorage_base {
|
||||
armor = 60;
|
||||
displayname = $STR_VEH_NAME_DESERT_TENT1;
|
||||
model = "\dayz_epoch_b\models\astan.p3d";
|
||||
pack = "WeaponHolder_ItemDesertTent";
|
||||
transportMaxMagazines = 100;
|
||||
transportMaxWeapons = 20;
|
||||
transportMaxBackpacks = 6;
|
||||
upgradeBuilding[] = {"DesertTentStorage1",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",1},{"equip_tent_poles",1}}};
|
||||
};
|
||||
|
||||
class DesertTentStorage1: DomeTentStorage_base {
|
||||
armor = 70;
|
||||
displayname = $STR_VEH_NAME_DESERT_TENT2;
|
||||
model = "\dayz_epoch_b\models\astan.p3d";
|
||||
pack = "WeaponHolder_ItemDesertTent";
|
||||
transportMaxMagazines = 125;
|
||||
transportMaxWeapons = 25;
|
||||
transportMaxBackpacks = 7;
|
||||
upgradeBuilding[] = {"DesertTentStorage2",{"ItemToolbox","ItemKnife"},{{"equip_string",1},{"ItemCanvas",2},{"equip_tent_poles",2}}};
|
||||
};
|
||||
|
||||
class DesertTentStorage2: DomeTentStorage_base {
|
||||
armor = 80;
|
||||
displayname = $STR_VEH_NAME_DESERT_TENT3;
|
||||
model = "\dayz_epoch_b\models\astan.p3d";
|
||||
pack = "WeaponHolder_ItemDesertTent";
|
||||
transportMaxMagazines = 150;
|
||||
transportMaxWeapons = 30;
|
||||
transportMaxBackpacks = 8;
|
||||
upgradeBuilding[] = {"DesertTentStorage3",{"ItemToolbox","ItemKnife"},{{"equip_string",2},{"ItemBurlap",1},{"equip_tent_poles",1}}};
|
||||
};
|
||||
|
||||
class DesertTentStorage3: DomeTentStorage_base {
|
||||
armor = 90;
|
||||
displayname = $STR_VEH_NAME_DESERT_TENT4;
|
||||
model = "\dayz_epoch_b\models\astan.p3d";
|
||||
pack = "WeaponHolder_ItemDesertTent";
|
||||
transportMaxMagazines = 175;
|
||||
transportMaxWeapons = 35;
|
||||
transportMaxBackpacks = 9;
|
||||
upgradeBuilding[] = {"DesertTentStorage4",{"ItemToolbox","ItemKnife"},{{"equip_rope",2},{"ItemBurlap",2},{"equip_tent_poles",4}}};
|
||||
};
|
||||
|
||||
class DesertTentStorage4 : DomeTentStorage_base {
|
||||
armor = 100;
|
||||
displayname = $STR_VEH_NAME_DESERT_TENT5;
|
||||
model = "\dayz_epoch_b\models\astan.p3d";
|
||||
pack = "WeaponHolder_ItemDesertTent";
|
||||
transportMaxMagazines = 200;
|
||||
transportMaxWeapons = 40;
|
||||
transportMaxBackpacks = 10;
|
||||
};
|
||||
431
SQF/dayz_code/Configs/CfgVehicles/Buildables/Traps.hpp
Normal file
431
SQF/dayz_code/Configs/CfgVehicles/Buildables/Traps.hpp
Normal file
@@ -0,0 +1,431 @@
|
||||
class TrapItems : NonStrategic {
|
||||
offset[] = {0,2,0};
|
||||
};
|
||||
|
||||
class BearTrap_DZ : TrapItems {
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
displayName = $STR_EQUIP_NAME_BEARTRAP;
|
||||
descriptionShort = $STR_EQUIP_DESC_BEARTRAP;
|
||||
model = "\dayz_equip\models\bear_trap.p3d";
|
||||
script = "beartrap"; // compiled script variable name (used by server side loop)
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 0;
|
||||
nounderground = 0;
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
|
||||
class Eventhandlers {
|
||||
init = "['init', _this select 0] spawn beartrap;";
|
||||
};
|
||||
|
||||
class AnimationSources {
|
||||
class LeftShutter {
|
||||
source = "user";
|
||||
animPeriod = 0.1;
|
||||
initPhase = 1;
|
||||
};
|
||||
|
||||
class RightShutter {
|
||||
source = "user";
|
||||
animPeriod = 0.1;
|
||||
initPhase = 1;
|
||||
};
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class OpenTrap {
|
||||
position = "";
|
||||
displayName = $STR_BEARTRAP_ARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "this animationPhase 'LeftShutter' == 1";
|
||||
statement = "['arm', this] spawn beartrap;";
|
||||
};
|
||||
|
||||
class CloseTrap {
|
||||
position = "";
|
||||
displayName = $STR_BEARTRAP_DISARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "this animationPhase 'LeftShutter' == 0";
|
||||
statement = "['disarm', this] spawn beartrap;";
|
||||
};
|
||||
|
||||
class CollectTrap {
|
||||
position = "";
|
||||
displayName = $STR_BEARTRAP_TAKE;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "this animationPhase 'LeftShutter' == 1";
|
||||
statement = "['remove', this] spawn beartrap;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class Bomb
|
||||
{
|
||||
condition = "bomb";
|
||||
class Circle
|
||||
{
|
||||
type = "line";
|
||||
points[] = {
|
||||
{ "WeaponAim",
|
||||
{ 0,-0.1125 },1 },
|
||||
{ "WeaponAim",
|
||||
{ 0.05,-0.097875 },1 },
|
||||
{ "WeaponAim",
|
||||
{ 0.087,-0.05625 },1 },
|
||||
{ "WeaponAim",
|
||||
{ 0.1,0 },1 },
|
||||
{ "WeaponAim",
|
||||
{ 0.087,0.05625 },1 },
|
||||
{ "WeaponAim",
|
||||
{ 0.05,0.097875 },1 },
|
||||
{ "WeaponAim",
|
||||
{ 0,0.1125 },1 },
|
||||
{ "WeaponAim",
|
||||
{ -0.05,0.097875 },1 },
|
||||
{ "WeaponAim",
|
||||
{ -0.087,0.05625 },1 },
|
||||
{ "WeaponAim",
|
||||
{ -0.1,0 },1 },
|
||||
{ "WeaponAim",
|
||||
{ -0.087,-0.05625 },1 },
|
||||
{ "WeaponAim",
|
||||
{ -0.05,-0.097875 },1 },
|
||||
{ "WeaponAim",
|
||||
{ 0,-0.1125 },1 },
|
||||
{ },
|
||||
{ "Velocity",0.001,"WeaponAim",
|
||||
{ 0.0,0.0 },1 },
|
||||
{ "Velocity",
|
||||
{ 0.0,0.0 },1 },
|
||||
{ },
|
||||
{ "Target",
|
||||
{ 0,-0.07875 },1 },
|
||||
{ "Target",
|
||||
{ 0.07,0 },1 },
|
||||
{ "Target",
|
||||
{ 0,0.07875 },1 },
|
||||
{ "Target",
|
||||
{ -0.07,0 },1 },
|
||||
{ "Target",
|
||||
{ 0,-0.07875 },1 }};
|
||||
};
|
||||
vehicleClass = "";
|
||||
};
|
||||
|
||||
class TrapBearTrapFlare : TrapItems {
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "z\addons\dayz_communityassets\models\trap_beartrap_flare.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 0;
|
||||
armor = 400;
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_FLARE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
nounderground = 0;
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
|
||||
script = "beartrapflare"; // compiled script variable name (used by server side loop)
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 1; // gets replaced by BearTrap_DZ due to animation issues
|
||||
|
||||
class Eventhandlers {
|
||||
init = "['init', _this select 0] spawn beartrapflare;";
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class ArmTrap {
|
||||
position = "";
|
||||
displayName = $STR_BEARTRAP_ARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['arm', this] spawn beartrapflare;";
|
||||
};
|
||||
|
||||
class DisarmTrap {
|
||||
position = "";
|
||||
displayName = $STR_BEARTRAP_DISARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "(this getVariable ['armed', false])";
|
||||
statement = "['disarm', this] spawn beartrapflare;";
|
||||
};
|
||||
|
||||
class CollectTrap {
|
||||
position = "";
|
||||
displayName = $STR_BEARTRAP_TAKE;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['remove', this] spawn beartrapflare;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class TrapBearTrapSmoke : TrapItems {
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "z\addons\dayz_communityassets\models\trap_beartrap_smoke.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 0;
|
||||
armor = 400;
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_SMOKE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
nounderground = 0;
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
|
||||
script = "beartrapsmoke"; // compiled script variable name (used by server side loop)
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 1; // gets replaced by BearTrap_DZ due to animation issues
|
||||
|
||||
class Eventhandlers {
|
||||
init = "['init', _this select 0] spawn beartrapsmoke;";
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class ArmTrap {
|
||||
position = "";
|
||||
displayName = $STR_BEARTRAP_ARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['arm', this] spawn beartrapsmoke;";
|
||||
};
|
||||
|
||||
class DisarmTrap {
|
||||
position = "";
|
||||
displayName = $STR_BEARTRAP_DISARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "(this getVariable ['armed', false])";
|
||||
statement = "['disarm', this] spawn beartrapsmoke;";
|
||||
};
|
||||
|
||||
class CollectTrap {
|
||||
position = "";
|
||||
displayName = $STR_BEARTRAP_TAKE;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['remove', this] spawn beartrapsmoke;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Trap_Cans : TrapItems {
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "z\addons\dayz_communityassets\models\tripwire_cans.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 0;
|
||||
armor = 400;
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_CANS;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
nounderground = 0;
|
||||
|
||||
script = "tripcans"; // compiled script variable name (used by server side loop)
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 0;
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
|
||||
class Eventhandlers {
|
||||
init = "['init', _this select 0] spawn tripcans;";
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class ArmTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_ARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['arm', this] spawn tripcans;";
|
||||
};
|
||||
|
||||
class DisarmTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_DISARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "(this getVariable ['armed', false])";
|
||||
statement = "['disarm', this] spawn tripcans;";
|
||||
};
|
||||
|
||||
class CollectTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_TAKE;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['remove', this] spawn tripcans;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class TrapTripwireFlare : TrapItems {
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "z\addons\dayz_communityassets\models\trap_tripwire_flare.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 0;
|
||||
armor = 400;
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_FLARE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
nounderground = 0;
|
||||
|
||||
script = "tripflare"; // compiled script variable name (used by server side loop)
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 0;
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
|
||||
class Eventhandlers {
|
||||
init = "['init', _this select 0] spawn tripflare;";
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class ArmTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_ARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['arm', this] spawn tripflare;";
|
||||
};
|
||||
|
||||
class DisarmTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_DISARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "(this getVariable ['armed', false])";
|
||||
statement = "['disarm', this] spawn tripflare;";
|
||||
};
|
||||
|
||||
class CollectTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_TAKE;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['remove', this] spawn tripflare;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class TrapTripwireGrenade : TrapItems {
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "z\addons\dayz_communityassets\models\trap_tripwire_grenade.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 0;
|
||||
armor = 400;
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_GRENADE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
nounderground = 0;
|
||||
|
||||
script = "tripgrenade"; // compiled script variable name (used by server side loop)
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 0; //Trap can now be rearmed with another grenade
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
|
||||
class Eventhandlers {
|
||||
init = "['init', _this select 0] spawn tripgrenade;";
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class ArmTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_ARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['arm', this] spawn tripgrenade;";
|
||||
};
|
||||
|
||||
class DisarmTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_DISARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "(this getVariable ['armed', false])";
|
||||
statement = "['disarm', this] spawn tripgrenade;";
|
||||
};
|
||||
|
||||
class CollectTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_TAKE;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['remove', this] spawn tripgrenade;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class TrapTripwireSmoke : TrapItems {
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "z\addons\dayz_communityassets\models\trap_tripwire_smoke.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 0;
|
||||
armor = 400;
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_SMOKE;
|
||||
vehicleClass = "DayZ Epoch Buildables";
|
||||
nounderground = 0;
|
||||
|
||||
script = "tripsmoke"; // compiled script variable name (used by server side loop)
|
||||
initState = 0; // initial armed state (>0 is not currently working)
|
||||
singleUse = 0; //Trap can now be rearmed with another smoke
|
||||
requireplot = 0;
|
||||
constructioncount = 1;
|
||||
|
||||
class Eventhandlers {
|
||||
init = "['init', _this select 0] spawn tripsmoke;";
|
||||
};
|
||||
|
||||
class UserActions
|
||||
{
|
||||
class ArmTrap
|
||||
{
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_ARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['arm', this] spawn tripsmoke;";
|
||||
};
|
||||
|
||||
class DisarmTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_DISARM;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "(this getVariable ['armed', false])";
|
||||
statement = "['disarm', this] spawn tripsmoke;";
|
||||
};
|
||||
|
||||
class CollectTrap {
|
||||
position = "TripA";
|
||||
displayName = $STR_BEARTRAP_TAKE;
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "!(this getVariable ['armed', false])";
|
||||
statement = "['remove', this] spawn tripsmoke;";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user