mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
0.963
+ added more missing weights + added large sandbag with crafting 3 sandbags + 1 wire + potential fix for vehicle detection at seller + fixed mi17 civillian skin and added test for removing gear access + force all spawned objects to exact position
This commit is contained in:
@@ -12,7 +12,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
// #define R3F_TIRED_CSV_EXPORT
|
||||
|
||||
//Uncomment to show some informations in game
|
||||
#define R3F_TIRED_DEBUG
|
||||
// #define R3F_TIRED_DEBUG
|
||||
|
||||
//adjustment player weight with helmet jacket Rangers Light equipment (not weapons)
|
||||
#define R3F_TIRED_WEIGHT_PLAYER_EMPTY 90
|
||||
|
||||
@@ -1336,6 +1336,24 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
class 7Rnd_45ACP_1911
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
class ItemZombieParts
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class ItemSandbag
|
||||
{
|
||||
weight = 10;
|
||||
};
|
||||
class ItemSandbagLarge
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
@@ -12,7 +12,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
// #define R3F_TIRED_CSV_EXPORT
|
||||
|
||||
//Uncomment to show some informations in game
|
||||
#define R3F_TIRED_DEBUG
|
||||
// #define R3F_TIRED_DEBUG
|
||||
|
||||
//adjustment player weight with helmet jacket Rangers Light equipment (not weapons)
|
||||
#define R3F_TIRED_WEIGHT_PLAYER_EMPTY 90
|
||||
|
||||
@@ -1336,6 +1336,24 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
class 7Rnd_45ACP_1911
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
class ItemZombieParts
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class ItemSandbag
|
||||
{
|
||||
weight = 10;
|
||||
};
|
||||
class ItemSandbagLarge
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
@@ -29,7 +29,32 @@ class CfgMagazines {
|
||||
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = "Build me";
|
||||
text = "Build Sandbag";
|
||||
script = "spawn player_build;";
|
||||
require = "ItemEtool";
|
||||
create = "Sandbag1_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Large Sandbag";
|
||||
script = "spawn player_craftItem;";
|
||||
output[] = {"ItemSandbagLarge"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemSandbagLarge : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Large Sandbags";
|
||||
model = "\dayz_equip\models\sandbags.p3d";
|
||||
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
|
||||
descriptionShort = "Sacks made of hessian and wire that can be filled with sand or soil and used for military fortification.";
|
||||
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = "Build Sandbag Wall";
|
||||
script = "spawn player_build;";
|
||||
require = "ItemEtool";
|
||||
create = "Sandbag1_DZ";
|
||||
|
||||
@@ -100,6 +100,12 @@ if (inflamed cursorTarget and _canDo) then {
|
||||
[ ["ItemCopperBar10oz",1] ]
|
||||
];
|
||||
|
||||
_recipe_ItemSandbagLarge = [
|
||||
[ ["ItemSandbagLarge",1] ],
|
||||
[ ["ItemSandbag",3],["ItemWire",1] ]
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ diag_log format["DEBUG Buy: %1", dayzTraderMenuResult];
|
||||
|
||||
_count = 0;
|
||||
if(_type == "CfgVehicles") then {
|
||||
_count = count (position player nearObjects [_name,10]);
|
||||
_count = {_x == _name} count (position player nearObjects [_name,10]);
|
||||
};
|
||||
if(_type == "CfgMagazines") then {
|
||||
_count = {_x == _name} count magazines player;
|
||||
|
||||
@@ -176,13 +176,12 @@ class Citizen1; // External class reference
|
||||
class Mi17_Civilian;
|
||||
class Mi17_Civilian_DZ: Mi17_Civilian
|
||||
{
|
||||
displayname = "Mi-17 Civilian";
|
||||
displaynameshort = "Mi17_Civilian_DZ";
|
||||
displayname = "Mi-17 (Civilian)";
|
||||
displaynameshort = "Mi-17 (Civ)";
|
||||
scope = 2;
|
||||
side = 2;
|
||||
side = 3;
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
hiddenSelections[] = {};
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
commanderCanSee = 2+16+32;
|
||||
@@ -191,8 +190,11 @@ class Citizen1; // External class reference
|
||||
transportMaxWeapons = 10;
|
||||
transportMaxMagazines = 50;
|
||||
transportmaxbackpacks = 10;
|
||||
supplyRadius = 0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
class UH1H_base: Helicopter
|
||||
{
|
||||
class Turrets: Turrets
|
||||
|
||||
@@ -76,6 +76,8 @@ if (!isNull cursorTarget and !_inVehicle and (player distance cursorTarget < 6))
|
||||
_canmove = canmove cursorTarget;
|
||||
_text = getText (configFile >> "CfgVehicles" >> typeOf cursorTarget >> "displayName");
|
||||
|
||||
// hintSilent (typeOf cursorTarget);
|
||||
|
||||
_rawmeat = meatraw;
|
||||
_hasRawMeat = false;
|
||||
{
|
||||
|
||||
@@ -33,7 +33,7 @@ class CfgMods
|
||||
hidePicture = 0;
|
||||
hideName = 0;
|
||||
action = "http://www.dayzepoch.com";
|
||||
version = "0.962";
|
||||
version = "0.963";
|
||||
hiveVersion = 0.96; //0.93
|
||||
};
|
||||
};
|
||||
|
||||
@@ -87,7 +87,7 @@ class RscDisplayMain : RscStandardDisplay
|
||||
class DAYZ_Version : CA_Version
|
||||
{
|
||||
idc = -1;
|
||||
text = "DayZ Epoch 0.962 (1.7.5.1)";
|
||||
text = "DayZ Epoch 0.963 (1.7.5.1)";
|
||||
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
|
||||
};
|
||||
class CA_TitleMainMenu;
|
||||
|
||||
@@ -1246,6 +1246,14 @@ class CfgMagazines
|
||||
model = "\dayz_equip\models\woodPile.p3d";
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_DESC_40";
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = "Build Branch Fence";
|
||||
script = "spawn player_build;";
|
||||
require = "ItemToolbox";
|
||||
create = "Wall_FenW2_6_EP1";
|
||||
};
|
||||
};
|
||||
};
|
||||
class PartVRotor: CA_Magazine
|
||||
{
|
||||
|
||||
@@ -98,14 +98,12 @@ diag_log "HIVE: Starting";
|
||||
clearWeaponCargoGlobal _object;
|
||||
clearMagazineCargoGlobal _object;
|
||||
|
||||
if (_object isKindOf "TentStorage") then {
|
||||
if (_object isKindOf "TentStorage" or _object isKindOf "Land_HBarrier1" or _object isKindOf "Wall_FenW2_6_EP1") then {
|
||||
_pos set [2,0];
|
||||
_object setpos _pos;
|
||||
_object addMPEventHandler ["MPKilled",{_this call vehicle_handleServerKilled;}];
|
||||
};
|
||||
if (_object isKindOf "VaultStorageLocked") then {
|
||||
_object setpos _pos;
|
||||
};
|
||||
|
||||
_object setpos _pos;
|
||||
_object setdir _dir;
|
||||
_object setDamage _damage;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user