ACE3/addons/cookoff/CfgVehicles.hpp

89 lines
2.5 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 ThingX;
class GVAR(Turret_MBT_01): ThingX {
author = ECSTRING(common,ACETeam);
_generalMacro = QGVAR(Turret_MBT_01);
2016-07-14 14:16:53 +00:00
scope = 1;
displayName = CSTRING(generic_turret_wreck);
2016-07-14 14:16:53 +00:00
model = "\A3\Structures_F\Wrecks\Wreck_Slammer_turret_F.p3d";
2016-09-18 09:31:28 +00:00
icon = "\A3\armor_f_gamma\MBT_01\Data\ui\map_slammer_mk4_ca.paa";
2016-07-14 14:16:53 +00:00
};
class GVAR(Turret_MBT_02): ThingX {
author = ECSTRING(common,ACETeam);
_generalMacro = QGVAR(Turret_MBT_02);
2016-07-14 14:16:53 +00:00
scope = 1;
displayName = CSTRING(generic_turret_wreck);
2016-07-14 14:16:53 +00:00
model = "\A3\Structures_F\Wrecks\Wreck_T72_turret_F.p3d";
2016-09-18 09:31:28 +00:00
icon = "\A3\armor_f_gamma\MBT_02\Data\UI\map_MBT_02_ca.paa";
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-07-14 14:16:53 +00:00
class B_MBT_01_base_F;
class B_MBT_01_cannon_F: B_MBT_01_base_F {
GVAR(turret)[] = {QGVAR(Turret_MBT_01),{0,-1,0.5}};
};
class O_MBT_02_base_F;
class O_MBT_02_cannon_F: O_MBT_02_base_F {
GVAR(turret)[] = {QGVAR(Turret_MBT_02),{0,-1,0}};
};
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
};
2016-07-14 14:16:53 +00:00
};