mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +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,12 +1,26 @@
|
||||
class car_hatchback: SkodaBase {
|
||||
crew = "";
|
||||
displayname = $STR_VEH_NAME_HATCHBACK;
|
||||
faction = "CIV";
|
||||
maxspeed = 125;
|
||||
class car_hatchback;
|
||||
class car_hatchback_DZE: car_hatchback {
|
||||
scope = public;
|
||||
displayname = $STR_VEH_NAME_HATCHBACK;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
maxspeed = 125;
|
||||
armor = 20;
|
||||
damageResistance = 0.01821;
|
||||
fuelCapacity = 100;
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
class HitPoints;
|
||||
class HitLFWheel;
|
||||
class HitLBWheel;
|
||||
class HitRFWheel;
|
||||
class HitRBWheel;
|
||||
class HitFuel;
|
||||
class HitEngine;
|
||||
class HitGlass1;
|
||||
class HitGlass2;
|
||||
class HitGlass3;
|
||||
class HitGlass4;
|
||||
supplyRadius = 1.2;
|
||||
|
||||
class Upgrades {
|
||||
ItemORP[] = {"car_hatchback_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
|
||||
@@ -14,8 +28,8 @@
|
||||
};
|
||||
|
||||
// Performance 1
|
||||
class car_hatchback_DZE1: car_hatchback {
|
||||
original = "car_hatchback";
|
||||
class car_hatchback_DZE1: car_hatchback_DZE {
|
||||
original = "car_hatchback_DZE";
|
||||
maxspeed = 150; // max engine limit 125-130
|
||||
terrainCoef = 2.5;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user