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:
A Clark
2012-12-27 11:33:58 -06:00
parent de7f3a17d0
commit 5208bc9719
12 changed files with 64 additions and 34 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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