diff --git a/addons/grenades/CfgAmmo.hpp b/addons/grenades/CfgAmmo.hpp index c52ec34d04..392ee40e66 100644 --- a/addons/grenades/CfgAmmo.hpp +++ b/addons/grenades/CfgAmmo.hpp @@ -119,6 +119,13 @@ class CfgAmmo { effectsSmoke = "ACE_M84FlashbangEffect"; whistleDist = 0; }; + + class ACE_G_CTS9: ACE_G_M84 { + GVAR(flashbang) = 1; + model = QPATHTOF(models\ACE_CTS_9bang_thrown.p3d); + explosionTime = 1.5; + timeToLive = 10; + }; class Chemlight_base: SmokeShell { GVAR(pullPinSound)[] = {"A3\sounds_f\weapons\Other\dry4.wss", 3, 2, 10}; diff --git a/addons/grenades/CfgMagazines.hpp b/addons/grenades/CfgMagazines.hpp index 7faf13c9e1..f7bcc7da3b 100644 --- a/addons/grenades/CfgMagazines.hpp +++ b/addons/grenades/CfgMagazines.hpp @@ -64,6 +64,17 @@ class CfgMagazines { ammo = "ACE_G_M84"; mass = 4; }; + + class ACE_CTS9: HandGrenade { + author = ECSTRING(common,ACETeam); + displayname = CSTRING(CTS9_Name); + descriptionShort = CSTRING(M84_Description); + displayNameShort = CSTRING(CTS9_NameShort); + model = QPATHTOF(models\ACE_CTS_9bang.p3d); + picture = QPATHTOF(UI\ACE_CTS_x_ca.paa); + ammo = "ACE_G_CTS9"; + mass = 4; + }; class SmokeShell; class ACE_M14: SmokeShell { diff --git a/addons/grenades/CfgWeapons.hpp b/addons/grenades/CfgWeapons.hpp index 832be6fe73..6aad205437 100644 --- a/addons/grenades/CfgWeapons.hpp +++ b/addons/grenades/CfgWeapons.hpp @@ -2,7 +2,7 @@ class CfgWeapons { class GrenadeLauncher; class Throw: GrenadeLauncher { - muzzles[] += {"ACE_HandFlare_WhiteMuzzle","ACE_HandFlare_RedMuzzle","ACE_HandFlare_GreenMuzzle","ACE_HandFlare_YellowMuzzle","ACE_M84Muzzle","ACE_M14Muzzle"}; + muzzles[] += {"ACE_HandFlare_WhiteMuzzle","ACE_HandFlare_RedMuzzle","ACE_HandFlare_GreenMuzzle","ACE_HandFlare_YellowMuzzle","ACE_M84Muzzle","ACE_M14Muzzle","ACE_CTS9Muzzle"}; class ThrowMuzzle; class ACE_HandFlare_WhiteMuzzle: ThrowMuzzle { @@ -28,5 +28,9 @@ class CfgWeapons { class ACE_M14Muzzle: ThrowMuzzle { magazines[] = {"ACE_M14"}; }; + + class ACE_CTS9Muzzle: ThrowMuzzle { + magazines[] = {"ACE_CTS9"}; + }; }; }; diff --git a/addons/grenades/config.cpp b/addons/grenades/config.cpp index 326308a5eb..945814796a 100644 --- a/addons/grenades/config.cpp +++ b/addons/grenades/config.cpp @@ -10,7 +10,8 @@ class CfgPatches { "ACE_HandFlare_Green", "ACE_HandFlare_Yellow", "ACE_M84", - "ACE_M14" + "ACE_M14", + "ACE_CTS9" }; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"ace_common"}; diff --git a/addons/grenades/models/ACE_CTS_9bang.p3d b/addons/grenades/models/ACE_CTS_9bang.p3d new file mode 100644 index 0000000000..aedd244c37 Binary files /dev/null and b/addons/grenades/models/ACE_CTS_9bang.p3d differ diff --git a/addons/grenades/models/ACE_CTS_9bang_thrown.p3d b/addons/grenades/models/ACE_CTS_9bang_thrown.p3d new file mode 100644 index 0000000000..be0d1bee91 Binary files /dev/null and b/addons/grenades/models/ACE_CTS_9bang_thrown.p3d differ diff --git a/addons/grenades/stringtable.xml b/addons/grenades/stringtable.xml index 3483b74037..9d15c07c8f 100644 --- a/addons/grenades/stringtable.xml +++ b/addons/grenades/stringtable.xml @@ -144,6 +144,12 @@ 플래시뱅이라고도 알려져있습니다. 사용즉시 섬광으로 인한 시력장애, 청각장애, 이명, 내이기관방해를 유발합니다. 也被称为闪光弹,会造成暂时性失明,耳聋,耳鸣等效果。 也被稱為閃光彈,會造成暫時性失明,耳聾,耳鳴等效果 + + + CTS 7290-9 9-bang Flash Grenade + + + CTS 7290-9 M127A1 Hand Held Signal (White) diff --git a/addons/grenades/textures/ace_cts_9bang_co.paa b/addons/grenades/textures/ace_cts_9bang_co.paa new file mode 100644 index 0000000000..a231104380 Binary files /dev/null and b/addons/grenades/textures/ace_cts_9bang_co.paa differ