mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
chainsaw colors fixes
This commit is contained in:
@@ -165,7 +165,7 @@ class CfgWeapons {
|
|||||||
aiDispersionCoefY = 21;
|
aiDispersionCoefY = 21;
|
||||||
aiDispersionCoefX = 21;
|
aiDispersionCoefX = 21;
|
||||||
dexterity = 0.51;
|
dexterity = 0.51;
|
||||||
reloadMagazineSound[] = {"\dayz_sfx\effects\action_refuel_0.ogg",0.1,1,20};
|
reloadMagazineSound[] = {"\dayz_sfx\chainsaw\start-attempt.ogg",0.1,1,20};
|
||||||
drySound[] = {"\dayz_sfx\chainsaw\start-attempt.ogg",0.01,1,10};
|
drySound[] = {"\dayz_sfx\chainsaw\start-attempt.ogg",0.01,1,10};
|
||||||
magazines[] = {"CSGAS"};
|
magazines[] = {"CSGAS"};
|
||||||
class Library
|
class Library
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ dayz_combat = 1;
|
|||||||
|
|
||||||
if (_ammo isKindOf "Melee") exitWith {
|
if (_ammo isKindOf "Melee") exitWith {
|
||||||
|
|
||||||
if(!(["Chainsaw",_weapon] call fnc_inString)) then {
|
if(!(_ammo isKindOf "Chainsaw_Swing_Ammo")) then {
|
||||||
_unit playActionNow "GestureSwing";
|
_unit playActionNow "GestureSwing";
|
||||||
[1,1] call dayz_HungerThirst;
|
[1,1] call dayz_HungerThirst;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ if (_ammo isKindOf "Hatchet_Swing_Ammo" or _ammo isKindOf "Chainsaw_Swing_Ammo")
|
|||||||
_countOut = 1;
|
_countOut = 1;
|
||||||
_itemOut = "PartWoodPile";
|
_itemOut = "PartWoodPile";
|
||||||
|
|
||||||
if(_weapon == "Chainsaw") then {
|
if(_ammo isKindOf "Chainsaw_Swing_Ammo") then {
|
||||||
_itemOut = "PartWoodLumber";
|
_itemOut = "PartWoodLumber";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user