mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
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
76 lines
1.8 KiB
C++
76 lines
1.8 KiB
C++
class V3S_Civ;
|
|
class V3S_Civ_DZE : V3S_Civ {
|
|
displayname = $STR_VEH_NAME_V3S_CAMO_OPEN;
|
|
vehicleClass = "DayZ Epoch Vehicles";
|
|
crew = "";
|
|
scope = public;
|
|
typicalCargo[] = {};
|
|
class TransportMagazines {};
|
|
class TransportWeapons {};
|
|
supplyRadius = 2.6;
|
|
};
|
|
|
|
class V3S_Open_TK_CIV_EP1;
|
|
class V3S_Open_TK_CIV_EP1_DZE: V3S_Open_TK_CIV_EP1 {
|
|
displayname = $STR_VEH_NAME_V3S_CIVIL_OPEN;
|
|
vehicleClass = "DayZ Epoch Vehicles";
|
|
crew = "";
|
|
typicalCargo[] = {};
|
|
class TransportMagazines {};
|
|
class TransportWeapons {};
|
|
supplyRadius = 2.6;
|
|
};
|
|
|
|
class V3S_Open_TK_EP1;
|
|
class V3S_Open_TK_EP1_DZE: V3S_Open_TK_EP1 {
|
|
displayname = $STR_VEH_NAME_V3S_CAMO_OPEN;
|
|
vehicleClass = "DayZ Epoch Vehicles";
|
|
crew = "";
|
|
typicalCargo[] = {};
|
|
class TransportMagazines {};
|
|
class TransportWeapons {};
|
|
supplyRadius = 2.6;
|
|
};
|
|
|
|
class V3S_TK_EP1;
|
|
class V3S_TK_EP1_DZE: V3S_TK_EP1 {
|
|
scope = public;
|
|
displayname = $STR_VEH_NAME_V3S;
|
|
vehicleClass = "DayZ Epoch Vehicles";
|
|
crew = "";
|
|
typicalCargo[] = {};
|
|
class TransportMagazines {};
|
|
class TransportWeapons {};
|
|
supplyRadius = 2.6;
|
|
};
|
|
|
|
class V3S_Reammo_TK_GUE_EP1;
|
|
class V3S_RA_TK_GUE_EP1_DZE: V3S_Reammo_TK_GUE_EP1 {
|
|
scope = public;
|
|
crew = "";
|
|
typicalCargo[] = {};
|
|
displayname = $STR_VEH_NAME_V3S_REAMMO;
|
|
vehicleClass = "DayZ Epoch Vehicles";
|
|
class TransportMagazines {};
|
|
class TransportWeapons {};
|
|
transportAmmo = 0;
|
|
supplyRadius = 2.6;
|
|
};
|
|
|
|
class V3S_Refuel_TK_GUE_EP1;
|
|
class V3S_Refuel_TK_GUE_EP1_DZ: V3S_Refuel_TK_GUE_EP1 {
|
|
displayname = $STR_VEH_NAME_V3S_FUEL;
|
|
vehicleClass = "DayZ Epoch Vehicles";
|
|
scope = public;
|
|
crew = "";
|
|
typicalCargo[] = {};
|
|
transportMaxWeapons = 50;
|
|
transportMaxMagazines = 200;
|
|
transportmaxbackpacks = 8;
|
|
class TransportMagazines{};
|
|
class TransportWeapons{};
|
|
supplyRadius = 2.6;
|
|
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
|
|
fuelCapacity = 10000;
|
|
};
|