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;

View File

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