ACE3/optionals/compat_sog/CfgWeapons/csw.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

357 lines
8.2 KiB
C++

#include "\z\ace\addons\csw\script_config_macros_csw.hpp"
CREATE_CSW_PROXY(vn_m2_v_01);
CREATE_CSW_PROXY(vn_m1919_v_01);
CREATE_CSW_PROXY(vn_m60_v_01);
CREATE_CSW_PROXY(vn_missile_tow_launcher);
CREATE_CSW_PROXY(vn_dshkm_v_01);
CREATE_CSW_PROXY(vn_rpd_v_01);
CREATE_CSW_PROXY(vn_pk_v_01);
CREATE_CSW_PROXY(vn_mortar_m29);
CREATE_CSW_PROXY(vn_mortar_m2);
CREATE_CSW_PROXY(vn_mortar_type53);
class Launcher;
class Launcher_Base_F: Launcher {
class WeaponSlotsInfo;
};
class GVAR(m2_carry): Launcher_Base_F {
displayName = ECSTRING(csw,m2_gun);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_m2b_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 4;
pickupTime = 4;
class assembleTo {
EGVAR(csw,m3Tripod) = "vn_b_army_static_m2_high";
EGVAR(csw,m3TripodLow) = "vn_b_army_static_m2_low";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 840;
};
};
class GVAR(m1919a4_carry): Launcher_Base_F {
displayName = CSTRING(csw_m1919a4);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_m1919a4_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 4;
pickupTime = 4;
class assembleTo {
EGVAR(csw,m3Tripod) = "vn_b_army_static_m1919a4_high";
EGVAR(csw,m3TripodLow) = "vn_b_sf_static_m1919a4_low";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 310;
};
};
class GVAR(m1919a6_carry): Launcher_Base_F {
displayName = CSTRING(csw_m1919a4);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_m1919a6_ca.paa);
class ACE_CSW {
type = "mount";
deployTime = 2;
pickupTime = 2;
deploy = "vn_b_army_static_m1919a6";
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 320;
};
};
class GVAR(m60_carry): Launcher_Base_F {
displayName = CSTRING(csw_m60);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_m60_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 4;
pickupTime = 4;
class assembleTo {
EGVAR(csw,m3Tripod) = "vn_b_army_static_m60_high";
EGVAR(csw,m3TripodLow) = "vn_b_army_static_m60_low";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 232;
};
};
class GVAR(tow_carry): Launcher_Base_F {
displayName = ECSTRING(csw,tow_tube);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_tow_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 4;
pickupTime = 4;
class assembleTo {
EGVAR(csw,m220Tripod) = "vn_b_army_static_tow";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 500;
};
};
class GVAR(dshkm_carry): Launcher_Base_F {
displayName = ECSTRING(csw,dshk_gun);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_dshkm_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 4;
pickupTime = 4;
class assembleTo {
EGVAR(csw,kordTripod) = "vn_o_nva_static_dshkm_high_01";
EGVAR(csw,kordTripodLow) = "vn_o_nva_static_dshkm_low_02";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 750;
};
};
class GVAR(dshkm_shield_carry): Launcher_Base_F {
displayName = CSTRING(csw_dshkm_shield);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_dshkm_shield_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 4;
pickupTime = 4;
class assembleTo {
EGVAR(csw,kordTripodLow) = "vn_o_nva_navy_static_dshkm_low_01";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 850;
};
};
class GVAR(dshkm_AA_carry): Launcher_Base_F {
displayName = CSTRING(csw_dshkm_aa);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_dshkm_aa_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 4;
pickupTime = 4;
class assembleTo {
EGVAR(csw,kordTripod) = "vn_o_nva_static_dshkm_high_02";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 750;
};
};
class GVAR(rpd_carry): Launcher_Base_F {
displayName = CSTRING(csw_rpd);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_rpd_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 4;
pickupTime = 4;
class assembleTo {
EGVAR(csw,kordTripod) = "vn_o_nva_static_rpd_high";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 163;
};
};
class GVAR(pk_carry): Launcher_Base_F {
displayName = CSTRING(csw_pk);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_pk_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 4;
pickupTime = 4;
class assembleTo {
EGVAR(csw,kordTripod) = "vn_o_nva_static_dshkm_high_02";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 198;
};
};
class GVAR(mortar_m29_carry): Launcher_Base_F {
displayName = CSTRING(csw_m29);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_m29_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 20;
pickupTime = 25;
class assembleTo {
EGVAR(csw,mortarBaseplate) = "vn_b_army_static_mortar_m29";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 730;
};
};
class GVAR(mortar_m2_carry): Launcher_Base_F {
displayName = CSTRING(csw_m2);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_m2_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 20;
pickupTime = 25;
class assembleTo {
EGVAR(csw,mortarBaseplate) = "vn_b_army_static_mortar_m2";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 300;
};
};
class GVAR(mortar_type53_carry): Launcher_Base_F {
displayName = CSTRING(csw_type53);
author = ECSTRING(common,ACETeam);
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\csw_type53_ca.paa);
class ACE_CSW {
type = "weapon";
deployTime = 20;
pickupTime = 25;
class assembleTo {
EGVAR(csw,mortarBaseplate) = "vn_o_nva_static_mortar_type53";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 860;
};
};