mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-28 10:41:50 +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:
@@ -7,16 +7,22 @@ class BRDM2_HQ_TK_GUE_EP1: BRDM2_HQ_Base {
|
||||
class BRDM2_HQ_TK_GUE_EP1_DZ: BRDM2_HQ_TK_GUE_EP1 {
|
||||
scope = public;
|
||||
displayname = $STR_VEH_NAME_BRDM2_HQ;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
transportMaxMagazines = 100;
|
||||
transportMaxWeapons = 20;
|
||||
transportmaxbackpacks = 6;
|
||||
armor = 85;
|
||||
damageResistance = 0.032;
|
||||
commanderCanSee = 2+16+32;
|
||||
gunnerCanSee = 2+16+32;
|
||||
driverCanSee = 2+16+32;
|
||||
fuelCapacity = 220;
|
||||
enableGPS = 0;
|
||||
supplyRadius = 1.4;
|
||||
|
||||
class Turrets: Turrets {
|
||||
class MainTurret: MainTurret {
|
||||
@@ -31,7 +37,7 @@ class BRDM2_HQ_TK_GUE_EP1_DZ: BRDM2_HQ_TK_GUE_EP1 {
|
||||
minFov = 0.05;
|
||||
maxFov = 0.2;
|
||||
gunnerOpticsEffect[] = {"TankGunnerOptics1","OpticsBlur2","OpticsCHAbera2"};
|
||||
visionMode[] = {"Normal","NVG"};
|
||||
visionMode[] = {"Normal"};
|
||||
};
|
||||
magazines[] = {"100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK","100Rnd_762x54_PK"};
|
||||
};
|
||||
@@ -46,23 +52,29 @@ class BRDM2_HQ_TK_GUE_EP1_DZE: BRDM2_HQ_TK_GUE_EP1_DZ {
|
||||
};
|
||||
};
|
||||
|
||||
class BRDM2_Base;
|
||||
class BRDM2_TK_EP1: BRDM2_Base {
|
||||
class Turrets; // External class reference
|
||||
class MainTurret; // External class reference
|
||||
};
|
||||
class BRDM2_TK_EP1_DZ: BRDM2_TK_EP1 {
|
||||
displayname = $STR_VEH_NAME_BRDM2_TK;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
transportMaxMagazines = 100;
|
||||
transportMaxWeapons = 20;
|
||||
transportmaxbackpacks = 6;
|
||||
armor = 85;
|
||||
damageResistance = 0.032;
|
||||
commanderCanSee = 2+16+32;
|
||||
gunnerCanSee = 2+16+32;
|
||||
driverCanSee = 2+16+32;
|
||||
fuelCapacity = 220;
|
||||
enableGPS = 0;
|
||||
supplyRadius = 1.4;
|
||||
|
||||
class Turrets: Turrets
|
||||
{
|
||||
class MainTurret: MainTurret
|
||||
@@ -81,7 +93,7 @@ class BRDM2_TK_EP1_DZ: BRDM2_TK_EP1 {
|
||||
minFov = 0.05;
|
||||
maxFov = 0.2;
|
||||
gunnerOpticsEffect[] = {"TankGunnerOptics1","OpticsBlur2","OpticsCHAbera2"};
|
||||
visionMode[] = {"Normal","NVG"};
|
||||
visionMode[] = {"Normal"};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user