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:
@@ -2,6 +2,7 @@ class GAZ_Vodnik_HMG;
|
||||
class GAZ_Vodnik_HMG_DZ : GAZ_Vodnik_HMG {
|
||||
scope = public;
|
||||
displayname = $STR_VEH_NAME_VODNIK_BPPU;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
@@ -13,6 +14,8 @@ class GAZ_Vodnik_HMG_DZ : GAZ_Vodnik_HMG {
|
||||
transportMaxWeapons = 15;
|
||||
transportMaxMagazines = 70;
|
||||
transportmaxbackpacks = 4;
|
||||
enableGPS = 0;
|
||||
supplyRadius = 1.8;
|
||||
};
|
||||
|
||||
class GAZ_Vodnik_HMG_DZE : GAZ_Vodnik_HMG_DZ {
|
||||
@@ -28,19 +31,21 @@ class GAZ_Vodnik_HMG_DZE : GAZ_Vodnik_HMG_DZ {
|
||||
gunBeg = "muzzle_1";
|
||||
gunEnd = "chamber_1";
|
||||
memoryPointGun = "machinegun";
|
||||
weapons[] = {"2A42","PKT_veh"};
|
||||
weapons[] = {"2A42","PKTBC","SmokeLauncher"};
|
||||
magazines[] = {};
|
||||
gunnerOutOpticsShowCursor = 0;
|
||||
gunnerOpticsShowCursor = 0;
|
||||
gunnerAction = "GAZ_Gunner";
|
||||
gunnerInAction = "GAZ_Gunner";
|
||||
primaryGunner = 1;
|
||||
commanding = 2;
|
||||
primaryObserver = 1;
|
||||
stabilizedInAxes = "StabilizedInAxesNone";
|
||||
forceHideGunner = 1;
|
||||
gunnerOpticsModel = "\ca\weapons\2Dscope_BMPgun";
|
||||
gunnerForceOptics = 1;
|
||||
discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800};
|
||||
discreteDistanceInitIndex = 5;
|
||||
gunnerGetInAction = "GetInLow";
|
||||
gunnerGetOutAction = "GetOutLow";
|
||||
turretInfoType = "RscWeaponRangeZeroing";
|
||||
class ViewOptics
|
||||
{
|
||||
initAngleX = 5;
|
||||
@@ -49,9 +54,9 @@ class GAZ_Vodnik_HMG_DZE : GAZ_Vodnik_HMG_DZ {
|
||||
initAngleY = 0;
|
||||
minAngleY = 0;
|
||||
maxAngleY = 0;
|
||||
initFov = 0.203;
|
||||
minFov = 0.203;
|
||||
maxFov = 0.203;
|
||||
initFov = 0.2;
|
||||
maxFov = 0.2;
|
||||
minFov = 0.057999998;
|
||||
};
|
||||
soundServo[] = {"\ca\wheeled\Data\Sound\servo4",0.0056234132,1.0,15};
|
||||
startEngine = 1;
|
||||
@@ -82,6 +87,7 @@ class GAZ_Vodnik;
|
||||
class GAZ_Vodnik_DZ : GAZ_Vodnik {
|
||||
scope = public;
|
||||
displayname = $STR_VEH_NAME_VODNIK_PKT;
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
class TransportWeapons {};
|
||||
@@ -91,6 +97,8 @@ class GAZ_Vodnik_DZ : GAZ_Vodnik {
|
||||
transportMaxWeapons = 15;
|
||||
transportMaxMagazines = 70;
|
||||
transportmaxbackpacks = 4;
|
||||
enableGPS = 0;
|
||||
supplyRadius = 1.8;
|
||||
};
|
||||
|
||||
class GAZ_Vodnik_DZE : GAZ_Vodnik_DZ
|
||||
@@ -103,9 +111,8 @@ class GAZ_Vodnik_DZE : GAZ_Vodnik_DZ
|
||||
maxElev = 60;
|
||||
minTurn = -90;
|
||||
maxTurn = 90;
|
||||
initElev = 23;
|
||||
gunnerName = "$STR_POSITION_FRONTGUNNER";
|
||||
weapons[] = {"PKT"};
|
||||
weapons[] = {"PKTBC"};
|
||||
magazines[] = {};
|
||||
soundServo[] = {};
|
||||
viewGunnerInExternal = 1;
|
||||
@@ -115,10 +122,13 @@ class GAZ_Vodnik_DZE : GAZ_Vodnik_DZ
|
||||
LODTurnedOut = 1000;
|
||||
LODTurnedIn = 1000;
|
||||
forceHideGunner = 0;
|
||||
commanding = 2;
|
||||
primaryGunner = 0;
|
||||
discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500};
|
||||
discreteDistanceInitIndex = 2;
|
||||
initElev = 0;
|
||||
stabilizedInAxes = "StabilizedInAxesNone";
|
||||
primaryObserver = 1;
|
||||
turretInfoType = "RscWeaponZeroing";
|
||||
class ViewOptics
|
||||
{
|
||||
initAngleX = 0;
|
||||
@@ -149,14 +159,14 @@ class GAZ_Vodnik_DZE : GAZ_Vodnik_DZ
|
||||
{
|
||||
body = "turret_2";
|
||||
gun = "gun_2";
|
||||
weapons[] = {"PKT_2"};
|
||||
weapons[] = {"PKTBC_2"};
|
||||
animationSourceBody = "turret_2";
|
||||
animationSourceGun = "gun_2";
|
||||
selectionFireAnim = "zasleh2";
|
||||
proxyIndex = 2;
|
||||
gunnerName = "$STR_POSITION_REARGUNNER";
|
||||
forceHideGunner = 0;
|
||||
commanding = -2;
|
||||
commanding = 2;
|
||||
primaryGunner = 1;
|
||||
primaryObserver = 0;
|
||||
minTurn = 90;
|
||||
@@ -175,6 +185,7 @@ class GAZ_Vodnik_DZE : GAZ_Vodnik_DZ
|
||||
class GAZ_Vodnik_MedEvac;
|
||||
class GAZ_Vodnik_MedEvac_DZE : GAZ_Vodnik_MedEvac {
|
||||
displayname = "$STR_DN_GAZ_VODNIK_MEDEVAC";
|
||||
vehicleClass = "DayZ Epoch Vehicles";
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
class TransportMagazines {};
|
||||
@@ -183,4 +194,6 @@ class GAZ_Vodnik_MedEvac_DZE : GAZ_Vodnik_MedEvac {
|
||||
transportMaxMagazines = 70;
|
||||
transportmaxbackpacks = 4;
|
||||
attendant = 0;
|
||||
enableGPS = 0;
|
||||
supplyRadius = 1.8;
|
||||
};
|
||||
Reference in New Issue
Block a user