ACE3/addons/compat_rhs_gref3/CfgAmmo.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

45 lines
1.6 KiB
C++

class CfgAmmo {
class GrenadeHand;
class rhsgref_ammo_rkg3em: GrenadeHand { // Scripted shaped charge
ace_frag_force = 0;
};
class BulletBase;
class rhs_ammo_762x25_Ball: BulletBase {
ACE_caliber = 7.874;
ACE_bulletLength = 13.856;
ACE_bulletMass = 5.5728;
ACE_ammoTempMuzzleVelocityShifts[] = {-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[] = {0.17};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ASM";
ACE_dragModel = 1;
ACE_muzzleVelocities[] = {360, 380, 400};
ACE_barrelLengths[] = {101.6, 152.4, 228.6};
};
class rhs_ammo_792x57_Ball: BulletBase {
ACE_caliber = 8.077;
ACE_bulletLength = 28.651;
ACE_bulletMass = 12.7008;
ACE_ammoTempMuzzleVelocityShifts[] = {-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[] = {0.315};
ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ASM";
ACE_dragModel = 1;
ACE_muzzleVelocities[] = {785, 800, 815};
ACE_barrelLengths[] = {508.0, 599.948, 660.4};
};
class rhs_ammo_3bk12_penetrator;
class rhsgref_ammo_rkg3em_penetrator: rhs_ammo_3bk12_penetrator {
EGVAR(vehicle_damage,incendiary) = 1.0;
};
class rhs_ammo_rpg75_penetrator: rhs_ammo_3bk12_penetrator {
EGVAR(vehicle_damage,incendiary) = 1.0;
};
class rhs_ammo_panzerfaust60_penetrator: rhs_ammo_3bk12_penetrator {
EGVAR(vehicle_damage,incendiary) = 1.0;
};
};