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,6 +1,7 @@
|
||||
class BTR40_MG_base_EP1;
|
||||
class BTR40_MG_TK_GUE_EP1_DZ : BTR40_MG_base_EP1 {
|
||||
scope = public;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
displayname = $STR_VEH_NAME_BTR40_DSHKM_GREEN;
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
@@ -9,6 +10,7 @@ class BTR40_MG_TK_GUE_EP1_DZ : BTR40_MG_base_EP1 {
|
||||
class Turrets;
|
||||
class MainTurret;
|
||||
hiddenSelectionsTextures[] = {"ca\wheeled_e\btr40\data\btr40ext_co.paa"};
|
||||
supplyRadius = 1.3;
|
||||
};
|
||||
|
||||
class BTR40_MG_TK_GUE_EP1_DZE : BTR40_MG_TK_GUE_EP1_DZ {
|
||||
@@ -37,3 +39,22 @@ class BTR40_MG_TK_INS_EP1_DZE : BTR40_MG_TK_INS_EP1_DZ {
|
||||
};
|
||||
};
|
||||
|
||||
class BTR40_base_EP1;
|
||||
class BTR40_TK_GUE_EP1_DZE: BTR40_base_EP1
|
||||
{
|
||||
scope = public;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
displayname = $STR_VEH_NAME_BTR40_GREEN;
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
hiddenSelectionsTextures[] = {"ca\wheeled_e\btr40\data\btr40ext_co.paa"};
|
||||
supplyRadius = 1.3;
|
||||
};
|
||||
|
||||
class BTR40_TK_INS_EP1_DZE: BTR40_TK_GUE_EP1_DZE
|
||||
{
|
||||
displayname = $STR_VEH_NAME_BTR40_WOOD;
|
||||
hiddenSelectionsTextures[] = {"ca\wheeled_e\btr40\data\btr40extcamo_co.paa"};
|
||||
};
|
||||
Reference in New Issue
Block a user