ACE3/addons/cookoff/CfgVehicles.hpp

71 lines
1.8 KiB
C++
Raw Normal View History

2016-07-14 14:16:53 +00:00
class CfgVehicles {
class Sound;
class GVAR(Sound_low): Sound {
2016-07-14 14:16:53 +00:00
author = ECSTRING(common,ACETeam);
_generalMacro = QGVAR(Sound);
scope = 1;
sound = QGVAR(CookOff_low);
};
class GVAR(Sound_mid): GVAR(Sound_low) {
sound = QGVAR(CookOff_mid);
};
class GVAR(Sound_high): GVAR(Sound_low) {
sound = QGVAR(CookOff_high);
2016-07-14 14:16:53 +00:00
};
class Tank;
class Tank_F: Tank {
GVAR(ammoLocation) = "HitHull";
GVAR(cookoffSelections)[] = {"poklop_gunner","poklop_commander"};
GVAR(probability) = 0.5;
2016-07-14 14:16:53 +00:00
};
class MBT_02_base_F: Tank_F {
GVAR(ammoLocation) = "HitTurret";
2016-07-14 14:16:53 +00:00
};
class Car_F;
class Wheeled_APC_F: Car_F {
GVAR(ammoLocation) = "HitHull";
2016-07-14 14:16:53 +00:00
GVAR(cookoffSelections)[] = {"poklop_gunner","poklop_commander"};
GVAR(probability) = 0.8;
2016-07-14 14:16:53 +00:00
// big explosions for wheeled APCs (same as for tanks)
explosionEffect = "FuelExplosionBig";
};
class APC_Wheeled_02_base_F: Wheeled_APC_F { // Otokar ARMA - RCWS Turret
GVAR(ignoreTurret) = 1;
};
class APC_Tracked_01_base_F: Tank_F { // Namera, Nemmera - RCWS Turret
GVAR(ignoreTurret) = 1;
};
2016-09-16 11:08:19 +00:00
class MRAP_01_base_F: Car_F {
GVAR(engineSmokeOffset)[] = {0,-2,0};
2016-09-16 11:08:19 +00:00
};
class MRAP_02_base_F: Car_F {
GVAR(engineSmokeOffset)[] = {0,-2,0};
2016-09-16 11:08:19 +00:00
};
class MRAP_03_base_F: Car_F {
GVAR(engineSmokeOffset)[] = {0,-2,0};
};
class Quadbike_01_base_F: Car_F {
GVAR(engineSmokeOffset)[] = {0,1,0};
2016-09-16 11:08:19 +00:00
};
class Truck_F;
class Truck_02_base_F: Truck_F {
GVAR(engineSmokeOffset)[] = {0,-2.6,-0.1};
};
class Truck_02_MRL_base_F: Truck_02_base_F {
GVAR(engineSmokeOffset)[] = {0,0.3,-0.1};
};
2016-07-14 14:16:53 +00:00
};