mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
8fc093de8f
* Improved various aspects of grenades * Update addons/grenades/functions/fnc_flashbangExplosionEH.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * Update addons/grenades/functions/fnc_incendiary.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * Update addons/grenades/functions/fnc_incendiary.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * Update fnc_flashbangExplosionEH.sqf * More cleanup * Update fnc_incendiary.sqf * Update fnc_incendiary.sqf * Update fnc_flashbangThrownFuze.sqf * Update fnc_flashbangThrownFuze.sqf * Update addons/grenades/functions/fnc_nextMode.sqf Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> * Update addons/grenades/functions/fnc_flashbangExplosionEH.sqf * Update addons/grenades/functions/fnc_incendiary.sqf * Removed fix that is included in another PR * Update fnc_incendiary.sqf * Messed up merge conflict resolution --------- Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
175 lines
6.1 KiB
C++
175 lines
6.1 KiB
C++
class CfgMagazines {
|
|
class HandGrenade;
|
|
class ACE_HandFlare_Base: HandGrenade {
|
|
scope = 1;
|
|
value = 2;
|
|
nameSoundWeapon = "smokeshell";
|
|
nameSound = "smokeshell";
|
|
mass = 4;
|
|
initSpeed = 22;
|
|
};
|
|
|
|
class ACE_HandFlare_White: ACE_HandFlare_Base {
|
|
author = ECSTRING(common,ACETeam);
|
|
scope = 2;
|
|
displayname = CSTRING(M127A1_White_Name);
|
|
descriptionShort = CSTRING(M127A1_White_Description);
|
|
displayNameShort = CSTRING(M127A1_White_NameShort);
|
|
model = "\A3\weapons_f\ammo\flare_white";
|
|
picture = "\A3\Weapons_F\Data\UI\gear_flare_white_ca.paa";
|
|
ammo = "ACE_G_Handflare_White";
|
|
};
|
|
|
|
class ACE_HandFlare_Red: ACE_HandFlare_Base {
|
|
author = ECSTRING(common,ACETeam);
|
|
scope = 2;
|
|
displayname = CSTRING(M127A1_Red_Name);
|
|
descriptionShort = CSTRING(M127A1_Red_Description);
|
|
displayNameShort = CSTRING(M127A1_Red_NameShort);
|
|
model = "\A3\weapons_f\ammo\flare_red";
|
|
picture = "\A3\Weapons_F\Data\UI\gear_flare_red_ca.paa";
|
|
ammo = "ACE_G_Handflare_Red";
|
|
};
|
|
|
|
class ACE_HandFlare_Green: ACE_HandFlare_Base {
|
|
author = ECSTRING(common,ACETeam);
|
|
scope = 2;
|
|
displayname = CSTRING(M127A1_Green_Name);
|
|
descriptionShort = CSTRING(M127A1_Green_Description);
|
|
displayNameShort = CSTRING(M127A1_Green_NameShort);
|
|
model = "\A3\weapons_f\ammo\flare_green";
|
|
picture = "\A3\Weapons_F\Data\UI\gear_flare_green_ca.paa";
|
|
ammo = "ACE_G_Handflare_Green";
|
|
};
|
|
|
|
class ACE_HandFlare_Yellow: ACE_HandFlare_Base {
|
|
author = ECSTRING(common,ACETeam);
|
|
scope = 2;
|
|
displayname = CSTRING(M127A1_Yellow_Name);
|
|
descriptionShort = CSTRING(M127A1_Yellow_Description);
|
|
displayNameShort = CSTRING(M127A1_Yellow_NameShort);
|
|
model = "\A3\weapons_f\ammo\flare_yellow";
|
|
picture = "\A3\Weapons_F\Data\UI\gear_flare_yellow_ca.paa";
|
|
ammo = "ACE_G_Handflare_Yellow";
|
|
};
|
|
|
|
class ACE_M84: HandGrenade {
|
|
author = ECSTRING(common,ACETeam);
|
|
displayname = CSTRING(M84_Name);
|
|
descriptionShort = CSTRING(M84_Description);
|
|
displayNameShort = CSTRING(M84_NameShort);
|
|
model = QPATHTOF(models\ACE_m84.p3d);
|
|
picture = QPATHTOF(UI\ACE_m84_x_ca.paa);
|
|
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_cts9_x_ca.paa);
|
|
ammo = "ACE_G_CTS9";
|
|
mass = 4;
|
|
};
|
|
|
|
class SmokeShell;
|
|
class ACE_M14: SmokeShell {
|
|
author = ECSTRING(common,ACETeam);
|
|
displayname = CSTRING(Incendiary_Name);
|
|
descriptionShort = CSTRING(Incendiary_Description);
|
|
displayNameShort = CSTRING(Incendiary_NameShort);
|
|
model = QPATHTOF(models\ace_anm14th3.p3d);
|
|
picture = QPATHTOF(UI\ace_anm14th3_x_ca.paa);
|
|
ammo = "ACE_G_M14";
|
|
mass = 4;
|
|
};
|
|
|
|
class 3Rnd_UGL_FlareGreen_F;
|
|
class 6Rnd_GreenSignal_F: 3Rnd_UGL_FlareGreen_F {
|
|
author = ECSTRING(common,ACETeam);
|
|
ammo = "F_40mm_Green";
|
|
initSpeed = 120;
|
|
};
|
|
|
|
class 6Rnd_RedSignal_F: 6Rnd_GreenSignal_F {
|
|
author = ECSTRING(common,ACETeam);
|
|
ammo = "F_40mm_Red";
|
|
initSpeed = 120;
|
|
};
|
|
|
|
class UGL_FlareWhite_F;
|
|
class ACE_40mm_Flare_white: UGL_FlareWhite_F {
|
|
author = ECSTRING(common,ACETeam);
|
|
ammo = "ACE_40mm_Flare_white";
|
|
displayName = CSTRING(40mm_flare_white);
|
|
descriptionShort = CSTRING(parachute_flare_description);
|
|
};
|
|
|
|
class UGL_FlareRed_F;
|
|
class ACE_40mm_Flare_red: UGL_FlareRed_F {
|
|
author = ECSTRING(common,ACETeam);
|
|
ammo = "ACE_40mm_Flare_red";
|
|
displayName = CSTRING(40mm_flare_red);
|
|
descriptionShort = CSTRING(parachute_flare_description);
|
|
};
|
|
|
|
class UGL_FlareGreen_F;
|
|
class ACE_40mm_Flare_green: UGL_FlareGreen_F {
|
|
author = ECSTRING(common,ACETeam);
|
|
ammo = "ACE_40mm_Flare_green";
|
|
displayName = CSTRING(40mm_flare_green);
|
|
descriptionShort = CSTRING(parachute_flare_description);
|
|
};
|
|
|
|
class ACE_40mm_Flare_ir: UGL_FlareWhite_F {
|
|
author = ECSTRING(common,ACETeam);
|
|
ammo = "ACE_40mm_Flare_ir";
|
|
displayName = CSTRING(40mm_flare_ir);
|
|
descriptionShort = CSTRING(parachute_flare_ir_description);
|
|
};
|
|
|
|
class CA_Magazine;
|
|
class ACE_SatchelCharge_Remote_Mag_Throwable: CA_Magazine {
|
|
author = ECSTRING(common,ACETeam);
|
|
ammo = "ACE_SatchelCharge_Remote_Ammo_Thrown";
|
|
scope = 1;
|
|
picture = "\A3\Weapons_f\data\UI\gear_satchel_CA.paa";
|
|
model = "\A3\Weapons_F\Explosives\satchel_i";
|
|
displayName = CSTRING(SatchelCharge_Remote_Mag_Throwable);
|
|
displayNameShort = "$STR_A3_cfgMagazines_PipeBomb0";
|
|
descriptionShort = CSTRING(SatchelCharge_Description);
|
|
class Library {
|
|
libTextDesc = CSTRING(SatchelCharge_LibText);
|
|
};
|
|
type = "2* 256";
|
|
allowedSlots[] = {901};
|
|
value = 5;
|
|
mass = 80;
|
|
count = 1;
|
|
initSpeed = 7.5;
|
|
maxLeadSpeed = 0;
|
|
nameSound = "satchelcharge";
|
|
nameSoundWeapon = "satchelcharge";
|
|
sound[] = {"A3\sounds_f\dummysound", 0.000316228, 1, 10};
|
|
useAction = 0;
|
|
};
|
|
|
|
class ACE_DemoCharge_Remote_Mag_Throwable: ACE_SatchelCharge_Remote_Mag_Throwable {
|
|
ammo = "ACE_DemoCharge_Remote_Ammo_Thrown";
|
|
picture = "\A3\Weapons_F\Data\UI\gear_c4_charge_small_CA.paa";
|
|
model = "\A3\Weapons_F\explosives\c4_charge_small_d";
|
|
displayName = CSTRING(DemoCharge_Remote_Mag_Throwable);
|
|
displayNameShort = "$STR_A3_cfgMagazines_DemoCharge0";
|
|
descriptionShort = CSTRING(SatchelCharge_Description);
|
|
class Library {
|
|
libTextDesc = CSTRING(DemoCharge_LibText);
|
|
};
|
|
allowedSlots[] = {901, 701};
|
|
mass = 20;
|
|
initSpeed = 12.5;
|
|
};
|
|
};
|