mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16: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,89 +1,75 @@
|
||||
class V3S_Civ : V3S_Base
|
||||
{
|
||||
class V3S_Civ;
|
||||
class V3S_Civ_DZE : V3S_Civ {
|
||||
displayname = $STR_VEH_NAME_V3S_CAMO_OPEN;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
crew = "";
|
||||
faction = "CIV";
|
||||
rarityurban = 0.3;
|
||||
scope = public;
|
||||
side = 3;
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
class Library
|
||||
{
|
||||
libtextdesc = $STR_EP1_LIB_V3S;
|
||||
};
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
|
||||
class V3S_Base_EP1;
|
||||
class V3S_Open_TK_CIV_EP1: V3S_Base_EP1 {
|
||||
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: V3S_Base_EP1 {
|
||||
|
||||
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_DZE: V3S_Base_EP1 {
|
||||
|
||||
class V3S_TK_EP1;
|
||||
class V3S_TK_EP1_DZE: V3S_TK_EP1 {
|
||||
scope = public;
|
||||
displayname = $STR_VEH_NAME_V3S;
|
||||
side = 0;
|
||||
faction = "BIS_TK";
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
model = "\ca\wheeled_E\V3S\V3S_transport";
|
||||
driverAction = "V3S_Driver_EP1";
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
supplyRadius = 2.6;
|
||||
};
|
||||
class V3S_RA_TK_GUE_EP1_DZE: V3S_Base_EP1 {
|
||||
|
||||
class V3S_Reammo_TK_GUE_EP1;
|
||||
class V3S_RA_TK_GUE_EP1_DZE: V3S_Reammo_TK_GUE_EP1 {
|
||||
scope = public;
|
||||
side = 2;
|
||||
faction = "BIS_TK_GUE";
|
||||
crew = "";
|
||||
//armor = 40;
|
||||
typicalCargo[] = {};
|
||||
vehicleClass = "Support";
|
||||
displayname = $STR_VEH_NAME_V3S_REAMMO;
|
||||
model = "\ca\wheeled_E\V3S\V3S_Repair";
|
||||
Icon = "\CA\wheeled_e\data\UI\Icon_V3S_repair_CA.paa";
|
||||
Picture = "\CA\wheeled_e\data\UI\Picture_V3S_repair_CA.paa";
|
||||
MapSize = 7;
|
||||
driverAction = "V3S_Driver_EP1";
|
||||
transportSoldier = 2;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
type = 0;
|
||||
threat[] = {0,0,0};
|
||||
hiddenSelections[] = {"Camo1","Camo2","Camo3","Camo4"};
|
||||
hiddenSelectionsTextures[] = {"ca\wheeled_E\V3S\Data\v3s_kabpar_EGUE_co","ca\wheeled_E\V3S\Data\v3s_intkor_EGUE_co","ca\wheeled_E\V3S\Data\v3s_koloint02_EGUE_co","ca\wheeled_E\V3S\Data\v3s_repair_EGUE_co"};
|
||||
//transportMaxMagazines = 200;
|
||||
//transportMaxWeapons = 50;
|
||||
//transportMaxBackpacks = 8;
|
||||
//terrainCoef = 2.5;
|
||||
transportAmmo = 0;
|
||||
supplyRadius = 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;
|
||||
side = 2;
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
hiddenSelections[] = {};
|
||||
transportMaxWeapons = 50;
|
||||
transportMaxMagazines = 200;
|
||||
transportmaxbackpacks = 8;
|
||||
class TransportMagazines{};
|
||||
class TransportWeapons{};
|
||||
supplyRadius = 0;
|
||||
supplyRadius = 2.6;
|
||||
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
|
||||
fuelCapacity = 10000;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user