mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
d2f5c2de02
* compat(spe): initial * --changed csw/turrets * disable spe disassemble * csw: all mortars done * more cleanup * add missing hearing protection * final cleanup * goofed and removed too much * ok all done * formatting * remove adt * -+ updated frameworks - Ballistics Framework Finished (Infantry Weapons) - Wirecutter & Trench Framework Finished (Vests/Backpacks) - Explosives Framework Finished (Added backward support for IFA3 Detonator/Firecord) - Crew Served Weapons Framework Finished (Fixed Assemble/Disassemble) * formatting * Require HEMTT v1.7.2 * cleanup tabs / formating * Apply suggestions from code review Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: ZluskeN <pontux@gmail.com> * split to subcomponents, fix ubcs * swap has_include for skipWhenMissingDependencies * fix explosives * add pdumies for ww2 * Apply suggestions from code review Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * cleanup sten duplicate configs * move hearing to macro * fix macro repaclement * Use `SUBADDON` * Move `addonRootClass` to bottom of CfgPatches * Relative includes * move config macro includes to config.cpp * comment off csw changes for now * Update .hemtt/project.toml --------- Co-authored-by: Coldfront15 <born2toot2@gmail.com> Co-authored-by: Brett Mayson <brett@joinoffstreet.com> Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com> Co-authored-by: ZluskeN <pontux@gmail.com> Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
118 lines
3.4 KiB
C++
118 lines
3.4 KiB
C++
class GrenadeBase;
|
|
class SPE_GrenadeHand_base;
|
|
class SPE_Grenade_base: GrenadeBase {};
|
|
|
|
class SPE_US_M15: SPE_GrenadeHand_base {
|
|
ACE_damageType = QGVAR(explosive_incendiary);
|
|
EGVAR(frag,enabled) = 1;
|
|
};
|
|
class SPE_Shg24: SPE_GrenadeHand_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 75;
|
|
EGVAR(frag,charge) = 170;
|
|
EGVAR(frag,gurney_c) = 2440;
|
|
EGVAR(frag,gurney_k) = "1/2";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_tiny_HD"};
|
|
};
|
|
class SPE_Shg24_Frag: SPE_GrenadeHand_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 250;
|
|
EGVAR(frag,charge) = 190;
|
|
EGVAR(frag,gurney_c) = 2440;
|
|
EGVAR(frag,gurney_k) = "1/2";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_small_HD"};
|
|
};
|
|
class SPE_Shg24x7: SPE_GrenadeHand_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 525;
|
|
EGVAR(frag,charge) = 1330;
|
|
EGVAR(frag,gurney_c) = 2440;
|
|
EGVAR(frag,gurney_k) = "3/5";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_small_HD"};
|
|
};
|
|
class SPE_M39: SPE_GrenadeHand_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 200;
|
|
EGVAR(frag,charge) = 112;
|
|
EGVAR(frag,gurney_c) = 2440;
|
|
EGVAR(frag,gurney_k) = "3/5";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_tiny_HD"};
|
|
};
|
|
class SPE_US_Mk_2: SPE_GrenadeHand_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 400;
|
|
EGVAR(frag,charge) = 56;
|
|
EGVAR(frag,gurney_c) = 2440;
|
|
EGVAR(frag,gurney_k) = "3/5";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_small_HD"};
|
|
};
|
|
class SPE_US_Mk_2_Yellow: SPE_US_Mk_2 {};
|
|
class SPE_US_Mk_3: SPE_GrenadeHand_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 90;
|
|
EGVAR(frag,charge) = 200;
|
|
EGVAR(frag,gurney_c) = 2440;
|
|
EGVAR(frag,gurney_k) = "1/2";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_tiny_HD"};
|
|
};
|
|
class SPE_G_M9A1: SPE_Grenade_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 200;
|
|
EGVAR(frag,charge) = 113;
|
|
EGVAR(frag,gurney_c) = 2750;
|
|
EGVAR(frag,gurney_k) = "1/2";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_tiny_HD"};
|
|
};
|
|
class SPE_G_MK2: SPE_Grenade_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 400;
|
|
EGVAR(frag,charge) = 56;
|
|
EGVAR(frag,gurney_c) = 2440;
|
|
EGVAR(frag,gurney_k) = "3/5";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_small_HD"};
|
|
};
|
|
class SPE_G_PZGR_30: SPE_Grenade_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 120;
|
|
EGVAR(frag,charge) = 50;
|
|
EGVAR(frag,gurney_c) = 2440;
|
|
EGVAR(frag,gurney_k) = "1/2";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_tiny_HD"};
|
|
};
|
|
class SPE_G_PZGR_40: SPE_Grenade_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 180;
|
|
EGVAR(frag,charge) = 75;
|
|
EGVAR(frag,gurney_c) = 2440;
|
|
EGVAR(frag,gurney_k) = "1/2";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_tiny_HD"};
|
|
};
|
|
class SPE_G_SPRGR_30_Detonation: SPE_Grenade_base {
|
|
EGVAR(frag,enabled) = 1;
|
|
EGVAR(frag,force) = 1;
|
|
EGVAR(frag,metal) = 150;
|
|
EGVAR(frag,charge) = 200;
|
|
EGVAR(frag,gurney_c) = 2440;
|
|
EGVAR(frag,gurney_k) = "1/2";
|
|
EGVAR(frag,classes)[] = {"ACE_frag_small_HD"};
|
|
};
|
|
|
|
class SmokeShell;
|
|
class SPE_SmokeShell_base: SmokeShell {};
|
|
class SPE_US_AN_M14: SPE_SmokeShell_base {
|
|
EGVAR(grenades,incendiary) = 1;
|
|
};
|
|
class SPE_US_Mk_1: SPE_SmokeShell_base {
|
|
EGVAR(frag,enabled) = 0;
|
|
};
|