From c481ddedaf570d15d835a08d23071f03ff2112cd Mon Sep 17 00:00:00 2001 From: commy2 Date: Sun, 19 Jun 2016 09:12:25 +0200 Subject: [PATCH] add 'name' to components --- addons/advanced_ballistics/config.cpp | 1 + addons/ai/config.cpp | 1 + addons/aircraft/config.cpp | 1 + addons/apl/config.cpp | 1 + addons/atragmx/config.cpp | 1 + addons/attach/config.cpp | 1 + addons/backpacks/config.cpp | 1 + addons/ballistics/config.cpp | 1 + addons/captives/config.cpp | 1 + addons/cargo/config.cpp | 1 + addons/common/config.cpp | 1 + addons/concertina_wire/config.cpp | 1 + addons/dagr/config.cpp | 1 + addons/disarming/config.cpp | 1 + addons/disposable/config.cpp | 1 + addons/dragging/config.cpp | 1 + addons/explosives/config.cpp | 1 + addons/fastroping/config.cpp | 1 + addons/fcs/config.cpp | 1 + addons/finger/config.cpp | 1 + addons/flashlights/config.cpp | 1 + addons/flashsuppressors/config.cpp | 1 + addons/fonts/config.cpp | 1 + addons/frag/config.cpp | 1 + addons/gestures/config.cpp | 1 + addons/gforces/config.cpp | 1 + addons/goggles/config.cpp | 1 + addons/grenades/config.cpp | 1 + addons/gunbag/config.cpp | 1 + addons/hearing/config.cpp | 1 + addons/hitreactions/config.cpp | 1 + addons/huntir/config.cpp | 1 + addons/interact_menu/config.cpp | 1 + addons/interaction/config.cpp | 1 + addons/inventory/config.cpp | 1 + addons/javelin/config.cpp | 1 + addons/kestrel4500/config.cpp | 1 + addons/laser/config.cpp | 1 + addons/laser_selfdesignate/config.cpp | 1 + addons/laserpointer/config.cpp | 1 + addons/logistics_uavbattery/config.cpp | 1 + addons/logistics_wirecutter/config.cpp | 1 + addons/magazinerepack/config.cpp | 1 + addons/main/config.cpp | 1 + addons/main/script_mod.hpp | 2 ++ addons/map/config.cpp | 1 + addons/map_gestures/config.cpp | 1 + addons/maptools/config.cpp | 1 + addons/markers/config.cpp | 1 + addons/medical/config.cpp | 1 + addons/medical_menu/config.cpp | 1 + addons/microdagr/config.cpp | 1 + addons/minedetector/config.cpp | 1 + addons/missileguidance/config.cpp | 1 + addons/missionmodules/config.cpp | 1 + addons/mk6mortar/config.cpp | 1 + addons/modules/config.cpp | 1 + addons/movement/config.cpp | 1 + addons/mx2a/config.cpp | 1 + addons/nametags/config.cpp | 1 + addons/nightvision/config.cpp | 1 + addons/noidle/config.cpp | 1 + addons/noradio/config.cpp | 1 + addons/norearm/config.cpp | 1 + addons/optics/config.cpp | 1 + addons/optionsmenu/config.cpp | 1 + addons/overheating/config.cpp | 1 + addons/overpressure/config.cpp | 1 + addons/parachute/config.cpp | 3 ++- addons/rangecard/config.cpp | 1 + addons/realisticnames/config.cpp | 1 + addons/rearm/config.cpp | 1 + addons/recoil/config.cpp | 1 + addons/refuel/config.cpp | 1 + addons/reload/config.cpp | 1 + addons/reloadlaunchers/config.cpp | 1 + addons/repair/config.cpp | 1 + addons/respawn/config.cpp | 1 + addons/safemode/config.cpp | 1 + addons/sandbag/config.cpp | 1 + addons/scopes/config.cpp | 1 + addons/sitting/config.cpp | 1 + addons/slideshow/config.cpp | 1 + addons/smallarms/config.cpp | 1 + addons/spectator/config.cpp | 1 + addons/spottingscope/config.cpp | 2 +- addons/spottingscope/stringtable.xml | 12 ------------ addons/switchunits/config.cpp | 1 + addons/tacticalladder/config.cpp | 1 + addons/tagging/config.cpp | 1 + addons/thermals/config.cpp | 1 + addons/trenches/config.cpp | 1 + addons/tripod/config.cpp | 1 + addons/ui/config.cpp | 1 + addons/vector/config.cpp | 1 + addons/vehiclelock/config.cpp | 19 ++++++++++--------- addons/vehicles/config.cpp | 1 + addons/viewdistance/config.cpp | 1 + addons/weaponselect/config.cpp | 1 + addons/weather/config.cpp | 1 + addons/winddeflection/config.cpp | 1 + addons/yardage450/config.cpp | 1 + addons/zeus/config.cpp | 1 + extras/blank/config.cpp | 1 + optionals/compat_adr_97/config.cpp | 1 + optionals/compat_r3f/config.cpp | 1 + optionals/compat_rh_acc/config.cpp | 1 + optionals/compat_rh_de/config.cpp | 1 + optionals/compat_rh_m4/config.cpp | 1 + optionals/compat_rh_pdw/config.cpp | 1 + optionals/compat_rhs_afrf3/config.cpp | 1 + optionals/compat_rhs_usf3/config.cpp | 1 + optionals/compat_rksl_pm_ii/config.cpp | 1 + optionals/compat_sma3_iansky/config.cpp | 1 + optionals/noactionmenu/config.cpp | 1 + optionals/server/config.cpp | 1 + optionals/tracers/config.cpp | 1 + 117 files changed, 127 insertions(+), 23 deletions(-) diff --git a/addons/advanced_ballistics/config.cpp b/addons/advanced_ballistics/config.cpp index 692a9391a0..488b812fc6 100644 --- a/addons/advanced_ballistics/config.cpp +++ b/addons/advanced_ballistics/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/ai/config.cpp b/addons/ai/config.cpp index 504c8b6e3c..60bf7184a4 100644 --- a/addons/ai/config.cpp +++ b/addons/ai/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/aircraft/config.cpp b/addons/aircraft/config.cpp index f989749383..26d1514a1a 100644 --- a/addons/aircraft/config.cpp +++ b/addons/aircraft/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/apl/config.cpp b/addons/apl/config.cpp index bd97757a1c..6e2c852035 100644 --- a/addons/apl/config.cpp +++ b/addons/apl/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/atragmx/config.cpp b/addons/atragmx/config.cpp index 4bbde93706..aec53ba837 100644 --- a/addons/atragmx/config.cpp +++ b/addons/atragmx/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Item_ATragMX"}; weapons[] = {"ACE_ATragMX"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/attach/config.cpp b/addons/attach/config.cpp index 59f733f9ea..cadc84705b 100644 --- a/addons/attach/config.cpp +++ b/addons/attach/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_IR_Strobe_Item"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/backpacks/config.cpp b/addons/backpacks/config.cpp index 5328a1e4ee..80439533e2 100644 --- a/addons/backpacks/config.cpp +++ b/addons/backpacks/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/ballistics/config.cpp b/addons/ballistics/config.cpp index 59c29f0a7f..7f63a36dd2 100644 --- a/addons/ballistics/config.cpp +++ b/addons/ballistics/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_TargetWall","ACE_Box_Ammo"}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/captives/config.cpp b/addons/captives/config.cpp index 883fbebe32..b879e906fa 100644 --- a/addons/captives/config.cpp +++ b/addons/captives/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {QGVAR(ModuleSettings), QGVAR(ModuleSurrender), QGVAR(ModuleHandcuffed)}; weapons[] = {"ACE_CableTie"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/cargo/config.cpp b/addons/cargo/config.cpp index 1980fe207d..589dc020df 100644 --- a/addons/cargo/config.cpp +++ b/addons/cargo/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/common/config.cpp b/addons/common/config.cpp index 0210634ee8..3985b8f70d 100644 --- a/addons/common/config.cpp +++ b/addons/common/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Box_Misc", "ACE_bananaItem"}; weapons[] = {"ACE_ItemCore","ACE_FakePrimaryWeapon", "ACE_Banana"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/concertina_wire/config.cpp b/addons/concertina_wire/config.cpp index 2091a5ffc6..326c1cd0ea 100644 --- a/addons/concertina_wire/config.cpp +++ b/addons/concertina_wire/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_ConcertinaWire", "ACE_ConcertinaWireNoGeo", "ACE_ConcertinaWireCoil"}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/dagr/config.cpp b/addons/dagr/config.cpp index 97d5300067..f84f4aeb38 100644 --- a/addons/dagr/config.cpp +++ b/addons/dagr/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Item_DAGR"}; weapons[] = {"ACE_DAGR"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/disarming/config.cpp b/addons/disarming/config.cpp index 8ed2f523cf..d8f249a9c6 100644 --- a/addons/disarming/config.cpp +++ b/addons/disarming/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_DebugPotato"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/disposable/config.cpp b/addons/disposable/config.cpp index e240206938..19b02871bc 100644 --- a/addons/disposable/config.cpp +++ b/addons/disposable/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/dragging/config.cpp b/addons/dragging/config.cpp index a3e87c5824..8747ee44ea 100644 --- a/addons/dragging/config.cpp +++ b/addons/dragging/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/explosives/config.cpp b/addons/explosives/config.cpp index 83033cbddc..ad4abec910 100644 --- a/addons/explosives/config.cpp +++ b/addons/explosives/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_ModuleMine_SLAMBottomMine", "ACE_ModuleExplosive_IEDUrbanBig_Range", "ACE_ModuleExplosive_IEDLandBig_Range", "ACE_ModuleExplosive_IEDUrbanSmall_Range", "ACE_ModuleExplosive_IEDLandSmall_Range"}; weapons[] = {"ACE_Clacker", "ACE_DefusalKit", "ACE_M26_Clacker", "ACE_DeadManSwitch", "ACE_Cellphone"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/fastroping/config.cpp b/addons/fastroping/config.cpp index c451a1b0dd..f2bf1d4a5e 100644 --- a/addons/fastroping/config.cpp +++ b/addons/fastroping/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/fcs/config.cpp b/addons/fcs/config.cpp index a38cee5d7d..fd6d5335da 100644 --- a/addons/fcs/config.cpp +++ b/addons/fcs/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/finger/config.cpp b/addons/finger/config.cpp index fa953b4298..ec1fd596b0 100644 --- a/addons/finger/config.cpp +++ b/addons/finger/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {QGVAR(moduleSettings)}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/flashlights/config.cpp b/addons/flashlights/config.cpp index 08349be0a7..2242171822 100644 --- a/addons/flashlights/config.cpp +++ b/addons/flashlights/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_Flashlight_MX991", "ACE_Flashlight_KSF1", "ACE_Flashlight_XL50"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/flashsuppressors/config.cpp b/addons/flashsuppressors/config.cpp index 378858d71c..7f499bb787 100644 --- a/addons/flashsuppressors/config.cpp +++ b/addons/flashsuppressors/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = { "ACE_muzzle_mzls_H", diff --git a/addons/fonts/config.cpp b/addons/fonts/config.cpp index dc6b4c705f..a698b681a0 100644 --- a/addons/fonts/config.cpp +++ b/addons/fonts/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/frag/config.cpp b/addons/frag/config.cpp index 1727570003..7ac109d29f 100644 --- a/addons/frag/config.cpp +++ b/addons/frag/config.cpp @@ -1,6 +1,7 @@ #include "script_component.hpp" class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/gestures/config.cpp b/addons/gestures/config.cpp index 660c1eeff5..a33e149df6 100644 --- a/addons/gestures/config.cpp +++ b/addons/gestures/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/gforces/config.cpp b/addons/gforces/config.cpp index 58f11020eb..4c89ee595c 100644 --- a/addons/gforces/config.cpp +++ b/addons/gforces/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/goggles/config.cpp b/addons/goggles/config.cpp index 062300d4d5..8341caa9f4 100644 --- a/addons/goggles/config.cpp +++ b/addons/goggles/config.cpp @@ -3,6 +3,7 @@ #define COLOUR 8.0 class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/grenades/config.cpp b/addons/grenades/config.cpp index 0d5ab09d0b..6fc14ece0c 100644 --- a/addons/grenades/config.cpp +++ b/addons/grenades/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/gunbag/config.cpp b/addons/gunbag/config.cpp index 7c9a114d2e..87fcd84f1c 100644 --- a/addons/gunbag/config.cpp +++ b/addons/gunbag/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {QUOTE(ADDON), QGVAR(Tan)}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/hearing/config.cpp b/addons/hearing/config.cpp index 455bc20dd1..79ab61cb8b 100644 --- a/addons/hearing/config.cpp +++ b/addons/hearing/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_EarPlugs"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/hitreactions/config.cpp b/addons/hitreactions/config.cpp index d6146a6b29..3d066e6af1 100644 --- a/addons/hitreactions/config.cpp +++ b/addons/hitreactions/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/huntir/config.cpp b/addons/huntir/config.cpp index ce4b10bab1..0adf9670a0 100644 --- a/addons/huntir/config.cpp +++ b/addons/huntir/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_HuntIR", "ACE_HuntIRBox"}; weapons[] = {"ACE_HuntIR_monitor"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/interact_menu/config.cpp b/addons/interact_menu/config.cpp index e8731df93c..95561f4579 100644 --- a/addons/interact_menu/config.cpp +++ b/addons/interact_menu/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/interaction/config.cpp b/addons/interaction/config.cpp index b984570059..837a0e4b98 100644 --- a/addons/interaction/config.cpp +++ b/addons/interaction/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/inventory/config.cpp b/addons/inventory/config.cpp index adef451644..bc0d4291f8 100644 --- a/addons/inventory/config.cpp +++ b/addons/inventory/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/javelin/config.cpp b/addons/javelin/config.cpp index 31871ccb53..92f2f2d969 100644 --- a/addons/javelin/config.cpp +++ b/addons/javelin/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/kestrel4500/config.cpp b/addons/kestrel4500/config.cpp index 74e2f18f19..11bc51f801 100644 --- a/addons/kestrel4500/config.cpp +++ b/addons/kestrel4500/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Item_Kestrel4500"}; weapons[] = {"ACE_Kestrel4500"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/laser/config.cpp b/addons/laser/config.cpp index 2681c11294..d989c4f85b 100644 --- a/addons/laser/config.cpp +++ b/addons/laser/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/laser_selfdesignate/config.cpp b/addons/laser_selfdesignate/config.cpp index 015775de06..e95d754809 100644 --- a/addons/laser_selfdesignate/config.cpp +++ b/addons/laser_selfdesignate/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/laserpointer/config.cpp b/addons/laserpointer/config.cpp index c727bc6407..add36aeff5 100644 --- a/addons/laserpointer/config.cpp +++ b/addons/laserpointer/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_acc_pointer_red","ACE_acc_pointer_green","ACE_acc_pointer_green_IR"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/logistics_uavbattery/config.cpp b/addons/logistics_uavbattery/config.cpp index 5197a899e3..dccdbde247 100644 --- a/addons/logistics_uavbattery/config.cpp +++ b/addons/logistics_uavbattery/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_UAVBattery"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/logistics_wirecutter/config.cpp b/addons/logistics_wirecutter/config.cpp index 10612568e1..25c58f1604 100644 --- a/addons/logistics_wirecutter/config.cpp +++ b/addons/logistics_wirecutter/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_wirecutter"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/magazinerepack/config.cpp b/addons/magazinerepack/config.cpp index c660b44ca7..1434275e84 100644 --- a/addons/magazinerepack/config.cpp +++ b/addons/magazinerepack/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/main/config.cpp b/addons/main/config.cpp index 9969e52447..9aebb11e36 100644 --- a/addons/main/config.cpp +++ b/addons/main/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/main/script_mod.hpp b/addons/main/script_mod.hpp index cda38b0458..b1f62fec75 100644 --- a/addons/main/script_mod.hpp +++ b/addons/main/script_mod.hpp @@ -14,3 +14,5 @@ // MINIMAL required version for the Mod. Components can specify others.. #define REQUIRED_VERSION 1.56 #define REQUIRED_CBA_VERSION {2,4,0} + +#define COMPONENT_NAME QUOTE(Advanced Combat Environment 3 - COMPONENT) diff --git a/addons/map/config.cpp b/addons/map/config.cpp index 17e9aae0ab..1d830a8bd6 100644 --- a/addons/map/config.cpp +++ b/addons/map/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/map_gestures/config.cpp b/addons/map_gestures/config.cpp index 52f333c717..b7bbf791e7 100644 --- a/addons/map_gestures/config.cpp +++ b/addons/map_gestures/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/maptools/config.cpp b/addons/maptools/config.cpp index 1b5e3359bd..e94ec2edcd 100644 --- a/addons/maptools/config.cpp +++ b/addons/maptools/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_MapTools"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/markers/config.cpp b/addons/markers/config.cpp index 658a3ab370..1a8c310735 100644 --- a/addons/markers/config.cpp +++ b/addons/markers/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/medical/config.cpp b/addons/medical/config.cpp index 1bc006471e..a79a452b7d 100644 --- a/addons/medical/config.cpp +++ b/addons/medical/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_medicalSupplyCrate", "ACE_medicalSupplyCrate_advanced", "ACE_fieldDressingItem", "ACE_packingBandageItem", "ACE_elasticBandageItem", "ACE_tourniquetItem", "ACE_morphineItem", "ACE_atropineItem", "ACE_epinephrineItem", "ACE_plasmaIVItem", "ACE_bloodIVItem", "ACE_salineIVItem", "ACE_quikclotItem", "ACE_personalAidKitItem", "ACE_surgicalKitItem", "ACE_bodyBagItem", "ACE_bodyBagObject"}; weapons[] = {"ACE_fieldDressing", "ACE_packingBandage", "ACE_elasticBandage", "ACE_tourniquet", "ACE_morphine", "ACE_atropine", "ACE_epinephrine", "ACE_plasmaIV", "ACE_plasmaIV_500", "ACE_plasmaIV_250", "ACE_bloodIV", "ACE_bloodIV_500", "ACE_bloodIV_250", "ACE_salineIV", "ACE_salineIV_500", "ACE_salineIV_250", "ACE_quikclot", "ACE_personalAidKit", "ACE_surgicalKit", "ACE_bodyBag"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/medical_menu/config.cpp b/addons/medical_menu/config.cpp index 67d3966771..633323c2cf 100644 --- a/addons/medical_menu/config.cpp +++ b/addons/medical_menu/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/microdagr/config.cpp b/addons/microdagr/config.cpp index 9da8434fe7..5d33c073e1 100644 --- a/addons/microdagr/config.cpp +++ b/addons/microdagr/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_microDAGR_Item"}; weapons[] = {"ACE_microDAGR"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/minedetector/config.cpp b/addons/minedetector/config.cpp index 5d9dd2198f..9926d08f8c 100644 --- a/addons/minedetector/config.cpp +++ b/addons/minedetector/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_VMH3","ACE_VMM3"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/missileguidance/config.cpp b/addons/missileguidance/config.cpp index 81c0aedc5e..c97a542a7f 100644 --- a/addons/missileguidance/config.cpp +++ b/addons/missileguidance/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Comanche_Test"}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/missionmodules/config.cpp b/addons/missionmodules/config.cpp index 2f58f5c42f..3a92c65ebc 100644 --- a/addons/missionmodules/config.cpp +++ b/addons/missionmodules/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/mk6mortar/config.cpp b/addons/mk6mortar/config.cpp index 929f28b4d5..a63f7086f9 100644 --- a/addons/mk6mortar/config.cpp +++ b/addons/mk6mortar/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Box_82mm_Mo_HE","ACE_Box_82mm_Mo_Smoke", "ACE_Box_82mm_Mo_Illum","ACE_Box_82mm_Mo_Combo"}; weapons[] = {"ACE_RangeTable_82mm","ace_mortar_82mm"}; diff --git a/addons/modules/config.cpp b/addons/modules/config.cpp index 543bbe2551..662b1cb349 100644 --- a/addons/modules/config.cpp +++ b/addons/modules/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/movement/config.cpp b/addons/movement/config.cpp index 247d686978..14a3b8f68d 100644 --- a/addons/movement/config.cpp +++ b/addons/movement/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/mx2a/config.cpp b/addons/mx2a/config.cpp index c59dc43dd3..3892b9bb99 100644 --- a/addons/mx2a/config.cpp +++ b/addons/mx2a/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Item_MX2A"}; weapons[] = {"ACE_MX2A"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/nametags/config.cpp b/addons/nametags/config.cpp index b02dfa9297..0f491efce1 100644 --- a/addons/nametags/config.cpp +++ b/addons/nametags/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/nightvision/config.cpp b/addons/nightvision/config.cpp index 9397740e61..673a7d31c0 100644 --- a/addons/nightvision/config.cpp +++ b/addons/nightvision/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_NVG_Gen1", "ACE_NVG_Gen2", /*"ACE_NVG_Gen3",*/ "ACE_NVG_Gen4", "ACE_NVG_Wide"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/noidle/config.cpp b/addons/noidle/config.cpp index b0792486f7..961d84d81a 100644 --- a/addons/noidle/config.cpp +++ b/addons/noidle/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/noradio/config.cpp b/addons/noradio/config.cpp index 0781a4a15e..a4a390caac 100644 --- a/addons/noradio/config.cpp +++ b/addons/noradio/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/norearm/config.cpp b/addons/norearm/config.cpp index 2b670e0db1..269b763d7a 100644 --- a/addons/norearm/config.cpp +++ b/addons/norearm/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/optics/config.cpp b/addons/optics/config.cpp index c63049356c..c1524320c7 100644 --- a/addons/optics/config.cpp +++ b/addons/optics/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = { "ACE_optic_Hamr_2D", diff --git a/addons/optionsmenu/config.cpp b/addons/optionsmenu/config.cpp index 0e564535b9..a239e55498 100644 --- a/addons/optionsmenu/config.cpp +++ b/addons/optionsmenu/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_moduleAllowConfigExport"}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/overheating/config.cpp b/addons/overheating/config.cpp index 576ee1e190..86e1804b61 100644 --- a/addons/overheating/config.cpp +++ b/addons/overheating/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_SpareBarrel"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/overpressure/config.cpp b/addons/overpressure/config.cpp index f4b5fdf951..0aa455de7d 100644 --- a/addons/overpressure/config.cpp +++ b/addons/overpressure/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/parachute/config.cpp b/addons/parachute/config.cpp index dec722ea96..a251f3d6a6 100644 --- a/addons/parachute/config.cpp +++ b/addons/parachute/config.cpp @@ -1,7 +1,8 @@ #include "script_component.hpp" class CfgPatches { - class ACE_Parachute { + class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_NonSteerableParachute"}; weapons[] = {"ACE_Altimeter"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/rangecard/config.cpp b/addons/rangecard/config.cpp index 6e4a90c0ad..9017583606 100644 --- a/addons/rangecard/config.cpp +++ b/addons/rangecard/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Item_RangeCard"}; weapons[] = {"ACE_RangeCard"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/realisticnames/config.cpp b/addons/realisticnames/config.cpp index d85fe9771d..e548e3f094 100644 --- a/addons/realisticnames/config.cpp +++ b/addons/realisticnames/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/rearm/config.cpp b/addons/rearm/config.cpp index bd0a4980e2..a4c130c974 100644 --- a/addons/rearm/config.cpp +++ b/addons/rearm/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/recoil/config.cpp b/addons/recoil/config.cpp index e6eee4a9af..1a80a3b945 100644 --- a/addons/recoil/config.cpp +++ b/addons/recoil/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/refuel/config.cpp b/addons/refuel/config.cpp index 2ace24fb92..ffdd202c54 100644 --- a/addons/refuel/config.cpp +++ b/addons/refuel/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_refuel_fuelNozzle"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/reload/config.cpp b/addons/reload/config.cpp index d3015f9dfa..e5ffdd033c 100644 --- a/addons/reload/config.cpp +++ b/addons/reload/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/reloadlaunchers/config.cpp b/addons/reloadlaunchers/config.cpp index ff4c00bb22..16ae8cb867 100644 --- a/addons/reloadlaunchers/config.cpp +++ b/addons/reloadlaunchers/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/repair/config.cpp b/addons/repair/config.cpp index 56465ba1f5..dab412eb93 100644 --- a/addons/repair/config.cpp +++ b/addons/repair/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Wheel", "ACE_Track"}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/respawn/config.cpp b/addons/respawn/config.cpp index 3a887b48b2..cd87087e20 100644 --- a/addons/respawn/config.cpp +++ b/addons/respawn/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {"ACE_Rallypoint_West", "ACE_Rallypoint_East", "ACE_Rallypoint_Independent", "ACE_Rallypoint_West_Base", "ACE_Rallypoint_East_Base", "ACE_Rallypoint_Independent_Base"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/safemode/config.cpp b/addons/safemode/config.cpp index 05510a53a5..bb1016792e 100644 --- a/addons/safemode/config.cpp +++ b/addons/safemode/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/sandbag/config.cpp b/addons/sandbag/config.cpp index cb8884ac7e..9c28b948ac 100644 --- a/addons/sandbag/config.cpp +++ b/addons/sandbag/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Item_Sandbag", "ACE_Item_Sandbag_empty"}; weapons[] = {"ACE_Sandbag", "ACE_Sandbag_empty"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/scopes/config.cpp b/addons/scopes/config.cpp index c9ff1feb20..8388b2d04b 100644 --- a/addons/scopes/config.cpp +++ b/addons/scopes/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/sitting/config.cpp b/addons/sitting/config.cpp index e6a730c492..785cb75aeb 100644 --- a/addons/sitting/config.cpp +++ b/addons/sitting/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/slideshow/config.cpp b/addons/slideshow/config.cpp index 3a2e757e6a..6149ad71d7 100644 --- a/addons/slideshow/config.cpp +++ b/addons/slideshow/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/smallarms/config.cpp b/addons/smallarms/config.cpp index 5b211fa37e..23fd1e49a7 100644 --- a/addons/smallarms/config.cpp +++ b/addons/smallarms/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/spectator/config.cpp b/addons/spectator/config.cpp index 7e9937a70b..cadde0db9d 100644 --- a/addons/spectator/config.cpp +++ b/addons/spectator/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/spottingscope/config.cpp b/addons/spottingscope/config.cpp index 3849382690..4fa5bd4d58 100644 --- a/addons/spottingscope/config.cpp +++ b/addons/spottingscope/config.cpp @@ -2,7 +2,7 @@ class CfgPatches { class ADDON { - name = CSTRING(component); + name = COMPONENT_NAME; units[] = {"ACE_B_SpottingScope", "ACE_O_SpottingScope", "ACE_I_SpottingScope", "ACE_Item_SpottingScope"}; weapons[] = {"ACE_SpottingScope"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/spottingscope/stringtable.xml b/addons/spottingscope/stringtable.xml index 3df7c05ec5..3a0b89b857 100644 --- a/addons/spottingscope/stringtable.xml +++ b/addons/spottingscope/stringtable.xml @@ -1,18 +1,6 @@  - - Advanced Combat Environment 3 - Spotting Scope - Advanced Combat Environment 3 - Teleskop - Advanced Combat Environment 3 - Зрительная труба - Advanced Combat Environment 3 - Teleskop - Advanced Combat Environment 3 - Telescopio - Advanced Combat Environment 3 - Téléscope de visée - Advanced Combat Environment 3 - Zaměřovací dalekohled - Advanced Combat Environment 3 - Spotting Scope - Advanced Combat Environment 3 - Megfigyelő távcső - Advanced Combat Environment 3 - Luneta de observador - Spotting Scope Teleskop diff --git a/addons/switchunits/config.cpp b/addons/switchunits/config.cpp index 1bdec70729..f722219562 100644 --- a/addons/switchunits/config.cpp +++ b/addons/switchunits/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/tacticalladder/config.cpp b/addons/tacticalladder/config.cpp index 53ce7384f6..eddca58449 100644 --- a/addons/tacticalladder/config.cpp +++ b/addons/tacticalladder/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/tagging/config.cpp b/addons/tagging/config.cpp index 7e495892e9..634f7c57af 100644 --- a/addons/tagging/config.cpp +++ b/addons/tagging/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Item_SpraypaintBlack", "ACE_Item_SpraypaintRed", "ACE_Item_SpraypaintGreen", "ACE_Item_SpraypaintBlue"}; weapons[] = {"ACE_SpraypaintBlack", "ACE_SpraypaintRed", "ACE_SpraypaintGreen", "ACE_SpraypaintBlue"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/thermals/config.cpp b/addons/thermals/config.cpp index b4ad00f41c..a61598929d 100644 --- a/addons/thermals/config.cpp +++ b/addons/thermals/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/trenches/config.cpp b/addons/trenches/config.cpp index f090a3ecf4..2b4f3c9051 100644 --- a/addons/trenches/config.cpp +++ b/addons/trenches/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_envelope_small","ACE_envelope_big"}; weapons[] = {"ACE_EntrenchingTool"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/tripod/config.cpp b/addons/tripod/config.cpp index 3891a59d57..8251e0c469 100644 --- a/addons/tripod/config.cpp +++ b/addons/tripod/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Item_Tripod"}; weapons[] = {"ACE_Tripod"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/ui/config.cpp b/addons/ui/config.cpp index 0b680ca136..d480a5f33b 100644 --- a/addons/ui/config.cpp +++ b/addons/ui/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/vector/config.cpp b/addons/vector/config.cpp index 8c1dd84ddb..2f2302d9af 100644 --- a/addons/vector/config.cpp +++ b/addons/vector/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Item_Vector"}; weapons[] = {"ACE_Vector", "ACE_VectorDay"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/vehiclelock/config.cpp b/addons/vehiclelock/config.cpp index cb67bca1c3..52299ca512 100644 --- a/addons/vehiclelock/config.cpp +++ b/addons/vehiclelock/config.cpp @@ -1,17 +1,18 @@ #include "script_component.hpp" class CfgPatches { - class ADDON { - units[] = {}; - weapons[] = {}; - requiredVersion = REQUIRED_VERSION; - requiredAddons[] = {"ace_interaction"}; + class ADDON { + name = COMPONENT_NAME; + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"ace_interaction"}; author = ECSTRING(common,ACETeam); url = ECSTRING(main,URL); - authors[] = {"PabstMirror"}; - authorUrl = "https://github.com/acemod/ACE3"; - VERSION_CONFIG; - }; + authors[] = {"PabstMirror"}; + authorUrl = "https://github.com/acemod/ACE3"; + VERSION_CONFIG; + }; }; #include "ACE_Settings.hpp" diff --git a/addons/vehicles/config.cpp b/addons/vehicles/config.cpp index 9d2cd3caac..64d81a5f95 100644 --- a/addons/vehicles/config.cpp +++ b/addons/vehicles/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/viewdistance/config.cpp b/addons/viewdistance/config.cpp index bf3dd29d24..cf986569e0 100644 --- a/addons/viewdistance/config.cpp +++ b/addons/viewdistance/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/weaponselect/config.cpp b/addons/weaponselect/config.cpp index b6a98e6d88..cf8e08a3ba 100644 --- a/addons/weaponselect/config.cpp +++ b/addons/weaponselect/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/weather/config.cpp b/addons/weather/config.cpp index 2444064f41..f8b8130d37 100644 --- a/addons/weather/config.cpp +++ b/addons/weather/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/winddeflection/config.cpp b/addons/winddeflection/config.cpp index 2faf536423..0e193dace5 100644 --- a/addons/winddeflection/config.cpp +++ b/addons/winddeflection/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/yardage450/config.cpp b/addons/yardage450/config.cpp index 18779bd5be..4af07b18fb 100644 --- a/addons/yardage450/config.cpp +++ b/addons/yardage450/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {"ACE_Item_Yardage450"}; weapons[] = {"ACE_Yardage450"}; requiredVersion = REQUIRED_VERSION; diff --git a/addons/zeus/config.cpp b/addons/zeus/config.cpp index 0d348333e7..3ec87b637c 100644 --- a/addons/zeus/config.cpp +++ b/addons/zeus/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = { QGVAR(moduleDefendArea), QGVAR(moduleGlobalSetSkill), diff --git a/extras/blank/config.cpp b/extras/blank/config.cpp index f78545d212..91aa2afd4e 100644 --- a/extras/blank/config.cpp +++ b/extras/blank/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/compat_adr_97/config.cpp b/optionals/compat_adr_97/config.cpp index aca323c98c..84a20ed781 100644 --- a/optionals/compat_adr_97/config.cpp +++ b/optionals/compat_adr_97/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/compat_r3f/config.cpp b/optionals/compat_r3f/config.cpp index c7e42c35ad..f2254d5af1 100644 --- a/optionals/compat_r3f/config.cpp +++ b/optionals/compat_r3f/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/compat_rh_acc/config.cpp b/optionals/compat_rh_acc/config.cpp index b66be68593..37737d296e 100644 --- a/optionals/compat_rh_acc/config.cpp +++ b/optionals/compat_rh_acc/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/compat_rh_de/config.cpp b/optionals/compat_rh_de/config.cpp index 77dc828105..4f9ba42f19 100644 --- a/optionals/compat_rh_de/config.cpp +++ b/optionals/compat_rh_de/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/compat_rh_m4/config.cpp b/optionals/compat_rh_m4/config.cpp index 4bacb9dedf..e2dd39ed49 100644 --- a/optionals/compat_rh_m4/config.cpp +++ b/optionals/compat_rh_m4/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/compat_rh_pdw/config.cpp b/optionals/compat_rh_pdw/config.cpp index e3c5d15a07..52f1cff567 100644 --- a/optionals/compat_rh_pdw/config.cpp +++ b/optionals/compat_rh_pdw/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/compat_rhs_afrf3/config.cpp b/optionals/compat_rhs_afrf3/config.cpp index bf36181ce8..b90019d98b 100644 --- a/optionals/compat_rhs_afrf3/config.cpp +++ b/optionals/compat_rhs_afrf3/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/compat_rhs_usf3/config.cpp b/optionals/compat_rhs_usf3/config.cpp index e218f77d2e..aef2fcdcb3 100644 --- a/optionals/compat_rhs_usf3/config.cpp +++ b/optionals/compat_rhs_usf3/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/compat_rksl_pm_ii/config.cpp b/optionals/compat_rksl_pm_ii/config.cpp index ca0a7189f2..8cb36802b1 100644 --- a/optionals/compat_rksl_pm_ii/config.cpp +++ b/optionals/compat_rksl_pm_ii/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/compat_sma3_iansky/config.cpp b/optionals/compat_sma3_iansky/config.cpp index 5611c2d4af..3259115c0a 100644 --- a/optionals/compat_sma3_iansky/config.cpp +++ b/optionals/compat_sma3_iansky/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/noactionmenu/config.cpp b/optionals/noactionmenu/config.cpp index 77e0457643..bb0e964482 100644 --- a/optionals/noactionmenu/config.cpp +++ b/optionals/noactionmenu/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; ACE_isOptional = 1; units[] = {}; weapons[] = {}; diff --git a/optionals/server/config.cpp b/optionals/server/config.cpp index ab354fa4d8..c27ed4a341 100644 --- a/optionals/server/config.cpp +++ b/optionals/server/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION; diff --git a/optionals/tracers/config.cpp b/optionals/tracers/config.cpp index 32f1bfbb2d..8b44cec0d3 100644 --- a/optionals/tracers/config.cpp +++ b/optionals/tracers/config.cpp @@ -2,6 +2,7 @@ class CfgPatches { class ADDON { + name = COMPONENT_NAME; units[] = {}; weapons[] = {}; requiredVersion = REQUIRED_VERSION;