Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgVehicles/Car/M113.hpp
A Man 86f59b7de4 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
2020-01-23 00:10:41 +01:00

68 lines
1.6 KiB
C++

class M113Ambul_UN_EP1;
class M113Ambul_UN_EP1_DZ : M113Ambul_UN_EP1 {
scope = public;
displayName = $STR_VEH_NAME_M113_AMBULANCE_UN;
vehicleClass = "DayZ Epoch Vehicles";
crew = "";
typicalCargo[] = {};
class TransportMagazines{};
class TransportWeapons{};
commanderCanSee = 2+16+32;
gunnerCanSee = 2+16+32;
driverCanSee = 2+16+32;
transportMaxWeapons = 20;
transportMaxMagazines = 100;
transportmaxbackpacks = 6;
enableGPS = 0;
attendant = 0;
supplyRadius = 1.8;
};
class M113Ambul_TK_EP1_DZ : M113Ambul_UN_EP1_DZ {
scope = public;
displayName = $STR_VEH_NAME_M113_AMBULANCE_TK;
hiddenSelectionsTextures[] = {"\ca\Tracked_E\M113\Data\m113a3_01_TK_co.paa"};
};
class M113_UN_EP1;
class M113_UN_EP1_DZ : M113_UN_EP1 {
scope = public;
displayName = $STR_VEH_NAME_M113_UN;
vehicleClass = "DayZ Epoch Vehicles";
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class Turrets;
class MainTurret;
transportMaxWeapons = 20;
transportMaxMagazines = 100;
transportmaxbackpacks = 6;
commanderCanSee = 2+16+32;
gunnerCanSee = 2+16+32;
driverCanSee = 2+16+32;
enableGPS = 0;
supplyRadius = 1.8;
};
class M113_TK_EP1_DZ : M113_UN_EP1_DZ {
scope = public;
displayName = $STR_VEH_NAME_M113_TK;
hiddenSelectionsTextures[] = {"\ca\Tracked_E\M113\Data\m113a3_01_TK_co.paa"};
};
// Ammo Less
class M113_UN_EP1_DZE: M113_UN_EP1_DZ {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {};
};
};
};
class M113_TK_EP1_DZE: M113_TK_EP1_DZ {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {};
};
};
};