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,102 +1,105 @@
|
||||
class UralCivil: Ural_Base {
|
||||
displayName= $STR_VEH_NAME_URAL_CIVIL;
|
||||
class Ural_INS;
|
||||
class Ural_INS_DZE: Ural_INS {
|
||||
scope = public;
|
||||
crew = "";
|
||||
displayName= $STR_VEH_NAME_URAL_INS;
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
class Ural_CDF: Ural_Base {
|
||||
|
||||
class Ural_CDF;
|
||||
class Ural_CDF_DZE: Ural_CDF {
|
||||
scope = public;
|
||||
crew = "";
|
||||
displayName= $STR_VEH_NAME_URAL_CDF;
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
class Ural_TK_CIV_EP1: Ural_Base {
|
||||
|
||||
class UralOpen_CDF;
|
||||
class UralOpen_CDF_DZE: UralOpen_CDF {
|
||||
scope = public;
|
||||
crew = "";
|
||||
displayName= $STR_VEH_NAME_URAL_CDF_OPEN;
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class Ural_TK_CIV_EP1;
|
||||
class Ural_TK_CIV_EP1_DZE: Ural_TK_CIV_EP1 {
|
||||
scope = public;
|
||||
crew = "";
|
||||
displayName= $STR_VEH_NAME_URAL_TK;
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
class Ural_UN_EP1: Ural_Base {
|
||||
|
||||
class Ural_UN_EP1;
|
||||
class Ural_UN_EP1_DZE: Ural_UN_EP1 {
|
||||
scope = public;
|
||||
crew = "";
|
||||
displayName= $STR_VEH_NAME_URAL_UN;
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class UralCivil_DZ: UralCivil {
|
||||
class UralCivil;
|
||||
class UralCivil_DZE : UralCivil {
|
||||
scope = public;
|
||||
side=TCivilian;
|
||||
faction=CIV;
|
||||
vehicleClass = "Car";
|
||||
|
||||
transportMaxWeapons = 50;
|
||||
transportMaxMagazines = 200;
|
||||
transportmaxbackpacks = 10;
|
||||
|
||||
crew = "";
|
||||
typicalCargo[]={};
|
||||
model=\ca\wheeled\ural;
|
||||
picture="\Ca\wheeled\data\ico\ural_civil1_CA.paa";
|
||||
rarityUrban=0.3;
|
||||
accuracy=0.22;
|
||||
hiddenSelectionsTextures[] =
|
||||
{
|
||||
"\ca\wheeled\data\ural_kabina_civ1_co.paa",
|
||||
"\ca\wheeled\data\ural_plachta_civ1_co.paa"
|
||||
};
|
||||
};
|
||||
|
||||
class UralCivil_DZE : Ural_Base {
|
||||
scope = public;
|
||||
side = 3;
|
||||
faction = "CIV";
|
||||
displayName= $STR_VEH_NAME_URAL_CIVIL;
|
||||
vehicleClass = "Car";
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
model = "\ca\wheeled\ural";
|
||||
picture = "\Ca\wheeled\data\ico\ural_civil1_CA.paa";
|
||||
rarityUrban = 0.3;
|
||||
accuracy = 0.22;
|
||||
hiddenSelectionsTextures[] = {
|
||||
"\ca\wheeled\data\ural_kabina_civ1_co.paa",
|
||||
"\ca\wheeled\data\ural_plachta_civ1_co.paa"
|
||||
};
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
|
||||
};
|
||||
class UralOpen_Base;
|
||||
class UralCivil2_DZE : UralOpen_Base {
|
||||
class UralCivil2;
|
||||
class UralCivil2_DZE : UralCivil2 {
|
||||
displayName = $STR_VEH_NAME_URAL_CIVIL_OPEN;
|
||||
model = "\ca\wheeled\Ural_Open";
|
||||
accuracy = 0.22;
|
||||
scope = public;
|
||||
side = 3;
|
||||
faction = "CIV";
|
||||
vehicleClass = "Car";
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
picture = "\Ca\wheeled\data\ico\ural_civil1_CA.paa";
|
||||
rarityUrban = 0.22;
|
||||
hiddenSelectionsTextures[] = {
|
||||
"\ca\wheeled\data\ural_kabina_civ2_co.paa",
|
||||
"\ca\wheeled\data\ural_korba_civ2_co.paa"
|
||||
};
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class UralSupply_TK_EP1;
|
||||
class UralSupply_TK_EP1_DZE : UralSupply_TK_EP1 {
|
||||
displayName = $STR_VEH_NAME_URAL_CIVIL_OPEN;
|
||||
scope = public;
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class UralRefuel_TK_EP1;
|
||||
class UralRefuel_TK_EP1_DZ: UralRefuel_TK_EP1 {
|
||||
scope = public;
|
||||
displayName = $STR_VEH_NAME_URAL_FUEL;
|
||||
side = 2;
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
hiddenSelections[] = {};
|
||||
transportMaxWeapons = 50;
|
||||
transportMaxMagazines = 200;
|
||||
transportmaxbackpacks = 8;
|
||||
@@ -104,39 +107,38 @@ class UralRefuel_TK_EP1_DZ: UralRefuel_TK_EP1 {
|
||||
class TransportWeapons{};
|
||||
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
|
||||
fuelCapacity = 10000;
|
||||
supplyRadius = 0;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class UralReammo_CDF;
|
||||
class UralReammo_CDF_DZE: UralReammo_CDF {
|
||||
scope = public;
|
||||
displayName = $STR_VEH_NAME_URAL_WEAPONS;
|
||||
side = 2;
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
hiddenSelections[] = {};
|
||||
transportMaxWeapons = 75;
|
||||
transportMaxMagazines = 100;
|
||||
transportmaxbackpacks = 8;
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
transportAmmo = 0;
|
||||
supplyRadius = 0;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class UralRepair_CDF;
|
||||
class UralRepair_CDF_DZE: UralRepair_CDF {
|
||||
scope = public;
|
||||
displayName = $STR_VEH_NAME_URAL_AMMO;
|
||||
side = 2;
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
hiddenSelections[] = {};
|
||||
transportMaxWeapons = 25;
|
||||
transportMaxMagazines = 300;
|
||||
transportmaxbackpacks = 8;
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
transportRepair = 0;
|
||||
supplyRadius = 0;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
Reference in New Issue
Block a user