Update vanilla fences

Vanilla commits applied:

c5f2447f14

45e757ece2
This commit is contained in:
ebaydayz
2016-10-03 12:27:43 -04:00
parent 591af81575
commit da524041ee
2 changed files with 4 additions and 3 deletions

View File

@@ -15,8 +15,8 @@ _total = (damage _obj);
//Modify damage done based on level of fence //Modify damage done based on level of fence
_damage = switch (1==1) do { _damage = switch (1==1) do {
case ((typeof _obj) in ["WoodenFence_3","WoodenFence_4","WoodenFence_5","WoodenGate_2","WoodenGate_3"]): { 0.5 }; case ((typeof _obj) in ["WoodenFence_3","WoodenFence_4","WoodenFence_5","WoodenFence_6","WoodenFence_7","WoodenGate_2","WoodenGate_3","WoodenGate_4"]): { 0.5 };
case ((typeof _obj) in ["WoodenFence_6","WoodenFence_7","WoodenGate_4"]): { 0.35 }; //case ((typeof _obj) in ["WoodenFence_6","WoodenFence_7","WoodenGate_4"]): { 0.35 };
default { 1 }; default { 1 };
}; };

View File

@@ -162,7 +162,7 @@ diag_log ("HIVE: Streamed " + str(_val) + " objects");
}; };
//diag_log format["OBJ: %1 - %2,%3,%4,%5,%6,%7,%8", _idKey,_type,_ownerID,_worldspace,_inventory,_hitPoints,_fuel,_damage]; //diag_log format["OBJ: %1 - %2,%3,%4,%5,%6,%7,%8", _idKey,_type,_ownerID,_worldspace,_inventory,_hitPoints,_fuel,_damage];
/*
if (_type in _tempMaint) then { if (_type in _tempMaint) then {
//Use hitpoints for Maintenance system and other systems later. //Use hitpoints for Maintenance system and other systems later.
//Enable model swap for a damaged model. //Enable model swap for a damaged model.
@@ -173,6 +173,7 @@ diag_log ("HIVE: Streamed " + str(_val) + " objects");
//TODO add remove object and readd old fence (hideobject would be nice to use here :-( ) //TODO add remove object and readd old fence (hideobject would be nice to use here :-( )
//Pending change to new fence models\Layout //Pending change to new fence models\Layout
}; };
*/
_nonCollide = _type in DayZ_nonCollide; _nonCollide = _type in DayZ_nonCollide;
//Create it //Create it
if (_nonCollide) then { if (_nonCollide) then {