ACE3/addons/compat_rhs_saf3/CfgWeapons.hpp
Grim e5a49f3acf
Compat RHS - Make compats autoload if mod is present (#9294)
* autoload RHS USAF compat

* whoops

* fix filepatching builds

* pboProject pls

* add ONE semicolon.

* remove meta.cpp

* add AFRF, move stringtables

* add addon.toml

* stringtable validation

* change subconfig folder names for stringtables

* macros

* sigh

* macros

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* add SAF compat

* missing file

* config brackets

* Update addons/compat_rhs_afrf3/compat_rhs_afrf3_explosives/config.cpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* Update addons/compat_rhs_usf3/compat_rhs_usf3_csw/CfgVehicles.hpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* capitalization

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* fix double class

* gref and fastroping

* fix functions

* Update CfgVehicles.hpp

---------

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-03 11:36:19 -05:00

84 lines
2.0 KiB
C++

class CfgWeapons {
// ACE Ballistics
class rhs_weap_g36_base;
class rhs_weap_g36c: rhs_weap_g36_base {
ACE_barrelLength = 228;
ACE_barrelTwist = 178;
};
class rhs_weap_g36kv: rhs_weap_g36_base {
ACE_barrelLength = 318;
ACE_barrelTwist = 178;
};
class rhs_weap_m21_base;
class rhs_weap_m21a: rhs_weap_m21_base {
ACE_barrelLength = 460;
ACE_barrelTwist = 177.8;
};
class rhs_weap_m21a_pr: rhs_weap_m21_base {
ACE_barrelLength = 460;
ACE_barrelTwist = 177.8;
};
class rhs_weap_m21a_pr_pbg40: rhs_weap_m21_base {
ACE_barrelLength = 460;
ACE_barrelTwist = 177.8;
};
class rhs_weap_m21s: rhs_weap_m21_base {
ACE_barrelLength = 375;
ACE_barrelTwist = 177.8;
};
class rhs_weap_m21s_pr: rhs_weap_m21a_pr {
ACE_barrelLength = 375;
ACE_barrelTwist = 177.8;
};
class Rifle_Base_F;
class rhs_weap_m70_base: Rifle_Base_F {
ACE_barrelLength = 415;
ACE_barrelTwist = 240;
};
class rhs_weap_m92: rhs_weap_m70_base {
ACE_barrelLength = 254;
};
class rhs_weap_m76: rhs_weap_m70_base {
ACE_barrelLength = 550;
};
class Rifle_Long_Base_F;
class rhs_weap_m84: Rifle_Long_Base_F {
ACE_barrelLength = 658;
ACE_barrelTwist = 240;
EGVAR(overheating,allowSwapBarrel) = 1;
};
class hgun_P07_F;
class rhs_weap_cz99: hgun_P07_F {
ACE_barrelLength = 108;
};
class Uniform_Base;
class rhssaf_uniform_mig29_pilot: Uniform_Base {
ACE_GForceCoef = 0.8;
};
class rhssaf_uniform_heli_pilot: Uniform_Base {
ACE_GForceCoef = 0.8;
};
// Launchers
class Launcher_Base_F;
class rhs_weap_m80: Launcher_Base_F {
EGVAR(overpressure,range) = 8;
EGVAR(overpressure,angle) = 40;
EGVAR(overpressure,damage) = 0.7;
EGVAR(overpressure,offset) = 1.15;
};
};