diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Vehicles.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Vehicles.hpp index 74d48422a..f07dd1c72 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Vehicles.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Vehicles.hpp @@ -78,6 +78,7 @@ class Category_41 { class SUV_White {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};}; class SUV_Yellow {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};}; class SUV_Camo {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; + class SUV_Blue_White {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; class Nissan_Orange_DZE {type = "trade_any_vehicle";buy[] = {4,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};}; class Nissan_Blue_DZE {type = "trade_any_vehicle";buy[] = {4,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};}; class Nissan_Mod_DZE {type = "trade_any_vehicle";buy[] = {4,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};}; diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp index 1fde29ae2..87e984797 100644 --- a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Vehicles.hpp @@ -78,6 +78,7 @@ class Category_41 { class SUV_White {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; class SUV_Yellow {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {500,"worth"};}; class SUV_Camo {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; + class SUV_Blue_White {type = "trade_any_vehicle";buy[] = {2000,"worth"};sell[] = {1000,"worth"};}; class Nissan_Orange_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; class Nissan_Blue_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; class Nissan_Mod_DZE {type = "trade_any_vehicle";buy[] = {4000,"worth"};sell[] = {2000,"worth"};}; diff --git a/SQF/dayz_code/Configs/CfgVehicles/Car/SUV_DZ.hpp b/SQF/dayz_code/Configs/CfgVehicles/Car/SUV_DZ.hpp index 02fdb873d..5843d2ef2 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Car/SUV_DZ.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Car/SUV_DZ.hpp @@ -1118,4 +1118,84 @@ class SUV_Winter_Camo_DZE3: SUV_Winter_Camo_DZE2 { class SUV_Winter_Camo_DZE4: SUV_Winter_Camo_DZE3 { displayName = "$STR_VEH_NAME_SUV_WINTER++++"; fuelCapacity = 250; // suv base 130 +}; + +class SUV_Blue_White: SUV_TK_CIV_EP1_DZE { + displayName = "$STR_VEH_NAME_SUV_BLUE_WHITE"; + vehicleClass = "DayZ Epoch Vehicles"; + hiddenSelectionsTextures[] = {"\dayz_epoch_c\skins\suv\suv_body_bluewhite.paa"}; + + class Upgrades { + ItemORP[] = {"SUV_Blue_White_DZE1",{"ItemToolbox"},{},{{"ItemORP",1},{"PartEngine",1},{"PartWheel",4},{"ItemScrews",2}}}; + }; +}; + +class SUV_Blue_White_DZE1: SUV_Blue_White { + displayName = "$STR_VEH_NAME_SUV_BLUE_WHITE+"; + original = "SUV_Blue_White"; + maxSpeed = 250; // suv base 130 + terrainCoef = 1.5; + brakeDistance = 14; // 19 + + class Upgrades { + ItemAVE[] = {"SUV_Blue_White_DZE2",{"ItemToolbox"},{},{{"ItemAVE",1},{"PartGeneric",6},{"ItemScrews",4}}}; + }; +}; + +class SUV_Blue_White_DZE2: SUV_Blue_White_DZE1 { + displayName = "$STR_VEH_NAME_SUV_BLUE_WHITE++"; + armor = 60; // car 20, SUV 25 + damageResistance = 0.02099; + class HitPoints: HitPoints { + class HitLFWheel: HitLFWheel { + armor = 0.7; + }; + class HitLBWheel: HitLBWheel { + armor = 0.7; + }; + class HitRFWheel: HitRFWheel { + armor = 0.7; + }; + class HitRBWheel: HitRBWheel { + armor = 0.7; + }; + class HitFuel: HitFuel { + armor = 1; + }; + class HitEngine: HitEngine { + armor = 1; + }; + class HitGlass1: HitGlass1 { + armor = 1; + }; + class HitGlass2: HitGlass2 { + armor = 1; + }; + class HitGlass3: HitGlass3 { + armor = 1; + }; + class HitGlass4: HitGlass4 { + armor = 1; + }; + }; + + class Upgrades { + ItemLRK[] = {"SUV_Blue_White_DZE3",{"ItemToolbox"},{},{{"ItemLRK",1},{"PartGeneric",2},{"ItemWoodCrateKit",1},{"ItemGunRackKit",1},{"ItemScrews",2}}}; + }; +}; + +class SUV_Blue_White_DZE3: SUV_Blue_White_DZE2 { + displayName = "$STR_VEH_NAME_SUV_BLUE_WHITE+++"; + transportMaxWeapons = 20; // car 10 + transportMaxMagazines = 100; // car 50 + transportmaxbackpacks = 4; // car 2 + + class Upgrades { + ItemTNK[] = {"SUV_Blue_White_DZE4",{"ItemToolbox"},{},{{"ItemTNK",1},{"PartGeneric",2},{"PartFueltank",1},{"ItemJerrycan",2},{"ItemScrews",1}}}; + }; +}; + +class SUV_Blue_White_DZE4: SUV_Blue_White_DZE3 { + displayName = "$STR_VEH_NAME_SUV_BLUE_WHITE++++"; + fuelCapacity = 250; // suv base 130 }; \ No newline at end of file diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 9eb679eb6..546167e75 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -10867,6 +10867,26 @@ SUV (Winter)++++ SUV (Зима)++++ + + SUV (Blue White) + SUV (Blau Weiss) + + + SUV (Blue White)+ + SUV (Blau Weiss)+ + + + SUV (Blue White)++ + SUV (Blau Weiss)++ + + + SUV (Blue White)+++ + SUV (Blau Weiss)+++ + + + SUV (Blue White)++++ + SUV (Blau Weiss)++++ + SUV (Armored) SUV (Бронированный) diff --git a/SQF/dayz_server/system/dynamic_vehicle.sqf b/SQF/dayz_server/system/dynamic_vehicle.sqf index ab34c26d3..e1037200e 100644 --- a/SQF/dayz_server/system/dynamic_vehicle.sqf +++ b/SQF/dayz_server/system/dynamic_vehicle.sqf @@ -90,6 +90,7 @@ AllowedVehiclesList = [ ["SUV_TK_CIV_EP1_DZE",_Ratio1], ["SUV_White",_Ratio1], ["SUV_Yellow",_Ratio1], + ["SUV_Blue_White",_Ratio1], ["Tractor_DZE",_Ratio3], ["TT650_Civ_DZE",_Ratio3], ["TT650_Ins_DZE",_Ratio3],