blackpixxel 53 Posted July 8, 2015 (edited) Hi, I have a launcher with two muzzles, and when I switch to the second muzzle and fire it, I get the following error: No entry 'bin\config.bin.'. After the error, I can use it with no problem, it shoots as expected. I have no idea what it wrong, so I hope that some of you can answer this. Here is the part of the weapon cfg for the launcher. I think the problem is somewhere in the spotting rifle part, because it only appears when shooting it (it is the second muzzle)) class Launcher; class Launcher_Base_F: Launcher { class WeaponSlotsInfo; }; class tf47_smaw: Launcher_Base_F { author = "[TaskForce 47] BlackPixxel"; _generalMacro = "tf47_smaw"; scope = 2; displayName = "MK6 Mod 0 SMAW"; model = "tf47_launchers\smaw\smaw.p3d"; picture = "\tf47_launchers\smaw\UI\smaw_black_x_CA.paa"; handAnim[] ={"OFP2_ManSkeleton","tf47_launchers\smaw\anim\handanim_smaw.rtm"}; class GunParticles { class effect1 { positionName = "muzzlepos"; directionName = "muzzleend"; effectName = "RifleAssaultCloud"; }; }; optics = 1; opticsdisableperipherialvision = 0.67; opticsflare = 0; opticsid = 0; opticsppeffects[] = {}; opticszoominit = 0.75; opticszoommin = 0.34; opticszoommax = 1.1; weaponInfoType = "RscWeaponZeroing"; distanceZoomMin = 250; distanceZoomMax = 250; discreteDistance[] = {250,250,250,250,250,250,250,250,250,250}; discreteDistanceCameraPoint[] = {"eye","eye","eye","eye","eye","eye","eye","eye","eye"}; discreteDistanceInitIndex = 0; cameraDir = "look"; recoil = "tf47_smaw_recoil"; reloadAction = "ReloadRPG"; magazines[] = {"tf47_smaw_HEAA","tf47_smaw_HEDP"}; modelOptics = "-"; modes[] = {"Single"}; class Single: Mode_SemiAuto { recoil = "recoil_single_law"; sounds[] = {"StandardSound"}; class BaseSoundModeType { weaponSoundEffect = "DefaultRifle"; }; class StandardSound: BaseSoundModeType { begin1[] = {"tf47_launchers\smaw\sound\smaw_s1.wav",db18,1,900}; soundBegin[] = {"begin1",1}; }; aiRateOfFire = 7.0; aiRateOfFireDistance = 600; minRange = 10; minRangeProbab = 0.8; midRange = 400; midRangeProbab = 0.8; maxRange = 900; maxRangeProbab = 0.5; }; muzzles[] = {"this","TF47_smaw_SR"}; drySound[] = {"\a3\sounds_f\weapons\GM6Lynx\GM6_lynx_dry.wss",0.4466836,1,20}; reloadMagazineSound[] = {"tf47_launchers\smaw\sound\reload.wss",1.0,1,10}; aiRateOfFire = 7.0; aiRateOfFireDistance = 600; minRange = 10; minRangeProbab = 0.8; midRange = 400; midRangeProbab = 0.8; maxRange = 900; maxRangeProbab = 0.5; canLock = 0; weaponLockDelay = 3.0; lockAcquire = 0; inertia = 0.45; class WeaponSlotsInfo: WeaponSlotsInfo { allowedslots[] = {901}; mass = 200; class CowsSlot { access = 1; compatibleitems[] = {"tf47_optic_smaw","tf47_optic_smaw_1","tf47_optic_smaw_2","tf47_optic_smaw_3","tf47_optic_smaw_4","tf47_optic_smaw_5","tf47_optic_smaw_6","tf47_optic_smaw_7","tf47_optic_smaw_8","tf47_optic_smaw_9","tf47_optic_smaw_10","optic_Holosight"}; displayname = "Optics Slot"; linkproxy = "\A3\data_f\proxies\weapon_slots\TOP"; scope = 2; }; class PointerSlot: PointerSlot {}; }; descriptionShort = "83mm Shoulder-Launched Multipurpose Assault Weapon"; class Library { libTextDesc = "Shoulder-launched rocket weapon with the primary function of being a portable assault weapon (e.g. bunker buster) and a secondary anti-armor rocket launcher."; }; class tf47_smaw_SR: Launcher_Base_F { model = "tf47_launchers\smaw\smaw.p3d"; magazines[] = {"tf47_smaw_SR"}; magazinereloadtime = 3.75; reloadtime = 0.2; recoil = "tf47_smaw_recoil"; modelOptics = "-"; displayName = "SMAW Spotting Rifle"; displayNameShort = "SMAW Spotting Rifle"; descriptionShort = "SMAW Spotting Rifle"; useActionTitle = "SMAW Spotting Rifle"; optics = 1; opticsdisableperipherialvision = 0.67; opticsflare = 0; opticsid = 0; opticsppeffects[] = {}; opticszoominit = 0.75; opticszoommin = 0.34; opticszoommax = 1.1; weaponInfoType = "RscWeaponZeroing"; distanceZoomMin = 250; distanceZoomMax = 250; discreteDistance[] = {250,250,250,250,250,250,250,250,250,250}; discreteDistanceCameraPoint[] = {"eye","eye","eye","eye","eye","eye","eye","eye","eye"}; discreteDistanceInitIndex = 0; cameraDir = "look"; modes[] = {"Single"}; reloadAction = "tf47_smaw_sr"; reloadMagazineSound[] = {"\a3\sounds_f\weapons\GM6Lynx\GM6_lynx_reload1.wss",1.0,1,10}; drySound[] = {"\a3\sounds_f\weapons\GM6Lynx\GM6_lynx_dry.wss",0.4466836,1,20}; class Single: Mode_SemiAuto { sounds[] = {"StandardSound"}; class BaseSoundModeType { weaponSoundEffect = "DefaultRifle"; }; class StandardSound: BaseSoundModeType { begin1[] = {"tf47_launchers\smaw\sound\smaw_spotting_s1.wss",db18,1,900}; soundBegin[] = {"begin1",1}; }; recoil = "recoil_single_law"; aiRateOfFire = 7.0; aiRateOfFireDistance = 600; minRange = 10; minRangeProbab = 0.8; midRange = 400; midRangeProbab = 0.8; maxRange = 900; maxRangeProbab = 0.5; }; }; }; Thank you for your help! EDIT: Problem solved, it was something in the ammocfg. Edited July 8, 2015 by BlackPixxel Share this post Link to post Share on other sites