mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Land Vehicle overhaul
This commit overhauls all land vehicles. I have found many problems and one exploit which was important for upgrading vehicles. The main problem was that epoch overwrites many arma 2 vehicle bases classes. Those base classes and vehicle classes with the same name in arma 2 and epoch got update by arma 2 corepatch. Epoch overwrites and reverts many of those corepatch changes. This should not happen at all. Also, updating an already in arma 2 existing vehicle leaded to a problem in upgrading vehicles. The only chance to resolve both problems is that we reference existing vehicles from arma 2 and creating a new one for epoch. - Add for every vehicle an epoch version, all arma 2 vehicles remains unchanged - Add BMP-2, BTR-60 versions - Set a vehicleClass for every vehicle so it can be accessed in the editor under "DayZ Epoch Vehicles" - Set supplyRadius for all vehicles - Deactivate radar, auto medic, auto ammo and auto repair option for all vehicles that used this - All armed vehicles have a DZE class now - Fix positioning and animation errors for certain vehicles
This commit is contained in:
@@ -1,56 +1,51 @@
|
||||
class MTVR : Truck {
|
||||
class MTVR;
|
||||
class MTVR_DZE: MTVR {
|
||||
scope = public;
|
||||
displayName = $STR_VEH_NAME_MTVR_WOODLAND;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class MTVR_base;
|
||||
class MTVR_DES_EP1 : MTVR_base {
|
||||
class MTVR_DES_EP1;
|
||||
class MTVR_DES_EP1_DZE : MTVR_DES_EP1 {
|
||||
scope = public;
|
||||
displayName = $STR_VEH_NAME_MTVR_DESERT;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class MtvrRefuel_DES_EP1;
|
||||
class MtvrRefuel_DES_EP1_DZ: MtvrRefuel_DES_EP1 {
|
||||
scope = public;
|
||||
crew = "";
|
||||
displayName = $STR_VEH_NAME_MTVR_DESERT_REFUEL;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
typicalCargo[] = {};
|
||||
transportMaxWeapons = 50;
|
||||
transportMaxMagazines = 200;
|
||||
transportmaxbackpacks = 8;
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
|
||||
fuelCapacity = 10000;
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class MtvrRefuel;
|
||||
class MtvrRefuel_base : MtvrRefuel
|
||||
{
|
||||
scope = private;
|
||||
side = 4;
|
||||
expansion = 1;
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
transportMaxWeapons = 50;
|
||||
transportMaxMagazines = 200;
|
||||
transportmaxbackpacks = 8;
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
};
|
||||
|
||||
class MtvrRefuel_DES_EP1_DZ : MtvrRefuel_base {
|
||||
scope = public;
|
||||
side = 2;
|
||||
crew = "";
|
||||
displayName = $STR_VEH_NAME_MTVR_DESERT_REFUEL;
|
||||
typicalCargo[] = {};
|
||||
hiddenSelectionsTextures[] = { "\CA\wheeled_E\MTVR\Data\MTVR_body_desert_co.paa", "\CA\wheeled_E\MTVR\Data\MTVR_body2_desert_co.paa", "\CA\wheeled_E\MTVR\Data\MTVR_interier_desert_co.paa", "\CA\wheeled_E\MTVR\Data\MTVR_Fuel_desert_CO.paa" };
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
|
||||
fuelCapacity = 10000;
|
||||
supplyRadius = 0;
|
||||
};
|
||||
|
||||
class MtvrRefuel_DZ: MtvrRefuel {
|
||||
scope = public;
|
||||
side = 2;
|
||||
crew = "";
|
||||
displayName = $STR_VEH_NAME_MTVR_WOODLAND_REFUEL;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
typicalCargo[] = {};
|
||||
hiddenSelections[] = {};
|
||||
transportMaxWeapons = 50;
|
||||
transportMaxMagazines = 200;
|
||||
transportmaxbackpacks = 8;
|
||||
@@ -58,39 +53,37 @@ class MtvrRefuel_DZ: MtvrRefuel {
|
||||
class TransportWeapons{};
|
||||
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
|
||||
fuelCapacity = 10000;
|
||||
supplyRadius = 0;
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class MtvrRepair;
|
||||
class MtvrRepair_DZE: MtvrRepair {
|
||||
scope = public;
|
||||
side = 2;
|
||||
crew = "";
|
||||
displayName = $STR_VEH_NAME_MTVR_AMMO;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
typicalCargo[] = {};
|
||||
hiddenSelections[] = {};
|
||||
transportMaxWeapons = 25;
|
||||
transportMaxMagazines = 300;
|
||||
transportmaxbackpacks = 8;
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
transportRepair = 0;
|
||||
supplyRadius = 0;
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class MtvrReammo;
|
||||
class MtvrReammo_DZE: MtvrReammo {
|
||||
scope = public;
|
||||
side = 2;
|
||||
crew = "";
|
||||
displayName = $STR_VEH_NAME_MTVR_WEAPONS;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
typicalCargo[] = {};
|
||||
hiddenSelections[] = {};
|
||||
transportMaxWeapons = 75;
|
||||
transportMaxMagazines = 100;
|
||||
transportmaxbackpacks = 8;
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
transportAmmo = 0;
|
||||
supplyRadius = 0;
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
Reference in New Issue
Block a user