Merge remote-tracking branch 'upstream/master'

This commit is contained in:
icomrade
2014-02-09 13:07:13 -05:00
24 changed files with 152 additions and 155 deletions

4
CHANGE LOG 1.0.5.txt Normal file
View File

@@ -0,0 +1,4 @@
[INFO] Models/textures by Paul Tomany. @Sequisha.
[INFO] Special thanks to http://bmrf.me/ for hosting our development server.

View File

@@ -16,6 +16,7 @@ class ItemMixOil : CA_Magazine {
requiretools[] = {};
output[] = {{"ItemJerryMixed",1}};
input[] = {{"ItemMixOil",1},{"ItemJerrycan",1}};
inputstrict = true;
};
};
};

View File

@@ -1,8 +1,7 @@
class BTR90;
class BTR90_DZ: BTR90 {
scope = public;
class BTR90_DZ_Base: BTR90 {
scope = private;
side = TGuerrila;
displayName = "BTR-90 DZ";
commanderCanSee = 2+16+32;
gunnerCanSee = 2+16+32;
@@ -12,18 +11,21 @@ class BTR90_DZ: BTR90 {
typicalCargo[] = {};
class TransportMagazines{};
transportMaxMagazines = 100; // Default: 100
transportMaxWeapons = 10; // Default: 10
//transportmaxbackpacks = ; // Default:
class Turrets; // External class reference
class MainTurret; // External class reference
};
class BTR90_HQ;
class BTR90_HQ_DZ: BTR90_HQ {
class BTR90_DZ: BTR90_DZ_Base {
scope = public;
displayName = "BTR-90 DZ";
transportMaxMagazines = 100; // Default: 100
transportMaxWeapons = 10; // Default: 10
//transportmaxbackpacks = ; // Default:
};
class BTR90_HQ;
class BTR90_HQ_DZ_Base: BTR90_HQ {
scope = private;
side = TGuerrila;
displayName = "BTR-90 (HQ) DZ";
commanderCanSee = 2+16+32;
gunnerCanSee = 2+16+32;
@@ -33,19 +35,25 @@ class BTR90_HQ_DZ: BTR90_HQ {
typicalCargo[] = {};
class TransportMagazines{};
class Turrets; // External class reference
class MainTurret; // External class reference
};
class BTR90_HQ_DZ: BTR90_HQ_DZ_Base {
scope = public;
displayName = "BTR-90 (HQ) DZ";
transportSoldier = 7;
transportMaxMagazines = 100; // Default: 100
transportMaxWeapons = 10; // Default: 10
//transportmaxbackpacks = ; // Default:
class Turrets; // External class reference
class MainTurret; // External class reference
};
// Ammo Less
class BTR90_DZE: BTR90_DZ {
displayName = "BTR-90 AL";
class Turrets: Turrets {
class MainTurret : MainTurret {
class MainTurret: MainTurret {
magazines[] = {};
};
};
@@ -53,7 +61,7 @@ class BTR90_DZE: BTR90_DZ {
class BTR90_HQ_DZE: BTR90_HQ_DZ {
displayName = "BTR-90 (HQ) AL";
class Turrets: Turrets {
class MainTurret : MainTurret {
class MainTurret: MainTurret {
magazines[] = {};
};
};

View File

@@ -46,7 +46,7 @@ class M113_TK_EP1_DZ: M113_TK_EP1 {
class M113_UN_EP1_DZE: M113_UN_EP1_DZ {
displayName = "M113 AL";
class Turrets: Turrets {
class MainTurret : MainTurret {
class MainTurret: MainTurret {
magazines[] = {};
};
};
@@ -54,7 +54,7 @@ class M113_UN_EP1_DZE: M113_UN_EP1_DZ {
class M113_TK_EP1_DZE: M113_TK_EP1_DZ {
displayName = "M113 AL";
class Turrets: Turrets {
class MainTurret : MainTurret {
class MainTurret: MainTurret {
magazines[] = {};
};
};

View File

@@ -36,8 +36,11 @@ if (_count == 0) exitWith {
_requirements = [];
switch true do {
case (_count <= 10): {_requirements = [["ItemGoldBar10oz",1]]};
case (_count <= 20): {_requirements = [["ItemGoldBar10oz",2]]};
case (_count <= 35): {_requirements = [["ItemGoldBar10oz",3]]};
case (_count <= 50): {_requirements = [["ItemGoldBar10oz",4]]};
case (_count <= 75): {_requirements = [["ItemGoldBar10oz",6]]};
case (_count <= 100): {_requirements = [["ItemBriefcase100oz",1]]};
case (_count <= 175): {_requirements = [["ItemBriefcase100oz",2]]};
case (_count <= 250): {_requirements = [["ItemBriefcase100oz",3]]};

View File

@@ -14,12 +14,13 @@ class ItemActions
requiretools[] = {"ItemToolbox","ItemKnife"}; // (cfgweapons only)
output[] = {{"ItemTent",1}}; // (CfgMagazines, qty)
input[] = {{"ItemCanvas",2},{"ItemPole",2}}; // (CfgMagazines, qty)
inputstrict = true; // (CfgMagazines input without inheritsFrom) Optional
inputweapons[] = {"ItemToolbox"}; // consume toolbox (cfgweapons only)
outputweapons[] = {"ItemToolbox"}; // return toolbox (cfgweapons only)
};
};
};
*/
private ["_tradeComplete","_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_item","_baseClass","_num_removed_weapons","_outputWeapons","_inputWeapons","_randomOutput","_craft_doLoop","_selectedWeapon","_selectedMag","_sfx"];
private ["_tradeComplete","_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_selectedRecipeInputStrict","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_item","_baseClass","_num_removed_weapons","_outputWeapons","_inputWeapons","_randomOutput","_craft_doLoop","_selectedWeapon","_selectedMag","_sfx"];
if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_63") , "PLAIN DOWN"]; };
DZE_ActionInProgress = true;
@@ -44,14 +45,14 @@ _canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
_needNear = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "neednearby");
if("fire" in _needNear) then {
_isNear = {inflamed _x} count (getPosATL player nearObjects _distance);
if(_isNear == 0) then {
if(_isNear == 0) then {
_abort = true;
_reason = "fire";
};
};
if("workshop" in _needNear) then {
_isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ","WorkBench_DZ"], _distance]);
if(_isNear == 0) then {
if(_isNear == 0) then {
_abort = true;
_reason = "workshop";
};
@@ -64,10 +65,11 @@ if(_abort) exitWith {
// diag_log format["Checking for fire: %1", _isFireNear];
if (_canDo) then {
_selectedRecipeTools = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "requiretools");
_selectedRecipeOutput = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "output");
_selectedRecipeInput = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "input");
_selectedRecipeOutput = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "output");
_selectedRecipeInput = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "input");
_selectedRecipeInputStrict = if ((isNumber (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "inputstrict")) && (getNumber (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "inputstrict") > 0)) then {true} else {false};
_outputWeapons = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "outputweapons");
_inputWeapons = getArray (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "inputweapons");
@@ -80,24 +82,24 @@ if (_canDo) then {
if(isNumber (configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "randomOutput")) then {
_randomOutput = getNumber(configFile >> _baseClass >> _item >> "ItemActions" >> _crafting >> "randomOutput");
};
_craft_doLoop = true;
_tradeComplete = 0;
while {_craft_doLoop} do {
_temp_removed_array = [];
_missing = "";
_missingTools = false;
{
_hastoolweapon = _x in weapons player;
if(!_hastoolweapon) exitWith { _craft_doLoop = false; _missingTools = true; _missing = _x; };
} forEach _selectedRecipeTools;
if(!_missingTools) then {
// Dry run to see if all parts are available.
_proceed = true;
if (count _selectedRecipeInput > 0) then {
@@ -105,30 +107,30 @@ if (_canDo) then {
_itemIn = _x select 0;
_countIn = _x select 1;
_qty = { (_x == _itemIn) || (configName(inheritsFrom(configFile >> "cfgMagazines" >> _x)) == _itemIn) } count magazines player;
_qty = { (_x == _itemIn) || (!_selectedRecipeInputStrict && configName(inheritsFrom(configFile >> "cfgMagazines" >> _x)) == _itemIn) } count magazines player;
if(_qty < _countIn) exitWith { _missing = _itemIn; _missingQty = (_countIn - _qty); _proceed = false; };
} forEach _selectedRecipeInput;
};
// If all parts proceed
if (_proceed) then {
cutText [(localize "str_epoch_player_62"), "PLAIN DOWN"];
[1,1] call dayz_HungerThirst;
player playActionNow "Medic";
[player,_sfx,0,false] call dayz_zombieSpeak;
[player,50,true,(getPosATL player)] spawn player_alertZombies;
r_interrupt = false;
_animState = animationState player;
r_doLoop = true;
_started = false;
_finished = false;
while {r_doLoop} do {
_animState = animationState player;
_isMedic = ["medic",_animState] call fnc_inString;
@@ -145,9 +147,9 @@ if (_canDo) then {
sleep 0.1;
};
r_doLoop = false;
if (_finished) then {
_removed_total = 0; // count total of removed items
_tobe_removed_total = 0; // count total of all to be removed items
// Take items
@@ -157,10 +159,10 @@ if (_canDo) then {
_countIn = _x select 1;
// diag_log format["Recipe Finish: %1 %2", _itemIn,_countIn];
_tobe_removed_total = _tobe_removed_total + _countIn;
{
{
_configParent = configName(inheritsFrom(configFile >> "cfgMagazines" >> _x));
if( (_removed < _countIn) && ((_x == _itemIn) || _configParent == _itemIn)) then {
if( (_removed < _countIn) && ((_x == _itemIn) || (!_selectedRecipeInputStrict && _configParent == _itemIn))) then {
_num_removed = ([player,_x] call BIS_fnc_invRemove);
_removed = _removed + _num_removed;
_removed_total = _removed_total + _num_removed;
@@ -172,20 +174,20 @@ if (_canDo) then {
_temp_removed_array set [count _temp_removed_array,_x];
};
};
} forEach magazines player;
} forEach _selectedRecipeInput;
//diag_log format["removed: %1 of: %2", _removed, _tobe_removed_total];
// Only proceed if all parts were removed successfully
if(_removed_total == _tobe_removed_total) then {
_num_removed_weapons = 0;
{
_num_removed_weapons = _num_removed_weapons + ([player,_x] call BIS_fnc_invRemove);
} forEach _inputWeapons;
if (_num_removed_weapons == (count _inputWeapons)) then {
if (_num_removed_weapons == (count _inputWeapons)) then {
if(_randomOutput == 1) then {
_selectedWeapon = _outputWeapons call BIS_fnc_selectRandom;
_outputWeapons = [_selectedWeapon];
@@ -195,19 +197,19 @@ if (_canDo) then {
_craft_doLoop = false;
};
{
player addWeapon _x;
player addWeapon _x;
} forEach _outputWeapons;
{
{
_itemOut = _x select 0;
_countOut = _x select 1;
if (_itemOut == "ItemWaterbottleUnfilled") then {
if (_waterLevel > 0) then {
_itemOut = format["ItemWaterbottle%1oz",_waterLevel];
};
};
diag_log format["Checking for water level: %1", _waterLevel];
@@ -219,22 +221,22 @@ if (_canDo) then {
_tradeComplete = _tradeComplete+1;
_textCreate = getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName");
// Add crafted item
cutText [format[(localize "str_epoch_player_150"),_textCreate,_countOut], "PLAIN DOWN"];
// sleep here
// sleep here
sleep 1;
} forEach _selectedRecipeOutput;
};
} else {
// Refund parts since we failed
// Refund parts since we failed
{player addMagazine _x;} forEach _temp_removed_array;
cutText [format[(localize "str_epoch_player_151"),_removed_total,_tobe_removed_total], "PLAIN DOWN"];
};
} else {
r_interrupt = false;
if (vehicle player == player) then {
@@ -244,7 +246,7 @@ if (_canDo) then {
cutText [(localize "str_epoch_player_64"), "PLAIN DOWN"];
_craft_doLoop = false;
};
} else {
_textMissing = getText(configFile >> "CfgMagazines" >> _missing >> "displayName");
cutText [format[(localize "str_epoch_player_152"),_missingQty, _textMissing,_tradeComplete], "PLAIN DOWN"];

View File

@@ -41,7 +41,7 @@ if (DZE_StaticConstructionCount > 0) then {
}
else {
if (isNumber (configFile >> "CfgVehicles" >> _objType >> "constructioncount")) then {
_limit = getNumber(configFile >> "_objType" >> _classname >> "constructioncount");
_limit = getNumber(configFile >> "CfgVehicles" >> _objType >> "constructioncount");
};
};

View File

@@ -63,10 +63,12 @@ if(!isNull _obj and alive _obj) then {
_backpacks = getBackpackCargo _obj;
deleteVehicle _obj;
PVDZE_obj_Delete = [_objectID,_objectUID,_activatingPlayer];
publicVariableServer "PVDZE_obj_Delete";
if (isServer) then {
PVDZE_obj_Delete call server_deleteObj;
} else {
PVDZE_obj_Delete = [_objectID,_objectUID,_activatingPlayer];
publicVariableServer "PVDZE_obj_Delete";
};
//Add weapons
@@ -102,4 +104,4 @@ if(!isNull _obj and alive _obj) then {
};
s_player_packtent = -1;
DZE_ActionInProgress = false;
DZE_ActionInProgress = false;

View File

@@ -212,6 +212,7 @@ dayz_resetSelfActions = {
s_player_removeflare = -1;
s_player_painkiller = -1;
s_player_studybody = -1;
s_player_tamedog = -1;
s_player_madsci_crtl = -1;
s_player_parts_crtl = -1;
s_build_Sandbag1_DZ = -1;
@@ -709,6 +710,7 @@ if(!isDedicated) then {
DZE_FreshSpawn = false;
DZE_myHaloVehicle = objNull;
dayz_myLiftVehicle = objNull;
DZE_Friends = [];

View File

@@ -1353,7 +1353,7 @@ class FSM
priority = 2.000000;
to="ERROR__No_Player_1";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"(_myEpochAnim != ""1.0.4"") || (_myEpoch != ""1.0.4"") || (_myEpochB != ""1.0.4.1"") || (_myEpochSfx != ""1.0.4"")"/*%FSM</CONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"(_myEpochAnim != ""1.0.4"") || (_myEpoch != ""1.0.4"") || (_myEpochB != ""1.0.4.1"") || (_myEpochSfx != ""1.0.4.1"")"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/

View File

@@ -163,7 +163,7 @@ if (true) then
_unit_13 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Profiteer4", [17176.229, 13586.87, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Profiteer4", [17176.229, 13586.87, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
_unit_13 = _this;
_this setDir 73.497665;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -173,7 +173,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_17 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Villager3", [19245.633, 13586.95, 3.1938891], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Villager3", [19245.633, 13586.95, 3.1938891], [], 0, "CAN_COLLIDE"];
_unit_17 = _this;
_this setDir -84.586914;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -237,7 +237,7 @@ if (true) then
_unit_56 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Worker3", [14280.453, 12382.589, 0.69716024], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Worker3", [14280.453, 12382.589, 0.69716024], [], 0, "CAN_COLLIDE"];
_unit_56 = _this;
_this setDir 345.39899;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -247,7 +247,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_57 = objNull;
if (true) then
{
_this = _group_1 createAgent ["CIV_EuroMan01_EP1", [14281.469, 12438.899, -0.038146973], [], 0, "CAN_COLLIDE"];
_this = createAgent ["CIV_EuroMan01_EP1", [14281.469, 12438.899, -0.038146973], [], 0, "CAN_COLLIDE"];
_unit_57 = _this;
_this setDir 272.80331;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -257,7 +257,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_58 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_WorkWoman5", [14264.426, 12423.233, 0.54440308], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_WorkWoman5", [14264.426, 12423.233, 0.54440308], [], 0, "CAN_COLLIDE"];
_unit_58 = _this;
_this setDir 825.94824;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -267,7 +267,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_59 = objNull;
if (true) then
{
_this = _group_1 createAgent ["TK_GUE_Soldier_5_EP1", [14265.977, 12375.616, -0.51617432], [], 0, "CAN_COLLIDE"];
_this = createAgent ["TK_GUE_Soldier_5_EP1", [14265.977, 12375.616, -0.51617432], [], 0, "CAN_COLLIDE"];
_unit_59 = _this;
_this setDir 381.45752;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -277,7 +277,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_60 = objNull;
if (true) then
{
_this = _group_1 createAgent ["CIV_EuroMan02_EP1", [14282.494, 12434.631, 0.33944702], [], 0, "CAN_COLLIDE"];
_this = createAgent ["CIV_EuroMan02_EP1", [14282.494, 12434.631, 0.33944702], [], 0, "CAN_COLLIDE"];
_unit_60 = _this;
_this setDir 270.93637;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -287,7 +287,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_62 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Dr_Hladik_EP1", [12568.642, 8359.8574, 0.51730686], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Dr_Hladik_EP1", [12568.642, 8359.8574, 0.51730686], [], 0, "CAN_COLLIDE"];
_unit_62 = _this;
_this setDir 671.35419;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -335,7 +335,7 @@ if (true) then
_unit_73 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Functionary1", [17269.762, 9570.75, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Functionary1", [17269.762, 9570.75, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
_unit_73 = _this;
_this setDir 177.47417;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -345,7 +345,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_74 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Woodlander1", [17175.852, 13602.271, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Woodlander1", [17175.852, 13602.271, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
_unit_74 = _this;
_this setDir 87.902885;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -355,7 +355,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_75 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_WorkWoman1", [17175.6, 13598.431, 0.94462103], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_WorkWoman1", [17175.6, 13598.431, 0.94462103], [], 0, "CAN_COLLIDE"];
_unit_75 = _this;
_this setDir 88.896126;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -365,7 +365,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_78 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Rocker4", [17175.785, 13593.929], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Rocker4", [17175.785, 13593.929], [], 0, "CAN_COLLIDE"];
_unit_78 = _this;
_this setDir 83.451462;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -375,7 +375,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_79 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Citizen3", [17182.684, 13599.278, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Citizen3", [17182.684, 13599.278, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_unit_79 = _this;
_this setDir 613.98407;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -385,7 +385,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_82 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Dr_Annie_Baker_EP1", [17179.426, 13574.901], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Dr_Annie_Baker_EP1", [17179.426, 13574.901], [], 0, "CAN_COLLIDE"];
_unit_82 = _this;
_this setDir 433.92062;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -395,7 +395,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_84 = objNull;
if (true) then
{
_this = _group_1 createAgent ["TK_CIV_Takistani04_EP1", [12575.749, 8356.5449, 0.98069924], [], 0, "CAN_COLLIDE"];
_this = createAgent ["TK_CIV_Takistani04_EP1", [12575.749, 8356.5449, 0.98069924], [], 0, "CAN_COLLIDE"];
_unit_84 = _this;
_this setDir 269.78232;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -486,7 +486,7 @@ if (true) then
_unit_90 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Citizen4", [11453.74, 5420.5854, 0.13881789], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Citizen4", [11453.74, 5420.5854, 0.13881789], [], 0, "CAN_COLLIDE"];
_unit_90 = _this;
_this setDir 202.66867;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -496,7 +496,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_91 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Citizen1", [13558.33, 8684.3281, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Citizen1", [13558.33, 8684.3281, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_unit_91 = _this;
_this setDir 184.64287;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -506,7 +506,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_94 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Pilot_EP1", [12569.598, 8353.5137, -0.3298558], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Pilot_EP1", [12569.598, 8353.5137, -0.3298558], [], 0, "CAN_COLLIDE"];
_unit_94 = _this;
_this setDir 396.39563;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -516,7 +516,7 @@ _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this d
_unit_95 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Rita_Ensler_EP1", [12556.018, 8352.8145, 0.88001078], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Rita_Ensler_EP1", [12556.018, 8352.8145, 0.88001078], [], 0, "CAN_COLLIDE"];
_unit_95 = _this;
_this setDir -9.2696304;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -646,7 +646,7 @@ if (true) then
_unit_97 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Worker2", [9908.458, 10003.673, 0.020880492], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Worker2", [9908.458, 10003.673, 0.020880492], [], 0, "CAN_COLLIDE"];
_unit_97 = _this;
_this setDir 3.0190864;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -713,7 +713,7 @@ if (true) then
_unit_108 = objNull;
if (true) then
{
_this = _group_2 createAgent ["GUE_Soldier_MG", [6411.2759, 7476.5024, 0.25734121], [], 0, "CAN_COLLIDE"];
_this = createAgent ["GUE_Soldier_MG", [6411.2759, 7476.5024, 0.25734121], [], 0, "CAN_COLLIDE"];
_unit_108 = _this;
_this setDir 262.28711;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
@@ -791,7 +791,7 @@ if (true) then
_unit_118 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Profiteer4", [12548.382, 8353.6436], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Profiteer4", [12548.382, 8353.6436], [], 0, "CAN_COLLIDE"];
_unit_118 = _this;
_this setDir -50.706394;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -819,7 +819,7 @@ if (true) then
_unit_122 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Woodlander3", [12565.632, 8350.7012, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Woodlander3", [12565.632, 8350.7012, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_unit_122 = _this;
_this setDir -59.927212;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -849,7 +849,7 @@ if (true) then
_unit_124 = objNull;
if (true) then
{
_this = _group_1 createAgent ["HouseWife1", [13488.928, 6891.0576, 3.5405161], [], 0, "CAN_COLLIDE"];
_this = createAgent ["HouseWife1", [13488.928, 6891.0576, 3.5405161], [], 0, "CAN_COLLIDE"];
_unit_124 = _this;
_this setDir -91.741302;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -876,7 +876,7 @@ if (true) then
_unit_128 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Doctor", [14263.656, 12434.905], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Doctor", [14263.656, 12434.905], [], 0, "CAN_COLLIDE"];
_unit_128 = _this;
_this setDir 455.85672;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1571,7 +1571,7 @@ if (true) then
_unit_193 = objNull;
if (true) then
{
_this = _group_2 createAgent ["Soldier_GL_PMC", [13243.781, 11189.826, 9.9182129e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Soldier_GL_PMC", [13243.781, 11189.826, 9.9182129e-005], [], 0, "CAN_COLLIDE"];
_unit_193 = _this;
_this setDir -99.240112;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";

View File

@@ -150,7 +150,6 @@ if (isServer and isNil "sm_done") then {
if ((typeOf _object) in dayz_allowedObjects) then {
if (DZE_GodModeBase) then {
_object addEventHandler ["HandleDamage", {false}];
_object setDamage 0;
} else {
_object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}];
};
@@ -179,10 +178,7 @@ if (isServer and isNil "sm_done") then {
};
_isOK = isClass(configFile >> "CfgWeapons" >> _x);
if (_isOK) then {
_block = getNumber(configFile >> "CfgWeapons" >> _x >> "stopThis") == 1;
if (!_block) then {
_object addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
};
_object addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
};
_countr = _countr + 1;
} forEach _objWpnTypes;
@@ -196,10 +192,7 @@ if (isServer and isNil "sm_done") then {
if (_x == "ItemTent") then { _x = "ItemTentOld" };
_isOK = isClass(configFile >> "CfgMagazines" >> _x);
if (_isOK) then {
_block = getNumber(configFile >> "CfgMagazines" >> _x >> "stopThis") == 1;
if (!_block) then {
_object addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
};
_object addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
};
_countr = _countr + 1;
} forEach _objWpnTypes;
@@ -211,10 +204,7 @@ if (isServer and isNil "sm_done") then {
{
_isOK = isClass(configFile >> "CfgVehicles" >> _x);
if (_isOK) then {
_block = getNumber(configFile >> "CfgVehicles" >> _x >> "stopThis") == 1;
if (!_block) then {
_object addBackpackCargoGlobal [_x,(_objWpnQty select _countr)];
};
_object addBackpackCargoGlobal [_x,(_objWpnQty select _countr)];
};
_countr = _countr + 1;
} forEach _objWpnTypes;

View File

@@ -22,7 +22,7 @@ class CfgPatches {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
dayzVersion = "1.0.4";
dayzVersion = "1.0.4.1";
requiredAddons[] = {};
};
};
@@ -53,8 +53,8 @@ class CfgSFX {
DestrMine1[] = {"\ca\BUILDINGS\sound\building2_destroy", 3.16228, 1, 150, 1, 60, 120, 240};
DestrMine2[] = {"\dayz_sfx\effects\vein_wreck.ogg", 5, 1, 150, 1, 60, 120, 240};
empty[] = {"", 0, 0, 0, 0, 1, 5, 20};
}
};
};
#include "CfgSounds.hpp"
#include "CfgMusic.hpp"
#include "CfgMusic.hpp"

Binary file not shown.

View File

@@ -27,7 +27,7 @@ menu_CZ_Special_Forces_MG_DES_EP1 = [
// General Store P
menu_Damsel5 = [
[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
[["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
"neutral"
];
// Weapons neutral 1P
@@ -87,7 +87,7 @@ menu_Rita_Ensler_EP1 = [
// Neutral General Store 1P
menu_RU_Farmwife1 = [
[["Backpacks",538],["Clothes",628],["Cooked Meats",630],["Drinks",601],["Packaged Food",629]],
[["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
"neutral"
];
// Medical Supplies P
@@ -117,7 +117,7 @@ menu_UN_CDF_Soldier_AAT_EP1 = [
// General Store 2P
menu_ValentinaVictim = [
[["Backpacks",632],["Clothes",631],["Cooked Meats",634],["Drinks",633],["Packaged Food",635]],
[["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
"neutral"
];
// North Wholesaler P

View File

@@ -14,7 +14,8 @@ class Mission
"glt_m300t",
"csj_gyroac",
"map_eu",
"jetskiyanahuiaddon"
"jetskiyanahuiaddon",
"pook_h13"
};
addOnsAuto[]=
{
@@ -1168,7 +1169,7 @@ class Mission
};
class Markers
{
items=20;
items=18;
class Item0
{
position[]={10442.41,86.282227,10438.262};
@@ -1299,22 +1300,6 @@ class Mission
type="mil_dot";
colorName="ColorBlack";
};
class Item18
{
position[]={12202.001,0.45867854,9895.2207};
name="BlackMarket_1";
text="Black Market Vendor";
type="mil_dot";
colorName="ColorBlack";
};
class Item19
{
position[]={11162.368,259.74371,8631.5537};
name="BlackMarket_1_1";
text="Black Market Vendor";
type="mil_dot";
colorName="ColorBlack";
};
};
class Sensors
{

View File

@@ -27,7 +27,7 @@ menu_GUE_Commander = [
// General Store
menu_Damsel3 = [
[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
[["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
"neutral"
];
// Weapons neutral
@@ -81,7 +81,7 @@ menu_GUE_Villager3 = [
// General Store 2
menu_CIV_EuroWoman01_EP1 = [
[["Backpacks",538],["Clothes",628],["Cooked Meats",630],["Drinks",601],["Packaged Food",629]],
[["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
"friendly"
];
// Medical Supplies
@@ -99,7 +99,7 @@ menu_RUS_Commander = [
// General Store 3
menu_Damsel5 = [
[["Backpacks",632],["Clothes",631],["Cooked Meats",634],["Drinks",633],["Packaged Food",635]],
[["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
"neutral"
];
// West Wholesaler

View File

@@ -27,7 +27,7 @@ menu_RU_Profiteer1 = [
// Friendly General Store
menu_Damsel4 = [
[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
[["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
"friendly"
];
// Weapons neutral
@@ -87,7 +87,7 @@ menu_Profiteer1 = [
// Neutral General Store
menu_RU_Damsel5 = [
[["Backpacks",538],["Clothes",628],["Cooked Meats",630],["Drinks",601],["Packaged Food",629]],
[["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
"neutral"
];
// Medical Supplies
@@ -117,7 +117,7 @@ menu_Soldier_MG_PMC = [
// Neutral General Store
menu_RU_Damsel2 = [
[["Backpacks",632],["Clothes",631],["Cooked Meats",634],["Drinks",633],["Packaged Food",635]],
[["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]],
"neutral"
];
// South Wholesaler

View File

@@ -10,6 +10,6 @@ UPDATE `Traders_DATA` SET `buy` = '[2,"ItemBriefcase100oz",1]', `sell` = '[1,"It
UPDATE `Traders_DATA` SET `buy` = '[1,"ItemBriefcase100oz",1]', `sell` = '[5,"ItemGoldBar10oz",1]' WHERE `item` LIKE '%GAZ_Vodnik_MedEvac%';
UPDATE `Traders_DATA` SET `buy` = '[2,"ItemGoldBar10oz",1]', `sell` = '[1,"ItemGoldBar10oz",1]' WHERE `item` LIKE '%MTVR_DES_EP1%';
INSERT IGNORE INTO `Traders_DATA` (`id`, `item`, `qty`, `buy`, `sell`, `order`, `tid`, `afile`) VALUES (NULL,'["BAF_Merlin_DZE",2]', 10, '[2,"ItemBriefcase100oz",1]]', '[1,"ItemBriefcase100oz",1]]', 0, 519, 'trade_any_vehicle');
INSERT IGNORE INTO `Traders_DATA` (`id`, `item`, `qty`, `buy`, `sell`, `order`, `tid`, `afile`) VALUES (NULL,'["MH60S_DZE",2]', 10, '[4,"ItemBriefcase100oz",1]]', '[1,"ItemBriefcase100oz",1]]', 0, 512, 'trade_any_vehicle');
INSERT IGNORE INTO `Traders_DATA` (`id`, `item`, `qty`, `buy`, `sell`, `order`, `tid`, `afile`) VALUES (NULL,'["MH60S_DZE",2]', 10, '[2,"ItemBriefcase100oz",1]]', '[1,"ItemBriefcase100oz",1]]', 0, 493, 'trade_any_vehicle');
INSERT IGNORE INTO `Traders_DATA` (`id`, `item`, `qty`, `buy`, `sell`, `order`, `tid`, `afile`) VALUES (NULL,'["BAF_Merlin_DZE",2]', 10, '[2,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', 0, 519, 'trade_any_vehicle');
INSERT IGNORE INTO `Traders_DATA` (`id`, `item`, `qty`, `buy`, `sell`, `order`, `tid`, `afile`) VALUES (NULL,'["MH60S_DZE",2]', 10, '[4,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', 0, 512, 'trade_any_vehicle');
INSERT IGNORE INTO `Traders_DATA` (`id`, `item`, `qty`, `buy`, `sell`, `order`, `tid`, `afile`) VALUES (NULL,'["MH60S_DZE",2]', 10, '[2,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', 0, 493, 'trade_any_vehicle');

View File

@@ -122,9 +122,9 @@ INSERT INTO `server_traders` VALUES(1, 'CIV_EuroMan01_EP1', 11, 'friendly', NULL
INSERT INTO `server_traders` VALUES(2, 'Rocker4', 11, 'friendly', NULL, 'Weapons Trader - Klen');
INSERT INTO `server_traders` VALUES(3, 'Woodlander3', 11, 'friendly', NULL, 'Parts Trader - Bash');
INSERT INTO `server_traders` VALUES(4, 'Woodlander1', 11, 'friendly', '', 'Parts Trader - Klen');
INSERT INTO `server_traders` VALUES(5, 'RU_WorkWoman1', 11, 'friendly', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Can Trader - Klen');
INSERT INTO `server_traders` VALUES(6, 'RU_WorkWoman5', 11, 'friendly', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Can Trader - Bash');
INSERT INTO `server_traders` VALUES(7, 'Rita_Ensler_EP1', 11, 'neutral', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Can Trader - Stary');
INSERT INTO `server_traders` VALUES(5, 'RU_WorkWoman1', 11, 'friendly', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Can Trader - Klen');
INSERT INTO `server_traders` VALUES(6, 'RU_WorkWoman5', 11, 'friendly', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Can Trader - Bash');
INSERT INTO `server_traders` VALUES(7, 'Rita_Ensler_EP1', 11, 'neutral', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Can Trader - Stary');
INSERT INTO `server_traders` VALUES(8, 'CIV_EuroMan02_EP1', 11, 'friendly', '', 'Ammo Trader - Bash');
INSERT INTO `server_traders` VALUES(9, 'RU_Citizen3', 11, 'friendly', '', 'Ammo Trader - Klen');
INSERT INTO `server_traders` VALUES(10, 'Pilot_EP1', 11, 'neutral', '', 'Ammo Trader - Stary');
@@ -140,18 +140,18 @@ INSERT INTO `server_traders` VALUES(19, 'RU_Citizen1', 11, 'neutral', '', 'Whole
INSERT INTO `server_traders` VALUES(20, 'Functionary1', 1, 'friendly', '', 'Hero Traders');
INSERT INTO `server_traders` VALUES(21, 'RU_Profiteer3', 1, 'neutral', '', 'High End Weapons - Khush');
INSERT INTO `server_traders` VALUES(22, 'Profiteer1', 1, 'neutral', '', 'High End Ammo - Khush');
INSERT INTO `server_traders` VALUES(23, 'RU_Sportswoman5', 1, 'friendly', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Can Trader - Khush');
INSERT INTO `server_traders` VALUES(23, 'RU_Sportswoman5', 1, 'friendly', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Can Trader - Khush');
INSERT INTO `server_traders` VALUES(24, 'TK_CIV_Takistani05_EP1', 1, 'friendly', '', 'Parts Trader - Khush');
INSERT INTO `server_traders` VALUES(25, 'Dr_Annie_Baker_EP1', 1, 'friendly', '["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]', 'Doctor - Khush');
INSERT INTO `server_traders` VALUES(26, 'Woodlander2', 1, 'friendly', '', 'Auto Trader - Khush');
INSERT INTO `server_traders` VALUES(27, 'TK_CIV_Takistani03_EP1', 1, 'friendly', '', 'Car Parts - Nur');
INSERT INTO `server_traders` VALUES(28, 'TK_CIV_Takistani06_EP1', 1, 'friendly', '', 'Weapons Trader - Nur');
INSERT INTO `server_traders` VALUES(29, 'TK_CIV_Takistani04_EP1', 1, 'friendly', '', 'Ammo Trader - Nur');
INSERT INTO `server_traders` VALUES(30, 'TK_CIV_Woman03_EP1', 1, 'friendly', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Can Trader - Nur');
INSERT INTO `server_traders` VALUES(30, 'TK_CIV_Woman03_EP1', 1, 'friendly', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Can Trader - Nur');
INSERT INTO `server_traders` VALUES(31, 'TK_CIV_Woman02_EP1', 1, 'friendly', '["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]', 'Doctor - Nur');
INSERT INTO `server_traders` VALUES(32, 'RU_Profiteer2', 1, 'friendly', '', 'Auto Trader - Garm');
INSERT INTO `server_traders` VALUES(33, 'TK_CIV_Takistani02_EP1', 1, 'friendly', '', 'Car Parts - Garm');
INSERT INTO `server_traders` VALUES(34, 'RU_Damsel4', 1, 'friendly', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Can Trader - Garm');
INSERT INTO `server_traders` VALUES(34, 'RU_Damsel4', 1, 'friendly', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Can Trader - Garm');
INSERT INTO `server_traders` VALUES(35, 'RU_Woodlander3', 1, 'neutral', '', 'Wholesaler - South');
INSERT INTO `server_traders` VALUES(36, 'RU_Citizen4', 1, 'neutral', '', 'Wholesaler - North');
INSERT INTO `server_traders` VALUES(37, 'RU_Pilot', 1, 'neutral', '', 'Airplane Dealer');
@@ -160,19 +160,19 @@ INSERT INTO `server_traders` VALUES(39, 'Dr_Annie_Baker_EP1', 6, 'friendly', '["
INSERT INTO `server_traders` VALUES(40, 'CIV_EuroWoman01_EP1', 6, 'friendly', '', 'Alejandria''s General Supplies');
INSERT INTO `server_traders` VALUES(41, 'ibr_lingorman2s', 6, 'neutral', '', 'Blivion''s Wholesale Items');
INSERT INTO `server_traders` VALUES(42, 'Worker2', 6, 'friendly', '', 'Axle''s Repair Shop');
INSERT INTO `server_traders` VALUES(43, 'TK_CIV_Woman03_EP1', 6, 'friendly', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Stella''s General Goods');
INSERT INTO `server_traders` VALUES(43, 'TK_CIV_Woman03_EP1', 6, 'friendly', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Stella''s General Goods');
INSERT INTO `server_traders` VALUES(44, 'ibr_lingorman3s', 6, 'neutral', '', 'Clive''s Wholesale');
INSERT INTO `server_traders` VALUES(45, 'ibr_lingorman5s', 6, 'neutral', '', 'Big Bob''s Boats');
INSERT INTO `server_traders` VALUES(46, 'ibr_lingorman4s', 6, 'friendly', '', 'Juan''s Tour Boats');
INSERT INTO `server_traders` VALUES(47, 'ibr_lingorman2', 6, 'friendly', '', 'Jd''z Armed Boats');
INSERT INTO `server_traders` VALUES(48, 'Citizen2_EP1', 6, 'friendly', '', 'Green''s Quality Cars');
INSERT INTO `server_traders` VALUES(49, 'Worker1', 6, 'friendly', '', 'Lyle''s Parts');
INSERT INTO `server_traders` VALUES(50, 'RU_Madam3', 6, 'neutral', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Bag Lady Gina');
INSERT INTO `server_traders` VALUES(50, 'RU_Madam3', 6, 'neutral', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Bag Lady Gina');
INSERT INTO `server_traders` VALUES(51, 'Pilot', 6, 'friendly', '', 'Chip''s Choppers');
INSERT INTO `server_traders` VALUES(52, 'CIV_EuroMan02_EP1', 6, 'friendly', '', 'Jim''s Ammo');
INSERT INTO `server_traders` VALUES(53, 'CIV_EuroMan01_EP1', 6, 'friendly', '', 'Joe''s Weapons');
INSERT INTO `server_traders` VALUES(54, 'ibr_lingorman7s', 6, 'friendly', '', 'Rodger''s 4x4');
INSERT INTO `server_traders` VALUES(55, 'Damsel3', 6, 'friendly', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Tina''s Tarts');
INSERT INTO `server_traders` VALUES(55, 'Damsel3', 6, 'friendly', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Tina''s Tarts');
INSERT INTO `server_traders` VALUES(56, 'Rocker4', 6, 'friendly', '', 'Sly''s Moto');
INSERT INTO `server_traders` VALUES(57, 'Worker4', 6, 'neutral', '', 'Jim''s Used Cars');
INSERT INTO `server_traders` VALUES(58, 'ibr_lingorman7', 6, 'neutral', '', 'Chucks Weapons');
@@ -221,8 +221,8 @@ INSERT INTO `server_traders` VALUES(101, 'RU_Worker1', 13, 'neutral', '', 'Javon
INSERT INTO `server_traders` VALUES(102, 'GUE_Soldier_2', 13, 'neutral', '', 'Wholesaler Darren');
INSERT INTO `server_traders` VALUES(103, 'Worker2', 11, 'neutral', '', 'Airplane Dealer');
INSERT INTO `server_traders` VALUES(104, 'GUE_Villager4', 15, 'friendly', '', 'Bastions Parts Supplies');
INSERT INTO `server_traders` VALUES(105, 'RU_Farmwife4', 15, 'friendly', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Alda''s General Supplies');
INSERT INTO `server_traders` VALUES(106, 'RU_Farmwife3', 15, 'neutral', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Carole''s General Supplies');
INSERT INTO `server_traders` VALUES(105, 'RU_Farmwife4', 15, 'friendly', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Alda''s General Supplies');
INSERT INTO `server_traders` VALUES(106, 'RU_Farmwife3', 15, 'neutral', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Carole''s General Supplies');
INSERT INTO `server_traders` VALUES(107, 'Dr_Hladik_EP1', 15, 'friendly', '["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]', 'Dr. Zoidberg');
INSERT INTO `server_traders` VALUES(108, 'CIV_Contractor2_BAF', 15, 'friendly', '', 'High End Ammo');
INSERT INTO `server_traders` VALUES(109, 'Soldier_Sniper_PMC', 15, 'friendly', '', 'High End Weapons');
@@ -251,10 +251,10 @@ INSERT INTO `server_traders` VALUES(131, 'BAF_Pilot_MTP', 16, 'hero', '', 'Darre
INSERT INTO `server_traders` VALUES(132, 'GUE_Soldier_Sab', 16, 'neutral', '', 'Green''s Air Vehicles');
INSERT INTO `server_traders` VALUES(133, 'US_Soldier_Medic_EP1', 16, 'friendly', '["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]', 'Perry''s Medical');
INSERT INTO `server_traders` VALUES(134, 'CZ_Special_Forces_MG_DES_EP1', 16, 'friendly', '', 'Kypex''s Vehicles');
INSERT INTO `server_traders` VALUES(135, 'Damsel5', 16, 'friendly', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Melly''s General Supplies');
INSERT INTO `server_traders` VALUES(135, 'Damsel5', 16, 'friendly', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Melly''s General Supplies');
INSERT INTO `server_traders` VALUES(136, 'GUE_Woodlander3', 16, 'friendly', '', 'Jim''s Repair/Building Supplies');
INSERT INTO `server_traders` VALUES(137, 'UN_CDF_Soldier_AAT_EP1', 16, 'neutral', '', 'South West Wholesaler');
INSERT INTO `server_traders` VALUES(138, 'RU_Farmwife1', 16, 'neutral', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'Bertha''s General Supplies');
INSERT INTO `server_traders` VALUES(138, 'RU_Farmwife1', 16, 'neutral', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'Bertha''s General Supplies');
INSERT INTO `server_traders` VALUES(139, 'Citizen2_EP1', 16, 'neutral', '', 'Rocky''s Parts/Building Supplies');
INSERT INTO `server_traders` VALUES(140, 'CIV_Contractor1_BAF', 6, 'neutral', '', 'Jeeves');
INSERT INTO `server_traders` VALUES(141, 'GUE_Soldier_MG', 11, 'neutral', '', 'Black Market - Olsha');
@@ -263,7 +263,7 @@ INSERT INTO `server_traders` VALUES(143, 'Tanny_PMC', 17, 'hero', '', 'Hero Vend
INSERT INTO `server_traders` VALUES(144, 'US_Delta_Force_AR_EP1', 17, 'friendly', '', 'Ammunition Friendly');
INSERT INTO `server_traders` VALUES(145, 'BAF_Soldier_AAR_DDPM', 17, 'friendly', '', 'Weapons Friendly');
INSERT INTO `server_traders` VALUES(146, 'Drake', 17, 'friendly', '', 'Friendly Vehicles');
INSERT INTO `server_traders` VALUES(147, 'Damsel2', 17, 'neutral', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'General Store');
INSERT INTO `server_traders` VALUES(147, 'Damsel2', 17, 'neutral', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'General Store');
INSERT INTO `server_traders` VALUES(148, 'GUE_Soldier_MG', 17, 'neutral', '', 'Weapons neutral');
INSERT INTO `server_traders` VALUES(149, 'GUE_Soldier_GL', 17, 'neutral', '', 'Ammunition Neutral');
INSERT INTO `server_traders` VALUES(150, 'TK_GUE_Soldier_5_EP1', 17, 'neutral', '', 'Neutral Building/Parts');
@@ -273,12 +273,12 @@ INSERT INTO `server_traders` VALUES(153, 'GUE_Soldier_3', 17, 'neutral', '', 'Ve
INSERT INTO `server_traders` VALUES(154, 'Soldier_GL_M16A2_PMC', 17, 'neutral', '', 'Black Market Vendor');
INSERT INTO `server_traders` VALUES(155, 'UN_CDF_Soldier_Crew_EP1', 17, 'friendly', '', 'Friendly Building/Parts');
INSERT INTO `server_traders` VALUES(156, 'UN_CDF_Soldier_Pilot_EP1', 17, 'friendly', '', 'Friendly Vehicles 2');
INSERT INTO `server_traders` VALUES(157, 'GUE_Worker2', 17, 'friendly', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'General Store 2');
INSERT INTO `server_traders` VALUES(157, 'GUE_Worker2', 17, 'friendly', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'General Store 2');
INSERT INTO `server_traders` VALUES(158, 'Dr_Annie_Baker_EP1', 17, 'friendly', '["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]', 'Medical Supplies');
INSERT INTO `server_traders` VALUES(159, 'Soldier_MG_PKM_PMC', 17, 'friendly', '', 'Weapons friendly 2');
INSERT INTO `server_traders` VALUES(160, 'Soldier_MG_PMC', 17, 'friendly', '', 'Ammunition friendly 2');
INSERT INTO `server_traders` VALUES(161, 'GUE_Soldier_CO', 17, 'neutral', '', 'East Wholesaler');
INSERT INTO `server_traders` VALUES(162, 'Farmwife4', 17, 'neutral', '["ItemTinBar","TrashJackDaniels"",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]', 'General Store 3');
INSERT INTO `server_traders` VALUES(162, 'Farmwife4', 17, 'neutral', '["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Tin Bar",101]', 'General Store 3');
INSERT INTO `server_traders` VALUES(163, 'FR_Sykes', 17, 'neutral', '', 'West Wholesaler');
INSERT INTO `server_traders` VALUES(164, 'GUE_Villager4', 17, 'neutral', '', 'Boat Vendor');
INSERT INTO `server_traders` VALUES(165, 'TK_CIV_Takistani04_EP1', 17, 'neutral', '', 'Weapons neutral 2');