SPE Compat - Fix flamethrower magazines not showing in arsenal / 50 Cal deafness (#9803)

* Fixed old invalid type on SPE flamethrower magazines

* Added ACE_caliber to SPE 50 cal ammo as it was causing extreme deafness

* Update addons/compat_spe/CfgAmmo/bullets.hpp

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

* Fixed duplicate base classes

* Update addons/compat_spe/CfgAmmo/bullets.hpp

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/compat_spe/CfgMagazines/flamethrower.hpp

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
This commit is contained in:
kerckasha 2024-02-29 02:09:02 +10:00 committed by GitHub
parent c4688f2ae5
commit bfbfc66d1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 17 additions and 0 deletions

View File

@ -3,4 +3,5 @@ class CfgAmmo {
#include "CfgAmmo\explosives.hpp" #include "CfgAmmo\explosives.hpp"
#include "CfgAmmo\grenades.hpp" #include "CfgAmmo\grenades.hpp"
#include "CfgAmmo\melee.hpp" #include "CfgAmmo\melee.hpp"
#include "CfgAmmo\bullets.hpp"
}; };

View File

@ -0,0 +1,12 @@
class SPE_Bullet_Vehicle_base;
class SPE_B_127x99_Mixed: SubmunitionBase {
ACE_caliber = 12.954;
};
class SPE_B_127x99_Ball: SPE_Bullet_Vehicle_base {
ACE_caliber = 12.954;
};
class SPE_B_127x99_API: SPE_B_127x99_Ball {
EGVAR(vehicle_damage,incendiary) = 1;
};

View File

@ -1,3 +1,4 @@
class CfgMagazines { class CfgMagazines {
#include "CfgMagazines\csw.hpp" #include "CfgMagazines\csw.hpp"
#include "CfgMagazines\flamethrower.hpp"
}; };

View File

@ -0,0 +1,3 @@
class SPE_Flamethrower_Mag: CA_Magazine {
type = 256;
};