Skip to content

Commit

Permalink
~ Fixed: inheritance.
Browse files Browse the repository at this point in the history
  • Loading branch information
kju committed May 24, 2019
1 parent 3713233 commit 9744f52
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions addons/main/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,30 +566,33 @@ class CfgVehicles {
ace_refuel_fuelCargo = 10000;
};

class LIB_SdKfz222_base: LIB_Truck_base {
class LIB_AustinK5_base: LIB_Truck_base {
ace_refuel_fuelCapacity = 60;
};
class LIB_AustinK5_Ammo: LIB_AustinK5_base {
transportAmmo = 0;
ace_rearm_defaultSupply = 1200;
MACRO_REARM_TRUCK_ACTIONS
};

class Wheeled_Apc_F;
class LIB_ArmouredCar_base: Wheeled_Apc_F {};
class LIB_SdKfz222_base: LIB_ArmouredCar_base {
ace_refuel_fuelCapacity = 100;
};

class LIB_SdKfz234_base: LIB_Truck_base {
class LIB_SdKfz234_base: LIB_ArmouredCar_base {
ace_refuel_fuelCapacity = 240;
};

class LIB_SdKfz234_2: LIB_Sdkfz234_base {
ace_cookoff_ammoLocation = "HitHull";
ace_cookoff_cookoffSelections[] = { "ace_cookoff_pos" };
ace_cookoff_turret[] = {"LIB_SdKfz234_2_Destruct_Tower",{0,-1,0}};
};

class LIB_AustinK5_base: LIB_Truck_base {
ace_refuel_fuelCapacity = 60;
};
class LIB_AustinK5_Ammo: LIB_AustinK5_base {
transportAmmo = 0;
ace_rearm_defaultSupply = 1200;
MACRO_REARM_TRUCK_ACTIONS
};

// I44
class LIB_M8_Greyhound_base: LIB_Truck_base {
class LIB_M8_Greyhound_base: LIB_ArmouredCar_base {
ace_refuel_fuelCapacity = 224;
};
// I44 end
Expand Down

0 comments on commit 9744f52

Please sign in to comment.