mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Split hatchback and sedan into separate files
Using 1.8.7 style now. If it was erroring out before it's because Skoda needed to be defined before hatchback.
This commit is contained in:
@@ -167,4 +167,83 @@
|
||||
class Library {
|
||||
libtextdesc = "Civilian Car";
|
||||
};
|
||||
|
||||
class Upgrades {
|
||||
ItemORP[] = {"car_hatchback_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
|
||||
};
|
||||
};
|
||||
|
||||
// Performance 1
|
||||
class car_hatchback_DZE1: car_hatchback {
|
||||
maxspeed = 150; // max engine limit 125-130
|
||||
terrainCoef = 2.5;
|
||||
|
||||
class Upgrades {
|
||||
ItemAVE[] = {"car_hatchback_DZE2",{},{{"ItemAVE",1},{"PartGeneric",4},{"ItemTankTrap",2}}};
|
||||
};
|
||||
};
|
||||
|
||||
// Armor 2
|
||||
class car_hatchback_DZE2: car_hatchback_DZE1 {
|
||||
armor = 50; // car 20
|
||||
class HitPoints: HitPoints {
|
||||
class HitLFWheel: HitLFWheel {
|
||||
armor = 0.3;
|
||||
};
|
||||
class HitLBWheel: HitLBWheel {
|
||||
armor = 0.3;
|
||||
};
|
||||
class HitRFWheel: HitRFWheel {
|
||||
armor = 0.3;
|
||||
};
|
||||
class HitRBWheel: HitRBWheel {
|
||||
armor = 0.3;
|
||||
};
|
||||
class HitFuel {
|
||||
armor = 0.28;
|
||||
material = -1;
|
||||
name = "palivo";
|
||||
visual = "";
|
||||
passThrough = 1;
|
||||
};
|
||||
class HitEngine {
|
||||
armor = 1;
|
||||
material = -1;
|
||||
name = "motor";
|
||||
visual = "";
|
||||
passThrough = 1;
|
||||
};
|
||||
class HitGlass1: HitGlass1 {
|
||||
armor = 0.1;
|
||||
};
|
||||
class HitGlass2: HitGlass2 {
|
||||
armor = 0.1;
|
||||
};
|
||||
class HitGlass3: HitGlass3 {
|
||||
armor = 0.1;
|
||||
};
|
||||
class HitGlass4: HitGlass4 {
|
||||
armor = 0.1;
|
||||
};
|
||||
};
|
||||
|
||||
class Upgrades {
|
||||
ItemLRK[] = {"car_hatchback_DZE3",{},{{"ItemLRK",1},{"PartGeneric",1},{"ItemTent",1}}};
|
||||
};
|
||||
};
|
||||
|
||||
// Cargo 3
|
||||
class car_hatchback_DZE3: car_hatchback_DZE2 {
|
||||
transportMaxWeapons = 20; // car 10
|
||||
transportMaxMagazines = 100; // car 50
|
||||
transportmaxbackpacks = 4; // car 2
|
||||
|
||||
class Upgrades {
|
||||
ItemTNK[] = {"car_hatchback_DZE4",{},{{"ItemTNK",1},{"PartFueltank",2}}};
|
||||
};
|
||||
};
|
||||
|
||||
// Fuel 4
|
||||
class car_hatchback_DZE4: car_hatchback_DZE3 {
|
||||
fuelCapacity = 210; // car 100
|
||||
};
|
||||
Reference in New Issue
Block a user