diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/AirVehicles.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/AirVehicles.hpp index 7e7ae73a0..10d68adf8 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/AirVehicles.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/AirVehicles.hpp @@ -16,7 +16,9 @@ class Category_46 { //Helicopters class Category_47 { - class CSJ_GyroC {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; + class CSJ_GyroC_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; + class CSJ_GyroC_DZ {type = "trade_any_vehicle";buy[] = {-2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; + class CSJ_GyroC {type = "trade_any_vehicle";buy[] = {-2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; class CSJ_GyroCover {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; class CSJ_GyroP {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; class AH6X_DZ {type = "trade_any_vehicle";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};}; diff --git a/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp b/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp index e1e1965ce..f622a6ad3 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/CfgVehicles.hpp @@ -450,6 +450,7 @@ class CfgVehicles #include "Helicopter\BAF_Merlin.hpp" #include "Helicopter\AH1Z.hpp" #include "Helicopter\Pook.hpp" + #include "Helicopter\CSJ_GyroAC.hpp" #include "CrashSite.hpp" //Planes #include "Plane\AN2_DZ.hpp" @@ -537,7 +538,6 @@ class CfgVehicles #include "DZE\Prop_Defs.hpp" #include "DZE\Veins.hpp" #include "DZE\ModularBuilding.hpp" - #include "DZE\CSJ_GyroAC.hpp" class Land_A_tent; // External class reference #include "DZE\Grave.hpp" class WeaponHolder; // External class reference diff --git a/SQF/dayz_code/Configs/CfgVehicles/DZE/CSJ_GyroAC.hpp b/SQF/dayz_code/Configs/CfgVehicles/Helicopter/CSJ_GyroAC.hpp similarity index 97% rename from SQF/dayz_code/Configs/CfgVehicles/DZE/CSJ_GyroAC.hpp rename to SQF/dayz_code/Configs/CfgVehicles/Helicopter/CSJ_GyroAC.hpp index f166bc952..dd56fce2e 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/DZE/CSJ_GyroAC.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Helicopter/CSJ_GyroAC.hpp @@ -249,4 +249,16 @@ class CSJ_GyroC: Helicopter volume = "(rotorSpeed-0.72)*5"; }; }; +}; + +class CSJ_GyroC_DZ: CSJ_GyroC +{ + displayName = $STR_VEH_NAME_MOZZIE; + transportMaxMagazines = 3; + transportMaxWeapons = 1; +}; + +class CSJ_GyroC_DZE: CSJ_GyroC_DZ +{ + magazines[] = {}; }; \ No newline at end of file diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index a76c0c1b4..c6ffa549c 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -8475,7 +8475,10 @@ Jet Ski (red) Jetski (rot) - + + + Mozzie + AH6X Little Bird AH6X «Литтл Бёрд» diff --git a/SQF/dayz_server/system/dynamic_vehicle.sqf b/SQF/dayz_server/system/dynamic_vehicle.sqf index cda9fb9e6..18e3405dd 100644 --- a/SQF/dayz_server/system/dynamic_vehicle.sqf +++ b/SQF/dayz_server/system/dynamic_vehicle.sqf @@ -19,7 +19,7 @@ AllowedVehiclesList = [ ["car_sedan",_Ratio3], ["CH_47F_EP1_DZE",_Ratio1], ["CH53_DZE",_Ratio1], - ["CSJ_GyroC",_Ratio3], + ["CSJ_GyroC_DZE",_Ratio3], ["CSJ_GyroCover",_Ratio3], ["CSJ_GyroP",_Ratio3], ["datsun1_civil_1_open_DZE",_Ratio3],