ACE3/optionals/compat_sog/CfgVehicles/explosives.hpp
BaerMitUmlaut 54c9cf6c61
S.O.G. Prairie Fire Compatibility (#8284)
* 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>
2021-10-05 13:28:43 +02:00

131 lines
4.1 KiB
C++

class Items_base_F;
class EGVAR(explosives,Place): Items_base_F {
class ACE_Actions {
class ACE_MainActions;
};
};
// Claymore
class EXPLOSIVES_PLACE(m18): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_M18_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\m18\vn_mine_m18";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[0, 0, 0.15]";
};
};
};
// Claymore x3
class EXPLOSIVES_PLACE(m18_x3): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_M18_X3_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\m18\vn_mine_m18_x3";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[0, 0, 0.1]";
};
};
};
// Toe-Popper
class EXPLOSIVES_PLACE(m14): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_M14_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\m14\vn_mine_m14_mag";
};
// Bounding Mine
class EXPLOSIVES_PLACE(m16): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_M16_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\m16\vn_mine_m16_mag";
};
// Bounding Mine (Trip Wire 2m)
class EXPLOSIVES_PLACE(m16_tripwire_2m): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_TRIPWIRE_M16_04_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\m16\vn_mine_tripwire_m16_02";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[0, 0.0093, 0.088]";
};
};
};
// Bounding Mine (Trip Wire 4m)
class EXPLOSIVES_PLACE(m16_tripwire_4m): EXPLOSIVES_PLACE(m16_tripwire_2m) {
displayName = "$STR_VN_MINE_TRIPWIRE_M16_04_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\m16\vn_mine_tripwire_m16_04";
};
// F1 (Trip Wire 2m)
class EXPLOSIVES_PLACE(f1_tripwire_2m): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_TRIPWIRE_F1_02_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\tripwire_f1\vn_mine_tripwire_f1_02";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[0, 0.011, 0.18]";
};
};
};
// F1 (Trip Wire 4m)
class EXPLOSIVES_PLACE(f1_tripwire_4m): EXPLOSIVES_PLACE(f1_tripwire_2m) {
displayName = "$STR_VN_MINE_TRIPWIRE_F1_04_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\tripwire_f1\vn_mine_tripwire_f1_04";
};
// Arty Shell (Trip Wire 4m)
class EXPLOSIVES_PLACE(arty_tripwire_4m): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_TRIPWIRE_ARTY_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\tripwire_arty\vn_mine_tripwire_arty";
class ACE_Actions: ACE_Actions {
class ACE_MainActions: ACE_MainActions {
position = "[0, 0.01, 0.126]";
};
};
};
// Satchel Charge
class EXPLOSIVES_PLACE(satchel_remote_02): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_SATCHEL_REMOTE_02_MAG_DN";
model = "\vn\characters_f_vietnam\OPFOR\vests\items\vn_mine_satchel_02.p3d";
};
// TM57 Anti-Tank Mine
class EXPLOSIVES_PLACE(tm57): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_TM57_MAG_DN";
model = "vn\weapons_f_vietnam\mines\tm57\vn_mine_tm57_mag";
};
// M15 Anti-Tank Mine
class EXPLOSIVES_PLACE(m15): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_M15_MAG_DN";
model = "vn\weapons_f_vietnam\mines\m15\vn_mine_m15_mag";
};
// M112 Breaching charge
class EXPLOSIVES_PLACE(m112): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_M112_REMOTE_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\m112\vn_mine_m112_mag";
};
// Punji large
class EXPLOSIVES_PLACE(punji_01): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_PUNJI_01_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\punji\vn_mine_punji_01_mag";
};
// Punji small
class EXPLOSIVES_PLACE(punji_02): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_PUNJI_01_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\punji\vn_mine_punji_02_mag";
};
// Punji whip
class EXPLOSIVES_PLACE(punji_03): EGVAR(explosives,Place) {
displayName = "$STR_VN_MINE_PUNJI_01_MAG_DN";
model = "\vn\weapons_f_vietnam\mines\punji\vn_mine_punji_03_mag";
};