+ 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:
vbawol
2013-02-18 10:47:43 -06:00
parent 56c310400f
commit 0dd7227d5c
13 changed files with 92 additions and 15 deletions

View File

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

View File

@@ -100,6 +100,12 @@ if (inflamed cursorTarget and _canDo) then {
[ ["ItemCopperBar10oz",1] ]
];
_recipe_ItemSandbagLarge = [
[ ["ItemSandbagLarge",1] ],
[ ["ItemSandbag",3],["ItemWire",1] ]
];

View File

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

View File

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

View File

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

View File

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

View File

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