Warmoer 1 Posted March 23, 2008 Hi everyone, At first I thought it may be other addons interfering, but I have tried all combinations and found it is isolated to General_NS's HK MP5 + MP5SD Specials weapons, and the problem translates through to the stock BIS MP5SD as well. When I try to use his MP5SD Special in a mission, and try to preview, I get the follow error IIRC: Missing entry:bin\config.bin/cfgMagazines/30Rnd_9x19_MP5SD.nameSound The weapon model loads up, but it has no ammo. I removed his weapon from the mission, added the stock BIS MP5SD, and the same problem occurs. By removing/not loading his addon, the problem goes away. Has anyone else experienced this? Is there an easy way to fix this, and if it is only happening to me, does anyone have an idea as to why? These are really great models, and gives a great impression on the look and feel of the real MP5. Any feedback will be greatly appreciated! NB: I hope I placed this in the correct forum, as I'm not sure where it belongs Share this post Link to post Share on other sites
franze 196 Posted March 29, 2008 Moving to Configs and Scripting. Share this post Link to post Share on other sites
dachevs 1 Posted March 29, 2008 Get the same error . I'll have a look in the Config and see if I can find anything out Ok fixed it Tested and works. now question--Do you have Kegety's PBO packer/unpacker, you will need it to fix this. If you have it---go to the file wherever it may be and double click or right click on the MP5_Special_SD and click Extract, it will create a folder named MP5_Special_SD. Open the folder and open the Config.cpp Scroll down until you get to the title Class Single: Mode_SemiAuto -it will look like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class Single: Mode_SemiAuto { sound[] = {"\MP5SpecialSD\sounds\MP5_SD_Single", 0.010000, 1}; reloadTime = 0.070000; recoil = "subMachineGunBase"; recoilProne = "subMachineGunBase"; dispersion = 0.006000; minRange = 2; minRangeProbab = 0.100000; midRange = 40; midRangeProbab = 0.700000; maxRange = 200; maxRangeProbab = 0.050000; }; Under the sound[] = {"\MP5SpecialSD\sounds\MP5_SD_Single", 0.010000, 1}; add in <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">soundContinuous = 0; and Save It So now the file should look like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class Single: Mode_SemiAuto { sound[] = {"\MP5SpecialSD\sounds\MP5_SD_Single", 0.010000, 1}; soundContinuous = 0; reloadTime = 0.070000; recoil = "subMachineGunBase"; recoilProne = "subMachineGunBase"; dispersion = 0.006000; minRange = 2; minRangeProbab = 0.100000; midRange = 40; midRangeProbab = 0.700000; maxRange = 200; maxRangeProbab = 0.050000; }; Now you'll be able to use the gun Share this post Link to post Share on other sites
Warmoer 1 Posted March 30, 2008 Thank you very much for your help and effort DaChevs - I will give it a go! Edit: Also thanks Franze for moving the post! Share this post Link to post Share on other sites
Warmoer 1 Posted April 4, 2008 Hi DaChevs, I unwrapped the PBO, edited the config.cpp as you indicated, made a new PBO, and I am using the mod as a @MP5 addond folder, but I still experience the same problem. Do you perhaps have an idea as to why it would have an effect on the stock BIS MP5? Why would an addon make the stock version unusable? Is there something in the config.cpp that perhaps overrides the MP5SD 9x19 ammunition wrt sounds that could give this problem? Should I post some shots of what I am experiencing? Thanks again! Edit: Here is the script I use to arm the player, using ArmaEdit: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">; **************************************************************** ; Custom unit script for Armed Assault ; Created with ArmA Edit - Version 1.2.9000 ; Modified by Warmbrak to use MP5's from General_NS mod ; HELP: Run this script from the INITIALIZATION box of the unit. ; CODE: [this] exec "GNS_MP5SD.sqs" ; **************************************************************** ; Get the unit parameter given _unit = _this select 0 ; Strip the units current gear removeAllWeapons _unit ; Add the new gear to the unit _unit addMagazine "30Rnd_9x19_MP5SD" _unit addMagazine "30Rnd_9x19_MP5SD" _unit addMagazine "30Rnd_9x19_MP5SD" _unit addMagazine "30Rnd_9x19_MP5SD" _unit addMagazine "30Rnd_9x19_MP5SD" _unit addMagazine "30Rnd_9x19_MP5SD" _unit addWeapon "mp5special_sd" _unit selectWeapon "mp5special_sd" _unit addMagazine "15Rnd_9x19_M9" _unit addMagazine "15Rnd_9x19_M9" _unit addMagazine "15Rnd_9x19_M9" _unit addMagazine "15Rnd_9x19_M9" _unit addWeapon "M9" _unit addMagazine "PipeBomb" _unit addWeapon "Binocular" _unit addWeapon "NVGoggles" Exit Edit: With General_NS's MP5 addon loaded, and upon loading my mission in the editor, this is the error that still pops up: Share this post Link to post Share on other sites
dachevs 1 Posted April 4, 2008 hmmm...I didn't create a new pbo, as for it is only editing the Config, so you can just open the one in your addons or modfolder and edit the config, then save it and u should be good. that is the error I got, but no longer got it when I added that line in. Maybe you changed the wrong part? Share this post Link to post Share on other sites