mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
54c9cf6c61
* Added initial compat * Added G-Forces compatibility * Added Reload compatibility * Add fuel capacities to planes and helicopters * Add fuel capacities to wheeled and tracked vehicles, added fuel cargo config * Add fuel capacities to OH-6 * Removed custom fuel capacities from Mi-2 with external tanks * Fix config errors * Add CSW compatibility for static guns * Add ACE arsenal to EMM main menu * Add CBA versioning check for SOG:PF * Add vn_emm to requiredAddons required for main menu patching * Fix arsenal not being added to main menu * Fix styling of ACE Arsenal button * Add CSW compat for mortars * Disable dragging of large statics * Disable frag for molotov * Set damage type of melee ammo * Add custom damage handling for punji traps * Add ACE Explosives compat to M18 Claymores * Improve digDistance of Claymore x3 * Add ACE Explosives compat to M14 and M16 mines * Add Explosives compat for M16 Trip Wire mines * Add Explosives compat for F1 Trip Wire mines * Add Explosives compat for Arty Shell Trip wire mine * Improve interaction points for explosives * Add Explosives compat for Satchel charge and AT mine * Add Explosives compat for Punji traps, improve comments * Add Explosives compat to M112 Breaching charge * Rename mines.hpp to explosives.hpp * Allow digging spiderholes with entrenching tool * Fix minor config errors * Add CSW pictures, models and stringtable entries * Add missing stringtable entries * Add CSW weapon pictures and stringtable entries * Handle punji trap damage with disabled medical * Disable cookoff for bicycles * Remove custom digging tools (needs deeper changes) * Improve spiderhole digging translation * Fill CfgPatches units and weapons arrays for Zeus * Add witty comment * Use lowercase for external component names * Fix indentation * Fix missing base class * Remove accidentally added files * pboProject fixes for S.O.G. Prairie Fire Compatibility (#8311) * Change macros to work with pboproject * Add placeholders for VN p3d files * Add ending newlines Co-authored-by: jonpas <jonpas33@gmail.com> * Fix UBC Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com> Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com> Co-authored-by: Björn Dahlgren <bjorn@dahlgren.io> Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
64 lines
2.3 KiB
C++
64 lines
2.3 KiB
C++
class DirectionalBombBase;
|
|
class vn_mine_m18_ammo: DirectionalBombBase {
|
|
EGVAR(explosives,defuseObjectPosition)[] = {0, 0, 0.15};
|
|
EGVAR(explosives,size) = 1;
|
|
EGVAR(explosives,explosive) = "vn_mine_m18_ammo_scripted";
|
|
};
|
|
|
|
class vn_mine_m18_x3_ammo: vn_mine_m18_ammo {
|
|
EGVAR(explosives,defuseObjectPosition)[] = {0, 0, 0.1};
|
|
EGVAR(explosives,explosive) = "vn_mine_m18_x3_ammo_scripted";
|
|
};
|
|
|
|
class APERSBoundingMine_Range_Ammo;
|
|
class vn_mine_tripwire_m16_02_ammo: APERSBoundingMine_Range_Ammo {
|
|
EGVAR(explosives,defuseObjectPosition)[] = {0, -0.01, 0.088};
|
|
};
|
|
|
|
class APERSTripMine_Wire_Ammo;
|
|
class vn_mine_tripwire_f1_02_ammo: APERSTripMine_Wire_Ammo {
|
|
EGVAR(explosives,defuseObjectPosition)[] = {0, -0.01, 0.18};
|
|
};
|
|
|
|
class vn_mine_tripwire_arty_ammo: vn_mine_tripwire_f1_02_ammo {
|
|
EGVAR(explosives,defuseObjectPosition)[] = {0, -0.01, 0.126};
|
|
};
|
|
|
|
class DemoCharge_Remote_Ammo;
|
|
class vn_mine_m112_remote_ammo: DemoCharge_Remote_Ammo {
|
|
EGVAR(explosives,defuseObjectPosition)[] = {0, 0.22, 0.75};
|
|
};
|
|
|
|
// Disable engine damage of punji traps, script damage manually
|
|
// This allows a tighter control of caused wounds and removes ear ringing
|
|
class vn_mine_punji_01_ammo: APERSBoundingMine_Range_Ammo {
|
|
EGVAR(minedetector,detectable) = 0;
|
|
|
|
hit = QUOTE(call compile getText (configFile >> 'CfgAmmo' >> 'vn_mine_punji_01_ammo' >> 'GVAR(hit)'));
|
|
GVAR(hit) = QUOTE([ARR_2(0,1)] select isNull (configFile >> 'CfgPatches' >> 'ace_medical'));
|
|
|
|
indirectHit = QUOTE(call compile getText (configFile >> 'CfgAmmo' >> 'vn_mine_punji_01_ammo' >> 'GVAR(indirectHit)'));
|
|
GVAR(indirectHit) = QUOTE([ARR_2(0,10)] select isNull (configFile >> 'CfgPatches' >> 'ace_medical'));
|
|
|
|
class EventHandlers {
|
|
class ADDON {
|
|
AmmoHit = QUOTE(call FUNC(handlePunjiTrapDamage));
|
|
};
|
|
};
|
|
};
|
|
|
|
class vn_mine_punji_02_ammo: vn_mine_punji_01_ammo {
|
|
indirectHit = QUOTE(call compile getText (configFile >> 'CfgAmmo' >> 'vn_mine_punji_02_ammo' >> 'GVAR(indirectHit)'));
|
|
GVAR(indirectHit) = QUOTE([ARR_2(0,5)] select isNull (configFile >> 'CfgPatches' >> 'ace_medical'));
|
|
};
|
|
|
|
class vn_mine_punji_03_ammo: vn_mine_punji_01_ammo {
|
|
EGVAR(explosives,defuseObjectPosition)[] = {0.25, 0.023, 0.035};
|
|
|
|
class EventHandlers {
|
|
class ADDON {
|
|
AmmoHit = QUOTE(call FUNC(handlePunjiTrapDamage));
|
|
};
|
|
};
|
|
};
|