mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
0321545098
* Add enable setting * Update test * Optimize eden macro * Fix bad command name in eden * Apply suggestions from code review Co-authored-by: jonpas <jonpas33@gmail.com> * Cleanup unused argument * Handle RHS config * Optimize init function a little * Improve macro Co-authored-by: jonpas <jonpas33@gmail.com> * compats and leftovers * function header (sorry jonpas) * add enabled check to initSupplyVehicle * use toString * fix validate * inheritance cleanup --------- Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
// M39 / M54 / M49
|
|
class vn_wheeled_truck_base;
|
|
class vn_wheeled_m54_base: vn_wheeled_truck_base {
|
|
EGVAR(refuel,fuelCapacity) = 189;
|
|
};
|
|
class vn_wheeled_m54_cab_base;
|
|
class vn_wheeled_m54_fuel_base: vn_wheeled_m54_cab_base {
|
|
transportFuel = 0;
|
|
EGVAR(refuel,hooks)[] = {{-1.15, -2.3, 0.28}};
|
|
EGVAR(refuel,fuelCargo) = 4542;
|
|
};
|
|
class vn_wheeled_m54_03_base;
|
|
class vn_wheeled_m54_repair_base: vn_wheeled_m54_03_base {
|
|
transportRepair = 0;
|
|
EGVAR(repair,canRepair) = 1;
|
|
};
|
|
class vn_wheeled_m54_01_base;
|
|
class vn_wheeled_m54_ammo_base: vn_wheeled_m54_01_base {
|
|
EGVAR(rearm,defaultSupply) = 1200;
|
|
};
|
|
|
|
// M151
|
|
class vn_wheeled_car_base;
|
|
class vn_wheeled_m151_base: vn_wheeled_car_base {
|
|
EGVAR(refuel,fuelCapacity) = 65;
|
|
};
|
|
|
|
// ZIL-157
|
|
class vn_wheeled_z157_base: vn_wheeled_truck_base {
|
|
EGVAR(refuel,fuelCapacity) = 150;
|
|
};
|
|
class vn_wheeled_z157_fuel_base: vn_wheeled_z157_base {
|
|
transportFuel = 0;
|
|
EGVAR(refuel,hooks)[] = {{-1.36, -3.575, -0.4}};
|
|
EGVAR(refuel,fuelCargo) = 4000;
|
|
};
|
|
class vn_wheeled_z157_repair_base: vn_wheeled_z157_base {
|
|
transportRepair = 0;
|
|
EGVAR(repair,canRepair) = 1;
|
|
};
|
|
class vn_wheeled_z157_01_base;
|
|
class vn_wheeled_z157_ammo_base: vn_wheeled_z157_01_base {
|
|
EGVAR(rearm,defaultSupply) = 1200;
|
|
};
|
|
|
|
// BTR-40
|
|
class vn_wheeled_btr40_base: vn_wheeled_car_base {
|
|
EGVAR(refuel,fuelCapacity) = 122;
|
|
};
|