mandaloin 33 Posted June 16, 2020 Hello all, I'm having trouble with the config on my Leon Kennedy AK mod. It was working well for months until today for some reason. I've tried reinstalling my game and all mods so I've narrowed it down to this mod for sure. When getting into the game I'm presented with the following errors: "No entry 'bin\config.bin/CfgWeapons/arifle_MX_ACO_pointer_F.type'" and "No entry 'bin\config.bin/CfgWeapons/arifle_MX_ACO_pointer_F.selectionFireAnim'". Ignoring those and going into the Virtual Arsenal leaves me unable to equip any rifles, even ones from other mods. I've pasted my entire config below. I cannot see how I'm touching those classes and even though I do include their parent classes (Rifle and Rifle_Base_F) I haven't changed them in any way. It's also identical to the CUP AK config that I'm using as a template. Any help or insight is much appreciated here. Spoiler class CfgPatches { class Kennedy_AK { units[]={}; weapons[]= { "Kennedy_AKMSU" }; requiredVersion=0.1; requiredAddons[]= { "CUP_Weapons_WeaponsCore", "CUP_Weapons_Sounds", "CUP_Weapons_East_Attachments", "CUP_Weapons_Ammunition", "CUP_Weapons_AK" }; }; }; class Mode_SemiAuto; class Mode_Burst; class Mode_FullAuto; class CUP_PicatinnyTopShortMount; class CUP_PicatinnySideMount; class CUP_EastMuzzleSlot9mm; class CfgWeapons { class Rifle; class Rifle_Base_F: Rifle { class WeaponSlotsInfo; class GunParticles; }; class CUP_arifle_AK_Base: Rifle_Base_F {}; class CUP_arifle_AKS_Base: CUP_arifle_AK_Base {}; class CUP_arifle_AKS74U: CUP_arifle_AKS_Base {}; class CUP_arifle_AKS74U_railed: CUP_arifle_AKS74U {}; class Kennedy_AKMSU: CUP_arifle_AKS74U_railed { author="Mandaloin"; displayName="AKS-47U [Leon Kennedy Special]"; magazines[]= { "CUP_30Rnd_762x39_AK47_M", "CUP_20Rnd_762x39_AMD63_M", "CUP_30Rnd_762x39_AK47_TK_M", "CUP_30Rnd_TE1_Green_Tracer_762x39_AK47_M", "CUP_30Rnd_TE1_Red_Tracer_762x39_AK47_M", "CUP_30Rnd_TE1_Yellow_Tracer_762x39_AK47_M", "CUP_30Rnd_762x39_AK47_bakelite_M", "CUP_30Rnd_TE1_Green_Tracer_762x39_AK47_bakelite_M", "CUP_30Rnd_TE1_Red_Tracer_762x39_AK47_bakelite_M", "CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK47_M", "CUP_30Rnd_762x39_AK103_bakelite_M", "CUP_10Rnd_762x39_SaigaMk03_M", "CUP_30Rnd_TE1_Green_Tracer_762x39_AK103_bakelite_M", "CUP_30Rnd_TE1_Red_Tracer_762x39_AK103_bakelite_M", "CUP_30Rnd_TE1_Yellow_Tracer_762x39_bakelite_AK103_M", "CUP_30Rnd_762x39_AKM_bakelite_desert_M", "CUP_30Rnd_TE1_Green_Tracer_762x39_AKM_bakelite_desert_M", "CUP_30Rnd_TE1_Red_Tracer_762x39_AKM_bakelite_desert_M", "CUP_30Rnd_TE1_Yellow_Tracer_762x39_AKM_bakelite_desert_M", "CUP_40Rnd_TE4_LRT4_Green_Tracer_762x39_RPK_M", "CUP_75Rnd_TE4_LRT4_Green_Tracer_762x39_RPK_M" }; magazineWell[]= { "CBA_762x39_AK", "CBA_762x39_RPK", "AK_762x39" }; recoil="Recoil_CUP_AK104_HG"; jsrs_soundeffect="JSRS2_Distance_Effects_Ak47"; class Single: Mode_SemiAuto { class BaseSoundModeType { }; class StandardSound: BaseSoundModeType { soundSetShot[]= { "CUP_akm_Closure_SoundSet", "CUP_akm_Shot_SoundSet", "CUP_lmg1_Tail_SoundSet" }; }; class SilencedSound: BaseSoundModeType { soundSetShot[]= { "CUP_akm_Closure_SoundSet", "CUP_akm_ShotSD_SoundSet", "CUP_Rifle1_SD_Tail_SoundSet" }; }; reloadTime=0.1; dispersion=0.0015; minRange=2; minRangeProbab=0.5; midRange=150; midRangeProbab=0.69999999; maxRange=250; maxRangeProbab=0.2; }; class Burst: Mode_Burst { class BaseSoundModeType { }; class StandardSound: BaseSoundModeType { soundSetShot[]= { "CUP_akm_Closure_SoundSet", "CUP_akm_Shot_SoundSet", "CUP_lmg1_Tail_SoundSet" }; }; class SilencedSound: BaseSoundModeType { soundSetShot[]= { "CUP_akm_Closure_SoundSet", "CUP_akm_ShotSD_SoundSet", "CUP_Rifle1_SD_Tail_SoundSet" }; }; soundBurst=0; reloadTime=0.1; ffCount=3; dispersion=0.0015; minRange=2; minRangeProbab=0.89999998; midRange=50; midRangeProbab=0.69999999; maxRange=100; maxRangeProbab=0.050000001; showToPlayer=0; }; class FullAuto: Mode_FullAuto { class BaseSoundModeType { }; class StandardSound: BaseSoundModeType { soundSetShot[]= { "CUP_akm_Closure_SoundSet", "CUP_akm_Shot_SoundSet", "CUP_lmg1_Tail_SoundSet" }; }; class SilencedSound: BaseSoundModeType { soundSetShot[]= { "CUP_akm_Closure_SoundSet", "CUP_akm_ShotSD_SoundSet", "CUP_Rifle1_SD_Tail_SoundSet" }; }; reloadTime=0.1; ffCount=30; dispersion=0.0015; minRange=2; minRangeProbab=0.89999998; midRange=15; midRangeProbab=0.69999999; maxRange=30; maxRangeProbab=0.050000001; aiRateOfFire=1e-006; }; class Burst_medium: Burst { showToPlayer=0; minRange=2; minRangeProbab=0.5; midRange=75; midRangeProbab=0.69999999; maxRange=100; maxRangeProbab=0.050000001; aiRateOfFire=2; }; class single_medium_optics1: Single { requiredOpticType=1; showToPlayer=0; minRange=5; minRangeProbab=0.2; midRange=300; midRangeProbab=0.69999999; maxRange=350; maxRangeProbab=0.30000001; aiRateOfFire=5; aiRateOfFireDistance=500; }; class single_medium_optics2: single_medium_optics1 { requiredOpticType=2; minRange=100; minRangeProbab=0.1; midRange=300; midRangeProbab=0.69999999; maxRange=500; maxRangeProbab=0.050000001; aiRateOfFire=6; aiRateOfFireDistance=600; }; class WeaponSlotsInfo { mass=72; class CUP_PicatinnyTopMountAK: CUP_PicatinnyTopShortMount { iconPosition[]={0.30000001,0.30000001}; iconScale=0.15000001; iconPicture="\A3\Weapons_F\Data\UI\attachment_top.paa"; iconPinPoint="Bottom"; }; class CUP_PicatinnySideMountAK: CUP_PicatinnySideMount { iconPosition[]={0.33000001,0.36000001}; iconScale=0.2; iconPicture="\A3\Weapons_F\Data\UI\attachment_side.paa"; iconPinPoint="Center"; }; class CUP_EastMuzzleSlotAK: CUP_EastMuzzleSlot9mm { iconPosition[]={0.25999999,0.38999999}; iconScale=0.15000001; iconPicture="\A3\Weapons_F\Data\UI\attachment_muzzle.paa"; iconPinPoint="Right"; }; class CUP_PicatinnyUnderMountAK { }; allowedSlots[]={901}; }; }; }; Share this post Link to post Share on other sites
Jackal326 1181 Posted June 16, 2020 Try changing the beginning part of cfgWeapons from Spoiler class CfgWeapons { class Rifle { }; class Rifle_Base_F: Rifle { class WeaponSlotsInfo; class GunParticles; }; class CUP_arifle_AK_Base: Rifle_Base_F { }; class CUP_arifle_AKS_Base: CUP_arifle_AK_Base { }; class CUP_arifle_AKS74U: CUP_arifle_AKS_Base { }; class CUP_arifle_AKS74U_railed: CUP_arifle_AKS74U { }; to Spoiler class CfgWeapons { class Rifle; class Rifle_Base_F; class CUP_arifle_AK_Base; class CUP_arifle_AKS_Base; class CUP_arifle_AKS74U; class CUP_arifle_AKS74U_railed; 1 Share this post Link to post Share on other sites
mandaloin 33 Posted June 18, 2020 On 6/16/2020 at 5:17 AM, Jackal326 said: Try changing the beginning part of cfgWeapons from Reveal hidden contents class CfgWeapons { class Rifle { }; class Rifle_Base_F: Rifle { class WeaponSlotsInfo; class GunParticles; }; class CUP_arifle_AK_Base: Rifle_Base_F { }; class CUP_arifle_AKS_Base: CUP_arifle_AK_Base { }; class CUP_arifle_AKS74U: CUP_arifle_AKS_Base { }; class CUP_arifle_AKS74U_railed: CUP_arifle_AKS74U { }; to Hide contents class CfgWeapons { class Rifle; class Rifle_Base_F; class CUP_arifle_AK_Base; class CUP_arifle_AKS_Base; class CUP_arifle_AKS74U; class CUP_arifle_AKS74U_railed; That sorted it. Thank you!! Share this post Link to post Share on other sites