Adding Mozzie DZ/DZE version

Ive moved the mozzie configs to helicopters. The new Mozzie versions have a small gear count of (1,3,1) so it is possible to open the gear in the heli now.
This commit is contained in:
A Man
2019-12-08 11:49:17 +01:00
parent e811e5825d
commit 1186aa29bc
5 changed files with 21 additions and 4 deletions

View File

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

View File

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

View File

@@ -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[] = {};
};

View File

@@ -8475,7 +8475,10 @@
<Key ID="STR_VEH_NAME_JETSKI_RED">
<English>Jet Ski (red)</English>
<German>Jetski (rot)</German>
</Key>
</Key>
<Key ID="STR_VEH_NAME_MOZZIE">
<English>Mozzie</English>
</Key>
<Key ID="STR_VEH_NAME_AH6X">
<English>AH6X Little Bird</English>
<Russian>AH6X «Литтл Бёрд»</Russian>

View File

@@ -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],