mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs. A proper config should use numbers for those entries. This is the same how arma configs are written. The basicDefines.hpp has all the needed information stored. Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
69 lines
1.4 KiB
C++
69 lines
1.4 KiB
C++
class BTR90;
|
|
class BTR90_DZ: BTR90 {
|
|
scope = 2;
|
|
displayName = $STR_VEH_NAME_BTR90;
|
|
vehicleClass = "DayZ Epoch Vehicles";
|
|
|
|
commanderCanSee = 2+16+32;
|
|
gunnerCanSee = 2+16+32;
|
|
driverCanSee = 2+16+32;
|
|
|
|
crew = "";
|
|
typicalCargo[] = {};
|
|
class TransportMagazines {};
|
|
class TransportWeapons {};
|
|
|
|
transportMaxMagazines = 100;
|
|
transportMaxWeapons = 20;
|
|
transportmaxbackpacks = 6;
|
|
supplyRadius = 1.8;
|
|
crewVulnerable = 1;
|
|
|
|
class Turrets; // External class reference
|
|
class MainTurret; // External class reference
|
|
};
|
|
class BTR90_HQ;
|
|
class BTR90_HQ_DZ: BTR90_HQ {
|
|
scope = 2;
|
|
displayName = $STR_VEH_NAME_BTR90_HQ;
|
|
vehicleClass = "DayZ Epoch Vehicles";
|
|
|
|
commanderCanSee = 2+16+32;
|
|
gunnerCanSee = 2+16+32;
|
|
driverCanSee = 2+16+32;
|
|
|
|
crew = "";
|
|
typicalCargo[] = {};
|
|
class TransportMagazines {};
|
|
class TransportWeapons {};
|
|
|
|
transportSoldier = 6;
|
|
enableGPS = 0;
|
|
|
|
transportMaxMagazines = 100;
|
|
transportMaxWeapons = 20;
|
|
transportmaxbackpacks = 6;
|
|
supplyRadius = 1.8;
|
|
crewVulnerable = 1;
|
|
|
|
class Turrets; // External class reference
|
|
class MainTurret; // External class reference
|
|
};
|
|
|
|
// Ammo Less
|
|
class BTR90_DZE: BTR90_DZ {
|
|
displayName = $STR_VEH_NAME_BTR90;
|
|
class Turrets: Turrets {
|
|
class MainTurret: MainTurret {
|
|
magazines[] = {};
|
|
};
|
|
};
|
|
};
|
|
class BTR90_HQ_DZE: BTR90_HQ_DZ {
|
|
displayName = $STR_VEH_NAME_BTR90_HQ;
|
|
class Turrets: Turrets {
|
|
class MainTurret: MainTurret {
|
|
magazines[] = {};
|
|
};
|
|
};
|
|
}; |