Update vanilla building

Vanilla commits:

a351c810d5

dfc46eff7b
This commit is contained in:
ebaydayz
2016-11-21 14:57:02 -05:00
parent 7f239754cc
commit 6aa0cb8215
6 changed files with 100 additions and 4 deletions

View File

@@ -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;";
};
};
};*/

View File

@@ -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

View 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;";
};
};
};*/

View 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;";
};
};
};*/

View File

@@ -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];

View File

@@ -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>