mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
@@ -8,4 +8,27 @@
|
||||
model = "\Ca\misc3\CamoNet_EAST";
|
||||
scope = public;
|
||||
vehicleclass = "Military";
|
||||
class dismantle {
|
||||
requiredtools[] =
|
||||
{
|
||||
//{"Item","Chance","ReturnedPart"}
|
||||
{"ItemShovel",0.08,"ItemShovelBroken"}
|
||||
}; //Tools needed
|
||||
dismantleToo = "ItemCamoNet"; //Returned magazine item
|
||||
attemps = 2; //Random number
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class Dismantle {
|
||||
displayNameDefault = $STR_BUILT_CAMONET_Dismantle;
|
||||
showWindow = 0;
|
||||
hideOnUse = 1;
|
||||
displayName = $STR_BUILT_CAMONET_Dismantle;
|
||||
position="action";
|
||||
radius = 3.0;
|
||||
onlyForPlayer = 1;
|
||||
condition = "alive this";
|
||||
statement = "this spawn object_dismantle;";
|
||||
};
|
||||
};
|
||||
};*/
|
||||
@@ -577,8 +577,10 @@ class CfgVehicles {
|
||||
#include "Buildings\Land_VASICore.hpp"
|
||||
#include "Buildings\Land_Vysilac_FM.hpp"
|
||||
|
||||
//camo
|
||||
//#include "CamoNetting.hpp" //Duplicate of Epoch camo net in DZE\Prop_Defs.hpp
|
||||
//Duplicates of Epoch items in DZE\Prop_Defs.hpp
|
||||
//#include "CamoNetting.hpp"
|
||||
//#include "Hedgehog.hpp"
|
||||
//#include "Sandbag.hpp"
|
||||
|
||||
|
||||
//WeaponHolder
|
||||
|
||||
35
SQF/dayz_code/Configs/CfgVehicles/Hedgehog.hpp
Normal file
35
SQF/dayz_code/Configs/CfgVehicles/Hedgehog.hpp
Normal file
@@ -0,0 +1,35 @@
|
||||
/*class Hedgehog_DZ : BuiltItems { //Duplicate of Epoch item in DZE\Prop_Defs.hpp
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "\ca\misc\jezek_kov";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
displayName = $STR_BUILT_HEDGEHOG;
|
||||
vehicleClass = "Fortifications";
|
||||
class dismantle {
|
||||
requiredtools[] =
|
||||
{
|
||||
//{"Item","Chance","ReturnedPart"}
|
||||
{"ItemSledgeHammer",0.02,"ItemSledgeHammerBroken"},
|
||||
{"ItemCrowbar",0.04,"ItemCrowbarBent"}
|
||||
}; //Tools needed
|
||||
dismantleToo = "ItemTankTrap"; //Returned magazine item
|
||||
attemps = 3; //Random number
|
||||
};
|
||||
|
||||
class UserActions {
|
||||
class Dismantle {
|
||||
displayNameDefault = $STR_BUILT_HEDGEHOG_Dismantle;
|
||||
showWindow = 0;
|
||||
hideOnUse = 1;
|
||||
displayName = $STR_BUILT_HEDGEHOG_Dismantle;
|
||||
position="action";
|
||||
radius = 2.7;
|
||||
onlyForPlayer = 1;
|
||||
condition = "alive this";
|
||||
statement = "this spawn object_dismantle;";
|
||||
};
|
||||
};
|
||||
};*/
|
||||
33
SQF/dayz_code/Configs/CfgVehicles/Sandbag.hpp
Normal file
33
SQF/dayz_code/Configs/CfgVehicles/Sandbag.hpp
Normal file
@@ -0,0 +1,33 @@
|
||||
/*class Sandbag1_DZ : BuiltItems { //Duplicate of Epoch item in DZE\Prop_Defs.hpp
|
||||
scope = public;
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
model = "\ca\misc2\BagFenceLong.p3d";
|
||||
icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa";
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
displayName = $STR_BUILT_SANDBAG;
|
||||
vehicleClass = "Fortifications";
|
||||
class dismantle {
|
||||
requiredtools[] =
|
||||
{
|
||||
//{"Item","Chance","ReturnedPart"}
|
||||
{"ItemShovel",0.02,"ItemShovelBroken"}
|
||||
}; //Tools needed
|
||||
dismantleToo = "ItemSandbag"; //Returned magazine item
|
||||
attemps = 4; //Random number
|
||||
};
|
||||
class UserActions {
|
||||
class Dismantle {
|
||||
displayNameDefault = $STR_BUILT_SANDBAG_Dismantle;
|
||||
showWindow = 0;
|
||||
hideOnUse = 1;
|
||||
displayName = $STR_BUILT_SANDBAG_Dismantle;
|
||||
position="action";
|
||||
radius = 3.0;
|
||||
onlyForPlayer = 1;
|
||||
condition = "alive this";
|
||||
statement = "this spawn object_dismantle;";
|
||||
};
|
||||
};
|
||||
};*/
|
||||
@@ -104,8 +104,8 @@ if (_startMaintenance) then {
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
};
|
||||
|
||||
PVDZ_object_replace = [_cursorTarget];
|
||||
publicVariableServer "PVDZ_object_replace";
|
||||
//PVDZ_object_replace = [_cursorTarget];
|
||||
//publicVariableServer "PVDZ_object_replace";
|
||||
};
|
||||
|
||||
_cursorTarget setVariable["Maintenance",true,true];
|
||||
|
||||
@@ -8609,6 +8609,9 @@
|
||||
<Russian>Демонтировать противотанковый ёж</Russian>
|
||||
<German>Panzersperre abbauen</German>
|
||||
</Key>
|
||||
<Key ID="STR_BUILT_CAMONET_Dismantle">
|
||||
<English>Dismantle Camonet</English>
|
||||
</Key>
|
||||
<Key ID="STR_BUILT_HEDGEHOG">
|
||||
<English>Hedgehog (Steel)</English>
|
||||
<Russian>Противотанковый ёж</Russian>
|
||||
|
||||
Reference in New Issue
Block a user