CrazyAce 0 Posted July 22, 2008 Ok so on the Warfare 1 - Editing Guide it says to modify this file below: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> The following files contain weapon class properties that can be adjusted: \Common\Config\ Config_Loadouts.sqs – Contains all purchasable weapons Now what I did was copy and pasted the M249 code from the default loadout and changed it as so: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _weapon = "AMP_M249" _ammo = "200Rnd_556x45_M249" _w = _w + [_weapon] _n = _n + [GetText (configFile >> "CfgWeapons" >> _weapon >> "displayName")] _i = _i + [GetText (configFile >> "CfgWeapons" >> _weapon >> "picture")] _c = _c + [55] _a = _a + [_ammo] _an = _an + [GetText (configFile >> "CfgMagazines" >> _ammo >> "displayName")] _ai = _ai + [GetText (configFile >> "CfgMagazines" >> _ammo >> "picture")] _as = _as + [GetNumber (configFile >> "CfgMagazines" >> _ammo >> "type") / 256] _ac = _ac + [15] Now what I am going for here is to add Amp_DesWps_1.2 M249+ACOG to the buyable loadouts. Now when I test it, it says that its there except it doesn't have its picture icon in the buy menu and when I click to buy it I get this error that I don't know how to fix. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> No Entry 'bin\config.bin/CfgWeapons.AMP_M249'. Share this post Link to post Share on other sites
BLSmith2112 0 Posted August 1, 2008 I believe I can help here. Change the weapon classname from: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">AMP_M249to this<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">AMP_M249_AG_D If your going for the Eotech version of the M249 try the classname: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">AMP_M249_EO_D You were missing the "_AG_D" Share this post Link to post Share on other sites
CrazyAce 0 Posted August 1, 2008 Ah ok I was putting in the wrong class name, again thanx man Share this post Link to post Share on other sites