ACE3/addons/sam/CfgVehicles.hpp

75 lines
2.0 KiB
C++
Raw Normal View History

2021-04-21 07:41:56 +00:00
class CfgVehicles {
2021-05-21 02:22:38 +00:00
class LandVehicle;
class StaticWeapon: LandVehicle {
class Turrets;
};
class StaticMGWeapon: StaticWeapon {
class Turrets: Turrets {
class MainTurret;
};
};
// RIM-162
class SAM_System_02_base_F: StaticMGWeapon {
displayName = CSTRING(essm);
class AnimationSources {
2021-04-21 18:48:44 +00:00
class Missiles_revolving {
source = "revolving";
weapon = QGVAR(RIM162);
};
};
2021-05-21 02:22:38 +00:00
class Turrets: Turrets {
2021-04-21 07:41:56 +00:00
class MainTurret: MainTurret {
2021-05-21 02:22:38 +00:00
gunnerName = CSTRING(essm_operator);
weapons[] = {
QGVAR(RIM162)
};
2021-04-21 07:41:56 +00:00
magazines[] = {
2021-05-21 02:22:38 +00:00
QGVAR(RIM162)
};
};
2021-04-21 07:41:56 +00:00
};
2021-05-21 02:22:38 +00:00
};
// Patriot
class SAM_System_03_base_F: StaticMGWeapon {
displayName = CSTRING(patriot);
class AnimationSources {
2021-04-21 18:48:44 +00:00
class Missiles_revolving {
source = "revolving";
weapon = QGVAR(patriot);
};
2021-05-21 02:22:38 +00:00
};
class Turrets: Turrets {
2021-04-21 07:41:56 +00:00
class MainTurret: MainTurret {
2021-05-21 02:22:38 +00:00
gunnerName = CSTRING(patriot_operator);
weapons[] = {
QGVAR(patriot)
};
2021-04-21 07:41:56 +00:00
magazines[] = {
2021-05-21 02:22:38 +00:00
QGVAR(patriot)
};
};
2021-04-21 07:41:56 +00:00
};
2021-05-21 02:22:38 +00:00
};
// S-400
class SAM_System_04_base_F: StaticMGWeapon {
displayName = CSTRING(s400);
class AnimationSources {
2021-04-21 18:48:44 +00:00
class Missiles_revolving {
source = "revolving";
weapon = QGVAR(s400);
};
2021-05-21 02:22:38 +00:00
};
class Turrets: Turrets {
2021-04-21 07:41:56 +00:00
class MainTurret: MainTurret {
2021-05-21 02:22:38 +00:00
gunnerName = CSTRING(s400_operator);
weapons[] = {
QGVAR(s400)
};
2021-04-21 07:41:56 +00:00
magazines[] = {
2021-05-21 02:22:38 +00:00
QGVAR(s400)
};
};
2021-04-21 07:41:56 +00:00
};
2021-05-21 02:22:38 +00:00
};
2021-04-21 07:41:56 +00:00
};