mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
v0.4
fixes to typos, started removal of bandit / hero switching. New models now can carry backbacks, removed dupe issue but regained ammo dupe issue. DVS vehicle spawn limits introduced.
This commit is contained in:
@@ -64,20 +64,19 @@ switch (_item) do {
|
||||
case "Skin_Rocker2_DZ": {
|
||||
_model = "Rocker2_DZ";
|
||||
};
|
||||
|
||||
case "Skin_Soldier1_DZ": {
|
||||
_model = "Soldier1_DZ";
|
||||
};
|
||||
case "Skin_Survivor2_DZ": {
|
||||
_model = "Survivor2_DZ";
|
||||
if (_isBandit) then {
|
||||
_model = "Bandit1_DZ";
|
||||
};
|
||||
if (_isHero) then {
|
||||
_model = "Survivor3_DZ";
|
||||
};
|
||||
};
|
||||
case "Skin_Bandit1_DZ": {
|
||||
_model = "Bandit1_DZ";
|
||||
};
|
||||
case "Skin_Survivor3_DZ": {
|
||||
_model = "Survivor3_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
if (_model != _myModel) then {
|
||||
player removeMagazine _item;
|
||||
|
||||
@@ -71,7 +71,7 @@ if (_qty >= _qty_in) then {
|
||||
dayzPublishVeh call server_publishVeh;
|
||||
};
|
||||
|
||||
cutText [format[("Bought %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
cutText [format[("Bought %3 %4 for %1 %2"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
} else {
|
||||
// Sell Vehicle
|
||||
for "_x" from 1 to _qty_out do {
|
||||
@@ -97,7 +97,7 @@ if (_qty >= _qty_in) then {
|
||||
s_player_parts_crtl = -1;
|
||||
|
||||
} else {
|
||||
cutText [format[("Error insufficient quality %1"),_textPartIn] , "PLAIN DOWN"];
|
||||
cutText [format[("Insufficient Stock %1"),_textPartOut] , "PLAIN DOWN"];
|
||||
};
|
||||
dayzTradeResult = nil;
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ if (_qty >= _qty_in) then {
|
||||
dayzPublishVeh call server_publishVeh;
|
||||
};
|
||||
|
||||
cutText [format[("Bought %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
cutText [format[("Bought %3 %4 for %1 %2"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
} else {
|
||||
// Sell Vehicle
|
||||
for "_x" from 1 to _qty_out do {
|
||||
@@ -97,7 +97,7 @@ if (_qty >= _qty_in) then {
|
||||
s_player_parts_crtl = -1;
|
||||
|
||||
} else {
|
||||
cutText [format[("Error insufficient quality %1"),_textPartIn] , "PLAIN DOWN"];
|
||||
cutText [format[("Insufficient Stock %1"),_textPartOut] , "PLAIN DOWN"];
|
||||
};
|
||||
dayzTradeResult = nil;
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ if (_qty >= _qty_in) then {
|
||||
s_player_parts_crtl = -1;
|
||||
|
||||
} else {
|
||||
cutText [format[("Error insufficient quality %1"),_textPartIn] , "PLAIN DOWN"];
|
||||
cutText [format[("Insufficient Stock %1"),_textPartOut] , "PLAIN DOWN"];
|
||||
};
|
||||
dayzTradeResult = nil;
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ if (_qty >= _qty_in) then {
|
||||
// [player,"repair",0,false] call dayz_zombieSpeak;
|
||||
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
} else {
|
||||
cutText [format[("Error insufficient quality %1"),_textPartIn] , "PLAIN DOWN"];
|
||||
cutText [format[("Insufficient Stock %1"),_textPartOut] , "PLAIN DOWN"];
|
||||
};
|
||||
dayzTradeResult = nil;
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ if (_qty >= _qty_in) then {
|
||||
s_player_parts_crtl = -1;
|
||||
|
||||
} else {
|
||||
cutText [format[("Error insufficient quality %1"),_textPartIn] , "PLAIN DOWN"];
|
||||
cutText [format[("Insufficient Stock %1"),_textPartOut] , "PLAIN DOWN"];
|
||||
};
|
||||
dayzTradeResult = nil;
|
||||
|
||||
|
||||
@@ -388,6 +388,7 @@ class Citizen1; // External class reference
|
||||
respawnMagazines[] = {};
|
||||
weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072";
|
||||
canHideBodies = 1;
|
||||
canCarryBackPack = 1;
|
||||
};
|
||||
class Pilot_EP1;
|
||||
class Pilot_EP1_DZ: Pilot_EP1 {
|
||||
@@ -400,6 +401,7 @@ class Citizen1; // External class reference
|
||||
respawnMagazines[] = {};
|
||||
weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072";
|
||||
canHideBodies = 1;
|
||||
canCarryBackPack = 1;
|
||||
};
|
||||
class Haris_Press_EP1;
|
||||
class Haris_Press_EP1_DZ: Haris_Press_EP1 {
|
||||
@@ -412,6 +414,7 @@ class Citizen1; // External class reference
|
||||
respawnMagazines[] = {};
|
||||
weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072";
|
||||
canHideBodies = 1;
|
||||
canCarryBackPack = 1;
|
||||
};
|
||||
class Ins_Soldier_GL;
|
||||
class Ins_Soldier_GL_DZ: Ins_Soldier_GL {
|
||||
@@ -424,6 +427,7 @@ class Citizen1; // External class reference
|
||||
respawnMagazines[] = {};
|
||||
weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072";
|
||||
canHideBodies = 1;
|
||||
canCarryBackPack = 1;
|
||||
};
|
||||
class GUE_Commander;
|
||||
class GUE_Commander_DZ: GUE_Commander {
|
||||
@@ -436,6 +440,7 @@ class Citizen1; // External class reference
|
||||
respawnMagazines[] = {};
|
||||
weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072";
|
||||
canHideBodies = 1;
|
||||
canCarryBackPack = 1;
|
||||
};
|
||||
class Functionary1_EP1;
|
||||
class Functionary1_EP1_DZ: Functionary1_EP1 {
|
||||
@@ -448,6 +453,7 @@ class Citizen1; // External class reference
|
||||
respawnMagazines[] = {};
|
||||
weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072";
|
||||
canHideBodies = 1;
|
||||
canCarryBackPack = 1;
|
||||
};
|
||||
class Priest;
|
||||
class Priest_DZ: Priest {
|
||||
@@ -460,6 +466,7 @@ class Citizen1; // External class reference
|
||||
respawnMagazines[] = {};
|
||||
weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072";
|
||||
canHideBodies = 1;
|
||||
canCarryBackPack = 1;
|
||||
};
|
||||
class Rocker2;
|
||||
class Rocker2_DZ: Rocker2 {
|
||||
@@ -472,6 +479,7 @@ class Citizen1; // External class reference
|
||||
respawnMagazines[] = {};
|
||||
weaponSlots = "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072";
|
||||
canHideBodies = 1;
|
||||
canCarryBackPack = 1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user